@media (min-width: 1200px) {
    .container, .container-sm, .container-md, .container-lg {
        max-width: 1400px;
    }

    .col-xl-20 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}


.section-header-01 > .container > .row > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bg-header, .bg-header * {
    position: unset;
}

header .overlay-footer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 70vh;
}

header {
    position: relative;
}

.section-header-01 {
    padding: 45px 0 70px 0;
}

.tro-thanh-dai-ly .title {
    font-size: 2.6rem;
    font-weight: 800;
    color: black;
}

.tro-thanh-dai-ly .sub-title {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-main);
}

.tro-thanh-dai-ly .desc {
    margin: 25px 0;
    font-size: 1rem;
    line-height: 1.7;
    color: black;
    max-width: 480px;
}

.tro-thanh-dai-ly .btn-register,.tro-thanh-dai-ly .btn-policy, .btn-dk-daily-top a, .box-chinhsach-lienquan .btn-register,.box-chinhsach-lienquan .btn-policy {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--color-main);
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 8px;
}

.tro-thanh-dai-ly .btn-register:hover, .btn-dk-daily-top a:hover, .box-chinhsach-lienquan .btn-register:hover {
    background-color: #3e4040;
    color: white;
}

.box-loi-ich-dai-ly {
}

.box-loi-ich-dai-ly .title {
    font-size: 2.6rem;
    font-weight: 900;
    color: black;
    line-height: 1.3;
    margin-bottom: 50px;
}

.box-loi-ich-dai-ly .title span {
    color: var(--color-main);
}

