/* --- AUTHENTICATION PAGES (Login/Signup) --- */
body.auth-page {
    background-color: var(--bg-body);
    min-height: 100vh;
    display: flex;
    font-family: 'Inter', sans-serif;
}

.auth-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: white;
    overflow: hidden;
}

/* LEFT SIDE: BRANDING & CONTEXT */
.auth-sidebar {
    width: 45%;
    background-color: #001F3F; /* Brand Navy */
    background-image: 
        radial-gradient(at 0% 0%, hsla(211, 100%, 15%, 1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(211, 100%, 15%, 1) 0px, transparent 50%),
        linear-gradient(135deg, #001F3F 0%, #003366 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 60px;
    position: relative;
    overflow: hidden;
}

/* Abstract overlay pattern */
.auth-sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.auth-sidebar-content {
    position: relative;
    z-index: 2;
}

.auth-logo {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 12px;
    display: inline-block;
}

.auth-quote {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}

.auth-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-features li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
    opacity: 0.85;
}

.auth-features li i {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 14px;
    color: #4cd137; /* Green accent */
}

/* RIGHT SIDE: FORM */
.auth-main {
    width: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background-color: white;
}

.auth-form-container {
    width: 100%;
    max-width: 450px;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Form Styles Override */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(0, 31, 63, 0.15);
}

.btn-auth {
    background-color: var(--primary);
    color: white;
    padding: 12px;
    font-weight: 600;
    width: 100%;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-auth:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.2);
}

/* Responsive */
@media (max-width: 991px) {
    .auth-wrapper {
        flex-direction: column;
    }
    .auth-sidebar {
        width: 100%;
        padding: 40px;
        min-height: 300px;
    }
    .auth-main {
        width: 100%;
        padding: 40px 20px;
    }
}

@media (max-width: 575.98px) {
    .auth-sidebar { padding: 24px; }
    .auth-logo { padding: 10px 16px; }
    .auth-main { padding: 24px 16px; }
    .auth-form-container { max-width: 420px; }
    .auth-title { font-size: 24px; }
    .btn-auth { padding: 10px; }
}
