/* Login Page */
body.auth-page {
    background: linear-gradient(135deg, #0B1F3A 0%, #163A63 60%, #1E3A8A 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}
body.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 30%, rgba(37, 99, 235, .25), transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(124, 58, 237, .18), transparent 40%);
    pointer-events: none;
}
.auth-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 980px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .35);
    min-height: 540px;
}
.auth-side {
    flex: 1;
    background: linear-gradient(160deg, #07162B 0%, #0B1F3A 50%, #163A63 100%);
    color: #fff;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}
.auth-side::before {
    content: '';
    position: absolute;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(37, 99, 235, .25), transparent 60%);
    top: -60px; right: -60px;
    border-radius: 50%;
}
.auth-side::after {
    content: '';
    position: absolute;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(124, 58, 237, .2), transparent 60%);
    bottom: -50px; left: -50px;
    border-radius: 50%;
}
.auth-side-content { position: relative; z-index: 1; }
.auth-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}
.auth-logo-mark {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
}
.auth-logo-text h1 {
    color: #fff;
    font-size: 17px;
    margin: 0;
    letter-spacing: 1.5px;
}
.auth-logo-text p {
    color: rgba(255, 255, 255, .55);
    font-size: 12px;
    margin: 2px 0 0 0;
}
.auth-side h2 {
    color: #fff;
    font-size: 28px;
    line-height: 1.25;
    margin-bottom: 14px;
    font-weight: 700;
}
.auth-side p {
    color: rgba(255, 255, 255, .7);
    font-size: 14px;
    line-height: 1.65;
}
.auth-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}
.auth-features li {
    padding: 8px 0;
    color: rgba(255, 255, 255, .85);
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-features li::before {
    content: '✓';
    width: 22px; height: 22px;
    background: rgba(22, 163, 74, .25);
    color: #4ADE80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
.auth-side-footer {
    color: rgba(255, 255, 255, .45);
    font-size: 12px;
    position: relative;
    z-index: 1;
}

.auth-form-wrap {
    flex: 1;
    padding: 50px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.auth-form-wrap h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 4px;
}
.auth-form-wrap .auth-sub {
    color: var(--text-muted);
    font-size: 13.5px;
    margin-bottom: 28px;
}
.auth-form { width: 100%; }
.auth-form .form-group { margin-bottom: 16px; }
.auth-form .btn-primary {
    width: 100%;
    padding: 11px 16px;
    font-size: 14px;
    margin-top: 6px;
}
.auth-form .form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 18px 0;
    font-size: 12.5px;
}
.auth-form .form-options label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    cursor: pointer;
}
.auth-form .form-options a { color: var(--primary); }
.auth-divider {
    text-align: center;
    color: var(--text-muted);
    font-size: 11.5px;
    margin: 18px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }
.auth-credentials-hint {
    background: #F0F9FF;
    border: 1px dashed #93C5FD;
    color: #1E40AF;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 12px;
    margin-top: 16px;
    line-height: 1.5;
}
.auth-credentials-hint strong { color: #1E3A8A; }

@media (max-width: 768px) {
    .auth-wrap { flex-direction: column; max-width: 460px; min-height: auto; }
    .auth-side { padding: 32px 24px; }
    .auth-side h2 { font-size: 22px; }
    .auth-features { display: none; }
    .auth-form-wrap { padding: 32px 24px; }
}
