/* Thiết lập chung */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    color: #333;
}
.page-container { width: 100%; min-height: 100vh; }
.banner { display: flex; align-items: center; background-color: #005a9e; color: white; padding: 15px 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.logo { height: 70px; margin-right: 20px; }
.banner-text { display: flex; flex-direction: column; flex: 1; }
.banner-text h1 { font-size: 20px; color: white; font-weight: bold; margin: 0; text-transform: uppercase; text-align: center; line-height: 1.1; }
.banner-subtitle { font-size: 30px; color: red; font-weight: bold; margin: 5px 0 0 0; text-transform: uppercase; text-align: center; }
.main-content { padding: 30px; display: flex; align-items: center; justify-content: center; }

/* --- BỐ CỤC 2 CỘT --- */
.login-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.left-column {
    flex: 1;
    display: flex;
    background-color: #e9ecef; /* Thêm màu nền để thấy rõ khung ảnh */
}
.side-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* THAY ĐỔI Ở ĐÂY: Hiển thị toàn bộ ảnh trong khung */
}
.right-column {
    flex: 1;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Form đăng nhập */
.auth-form { width: 100%; max-width: 400px; }
.auth-form h3 { text-align: center; color: #1a2b4d; margin-bottom: 25px; font-size: 22px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input { width: 100%; padding: 10px 12px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; font-size: 14px; }
.password-wrapper { position: relative; }
.password-wrapper input#password { padding-right: 160px; }
.toggle-password { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; cursor: pointer; color: #6c757d; }
.toggle-password:hover { color: #333; }
.toggle-password svg { margin-right: 5px; }
.toggle-password span { font-size: 13px; user-select: none; white-space: nowrap; }
.form-group-extra { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.remember-me { display: flex; align-items: center; font-size: 14px; cursor: pointer; color: #555; }
.remember-me input[type="checkbox"] { margin-right: 8px; }
.forgot-password { font-size: 14px; color: #007bff; text-decoration: none; }
.forgot-password:hover { text-decoration: underline; }
.btn { width: 100%; padding: 12px; background-color: #007bff; color: white; border: none; border-radius: 4px; font-size: 16px; cursor: pointer; }
.btn:hover { background-color: #0056b3; }
.switch-link { text-align: center; margin-top: 20px; }
.switch-link a { color: #007bff; text-decoration: none; font-weight: bold; }
.feedback.error { background-color: #f8d7da; color: #721c24; text-align: center; margin-bottom: 15px; padding: 10px; border-radius: 5px; font-weight: bold; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
    }
    .left-column {
        display: none; /* Ẩn ảnh ở màn hình nhỏ */
    }
    .right-column {
        padding: 30px;
    }
    .main-content {
        padding: 20px;
    }
}
@media (max-width: 768px) {
    .banner { flex-direction: column; text-align: center; padding: 15px; }
    .logo { margin-bottom: 10px; margin-right: 0; }
    .banner-text h1 { font-size: 22px; }
    .banner-subtitle { font-size: 28px; }
}
