/* ===== LOGIN PAGE - ESTILO AUREA (MINIMAL, CRISTALINO) ===== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc; /* Fondo gris muy claro */
    font-family: 'Inter', sans-serif;
    padding: 1rem;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

/* Tarjeta de vidrio (glassmorphism) */
.login-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.8) inset,
                0 0 0 1px rgba(226, 232, 240, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header .logo-icon {
    font-size: 3rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.5px;
}

.login-header p {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Formulario */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 0.9rem 1rem 0.9rem 2.8rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.95rem;
    color: #0f172a;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0f172a;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
    background: white;
}

.form-group .icon-left {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1rem;
}

/* Ocultar ojo nativo del navegador en campos de contraseña */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

/* Toggle contraseña */
.password-input {
    position: relative;
}

.password-input input {
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1rem;
}

.toggle-password:hover {
    color: #0f172a;
}

/* Opciones */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    cursor: pointer;
}

.remember input {
    accent-color: #0f172a;
    width: 16px;
    height: 16px;
}

.forgot-link {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-link:hover {
    color: #0f172a;
}

/* Botón */
.btn-login {
    width: 100%;
    padding: 1rem;
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn-login:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer con enlaces */
.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.85rem;
}

.login-footer a {
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Modales simples (heredan de modals.css) */
.modal-content {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    max-width: 400px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0;
    color: #0f172a;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 12px;
}

/* Spinner en botón Acceder */
.btn-login {
    position: relative;
}

.btn-spinner {
    font-size: 0.95rem;
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Botón recuperar dentro del modal */
.btn-recuperar {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #0f172a;
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s ease;
}

.btn-recuperar:hover {
    background: #1e293b;
}

.btn-recuperar:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.modal-step p {
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 480px) {
    .login-card {
        padding: 1.5rem;
    }
}