/**
 * Estilos para modal de login multi-paso
 */

/* Modal de Login Multi-paso */
.modal-login-flow {
    max-width: 520px;
    width: 100%;
}

 .modal-login-flow .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

.modal-login-flow .modal-header .modal-title {
    margin: 0;
    font-size: 1.3rem;
    color: var(--azul-oscuro, #1a1a2e);
    flex: 1;
    text-align: center;
    font-family: var(--font-logo);
}

.modal-login-flow .modal-back {
    color: #666;
    transition: color 0.2s;
}

.modal-login-flow .modal-back:hover {
    color: #000;
}

/* Centrado específico de títulos en modales de login y registro */
#modal-login .modal-header,
#modal-registro .modal-header {
    position: relative;
    padding: 1.5rem 3.5rem;
    min-height: 80px;
    overflow: visible;
}

#modal-login .modal-header .modal-title,
#modal-registro .modal-header .modal-title {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: var(--font-logo);
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    color: var(--azul-oscuro, #1a1a2e);
    z-index: 1;
}

#modal-login .modal-header .modal-back {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: #333;
}

#modal-login .modal-header .modal-close,
#modal-registro .modal-header .modal-close {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 11;
}

.modal-login-flow .modal-body {
    padding: 2rem 1.5rem;
}

/* Pregunta del paso */
.step-question {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--azul-oscuro, #1a1a2e);
    font-weight: 500;
    line-height: 1.5;
    font-family: var(--font-primary);
}

/* Botones Sí/No y CONMEBOL/CAPABILIA */
.step-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.step-buttons .btn {
    flex: 1;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    text-align: center;
    font-family: var(--font-primary);
}

.step-buttons .btn-primary {
    background-color: #00A7E1;
    color: white;
}

.step-buttons .btn-primary:hover {
    background-color: #0096cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 167, 225, 0.3);
}

.step-buttons .btn-secondary {
    background-color: #f5f5f5;
    color: var(--azul-oscuro, #1a1a2e);
    border: 2px solid #ddd;
}

.step-buttons .btn-secondary:hover {
    background-color: #eee;
    border-color: #999;
}

/* Opciones de curso (radio buttons) */
.step-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.option-item:hover {
    border-color: #00A7E1;
    background-color: rgba(0, 167, 225, 0.05);
}

.option-item input[type="radio"] {
    cursor: pointer;
    width: 20px;
    height: 20px;
    accent-color: #00A7E1;
}

.option-item input[type="radio"]:checked + span {
    color: #00A7E1;
    font-weight: 600;
}

.option-item span {
    font-weight: 500;
    color: var(--azul-oscuro, #1a1a2e);
    font-family: var(--font-primary);
}

/* Paso CAPABILIA */
.capabilia-step {
    text-align: center;
}

.capabilia-message p {
    font-size: 1.1rem;
    color: var(--azul-oscuro, #1a1a2e);
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
}

.btn-capabilia {
    display: inline-block;
    background-color: #ff9800;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    font-family: var(--font-primary);
}

.btn-capabilia:hover {
    background-color: #f57c00;
    transform: translateY(-2px);
}

.capabilia-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    font-family: var(--font-primary);
}

/* Responsive */
@media (max-width: 600px) {
    .modal-login-flow {
        max-width: 95%;
        margin: 1rem;
    }

    .modal-login-flow .modal-header {
        padding: 1rem;
    }

    .modal-login-flow .modal-header .modal-title {
        font-size: 1.1rem;
    }

    .modal-login-flow .modal-body {
        padding: 1.5rem 1rem;
    }

    .step-buttons {
        flex-direction: column;
    }

    .step-buttons .btn {
        width: 100%;
    }
}
