/* =========================================================
   MODAL REGISTRO + CRYPTO – FITBYDIANA
   (estilos aislados del resto del sitio)
========================================================= */

.subscribe-modal .modal-content {
  border-radius: 24px;
  border: none;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.35);
  background: #ffffff;
}

/* =========================================================
   HERO DE IMAGEN (SIEMPRE LA MISMA FOTO)
========================================================= */

.subscribe-modal .modal-hero {
  position: relative;
  height: 100%;
  min-height: 420px;
  overflow: hidden;
}

.subscribe-modal .modal-hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Nota de contacto sobre la imagen */
.subscribe-modal .contact-notes {
  padding: 0.9rem 1.1rem 1.1rem;
}

.subscribe-modal .contact-main {
  font-size: 0.9rem;
  color: #262626;
  margin-bottom: 0.25rem;
}

.subscribe-modal .coach-name {
  color: #e5e7eb;
  font-weight: 700;
}

.subscribe-modal .contact-secondary {
  font-size: 0.8rem;
  color: #737373;
  margin-bottom: 0;
}

/* =========================================================
   Z-INDEX – PARA QUE NO SE QUEDE PANTALLA NEGRA
========================================================= */

.modal-backdrop {
  z-index: 1040 !important;
}

.subscribe-modal.modal {
  z-index: 1050 !important;
}

.subscribe-modal .modal-dialog {
  z-index: 1060 !important;
}

.subscribe-modal .modal-content {
  z-index: 1070 !important;
}

/* Botón cerrar */

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1100;
  background: #ffffff;
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
  cursor: pointer;
}

.modal-close i {
  font-size: 14px;
  color: #111827;
}

/* =========================================================
   COLUMNA DE CONTENIDO
========================================================= */

.subscribe-modal .modal-body-wrapper {
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.subscribe-modal .modal-title-main {
  font-size: 1.7rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.35rem;
}

.subscribe-modal .modal-lead {
  font-size: 0.98rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* =========================================================
   FORMULARIO
========================================================= */

.subscribe-modal .modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.subscribe-modal .form-group {
  margin-bottom: 0;
}

.subscribe-modal .form-control,
.subscribe-modal input,
.subscribe-modal input.form-control,
.subscribe-modal input[type="text"],
.subscribe-modal input[type="email"],
.subscribe-modal input[type="tel"] {
  font-size: 0.95rem;
  padding: 0.9rem 0.9rem;
  border-radius: 5px !important;
  border: 1px solid #d1d5db;
  box-shadow: none;
}

.subscribe-modal .form-control:focus {
  border-color: #6a63ff;
  box-shadow: 0 0 0 1px rgba(106, 99, 255, 0.25);
}

/* =========================================================
   BOTÓN CTA (.btn-cta obligatorio)
========================================================= */

.subscribe-modal .btn-cta {
  background: #6a63ff;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  padding: 0.9rem 1rem;
  border-radius: 5px !important;
  text-align: center;
  margin-top: 0.4rem;
  box-shadow: 0 12px 30px rgba(106, 99, 255, 0.35);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.subscribe-modal .btn-cta:hover {
  background: #544de2;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(106, 99, 255, 0.45);
}

/* =========================================================
   BLOQUE CRYPTO (oculto por defecto)
========================================================= */

.subscribe-modal .crypto-box {
  margin-top: 1.1rem;
  padding: 0.9rem 0.9rem;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px dashed #d1d5db;
  display: none; /* oculto hasta que se pulse el botón */
}

.subscribe-modal .crypto-box.is-visible {
  display: block;
}

.subscribe-modal .crypto-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.subscribe-modal .crypto-text {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 0.45rem;
}

.subscribe-modal .crypto-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.subscribe-modal .crypto-list li {
  font-size: 0.82rem;
  color: #111827;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.15rem;
}

.subscribe-modal .crypto-label {
  font-weight: 600;
}

.subscribe-modal .crypto-value {
  font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono",
    "Courier New", monospace;
  word-break: break-all;
}

/* Botón secundario de criptomonedas */

.subscribe-modal .crypto-trigger-wrapper {
  margin-top: 1rem;
}

.subscribe-modal .crypto-trigger-text {
  font-size: 0.82rem;
  color: #6b7280;
  margin-bottom: 0.35rem;
  text-align: left;
}

.subscribe-modal .btn-crypto {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 5px;
  border: 1.5px solid #6a63ff;
  background: transparent;
  color: #6a63ff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.subscribe-modal .btn-crypto:hover:not(:disabled) {
  background: rgba(106, 99, 255, 0.06);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
  transform: translateY(-1px);
}

.subscribe-modal .btn-crypto:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 991.98px) {
  .subscribe-modal .modal-dialog {
    max-width: 100%;
    margin: 1.2rem;
  }

  .subscribe-modal .modal-body-wrapper {
    padding: 1.8rem 1.5rem 1.9rem;
  }
}

@media (max-width: 575.98px) {
  .subscribe-modal .modal-dialog {
    margin: 0.8rem;
  }

  .subscribe-modal .modal-body-wrapper {
    padding: 1.5rem 1.25rem 1.6rem;
  }

  .subscribe-modal .modal-title-main {
    font-size: 1.45rem;
  }

  .subscribe-modal .modal-lead {
    font-size: 0.93rem;
  }

  .subscribe-modal .contact-main,
  .subscribe-modal .crypto-title {
    font-size: 0.88rem;
  }

  .subscribe-modal .contact-secondary,
  .subscribe-modal .crypto-text,
  .subscribe-modal .crypto-list li {
    font-size: 0.8rem;
  }
}
.crypto-list li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.crypto-copy-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  font-size: 0.9rem;
  color: #6b7280;
  transition: color .2s ease;
}

.crypto-copy-btn:hover {
  color: #6a63ff;
}
