
/* =============================================================== */
/* ==================== 2025-09-09 API Connex ==================== */
/* =============================================================== */
.dpf-cnapi-set {
    display: flex;
}
.box-connex-api-v {
    position: relative;
    width: 100%;
    height: auto;
    margin: auto;
}

.title-name-cnapi {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 6px;
}
.title-name-cnapi p {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    color: var(--color-first);
}

.dt-token-cnapi {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
}

.ttn-inp {
    position: relative;
    width: 100%;
    /* width: 3.3rem; */
    height: auto;
}
.ttn-inp p {
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-txtg);
}

.lines-binp {
    position: relative;
    width: 100%;
    /* width: calc(100% - 3.3rem); */
    height: auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    border: 1px solid var(--color-grey6);
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--color-light);
    align-items: center;
}

.binp-v {
    position: relative;
    width: calc(100% - 5rem);
    height: auto;
    display: flex;
}

.ic-inp-v {
    position: relative;
    width: 2.4rem;
    height: auto;
    background-color: var(--color-first);
    display: flex;
}
.ic-inp-v i {
    font-size: 2rem;
    color: var(--color-first);
    display: flex;
    overflow: hidden;
    margin: auto;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 6px;
}
.ic-inp-v i::before {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    background-color: var(--color-light);
}

.binp-tkv {
    position: relative;
    width: calc(100% - 2.4rem);
    height: auto;
    padding: 0 8px 0 2px;
}
.binp-tkv input {
    width: 100%;
    height: auto;
    font-size: 0.88rem;
    padding: 6px 0 4px 0;
    color: var(--color-txtg);
}

.btn-copy-token {
    position: relative;
    width: 5rem;
    height: -webkit-fill-available;
}
.btn-copy-token button {
    width: 100%;
    height: -webkit-fill-available;
    font-size: 0.94rem;
    font-weight: normal;
    text-align: center;
    cursor: pointer;
    color: var(--color-light);
    background-color: var(--color-first);
    padding: 2px 6px;
}
.btn-copy-token button i {
    color: var(--color-light);
}
.btn-copy-token button:hover {
    text-decoration: underline;
    transition: all 0.3s ease;
}

.box-btn-api {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    padding-top: 16px;
}
.box-btn-api button {
    margin: auto;
    font-size: 1.13rem;
    font-weight: bold;
    text-align: center;
    color: var(--color-light);
    background-color: var(--color-first);
    padding: 5px 16px 4px 16px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}
.box-btn-api button:hover {
    text-decoration: underline;
    transition: all 0.3s ease;
}
.box-btn-api .clbtncnapi-waiting {
    color: var(--color-dark);
    background-color: var(--color-grey6);
    cursor: auto;
}
.box-btn-api .clbtncnapi-waiting:hover {
    text-decoration: none;
    transition: all 0.3s ease;
}
.box-manual-cnapi {
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 3.5rem;
}

.list-manual-btn {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    border-bottom: 1px dashed var(--color-grey6);
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.list-manual-btn:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
.txt-manual-v {
    position: relative;
    width: auto;
    height: auto;
    padding-right: 16px;
}
.txt-manual-v p {
    font-size: 0.88rem;
    font-weight: bold;
    color: var(--color-txtg);
}
.btn-dl-manual {
    position: relative;
    width: auto;
    height: auto;
}
.btnmnu {
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--color-first);
    border-radius: 5px;
    overflow: hidden;
}
.btnmnu a {
    position: relative;
    width: 100%;
    height: auto;
    cursor: pointer;
    display: flex;
    padding: 5px 16px 4px 16px;
}
.btnmnu p {
    font-size: 0.94rem;
    color: var(--color-light);
}
.btnmnu i {
    color: var(--color-light);
}
.btnmnu a:hover p {
    text-decoration: underline;
    transition: all 0.3s ease;
}

