/* login.css */

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.login-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 24px 40px;
    width: 100%;
    max-width: 1200px;
    box-shadow: var(--card-shadow), 0 0 40px rgba(0,0,0,0.2);
    animation: slideUpFade 0.5s ease-out forwards;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 16px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 12px;
}

.logo-link img {
    height: 32px;
}

.logo-link span {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.login-header h2 {
    color: var(--text-white);
    font-size: 26px;
    margin-bottom: 4px;
}

.login-header p {
    color: var(--text-gray);
    font-size: 14px;
}

/* Forms */
#login-form {
    max-width: 450px;
    margin: 0 auto;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.input-group {
    margin-bottom: 12px;
}

.input-group label {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 14px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600; /* 600 ensures bold without being too thick */
    font-family: 'Outfit', sans-serif; /* Explicitly set rather than inherit */
    transition: all 0.3s ease;
}

.input-group input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 14px;
    cursor: pointer;
}

.remember-me input {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--primary-hover);
}

.w-100 {
    width: 100%;
}

.btn-success {
    background: var(--success-gradient);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.form-switch {
    text-align: center;
    margin-top: 24px;
    color: var(--text-gray);
    font-size: 14px;
}

.form-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-left: 4px;
    transition: color 0.3s;
}

.form-switch a:hover {
    color: var(--primary-hover);
}

/* Aurora adjustments for login */
#aurora-1 {
    top: -100px;
    left: -100px;
    right: auto;
}

#aurora-2 {
    bottom: -100px;
    right: -100px;
    left: auto;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0px 15px; }
.full-width { grid-column: span 2; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
