/* ============================================
   MOVEXO — Onboarding Wizard (Full-Screen)
   ============================================ */

/* === Shell del Wizard === */
.onboarding-wizard {
    position: fixed;
    inset: 60px 0 0 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--bg-dark, #131111);
    z-index: 100;
}

/* === Topbar: volver + progress dots === */
.wizard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    flex-shrink: 0;
    z-index: 10;
}

.wizard-back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light, #ccc);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
    flex-shrink: 0;
}
.wizard-back:hover { background: rgba(255,255,255,0.1); }

.wizard-progress {
    display: flex;
    gap: 6px;
    align-items: center;
}
.wizard-progress .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: background 0.35s cubic-bezier(.22,1,.36,1), transform 0.35s cubic-bezier(.22,1,.36,1);
}
.wizard-progress .dot.completed {
    background: linear-gradient(135deg, #C556CD, #1736B4);
}
.wizard-progress .dot.active {
    background: linear-gradient(135deg, #C556CD, #1736B4);
    transform: scale(1.5);
}

.wizard-topbar-spacer { width: 40px; flex-shrink: 0; }

/* === Viewport de pantallas === */
.wizard-viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* === Pantalla individual === */
.wizard-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 20px 48px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Centrado vertical solo cuando el contenido cabe sin scroll */
.wizard-screen.center-content {
    justify-content: center;
}

/* === Coach element === */
.wizard-coach {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    align-self: center;
}
.wizard-coach img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(197,86,205,0.4);
}
.wizard-coach-name {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* === Texto de pregunta === */
.wizard-question {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-light, #f0f0f0);
    text-align: center;
    max-width: 520px;
    margin-bottom: 10px;
    width: 100%;
}

/* === Feedback contextual (coach reacciona) — ahora como modal === */
.wizard-feedback { display: none; } /* reservado, no se usa en pantalla */

/* Modal de feedback del coach */
.feedback-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
    animation: feedbackOverlayIn 180ms ease both;
    padding: 20px;
    box-sizing: border-box;
}
@keyframes feedbackOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.feedback-modal-box {
    background: #1e1c1c;
    border: 1px solid rgba(197,86,205,0.35);
    border-radius: 16px;
    padding: 24px 28px;
    max-width: 340px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: feedbackBoxIn 220ms cubic-bezier(.22,1,.36,1) both;
    box-sizing: border-box;
}
@keyframes feedbackBoxIn {
    from { transform: scale(0.88) translateY(10px); opacity: 0; }
    to   { transform: scale(1)    translateY(0);    opacity: 1; }
}
.feedback-modal-coach {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}
.feedback-modal-coach img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(197,86,205,0.5);
}
.feedback-modal-coach span {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.feedback-modal-text {
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255,255,255,0.9);
}
.feedback-progress-bar {
    margin-top: 18px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 99px;
    overflow: hidden;
}
.feedback-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 99px;
    background: linear-gradient(90deg, #C556CD, #1736B4);
    animation: feedbackProgress linear forwards;
}
@keyframes feedbackProgress {
    from { width: 0%; }
    to   { width: 100%; }
}

/* === Opciones (botones) === */
.wizard-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 480px;
}

.wizard-option {
    padding: 14px 18px;
    background: rgba(255,255,255,0.06);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    font-size: 16px;
    color: var(--text-light, #f0f0f0);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    opacity: 0;
    animation: optionFadeUp 280ms cubic-bezier(.22,1,.36,1) both;
}
.wizard-option:hover {
    border-color: #C556CD;
    background: rgba(197,86,205,0.1);
    transform: translateY(-2px);
}
.wizard-option.selected {
    background: linear-gradient(135deg, #C556CD, #1736B4);
    color: #fff;
    border-color: transparent;
    animation: optionPulse 200ms cubic-bezier(.34,1.56,.64,1) both;
}

/* === Slider de dolor === */
.wizard-pain-display {
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;
    color: #000;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin: 0 auto 20px;
    transition: background 0.25s ease;
}
.wizard-pain-display.pain-low  { background: #4ade80; }
.wizard-pain-display.pain-mid  { background: #facc15; }
.wizard-pain-display.pain-high { background: #ef4444; }

.wizard-slider {
    width: 100%;
    max-width: 360px;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    margin-bottom: 14px;
}
.wizard-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    background: #C556CD;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(197,86,205,0.5);
    transition: transform 0.15s;
}
.wizard-slider::-webkit-slider-thumb:active { transform: scale(1.15); }
.wizard-slider::-moz-range-thumb {
    width: 28px;
    height: 28px;
    background: #C556CD;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(197,86,205,0.5);
}

.wizard-slider-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 360px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 28px;
}

/* === Botón de submit genérico === */
.wizard-submit {
    width: 100%;
    max-width: 360px;
    padding: 16px;
    background: linear-gradient(135deg, #d19346, #e87109);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
}
.wizard-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197,86,205,0.35);
}
.wizard-submit:active { transform: translateY(0); }
.wizard-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.wizard-submit.last{max-width:100%}
/* === Pantalla de bienvenida (step 1) === */
.wizard-screen.welcome-screen {
    justify-content: center;
    text-align: center;
}
.wizard-welcome-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 16px;
}
.wizard-welcome-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    max-width: 360px;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 36px;
}
.wizard-screen.welcome-screen .wizard-question {
    font-size: 1.6rem;
    margin-bottom: 10px;
}
.wizard-screen.welcome-screen .wizard-options {
    max-width: 320px;
}