/* ============= */
@media (min-width: 1200px) {}
@media (min-width: 992px) and (max-width: 1199px) {}
@media (min-width: 791px) and (max-width: 991px) {}
@media (min-width: 501px) and (max-width: 790px) {}
@media (min-width: 0px) and (max-width: 500px) {
    .title-name-cnapi p {
        font-size: 2rem;
    }
}


/* ========================================================== */
/* ==================== 2025-09-09 swal2 ==================== */
/* ========================================================== */
body.swal2-toast-shown .swal2-container {
    width: 100% !important;
    background-color: rgba(var(--color-light-rgb), 0.5) !important;
}
.swal2-toast {
    width: auto !important;
    max-width: 360px !important;
}


/* =============================================================== */
/* ==================== 2025-09-09 Letterhead ==================== */
/* =============================================================== */
.box-letterhead-upload-file {
    position: relative;
    width: 80%;
    height: auto;
    margin: 0 auto;
    padding-top: 20px;
}

.bg-bupload-letterhead {
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--color-light);
    border-radius: 5px;
    overflow: hidden;
}

.title-lthd-btnul-v {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: row;
    padding: 16px 16px 10px 16px;
    align-items: center;
}

.btt-lthd-n {
    position: relative;
    width: 50%;
    height: auto;
    padding-left: 6px;
}
.btt-lthd-n p {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--color-first);
}

.btn-uplimg-n {
    position: relative;
    width: 50%;
    height: auto;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex-direction: row;
    padding-right: 6px;
}

.btn-delete-imglt {
    position: relative;
    width: auto;
    height: auto;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 10px;
    /* margin-bottom: 6px; */
}
.btn-delete-imglt:last-child {
    margin-right: 0;
}
.btn-delete-imglt a {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    padding: 2px 12px;
    cursor: pointer;
}
.btn-delete-imglt p {
    font-size: 1rem;
    color: var(--color-light);
}
.btn-delete-imglt i {
    color: var(--color-light);
}
.btn-delete-imglt a:hover p {
    text-decoration: underline;
    transition: all 0.3s ease;
}

.bt-dl-imglt {
    font-size: 1rem;
    color: var(--color-light);
    border-radius: 5px;
    overflow: hidden;
    margin-right: 10px;
    padding: 2px 12px;
    /* margin-bottom: 6px; */
    cursor: pointer;
}
.bt-dl-imglt:last-child {
    margin-right: 0;
}
.bt-dl-imglt i {
    color: var(--color-light);
}
.bt-dl-imglt:hover {
    text-decoration: underline;
    transition: all 0.3s ease;
}