.box-loi-ich-dai-ly .benefit-box {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    height: 100%;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.box-loi-ich-dai-ly .benefit-box:hover {
    background: #FAFAFA;
    box-shadow: 0 1px 9px rgba(0, 0, 0, 0.08)
}

/* Icon */
.box-loi-ich-dai-ly .benefit-box .icon img {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
}

/* Title */
.box-loi-ich-dai-ly .benefit-box h4 {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: black;
    margin-top: 15px;
}

.box-loi-ich-dai-ly .benefit-box:hover h4 {
    color: var(--color-main);
}

/* Description */
.box-loi-ich-dai-ly .benefit-box p {
    font-size: 1rem;
    max-width: 80%;
    line-height: 1.6;
    margin-bottom: 0;
}

.box-loi-ich-dai-ly .benefit-box .arrow img {
    width: 48px;
    opacity: 0;
}

.box-loi-ich-dai-ly .benefit-box:hover .arrow img {
    opacity: 1;
}

.box-loi-ich-dai-ly .row > div {
    margin-bottom: 30px;
}

.box-loi-ich-dai-ly .desc-row {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    align-items: flex-end;
}

.section-loi-ich-daily {
    margin: 80px 0 50px 0;
}

/*aaaaa*/
.chinh-sach-dai-ly {
    background: linear-gradient(90deg, #24C2C3, #2EC7C9, #3FD0D2);
    border-radius: 24px;
    margin: 0 5% 0 5%;
    padding: 60px 80px 45px 0;
}

/* Tiêu đề */
.chinh-sach-dai-ly .title {
    font-size: 2.6rem;
    font-weight: 900;
    color: black;
    margin-bottom: 35px;
}

.chinh-sach-dai-ly .title span {
    color: #FFFFFF;
}

/* Box ưu đãi */
.policy-box {
    background: #032E52;
    padding: 12px;
    border-radius: 16px;
    text-align: left;
    color: #fff;
    min-height: 130px;
    transition: 0.5s;
}

.policy-box:hover {
    margin-top: -10px;
}

.policy-box .icon {
    width: 32px;
    margin-bottom: 12px;
}

.policy-box h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.policy-box p {
    margin-top: 10px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Nút */
.btn-register {
    background: #fff;
    color: #0A2533;
    padding: 10px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.2s ease;
}

.btn-register:hover {
    /* opacity: 0.8; */
}

/* Ảnh trái */
.illustration {
    max-width: 100%;
    height: auto;
}

/* Container bao ngoài để kích hoạt cuộn ngang trên mobile */
.agent-pricing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Định dạng bảng */
.agent-pricing-table {
    border-collapse: collapse;
    width: 100%;
    /* Quan trọng: Thiết lập chiều rộng tối thiểu để cuộn ngang trên mobile */
    min-width: 650px;
    color: #333;
    table-layout: fixed;
}

/* Định dạng các ô (td, th) */
.agent-pricing-table th, .agent-pricing-table td {
    border: none;
    padding: 20px 12px;
    text-align: center;
    vertical-align: middle;
}

/* Cột đầu tiên (nhãn hàng) */
.agent-pricing-table th.header-col-1, .agent-pricing-table td.row-label {
    text-align: left;
    color: black;
    width: 20%;
    min-width: 160px;
    padding-left: 0;
}

/* Tiêu đề ĐẠI LÝ */
.agent-pricing-table th.header-col-1 {
    font-size: 2.6rem;
    font-weight: 900;
    color: black;
    vertical-align: bottom;
}

/* Hàng tiêu đề CẤP 1, CẤP 2, ... */
.header-level-row {
    background: transparent !important;
}

.header-level-row th {
    padding: 0;
}

.level-header-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.level-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    font-weight: 900;
    min-width: 110px;
    height: 100%;
    border-radius: 12px;
    margin: 0 10px 0 10px;
    font-size: 1.6rem;
}

/* Định dạng màu nền cho mỗi cấp độ */
.level-1-item {
    background-color: #f7f3ff;
    color: #5a2e9d;
}

.level-2-item {
    background-color: #fceeff;
    color: #b054cb;
}

.level-3-item {
    background-color: #fff2f6;
    color: #c43c68;
}

.level-4-item {
    background-color: #e6f6e8;
    color: #1c9b3a;
}

.level-icon {
    width: 72px;
    height: auto;
    margin-bottom: 5px;
}

/* Dòng "Tổng giá trị nộp vào" (trong tbody) */
.total-value-row {
    background-color: #fff;
}

.total-value-label {
    padding-left: 0;
    padding-right: 12px;
    color: black;
}

/* Dòng tiêu đề Section (Dịch vụ, Tên miền VN, Tên miền QT) */
.section-title-row td {
    text-align: left;
    font-weight: bold;
    padding: 15px 0 5px 0;
    border-top: 1px solid #D0D0D0;
}

.section-title-cell {
    color: var(--color-main);
    font-weight: 900 !important;
    padding-top: 30px !important;
    font-size: 2rem;
    padding-bottom: 10px !important;
}

.agent-pricing-table tbody tr:not(.section-title-row):not(.total-value-row) td {
    border-bottom: 1px solid #D0D0D0;
}

.total-value-row.title-cot {
    font-size: 1.2rem;
    color: black;
}
table.agent-pricing-table tbody tr td:first-child {
    text-align: left;
}
.total-value-row.title-cot td {
    padding: 45px 0 15px 0;
}

.section-bang-gia-dai-ly {
    margin: 120px 0 140px 0;
}

.box-chinhsach-lienquan .title {
    font-size: 2.6rem;
    font-weight: 900;
    color: black;
    margin-bottom: 50px;
}

.box-chinhsach-lienquan .title span {
    color: var(--color-main);
}

.box-chinhsach-lienquan .section-title {
    color: #0C2C4A;
    font-weight: 900;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.box-chinhsach-lienquan p, .box-chinhsach-lienquan ul li {
    font-size: 1.1rem;
    color: black;
    line-height: 1.6;
}

.box-chinhsach-lienquan ul, ol {
    list-style: none;
    padding-left: 0;
}

.box-chinhsach-lienquan {
    margin-bottom: 100px;
}

.box-hop-tac-nh {
    background-color: var(--color-main);
    color: white;
}

.box-hop-tac-nh .title {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.btn-register-hop-tac {
    background-color: #00000024;
    padding: 10px 15px 10px 15px;
    border: 1px solid #ffffff94;
    border-radius: 5px;
    color: white;
}

.btn-register-hop-tac:hover {
    background-color: #0000006b;
    border: 1px solid #e3cece94;
    color: white;
}

.box-hop-tac-nh .content-left {
    margin-left: 25%;
}

.section-thong-tin-lien-he {
    background: #0C2C4A;
    color: white;
    padding: 70px 0 300px 0;
}

.flex-info-contact {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.flex-info-contact .text-tile {
    font-size: 1.4rem;
    font-weight: 700;
}

.flex-info-contact img {
    width: 64px;
    height: 64px;
    margin-right: 12px;
}

.title-box-contact {
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/*aaaaaaaaaaaaaaaaaa*/
.registration-container {
    border-radius: 30px;
    /* box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #DCFAFB 100%);
    padding: 20px;
}

.left-panel {
    padding: 0px 40px 0 65px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: black;
}

.right-panel {
    padding: 40px 40px 30px 40px;
    background-color: white;
}

.contact-title {
    font-size: 2.6rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.manager-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.manager-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    border: 3px solid white;
}

.manager-details h4 {
    margin: 0;
    font-size: 18px;
}

.manager-details p {
    margin: 5px 0;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 400;
    margin-bottom: 8px;
    color: black;
}

.form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px 15px;
}

.form-control:focus {
    border-color: #0056b3;
    box-shadow: 0 0 0 0.25rem rgba(0, 86, 179, 0.25);
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-title {
    font-weight: 400;
    margin-bottom: 15px;
    color: black;
}

.checkbox-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
td.colspan.hevb.font18.section-title-cell {
    text-align: left;
    font-size: 1.3rem;
}
.form-check {
    margin-bottom: 10px;
}

.btn-submit {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 4px;
    width: 100%;
    margin-top: 10px;
    font-size: 1rem;
}

.btn-submit:hover {
    background-color: #004494;
}
button#submitFormReseller {
    height: 45px;
    border: 1px solid #0056b3;
}

button#submitFormReseller:hover {
    color: #0056b3;
    background: #fff;
}
.right-panel .title-dk {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .checkbox-options {
        grid-template-columns: 1fr;
    }
}

.section-form-dk {
    position: relative;
    margin-top: -200px;
    margin-bottom: 120px;
}
.section-form-dk input{
    font-size: 1rem;
    height: 43px;
}
.checkbox-options .form-check-label {
    margin-left: 12px;
    cursor: pointer;
}

.form-check-input {
    cursor: pointer;
}

/* Tăng kích thước checkbox (tùy chọn) */
.form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Khi checkbox được check → đổi nền ô vuông */
.form-check-input:checked {
    background-color: var(--color-main) !important;
    border-color: var(--color-main) !important;
}

/* Đổi màu text khi checkbox được check */
.form-check-input:checked + .form-check-label {
    color: var(--color-main);
}

@media (min-width: 1200px) and (max-width: 1600px) {
    .policy-box p {
        font-size: 1rem;
    }

    .policy-box h4 {
        font-size: 2.3rem;
    }

    .chinh-sach-dai-ly {
        margin: 0 5px 0 5px;
    }
}

@media (min-width: 768px) and (max-width: 1100px) {
    .tro-thanh-dai-ly .title, .tro-thanh-dai-ly .sub-title, .box-loi-ich-dai-ly .title, .chinh-sach-dai-ly .title, .box-chinhsach-lienquan .title, .box-hop-tac-nh .title {
        font-size: 3.5rem;
    }

    .policy-box {
        margin-bottom: 30px;
    }

    .policy-box h4 {
        font-size: 2.2rem;
    }

    .policy-box p {
        font-size: 1rem;
    }

    .level-icon {
        width: 60px;
    }

    .box-hop-tac-nh .content-left {
        margin-left: 15px;
    }

    .left-panel {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .section-header-01 {
        padding: 20px 0 50px 0;
    }
    .tro-thanh-dai-ly {
        padding: 50px 0 20px 0;
    }
    .bg-body-light{
        
    }
    .logo-section img {
        height: 4rem;
    }

    .tro-thanh-dai-ly .btn-register, .btn-dk-daily-top a, .box-chinhsach-lienquan .btn-register {
        padding: 10px 30px;
        font-size: 1.2rem;
    }

    .tro-thanh-dai-ly .title, .tro-thanh-dai-ly .sub-title, .chinh-sach-dai-ly .title, .agent-pricing-table th.header-col-1, .box-chinhsach-lienquan .title, .box-loi-ich-dai-ly .title {
        font-size: 2rem;
    }

    .tro-thanh-dai-ly img {
        margin-top: 30px;
    }

    .box-loi-ich-dai-ly .benefit-box {
        text-align: center;
        background: #FAFAFA;
        box-shadow: 0 1px 9px rgba(0, 0, 0, 0.08);
    }

    .box-loi-ich-dai-ly .benefit-box .arrow img {
        opacity: 1;
    }

    .box-loi-ich-dai-ly .row > div {
        margin-bottom: 20px;
    }

    .chinh-sach-dai-ly {
        margin: 0 15px 0 15px;
        padding: 15px 15px 45px 15px;
    }

    .chinh-sach-dai-ly .title {
        margin-top: 15px;
    }

    .policy-box {
        margin-bottom: 15px;
        text-align: center;
    }

    .level-icon {
        width: 50px;
    }

    .section-loi-ich-daily {
        margin: 40px 0 62px 0;
    }
    .btn-register{
        padding: 10px 30px;
        font-size: 1.2rem;
    }
    .section-bang-gia-dai-ly {
        margin: 40px 0 62px 0;
    }


    .box-hop-tac-nh .content-left {
        margin-left: 0;
        padding: 30px 10px 30px 10px;
        text-align: center;
    }

    .left-panel {
        padding: 0px 10px 0 10px;
    }

    .right-panel {
        padding: 30px 15px;
        background-color: white;
        margin-top: 20px;
    }
    .right-panel .title-dk {
        margin-bottom: 20px;
    }

    .manager-info {
        margin: 0;
    }
    .section-form-dk {
        margin-bottom: 80px;
    }
    table.agent-pricing-table tbody {
        background: #fff;
    }

    tr.data-row.total-value-row.title-cot td {
        padding: 15px 10px;
    }

    .agent-pricing-table th, .agent-pricing-table td {}

    .level-item {
        font-size: 1.5rem;
    }

    .box-chinhsach-lienquan {
        background: #fff;
        padding: 20px 10px;
    }

    .box-hop-tac-nh .title {
        font-size: 2rem;
    }

    .title-box-contact {
        font-size: 2rem;
    }

    .contact-title {
        font-size: 2rem;
    }
}
