
/* =============================================================== */
/* ==================== 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*/

}

/* ====================================================== */
/* ====================== 20250923 ====================== */
.box-new-tbpr-l {
    position: relative;
    width: 100%;
    height: auto;
    column-count: 2;
    column-gap: 0;
}

.stb2-wn {
    width: 100%;
}
.box-vdttb-n.stb2-wn:nth-child(odd) {
    background-color: rgba(var(--color-second-rgb), 0.5);
}


@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: 991px) {
    .td-dt-bn.std1-wn {
        padding-left: 0;
    }
    .td-dt-bn.std1-wn p {
        text-align: center;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    .td-dt-n.std1-wn p i {
        display: none;
    }
}
@media (min-width: 0px) and (max-width: 790px) {
    .box-vdttb-n {
        padding: 2px;
    }
    .box-new-tbpr-l {
        column-count: 1;
    }
}