.img-lthd-v {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0 16px 10px 16px;
}
.img-lthd-v figure {
    position: relative;
    width: 100%;
    height: auto;
    cursor: pointer;
}
.img-lthd-v figure .size-imghd {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.clbg-dl-gy a,
.bt-dl-imglt.clbg-dl-gy {
    cursor: auto;
}
.clbg-dl-gy a:hover p,
.bt-dl-imglt.clbg-dl-gy:hover {
    text-decoration: none;
    transition: all 0.3s ease;
}

.clbg-dl-red {
    background-color: var(--color-red);
}
.clbg-dl-sc {
    background-color: var(--color-green);
}
.clbg-dl-wn {
    background-color: var(--color-yellow);
}
.clbg-dl-gy {
    background-color: var(--color-grey6);
}

.txt-note-upimg {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0 22px 16px 22px;
}
.txt-note-upimg p {
    font-size: 0.75rem;
    font-weight: bold;
    color: var(--color-red);
}

/* ============= */
@media (min-width: 1200px) {}
@media (min-width: 992px) and (max-width: 1199px) {
    .box-letterhead-upload-file {
        width: 90%;
    }
}
@media (min-width: 791px) and (max-width: 991px) {}
@media (min-width: 501px) and (max-width: 790px) {}
@media (min-width: 0px) and (max-width: 500px) {
    .btn-delete-imglt p,
    .bt-dl-imglt {
        font-size: 0.75rem;
    }
    .btt-lthd-n p {
        font-size: 1.13rem;
    }
    .btt-lthd-n {
        width: 45%;
    }
    .btn-uplimg-n {
        width: 55%;
    }
}
@media (min-width: 0px) and (max-width: 991px) {
    .box-letterhead-upload-file {
        width: 100%;
    }
}



/* =================================================================== */
/* ==================== 2025-09-10 copy data tour ==================== */
/* =================================================================== */
.btn-cpdata-pgt {
    position: relative;
    width: calc((100% / 4) - 9px);
    padding: 5px 10px 4px 10px;
    margin: 0 4.5px 9px 4.5px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    background-color: var(--color-light);
    font-size: 1rem;
    font-weight: normal;
    text-align: center;
    color: var(--color-green);
    border: 1px solid var(--color-green);
}
.btn-cpdata-pgt i {
    color: var(--color-green);
}
.btn-cpdata-pgt:hover {
    color: var(--color-light);
    background-color: var(--color-green);
    transition: all 0.3s ease;
}
.btn-cpdata-pgt:hover i {
    color: var(--color-light);
}


/* ============= */
@media (min-width: 1200px) {}
@media (min-width: 992px) and (max-width: 1199px) {}
@media (min-width: 791px) and (max-width: 991px) {}
@media (min-width: 501px) and (max-width: 790px) {}
@media (min-width: 0px) and (max-width: 500px) {
    .box-dt-program-img-txt .b-dt .b-btn-contact .btn-pgt-n {
        justify-content: center;
        align-items: center;
    }
    .box-dt-program-img-txt .b-dt .b-btn-contact .btn-pgt-n .cm-btn--n {
        width: 25%;
    }
    .box-dt-program-img-txt .b-dt .b-btn-contact .btn-pgt-n .cm-btn--n .icon-pd {
        display: flex;
    }
    .box-dt-program-img-txt .b-dt .b-btn-contact .btn-pgt-n .cm-btn--n p span {
        margin-top: 0 !important;
    }
    .box-dt-program-img-txt .b-dt .b-btn-contact .btn-pgt-n .cm-btn--n p span i {
        margin-left: auto;
        margin-right: auto;
    }
    .btn-cpdata-pgt {
        width: 25%;
        border: none;
        font-size: 0.75rem;
        color: var(--color-txtg);
        margin: 0;
        padding: 0 10px 0 10px;
        display: flex;
        flex-direction: column;
    }
    .btn-cpdata-pgt i {
        font-size: 1.82rem;
        color: var(--color-green);
    }

    .od-btn1-dlpg { order: 1 !important; } /*1*/
    .od-btn2-dlpg { order: 2 !important; } /*2*/
    .od-btn3-dlpg { order: 1 !important; } /*1*/
    .od-btn4-dlpg { order: 3 !important; } /*3*/
    .od-btn5-dlpg { order: 3 !important; } /*3*/
    .od-btn6-dlpg { order: 4; } /*4*/

}


/* =============================================== */
/* ================= performance ================= */
.sc-box-performance-hn {
    position: relative;
    width: 100%;
    height: auto;
}

.nbox-pfm-view-lspr {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: stretch;
    flex-wrap: wrap;
    flex-direction: row;
    overflow: hidden;
}

.list-pfm-dt {
    position: relative;
    height: auto;
    background-color: var(--color-light);
    border-radius: 5px;
    border: 1px solid var(--color-grey3);
    overflow: hidden;
    box-shadow: 0px 0px 5px 2px rgba(var(--color-dark-rgb), 0.05);
    -webkit-box-shadow: 0px 0px 5px 2px rgba(var(--color-dark-rgb), 0.05);
    -moz-box-shadow: 0px 0px 5px 2px rgba(var(--color-dark-rgb), 0.05);
    margin-bottom: 9px;
}
.list-pfm-dt:hover {
    border: 1px solid var(--color-first);
    transition: all 0.3s ease;
}
.list-pfm-dt a {
    position: relative;
    width: 100%;
    height: auto;
    cursor: pointer;
}

.bimg-pfm {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.bimg-pfm figure {
    position: relative;
    width: 100%;
    height: 100%;
}
.bimg-pfm figure .size-imgn {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bname-pfm {
    position: relative;
    width: 100%;
    height: auto;
    padding: 6px 12px;
    background-color: var(--color-light);
}
.bname-pfm p {
    font-size: 0.81rem;
    text-align: center;
    color: var(--color-txtg);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.list-pfm-dt:hover .bname-pfm {
    background-color: var(--color-first);
    transition: all 0.3s ease;
}
.list-pfm-dt:hover .bname-pfm p {
    color: var(--color-light);
    transition: all 0.3s ease;
}

.bname2-pfm {
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
    background-color: rgba(var(--color-light-rgb), 0.8);
    padding: 6px 12px;
}
.bname2-pfm p {
    font-size: 0.81rem;
    text-align: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: var(--color-txtg);
}
.list-pfm-dt:hover .bname2-pfm {
    background-color: var(--color-first);
    transition: all 0.3s ease;
}
.list-pfm-dt:hover .bname2-pfm p {
    color: var(--color-light);
    transition: all 0.3s ease;
}

.box-btn-pfmall {
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 6px;
}
.btn-pfm-n {
    position: relative;
    width: fit-content;
    height: auto;
    border: 1px solid var(--color-txtg5);
    border-radius: 5px;
    overflow: hidden;
    background-color: var(--color-light);
    display: flex;
    cursor: pointer;
    margin: 5px auto 0 auto;
}
.btn-pfm-n a {
    position: relative;
    width: 100%;
    height: auto;
    font-size: 0.81rem;
    color: var(--color-txtg5);
    padding: 6px 12px 5px 12px;
}
.btn-pfm-n i {
    color: var(--color-txtg5);
}
.btn-pfm-n:hover {
    background-color: var(--color-first);
    border: 1px solid var(--color-first);
    transition: all 0.3s ease;
}
.btn-pfm-n:hover a, .btn-pfm-n:hover i {
    color: var(--color-light);
    transition: all 0.3s ease;
}

/* ============= */
@media (min-width: 1200px) {
    .size-box-pfm4 {
        width: calc((100%/4) - 6.75px);
        margin-right: 9px;
    }
    .sbimg-pfm4h {
        height: 13.301rem;
    }
    .size-box-pfm4:nth-child(4n+0) {
        margin-right: 0;
    }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .size-box-pfm4 {
        width: calc((100%/4) - 6.75px);
        margin-right: 9px;
    }
    .sbimg-pfm4h {
        height: 10.957rem;
    }
    .size-box-pfm4:nth-child(4n+0) {
        margin-right: 0;
    }
}
@media (min-width: 791px) and (max-width: 991px) {
    .size-box-pfm4 {
        width: calc((100%/3) - 6px);
        margin-right: 9px;
    }
    .sbimg-pfm4h {
        height: 11.936rem;
    }
    .size-box-pfm4:nth-child(3n+0) {
        margin-right: 0;
    }
}
@media (min-width: 501px) and (max-width: 790px) {
    .size-box-pfm4 {
        width: calc((100%/3) - 6px);
        margin-right: 9px;
    }
    .sbimg-pfm4h {
        height: 11.124rem;
    }
    .size-box-pfm4:nth-child(3n+0) {
        margin-right: 0;
    }
}
@media (min-width: 0px) and (max-width: 500px) {
    .size-box-pfm4 {
        width: calc((100%/2) - 4.5px);
        margin-right: 9px;
    }
    .sbimg-pfm4h {
        height: 9.024rem;
    }
    .size-box-pfm4:nth-child(2n+0) {
        margin-right: 0;
    }
}

/* =========================================== */
/* ================= title 2 ================= */
.nbox-title2-pg {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 0 16px 0;
}
.nbox-title2-pg p {
    font-size: 0.94rem;
    text-align: center;
    color: var(--color-txtg);
}
.nbox-title2-pg .ntitle2-pghd {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-red);
    text-align: center;
}
.nbox-title2-pg .ntitle2-pghd span {
    color: var(--color-first);
}
.lines2-sprtitle {
    position: relative;
    width: 70px;
    height: 2px;
    background-color: var(--color-txtg3);
    margin: 0 auto 5px auto;
    border-radius: 100%;
}

.lines2-top-bgbox-sh {
    border-top: 6px solid var(--color-fifth);
}

/* ============= */
/* @media (min-width: 1200px) {}
@media (min-width: 992px) and (max-width: 1199px) {}
@media (min-width: 791px) and (max-width: 991px) {}
@media (min-width: 501px) and (max-width: 790px) {}
@media (min-width: 0px) and (max-width: 500px) {} */
@media (min-width: 0px) and (max-width: 991px) {
    .nbox2-dpn-smb {
        display: none;
    }
}


/* ============================================= */
/* ================= title new ================= */
.nbox-title-pg {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0 0 16px 0;
}
.nbox-title-pg p {
    font-size: 0.94rem;
    text-align: center;
    color: var(--color-txtg);
}
.nbox-title-pg .ntitle-pghd {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--color-red);
    text-align: center;
}
.nbox-title-pg .ntitle-pghd span {
    color: var(--color-first);
}
.lines-sprtitle {
    position: relative;
    width: 70px;
    height: 2px;
    background-color: var(--color-txtg3);
    margin: 0 auto 5px auto;
    border-radius: 100%;
}

.lines-top-bgbox-sh {
    border-top: 6px solid var(--color-fifth);
}

/* ============= */
/* @media (min-width: 1200px) {}
@media (min-width: 992px) and (max-width: 1199px) {}
@media (min-width: 791px) and (max-width: 991px) {}
@media (min-width: 501px) and (max-width: 790px) {}
@media (min-width: 0px) and (max-width: 500px) {} */
@media (min-width: 0px) and (max-width: 991px) {
    .nbox-dpn-smb {
        display: none;
    }
}

/* ========================================================================= */
.pdbox-bg-n-h {
    padding: 60px 0 120px 0 !important;
}
.pdbox2-bg-n-h {
    padding: 60px 0 !important;
}

.sc--box-bnprom-n {
    position: relative;
    width: 100%;
    height: auto;
    padding: 40px 0;
    border-bottom: 2px solid var(--color-grey5);
}
.b-banner-prm-n {
    position: relative;
    width: 100%;
    height: auto;
}
.b-banner-prm-n a {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.b-banner-prm-n figure {
    position: relative;
    width: 100%;
    height: auto;
}
.b-banner-prm-n figure .size-bnimgn {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 5px;
}


/* ============= */
@media (min-width: 1200px) {}
@media (min-width: 992px) and (max-width: 1199px) {
    .pdbox-bg-n-h {
        padding: 60px 0 80px 0 !important;
    }
    .sc--box-bnprom-n {
        order: 3;
    }
}
@media (min-width: 791px) and (max-width: 991px) {
    .sc--box-bnprom-n {
        order: 3;
    }
}
@media (min-width: 501px) and (max-width: 790px) {
    .sc--box-bnprom-n {
        order: 3;
    }
}
@media (min-width: 0px) and (max-width: 500px) {
    .sc--box-bnprom-n {
        order: 3;
        padding: 20px 0;
    }
    .sc--box-bnprom-n .container {
        padding: 0;
    }
}
@media (min-width: 0px) and (max-width: 991px) {
    .pdbox-bg-n-h {
        padding: 60px 0 !important;
    }
}

@media (min-width: 0px) and (max-width: 500px) {
    .size-bchn-pfm4 {
        width: 100%;
        margin-right: 0;
    }
    .box-img-car-hn {
        height: 24.75rem;
    }
    .order-box-car {
        order: 10;
    }
    .order-box-pfm {
        order: 11;
    }
    .sc--review-f {
        order: 12;
    }
}