/* === Pantalla de información (step info) === */
.wizard-screen.info-screen .wizard-question {
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
    text-align: left;
    max-width: 480px;
    color: rgba(255,255,255,0.85);
}

/* === Formulario de registro (step 7) === */
.wizard-form-wrapper {
    width: 100%;
    max-width: 440px;
}

.wizard-google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background: #fff;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 16px;
}
.wizard-google-btn:hover {
    border-color: #4285F4;
    background: #f8faff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66,133,244,0.2);
}
.wizard-google-icon { flex-shrink: 0; }

/* Checkboxes legales del bloque Google */
.reg-google-legal {
    width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
    max-height: 400px;
    opacity: 1;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}
.reg-google-legal.form-field-checkbox {
    margin-bottom: 16px;
}
.reg-google-legal .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    line-height: 1.5;
}
.reg-google-legal .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 2px;
    accent-color: #b06eef;
    cursor: pointer;
    border: none;
    background: none;
}
.reg-google-legal .checkbox-label a {
    color: #b06eef;
    text-decoration: underline;
}
.reg-google-legal .form-field-checkbox {
    margin-bottom: 16px;
}
.reg-google-legal.collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    margin-bottom: 0;
}

/* Bloque acordeón Email */
.reg-email-block {
    width: 100%;
    overflow: hidden;
    max-height: 700px;
    opacity: 1;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}
.reg-email-block.collapsed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
}

.wizard-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.35);
    font-size: 13px;
}

/* Botón toggle Google/Email dentro del divider */
.wizard-email-toggle {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    white-space: nowrap;
    transition: color 0.2s;
}
.wizard-email-toggle:hover {
    color: rgba(255,255,255,0.85);
}
.wizard-divider::before,
.wizard-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.15);
}

.wizard-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
}
.wizard-form .form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.wizard-form label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
}
.wizard-form input,
.wizard-form select {
    padding: 14px;
    background: rgba(255,255,255,0.07);
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-light, #f0f0f0);
    transition: border-color 0.2s;
}
.wizard-form input::placeholder { color: rgba(255,255,255,0.3); }
.wizard-form input:focus,
.wizard-form select:focus {
    outline: none;
    border-color: #C556CD;
}
.wizard-form select option { background: #222; color: #fff; }

/* Icono del calendario visible sobre fondo oscuro */
.wizard-form input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) opacity(0.6);
    cursor: pointer;
}
.wizard-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(1) opacity(1);
}

/* Ancho completo en móvil para input de fecha */
.wizard-form input[type="date"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.wizard-form .input-error { border-color: #ef4444 !important; }
.wizard-form .error-message {
    font-size: 12px;
    color: #f87171;
    margin-top: 2px;
}
.wizard-form .form-field-checkbox {
    margin-bottom: 16px;
}
.wizard-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    line-height: 1.5;
}
.wizard-form .checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin-top: 2px;
    accent-color: #b06eef;
    cursor: pointer;
    border: none;
    background: none;
}
.wizard-form .checkbox-label a {
    color: #b06eef;
    text-decoration: underline;
}

/* === Modal de carga (preservado) === */
.loading-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    animation: fadeInModal 0.5s ease forwards;
}
@keyframes fadeInModal { to { opacity: 1; } }

