
.login-form-container {
    max-width: 350px; 
    margin: 0 auto;
    padding: 20px;
}

.login-button {
 
    display: block; 
    
    /* Màu sắc và font */
    background-color: #007bff; /* Màu xanh dương chính */
    color: white; /* Chữ màu trắng */
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center; /* Căn chữ vào giữa nút */
    text-decoration: none; /* Bỏ gạch chân mặc định của liên kết */

    /* Kích thước và hình dạng */
    width: 100%; /* Chiếm toàn bộ chiều rộng container */
    padding: 10px 20px; /* Khoảng đệm bên trong nút */
    border-radius: 5px; /* Bo tròn góc */
    cursor: pointer; /* Biểu tượng con trỏ tay */
    
    /* Khoảng cách bên dưới (theo ảnh mẫu) */
    margin-bottom: 10px; 

    /* Hiệu ứng chuyển tiếp mượt mà */
    transition: background-color 0.3s ease;
}

/* Hiệu ứng khi rê chuột */
.login-button:hover {
    background-color: #0056b3; /* Màu xanh đậm hơn một chút */
}

/* Kiểu cho nút "Đăng nhập dịch vụ công quốc gia" (nút phụ màu trắng) */
.public-service-button {
    display: block;
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #ccc; /* Viền xám */
    background-color: white;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.public-service-button:hover {
    background-color: #f0f0f0;
}
body {
    font-family: Arial, sans-serif;
    background-image: url(Hinh2.jpg) ;
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: flex-start; 
    padding: 50px 0;
    margin: 0;
    min-height: 100px;
}

/* Container chính của nội dung */
.main-container {
    width: 85%; /* Độ rộng tổng thể */
    max-width: 1200px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

/* Phần Header (Logo và Tiêu đề) */
.header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.logo {
    width: 50px; /* Điều chỉnh kích thước logo */
    height: auto;
    vertical-align: middle;
    margin-right: 10px;
}

.header h1 {
    display: inline-block;
    font-size: 1.2em;
    color: #002c6d;
    font-weight: bold;
    margin: 0;
    vertical-align: middle;
}

.header h2 {
    font-size: 1.8em;
    color: #002c6d;
    margin: 5px 0 0 0;
    font-weight: 900;
}

/* Bố cục hai cột */
.content-wrapper {
    display: flex;
    gap: 30px; /* Khoảng cách giữa hai cột */
}

/* Cột Đăng nhập */
.login-panel {
    flex: 1; /* Chiếm 1 phần */
    padding: 20px;
    background-color: #f7f9ff; /* Nền màu xanh nhạt hơn */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.login-panel h3 {
    color: #002c6d;
    text-transform: uppercase;
    font-size: 1.5em;
    margin-top: 0;
}

.login-panel label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 0.9em;
    font-weight: bold;
    color: #333;
}

.login-panel input[type="text"],
.login-panel input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Quan trọng để padding không làm tăng độ rộng */
    margin-bottom: 10px;
}

/* Nhóm nhập liệu có icon (Mã đăng nhập) */
.input-with-icon {
    position: relative;
}

.input-with-icon .icon-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

/* Nhóm Mã xác nhận */
.captcha-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.captcha-box {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 8px 15px;
    font-size: 1.2em;
    font-style: italic;
    color: #002c6d;
    margin-right: 10px;
    border-radius: 4px;
    /* Mô phỏng mã xác nhận */
    background-image: linear-gradient(to right, rgba(0,0,0,.1) 1px, transparent 1px);
    letter-spacing: 2px;
}

.refresh-icon {
    font-size: 1.5em;
    margin-right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #002c6d;
}

.captcha-group input {
    flex-grow: 1; /* Cho phép trường nhập liệu này lấp đầy không gian còn lại */
    margin-bottom: 0 !important;
}

.forgot-password {
    display: block;
    text-align: right;
    margin-bottom: 20px;
    color: #002c6d;
    text-decoration: none;
    font-size: 0.9em;
}

/* Các nút bấm */
.btn-primary, .btn-secondary {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    margin-bottom: 10px;
    font-weight: bold;
}

.btn-primary {
    background-color: #007bff; /* Màu xanh dương */
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #e9ecef; /* Màu xám nhạt */
    color: #333;
    border: 1px solid #ccc;
}

.btn-secondary:hover {
    background-color: #d8d8d8;
}

/* Cột Thông báo */
.notice-panel {
    flex: 1.5; /* Chiếm 1.5 phần, rộng hơn cột đăng nhập */
    padding: 20px;
    background-color: #f0f8ff; /* Nền màu xanh nhạt (giống hình) */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    /* Áp dụng kiểu nền mờ và bóng đèn như trong ảnh */
    position: relative;
    overflow: hidden; /* Che đi phần ngoài của các họa tiết trang trí */
}

/* Họa tiết trang trí (giống trong ảnh) */
.notice-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="45" fill="rgba(0,123,255,0.1)"/></svg>');
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
    opacity: 0.5;
}

.notice-panel h3 {
    color: #002c6d;
    text-transform: uppercase;
    font-size: 1.5em;
    margin-top: 0;
    position: relative; /* Đưa chữ lên trên họa tiết */
    z-index: 1;
}

.notice-panel p, .notice-panel ul {
    font-size: 0.95em;
    line-height: 1.6;
    color: #333;
    position: relative;
    z-index: 1;
}

.notice-panel ul {
    list-style-type: none;
    padding-left: 0;
}

.notice-panel li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.notice-panel li::before {
    content: '•'; /* Dấu đầu dòng */
    color: #007bff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}