/* Login Page Styles */

/* Center container is handled by .auth-wrapper in global or locally here if needed. 
   We assume .auth-wrapper from global styles (if present) or we define it here.
*/

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-subtle) 0%, #E0E7FF 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Background blob visuals */
.auth-wrapper::before,
.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.auth-wrapper::before {
    background: rgba(79, 70, 229, 0.4);
    top: -50px;
    left: -50px;
}

.auth-wrapper::after {
    background: rgba(16, 185, 129, 0.3);
    bottom: -50px;
    right: -50px;
}

.login-card {
    /* Extending glass-panel via specific class */
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 10;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.forgot-password {
    text-align: right;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.divider {
    display: flex;
    align-items: center;
    color: var(--text-light);
    margin: 1.5rem 0;
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}

.divider span {
    padding: 0 10px;
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.register-link a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Animations */
.login-card {
    animation: fadeUp 0.5s ease-out;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}