/**
 * Button Modal Element Styles
 * Version: 1.5.0
 */

/* Button Container */
.btn-modal-container a {
  white-space: initial;
}

/* Modal Overlay */
.cvc-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cvc-modal-overlay[style*="display: flex"] {
  opacity: 1;
}

/* Modal Content */
.cvc-modal-content {
  position: relative;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 60%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Close Button */
.cvc-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  transition: color 0.2s ease;
}

.cvc-modal-close:hover {
  color: #000;
}

/* Modal Inner Content */
.cvc-modal-inner {
  margin-top: 1rem;
}

.cvc-modal-inner p:last-child {
  margin-bottom: 0;
}

/* Text Link Style */
.text-link-style {
  cursor: pointer;
  text-decoration: underline;
}

.text-link-style:hover {
  text-decoration: none;
}
