body {
    background-color: #fff;
    font-family: Nunito, Arial, sans-serif;
}
.login-container {
    display: flex;
    height: 100vh; /* fill viewport height */
    width: 100%;
}
.login-image-section {
    flex: 0 0 50%;
    max-width: 50%;
    position: relative;
    display: none; /* Hidden on small screens */
    background: none;
    padding: 0;
    overflow: hidden; /* allow image to cover area */
}
.login-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.login-image-section::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 24px;
    bottom: 24px;
    width: 4px;
    background: rgba(var(--bs-primary-rgb), 1);
    border-radius: 3px;
}
.login-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 48px;
}
.login-form-wrapper {
    width: 100%;
    max-width: 420px;
}
.login-header {
    margin-bottom: 2rem;
    text-align: left;
}
.login-header h2 {
    font-size: 24px;
    font-weight: 700;
}
.login-header p {
    color: #6b7280;
    margin-top: 8px;
}
/* use default dashboard primary color from Bootstrap */
.input-with-icon .input-group-text {
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8fafc;
    color: #9ca3af;
    border: 1px solid #e5e7eb;
    border-right: none;
    border-radius: 8px 0 0 8px;
}
.input-with-icon .form-control {
    height: 48px;
    border: 1px solid #e5e7eb;
    border-left: none;
    background-color: #fff;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.form-control::placeholder {
    color: #9aa0a6;
}
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.15);
    border-color: rgba(var(--bs-primary-rgb), 1);
}
.btn-primary {
    border-radius: 8px;
}
.btn-primary .btn-icon {
    margin-right: 0.5rem;
}
.forgot-link { color: rgba(var(--bs-primary-rgb), 1); font-weight: 600; }
.login-footer { margin-top: 3rem; }

@media (min-width: 992px) {
    .login-image-section { display: block; }
    .login-image-section img { width: 100%; height: 100%; }
    .login-form-section { flex: 0 0 50%; max-width: 50%; }
    .login-header { text-align: left; }
}