/* Modal de suscripción (Stripe) — compartido por funciones/miPerfil.php y landingPage/suscripcion.php.
   Todo va acotado a #modal-stripe para no afectar otros modales. */

#modal-stripe .modal-title { font-weight: 700; letter-spacing: .2px; }

/* ---- Indicador de pasos ---- */
#modal-stripe .scm-steps { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 2px 0 18px; }
#modal-stripe .scm-step { display: flex; align-items: center; gap: 8px; color: #9aa3b2; font-size: 13px; font-weight: 600; }
#modal-stripe .scm-step-dot {
    width: 26px; height: 26px; border-radius: 50%; border: 2px solid #cfd6e4; background: #fff; color: #9aa3b2;
    display: inline-flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1;
}
#modal-stripe .scm-step.is-active { color: #1b2a4a; }
#modal-stripe .scm-step.is-active .scm-step-dot { border-color: #1b55e2; background: #1b55e2; color: #fff; }
#modal-stripe .scm-step.is-done { color: #1b55e2; }
#modal-stripe .scm-step.is-done .scm-step-dot { border-color: #1b55e2; color: #1b55e2; }
#modal-stripe .scm-step-line { flex: 0 0 48px; height: 2px; background: #e4e7ec; }
#modal-stripe .scm-step-line.is-done { background: #1b55e2; }

/* ---- Paso 2: resumen + pago ---- */
#modal-stripe .scm-resumen { border: 1px solid #e4e7ec; border-radius: 8px; padding: 14px 16px; background: #f7f9fc; margin-bottom: 14px; }
#modal-stripe .scm-resumen-nombre { display: block; font-weight: 700; color: #1b2a4a; }
#modal-stripe .scm-resumen-frec { display: block; font-size: 12px; color: #6b7280; text-transform: capitalize; }
#modal-stripe .scm-resumen-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #d5dbe7; color: #4b5563; }
#modal-stripe .scm-resumen-total strong { font-size: 20px; color: #111827; }
#modal-stripe .scm-resumen-nota { font-size: 12px; color: #6b7280; text-align: right; }
#modal-stripe .scm-cuenta { font-size: 12px; color: #6b7280; margin-bottom: 14px; word-break: break-word; }
#modal-stripe .scm-label { display: block; font-weight: 600; color: #4b5563; margin-bottom: 8px; }
#modal-stripe #payment-element { margin-bottom: 14px; min-height: 60px; }

#modal-stripe .scm-nota-segura {
    display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 8px;
    background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; font-size: 12px; line-height: 1.45;
}
#modal-stripe .scm-nota-segura svg { flex: 0 0 18px; width: 18px; height: 18px; fill: #16a34a; margin-top: 1px; }
#modal-stripe .scm-renueva { font-size: 12px; color: #6b7280; margin: 12px 0 0; }

/* ---- Pie: badge de Stripe + botones ---- */
#modal-stripe .scm-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
#modal-stripe .scm-footer::before,
#modal-stripe .scm-footer::after { display: none; } /* clearfix de Bootstrap 3 rompería el flex */
#modal-stripe .scm-footer > * { margin: 0; }
#modal-stripe .scm-footer-trust { display: flex; align-items: center; gap: 6px; color: #6b7280; font-size: 12px; }
#modal-stripe .scm-footer-trust .scm-lock { width: 14px; height: 14px; fill: currentColor; }
#modal-stripe .scm-footer-trust .scm-stripe { height: 18px; width: auto; display: block; }
#modal-stripe .scm-footer-actions { display: flex; gap: 8px; margin-left: auto; }
#modal-stripe .scm-btn-lock { width: 14px; height: 14px; fill: currentColor; vertical-align: -2px; margin-right: 6px; }

@media (max-width: 575px) {
    #modal-stripe .scm-footer { flex-direction: column-reverse; align-items: stretch; }
    #modal-stripe .scm-footer-trust { justify-content: center; }
    #modal-stripe .scm-footer-actions { width: 100%; margin-left: 0; }
    #modal-stripe .scm-footer-actions .btn { flex: 1; }
    #modal-stripe .scm-step-line { flex-basis: 28px; }
}
