@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
/* Auth pages share the public site palette (site-navbar.css / explore.css). */
:root {
    --auth-accent: #4f46e5;
    --auth-accent-soft: #eef2ff;
    --auth-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}
body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}
.login-container {
    min-height: 100vh;
}
.left-panel {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px clamp(24px, 6.25vw, 100px);
}
.left-panel > .text-center,
.left-panel > form {
    width: 100%;
    max-width: 620px;
    margin-right: auto;
    margin-left: auto;
}
.right-panel {
    background: url('../images/login_bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
    min-height: 100vh;
}
/* Overlay to match the blueish tint in your image */
/* .right-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 61, 74, 0.3); 
} */
.logo-text {
    font-weight: 700;
    color: #0f3d4a;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 260px;
    width: 100%;
}
.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 47px;
    user-select: none;
    -webkit-user-select: none;
}
.form-control, .form-select, .select2-container--default .select2-selection--single {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    color: #666;
    font-size: 0.9rem;
    background-color: #fff;
}
.select2-container--default .select2-selection--single, .select2-container--default .select2-selection--single .select2-selection__arrow {
    min-height: 47px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 1.5;
}
.logo-icon {
    font-size: 2rem;
    margin-right: 10px;
    color: #d4a017; /* Gold color for book pages */
}
.btn-custom {
    background: var(--auth-gradient);
    border: 0;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-weight: 500;
    width: 100%;
}
.btn-custom:hover {
    filter: brightness(1.06);
    color: white;
}
.left-panel .btn-primary {
    background: var(--auth-gradient);
    border: 0;
}
.left-panel a:not(.btn) { color: var(--auth-accent); }
.logo-text a { display: block; }
.form-control:focus, .form-select:focus { border-color: #818cf8; box-shadow: 0 0 0 .2rem rgba(99, 102, 241, .2); }
.form-control {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 8px;
}
.forgot-password {
    color: var(--auth-accent);
    text-decoration: none;
    font-size: 0.9rem;
}
.forgot-password-form .form-label {
    margin-bottom: 0.5rem;
}
.forgot-password-form .btn-custom {
    margin-bottom: 1rem !important;
}
.forgot-password-form p {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .left-panel { padding: 30px 24px; }
    .login-container { min-height: 100vh; }
    .right-panel { height: 300px; }
}
