/* =====================================================
   GonzurqSPA — login.css
   ===================================================== */

body.login-page {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo */
body.login-page::before, body.login-page::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    background: rgba(240,112,32,0.08);
}
body.login-page::before { width: 600px; height: 600px; top: -200px; right: -150px; }
body.login-page::after  { width: 400px; height: 400px; bottom: -100px; left: -100px; }

/* Tarjeta de login */
.login-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease both;
}

.login-header { text-align: center; margin-bottom: 2.5rem; }
.login-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    font-size: 1.4rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}
.login-logo .logo-icon {
    width: 48px; height: 48px;
    background: var(--secondary);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
}
.login-logo .logo-text { color: var(--primary); }

.login-header h1 { font-size: 1.5rem; color: var(--primary); margin-bottom: 0.4rem; }
.login-header p  { font-size: 0.875rem; color: var(--text-muted); }

/* Campo con ícono */
.input-icon {
    position: relative;
}
.input-icon i {
    position: absolute;
    left: 1rem; top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}
.input-icon .form-control { padding-left: 2.75rem; }

/* Toggle password */
.toggle-password {
    position: absolute;
    right: 0.75rem; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0.3rem;
    border-radius: 4px;
    transition: var(--transition-fast);
}
.toggle-password:hover { color: var(--primary); }

.login-footer {
    text-align: center;
    margin-top: 1.75rem;
    font-size: 0.83rem;
    color: var(--text-muted);
}
.login-footer a { color: var(--primary); font-weight: 600; }
.login-footer a:hover { color: var(--secondary); }

/* Responsive */
@media (max-width: 480px) {
    .login-card { padding: 2rem 1.5rem; margin-inline: 1rem; }
}
