/* LOGIN PAGE STYLES */
.login-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.login-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f2e 50%, #0a0e1a 100%);
    z-index: 0;
}

.login-noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px;
}

.login-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 48px;
    backdrop-filter: blur(20px);
}

.login-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 42px;
    color: #f5efe5;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.login-subtitle {
    color: rgba(245,239,229,0.6);
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* FORM STYLES */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    color: rgba(245,239,229,0.8);
    font-size: 14px;
    font-weight: 500;
}

.form-input {
    padding: 14px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #f5efe5;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(245,239,229,0.4);
}

.form-input:focus {
    outline: none;
    border-color: #d8a24c;
    background: rgba(255,255,255,0.08);
}

.forgot-password {
    text-align: right;
}

.forgot-password-link {
    color: #d8a24c;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.btn-full {
    width: 100%;
}

.primary-button {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #dca85b 0%, #b8943d 100%);
    color: #040816;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220, 168, 91, 0.35);
}

.secondary-button {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    border: 2px solid #dca85b;
    color: #dca85b;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.secondary-button:hover {
    background: linear-gradient(135deg, #dca85b 0%, #b8943d 100%);
    color: #040816;
    border-color: transparent;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 8px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.auth-divider span {
    color: rgba(245,239,229,0.4);
    font-size: 14px;
}

.auth-message {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    margin-top: 16px;
}

.auth-message.success {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81c784;
}

.auth-message.error {
    background: rgba(244, 67, 54, 0.15);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #e57373;
}

.logged-in-view {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.welcome-message {
    color: rgba(245,239,229,0.8);
    font-size: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.welcome-message span {
    color: #d8a24c;
    font-weight: 600;
}

/* NAVBAR ACTIVE STATE */
.navbar-links a.active {
    color: #d8a24c;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .login-section {
        padding: 60px 20px;
    }

    .login-card {
        padding: 32px 24px;
    }

    .login-title {
        font-size: 32px;
    }

    .login-subtitle {
        font-size: 14px;
    }
}
