/* --- HỆ THỐNG GRID SYSTEM 12 CỘT (RESPONSIVE) --- */
.col-1{ width: 8.33%}
.col-2{ width: 16.66%}
.col-3{ width: 25%}
.col-4{ width: 33.33%}
.col-5{ width: 41.66%}
.col-6{ width: 50%}
.col-7{ width: 58.33%}
.col-8{ width: 66.66%}
.col-9{ width: 75%}
.col-10{ width: 83.33%}
.col-11{ width: 91.66%}
.col-12{ width: 100%}

[class*="col-"] {
    float: left;
    padding: 15px;
    box-sizing: border-box;
}

/* Căn giữa form trên màn hình lớn */
.center-responsive {
    margin: 0px auto !important;
    float: none !important;
}

/* Mobile (Điện thoại dưới 768px) */
@media only screen and (max-width: 768px) {
    #header, #quick-contact {
        display: none;
    }
    .col-s-1{ width: 8.33%}
    .col-s-2{ width: 16.66%}
    .col-s-3{ width: 25%}
    .col-s-4{ width: 33.33%}
    .col-s-5{ width: 41.66%}
    .col-s-6{ width: 50%}
    .col-s-7{ width: 58.33%}
    .col-s-8{ width: 66.66%}
    .col-s-9{ width: 75%}
    .col-s-10{ width: 83.33%}
    .col-s-11{ width: 91.66%}
    .col-s-12{ width: 100% !important}
    
    /* Tối ưu Topbar trên mobile */
    #top { height: auto !important; }
    #top-left, #top-right { width: 100% !important; text-align: center !important; height: auto !important; line-height: 1.5 !important; padding: 5px 0; }
    
    /* Mật khẩu hàng dọc trên mobile */
    .password-col { width: 100% !important; float: none !important; padding: 0 0 16px 0 !important; }
}

/* Tablet (Máy tính bảng từ 768px trở lên) */
@media only screen and (min-width: 768px) {
    #header, #quick-contact {
        display: block;
    }
    .col-m-1{ width: 8.33%}
    .col-m-2{ width: 16.66%}
    .col-m-3{ width: 25%}
    .col-m-4{ width: 33.33%}
    .col-m-5{ width: 41.66%}
    .col-m-6{ width: 50%}
    .col-m-7{ width: 58.33%}
    .col-m-8{ width: 66.66%}
    .col-m-9{ width: 75%}
    .col-m-10{ width: 83.33%}
    .col-m-11{ width: 91.66%}
    .col-m-12{ width: 100%}
    
    .password-col { width: 48% !important; }
}

/* Laptop / PC (Màn hình lớn từ 1200px trở lên) */
@media only screen and (min-width: 1200px) {
    #header {
        display: block;
    }
    .col-x-1{ width: 8.33%}
    .col-x-2{ width: 16.66%}
    .col-x-3{ width: 25%}
    .col-x-4{ width: 33.33%}
    .col-x-5{ width: 41.66%}
    .col-x-6{ width: 50%}
    .col-x-7{ width: 58.33%}
    .col-x-8{ width: 66.66%}
    .col-x-9{ width: 75%}
    .col-x-10{ width: 83.33%}
    .col-x-11{ width: 91.66%}
    .col-x-12{ width: 100%}
}

/* --- STYLING CHO CÁC THÀNH PHẦN GIAO DIỆN (ĐÃ ĐỔI MÀU KHỚP WEB CHÍNH) --- */
body {
    margin: 0px;
    font-family: Arial;
    background-color: #f0f0f0; /* Đồng bộ nền xám nhạt với trang chủ */
}

#top {
    width: 100%;
    height: 48px;
    background-color: #333333; /* Đổi từ green sang màu Đen tối của header trang chủ */
}

#top-content {
    width: 80%;
    margin: 0px auto;
}

#top-left {
    width: 70%;
    height: 48px;
    background-color: #333333; 
    float: left;
    line-height: 48px;
    color: white;
}

#top-right {
    width: 30%;
    height: 48px;
    background-color: #333333; 
    float: right;
    line-height: 48px;
    color: white;
    text-align: right;
}

#top-right a {
    color: white;
    text-decoration: none;
}

#top-right a:hover {
    color: #ff0000; /* Hover đổi màu Đỏ */
    text-decoration: underline;
}

.main-wrapper {
    width: 100%;
    padding: 60px 0;
    content: '';
    display: table;
    clear: both;
}

.form-box {
    background-color: white;
    border: 1px solid #cccccc;
    border-radius: 12px;
    overflow: hidden;
    padding: 0px;
}

.form-header {
    background-color: #333333; /* Tiêu đề hộp đổi sang màu đen sậm lịch lãm */
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: white;
    padding: 20px;
    border-bottom: 3px solid #ff0000; /* Thêm đường chỉ đỏ đậm chất Gaming */
}

.form-body {
    padding: 20px 32px 32px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
}

.form-select {
    border-radius: 12px;
}

.form-textarea {
    border-radius: 12px;
    resize: vertical;
    font-family: Arial;
}

.form-group input[type="radio"],
.form-group input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
}

.radio-label {
    font-size: 13px;
    margin-right: 20px;
}

.checkbox-label {
    font-size: 13px;
    color: #555;
}

/* NÚT BẤM CHUYỂN SANG MÀU ĐỎ CỦA GIỎ HÀNG WEB CHÍNH */
.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #ff0000; /* Màu đỏ nổi bật */
    border-radius: 10px;
    border: 1px solid #ff0000;
    font-size: 14px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background-color: #cc0000; /* Đỏ sậm hơn khi di chuột */
    border-color: #cc0000;
}

.form-footer-links {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: #777;
}

/* LINK CHUYỂN SANG ĐỎ GAMING */
.link-green {
    text-decoration: none;
    color: #ff0000; /* Đổi từ màu xanh lá cây sang màu đỏ */
}

.link-green:hover {
    text-decoration: underline;
}

#footer {
    width: 100%;
    height: 300px;
    background-color: #333333; /* Đổi chân trang sang đen sậm đồng bộ */
    clear: both;
}
#quick-contact {
	background-color: orange;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	position: fixed;
    bottom: 20px;
    right: 20px;
    border: 1px solid orange;
    cursor: pointer;
    z-index: 999;
}