.loading-modal-content {
    background: white;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: scaleIn 0.5s cubic-bezier(.68,-.55,.265,1.55) forwards;
}
@keyframes scaleIn {
    from { transform: scale(0.7); opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}

.hourglass-icon {
    font-size: 80px;
    margin-bottom: 30px;
    display: inline-block;
    animation: hourglassRotate 2s ease-in-out infinite;
}
@keyframes hourglassRotate {
    0%, 100% { transform: rotate(0deg);   }
    50%       { transform: rotate(180deg); }
}

.loading-modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #C556CD, #1736B4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.loading-modal-text { font-size: 16px; color: #666; line-height: 1.6; }

.loading-progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-top: 25px;
    overflow: hidden;
}
.loading-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #C556CD, #1736B4);
    border-radius: 10px;
    animation: progressFill 8s ease-out forwards;
}
@keyframes progressFill { from { width: 0%; } to { width: 100%; } }

/* === Animaciones de transición de pantallas === */
@keyframes slideInFromRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}
@keyframes slideOutToLeft {
    from { transform: translateX(0);     opacity: 1; }
    to   { transform: translateX(-30%);  opacity: 0; }
}
@keyframes slideInFromLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to   { transform: translateX(0);     opacity: 1; }
}
@keyframes slideOutToRight {
    from { transform: translateX(0);   opacity: 1; }
    to   { transform: translateX(30%); opacity: 0; }
}

.screen-enter-right { animation: slideInFromRight 320ms cubic-bezier(.22,1,.36,1) both; }
.screen-exit-left   { animation: slideOutToLeft   320ms cubic-bezier(.22,1,.36,1) both; }
.screen-enter-left  { animation: slideInFromLeft  320ms cubic-bezier(.22,1,.36,1) both; }
.screen-exit-right  { animation: slideOutToRight  320ms cubic-bezier(.22,1,.36,1) both; }

/* === Animaciones de opciones dentro de la pantalla === */
@keyframes optionFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0);    }
}
@keyframes optionPulse {
    0%, 100% { transform: scale(1);    }
    50%       { transform: scale(1.04); }
}

/* === Accesibilidad: reduced motion === */
@media (prefers-reduced-motion: reduce) {
    .screen-enter-right,
    .screen-exit-left,
    .screen-enter-left,
    .screen-exit-right,
    .wizard-option,
    .wizard-option.selected,
    .hourglass-icon,
    .loading-modal-content,
    .loading-modal,
    .loading-progress-fill {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
    .wizard-pain-display,
    .wizard-feedback,
    .wizard-progress .dot,
    .wizard-back,
    .wizard-option,
    .wizard-google-btn,
    .wizard-submit {
        transition-duration: 0.01ms !important;
    }
}

/* === Responsive: desktop === */
@media (min-width: 480px) {
    .wizard-options.two-col {
        grid-template-columns: 1fr 1fr;
        max-width: 520px;
    }
}

@media (min-width: 768px) {
    .wizard-screen {
        padding: 40px 40px 60px;
        align-items: center;
    }
    .wizard-question { font-size: 1.6rem; }
    .wizard-welcome-screen .wizard-question { font-size: 1.8rem; }
}

@media (min-width: 1024px) {
    .onboarding-wizard { inset: 60px 0 0 0; }
    .wizard-options, .wizard-form-wrapper { max-width: 540px; }
}

/* === Pantallas pequeñas: compactar opciones densas === */
@media (max-height: 700px) {
    .wizard-option { padding: 11px 14px; font-size: 15px; }
    .wizard-question { font-size: 1.2rem; margin-bottom: 6px; }
    .wizard-feedback { margin-bottom: 16px; }
    .wizard-pain-display { font-size: 4rem; width: 110px; height: 110px; }
    .wizard-screen { padding: 20px 16px 40px; }
}

/* === Modal de errores de validación del formulario === */
.validation-modal-box {
    border-color: rgba(239, 68, 68, 0.35);
    text-align: center;
}
.validation-modal-emoji {
    font-size: 2.6rem;
    margin-bottom: 8px;
    line-height: 1;
}
.validation-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}
.validation-modal-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 12px;
    line-height: 1.5;
}
.validation-modal-errors {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}
.validation-modal-errors li {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.88rem;
    color: #fca5a5;
    line-height: 1.4;
}
.validation-modal-errors li b {
    color: #f87171;
}
.validation-modal-btn {
    margin-top: 4px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    max-width: 100%;
    font-size: 15px;
    padding: 13px;
}
.validation-modal-btn:hover {
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

/* Error genérico */
.wizard-error {
    background: rgba(239,68,68,0.12);
    color: #f87171;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(239,68,68,0.3);
}

/* ============================================
   MINI PLAN PREVIEW (Paso 4)
   ============================================ */
.plan-preview-intro {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.6);
    margin: 0 0 14px;
    text-align: center;
}

