* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    display: flex;
    width: 1000px;
    height: 650px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Phần bên trái */
.login-section {
    flex: 1;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #1a4a8e;
}

.logo-img { 
    width: 30px; 
}

.form-wrapper {
    margin: auto 0;
}

h1 { font-size: 2rem; margin-bottom: 8px; color: #333; }
.subtitle { color: #666; margin-bottom: 30px; }

.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 5px; color: #444; font-size: 0.9rem; }

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.password-wrapper { position: relative; }
.password-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
}

.btn-signin {
    width: 100%;
    padding: 12px;
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}
.divider::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #eee;
    left: 0; top: 50%;
}
.divider span { background: #fff; padding: 0 10px; position: relative; color: #999; font-size: 0.8rem; }

.btn-google img {
    width: 18px;        /* Bạn có thể tăng giảm số này (16px, 20px...) */
    height: auto;       /* Giữ đúng tỷ lệ ảnh */
    margin-right: 10px; /* Tạo khoảng cách giữa logo và chữ "Sign in..." */
    vertical-align: middle; /* Căn lề logo vào giữa dòng chữ */
}

.btn-google {
    width: 100%;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.footer-text {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 0.9rem;
}

.footer-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

/* Phần bên phải */
.banner-section {
    flex: 1.2;
    background: #2b6df2; /* Màu nền dự phòng nếu ảnh chưa tải xong */
    display: flex; /* Dùng flexbox để căn giữa ảnh nếu cần */
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Ẩn phần ảnh thừa ra ngoài nếu có */
    /* Bạn có thể bỏ padding ở đây nếu muốn ảnh tràn viền */
}

/* Thêm CSS mới cho ảnh banner */
.banner-image {
    width: 100%; /* Ảnh chiếm hết chiều rộng của cột */
    height: 100%; /* Ảnh chiếm hết chiều cao của cột */
    object-fit: cover; /* Quan trọng: Giúp ảnh không bị méo, tự động cắt tỉa để lấp đầy */
    object-position: center; /* Căn giữa ảnh */
}