.plan-preview-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(197, 86, 205, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.plan-preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.plan-preview-row:last-of-type { border-bottom: none; }

.ppr-label {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ppr-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-align: right;
}

.plan-preview-tagline {
    font-size: 0.85rem;
    color: rgba(197, 86, 205, 0.85);
    margin: 14px 0 0;
    font-style: italic;
    line-height: 1.4;
}

.plan-preview-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin: 8px 0 0;
}
.plan-switch-free {
    color: rgba(255,255,255,0.55);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}
.plan-switch-free:hover {
    color: rgba(255,255,255,0.85);
}

/* Hint bajo pregunta de zona de dolor */
.wizard-question-hint {
    display: block;
    font-size: 0.8em;
    font-weight: 400;
    opacity: 0.6;
    margin-top: 4px;
}

/* Texto de contexto dinámico del slider de dolor */
.wizard-pain-context {
    font-size: 0.9rem;
    opacity: 0.75;
    min-height: 1.4em;
    text-align: center;
    margin: 4px 0 12px;
    transition: opacity 0.2s ease;
}

/* Trust signal encima del botón */
.plan-preview-sub--top {
    margin-bottom: 8px;
    margin-top: 0;
}

/* Sección de registro (oculta inicialmente) */
.wizard-register-section {
    width: 100%;
    max-width: 420px;
    padding-top: 8px;
}
.wizard-register-intro {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    text-align: center;
    margin: 0 0 18px;
    line-height: 1.5;
}

/* ============================================
   MODAL DE DOLOR ALTO (seguridad clínica)
   ============================================ */
.high-pain-modal {
    border-color: rgba(239, 130, 68, 0.4);
    text-align: center;
}
.high-pain-icon {
    font-size: 2.4rem;
    margin: 4px 0 10px;
    line-height: 1;
}
.high-pain-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}
.high-pain-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.55;
    margin: 0 0 8px;
}
.high-pain-btn-continue {
    width: 100%;
    margin-top: 14px;
    font-size: 14px;
    padding: 13px;
}
.high-pain-btn-info {
    background: none;
    border: none;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 10px;
    padding: 4px;
    display: block;
    width: 100%;
    text-align: center;
}
.high-pain-btn-info:hover { color: rgba(255,255,255,0.7); }

.high-pain-alarm-list {
    margin-top: 14px;
    text-align: left;
    background: rgba(239,130,68,0.08);
    border: 1px solid rgba(239,130,68,0.2);
    border-radius: 10px;
    padding: 12px 14px;
}
.high-pain-alarm-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,200,150,0.9);
    margin: 0 0 8px;
}
.high-pain-alarm-list ul {
    margin: 0;
    padding-left: 18px;
}
.high-pain-alarm-list li {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
    margin-bottom: 4px;
}

/* ── Bloque de predicción ── */
.prediction-block {
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 12px;
  padding: 20px 16px 12px;
  margin: 16px 0;
  text-align: center;
}

.prediction-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
  margin: 0 0 6px;
}

.prediction-headline {
  font-size: 0.92rem;
  margin: 0 0 10px;
  line-height: 1.4;
}

.prediction-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 14px;
}

.prediction-pct {
  font-size: 2.6rem;
  font-weight: 800;
  color: #7c3aed;
  line-height: 1;
}

.prediction-sub {
  font-size: 0.85rem;
  opacity: 0.7;
}

.prediction-chart {
  width: 100%;
  height: 80px;
  display: block;
  margin-bottom: 4px;
  overflow: visible;
}

.prediction-axis {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  opacity: 0.5;
  margin-bottom: 10px;
  padding: 0 2px;
}

.prediction-disclaimer {
  font-size: 0.72rem;
  opacity: 0.5;
  margin: 0;
  line-height: 1.4;
}
