/*::view-transition-old(root) {
    animation-duration: 0.5s;
}
::view-transition-new(root) {
  animation-duration: 1s;
}*/

.loginLogo {
    text-align: center;
    margin-bottom: 0px;
    user-select: none;
    pointer-events: none;
    padding: 10px;
}

    .loginLogo img {
        width: 90%;
        height: auto;
        margin-top: 0px;
        border: 0px !important;
    }

.MainBody {
    height: calc(100svh - 50px);
    overflow: auto !important;
    background-color: #fff;
    overflow: hidden;
}

.pageLogin {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100svh;
    position: absolute;
    z-index: 1;
    top: 0px;
    left: 0px;
    width: 100%;
    background-color: #000;
}

    .pageLogin:after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background-image: url(../images/bgLogin.jpg);
        width: 100%;
        height: 100%;
        opacity: 0.5;
        z-index: -1;
        background-size: cover;
    }

.e-dialog.frmLogin .e-dlg-header,
.e-dialog.frmLogin .e-dlg-header i {
    color: #303F9F;
    font-weight: 700 !important;
}

.e-dialog.frmLogin.e-popup-open {
    border: 3px solid #fff !important;
    opacity: 1;
}

    .e-dialog.frmLogin.e-popup-open:hover {
        opacity: 1;
    }

.e-dialog.frmIndex.e-popup-open {
    border: 3px solid #fff !important;
    opacity: 1;
}

    .e-dialog.frmIndex.e-popup-open:hover {
        opacity: 1;
    }

.e-dialog.frmIndex .e-dlg-header-content,
.e-dialog.frmLogin .e-dlg-header-content {
}

.e-dialog.frmLogin .e-dlg-header,
.e-dialog.frmLogin .e-dlg-header i,
.e-dialog.frmIndex .e-dlg-header,
.e-dialog.frmIndex .e-dlg-header i {
    font-weight: 700 !important;
    color: #303F9F !important;
}


.e-dialog.frmLogin .e-dlg-header-content {
}

.panelLoginBody {
    position: relative;
}

    .panelLoginBody .panelLeft {
        user-select: none;
        pointer-events: none;
        margin-top: 2px;
        box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
        margin-bottom: 20px;
    }

    .panelLoginBody .panelRight {
        padding: 10px;
        padding-top: 0px;
    }

.txtloginTaiKhoan input,
.txtloginMatKhau input {
    font-weight: 500 !important;
    color: #C2185B !important;
}

.btnLogin {
    width: 95px !important;
    background-color: #3F51B5 !important;
    color: #fff !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px !important;
}

    .btnLogin.btnSentCV {
        width: 115px !important;
        margin-right: 10px !important;
    }

.btnBack {
    width: 90px !important;
    background-color: #00796B !important;
    color: #FFF !important;
    box-shadow: none !important;
}

.btnLostPassWord {
    width: 115px !important;
    background-color: #9E9E9E !important;
    color: #FFF !important;
    box-shadow: none !important;
}

.e-dialog .e-footer-content .e-btn.btnLogin:hover {
    color: #fff !important;
    background-color: #303F9F !important;
}

.e-dialog .e-footer-content .e-btn.btnBack:hover {
    color: #fff !important;
    background-color: #00695C !important;
}

.e-dialog .e-footer-content .e-btn.btnLostPassWord:hover {
    color: #fff !important;
    background-color: #757575 !important;
}


.e-dialog .e-footer-content .e-btn.btnLostPassWord:hover {
}

.btnLogin:hover,
.btnLogin:focus {
}

.e-dialog.frmLogin .e-dlg-content .DefaultPadding {
}

.homePage {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100svh - 65px);
    position: absolute;
    z-index: 1;
    top: 65px;
    left: 0px;
    width: 100%;
    background-color: #000;
    opacity: 1;
}

    .homePage:after {
        content: "";
        display: block;
        position: absolute;
        top: 0px;
        left: 0;
        background-image: url(../images/bg.jpg);
        width: 100%;
        height: 100%;
        opacity: 1;
        z-index: -1;
        background-size: cover;
        content: "";
        display: block;
        position: absolute;
        top: 0px;
        left: 0;
        background-image: url(../images/bgLogin.jpg);
        width: 100%;
        height: 100%;
        opacity: 0.5 !important;
        z-index: -1;
        background-repeat: repeat;
    }

    .homePage.welcome::before {
    }

.welcomeBg {
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    display: block;
    user-drag: none;
}

    .welcomeBg img {
        opacity: 0.65;
        border-radius: 5px;
        background-color: #fff;
        padding: 10px;
        width: 320px;
        height: auto;
        user-select: none;
        pointer-events: none;
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        user-drag: none;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

.breakHomePage {
}

.welcomeBg2 {
    margin-top: 20px;
    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    display: block;
    user-drag: none;
}

    .welcomeBg2 img {
        width: 300px;
        height: auto;
        user-select: none;
        pointer-events: none;
        -webkit-user-drag: none;
        -khtml-user-drag: none;
        -moz-user-drag: none;
        -o-user-drag: none;
        user-drag: none;
    }

.waper_grid.gdvFix2 div.e-gridcontent tr.e-row td.e-rowcell:nth-child(1),
.waper_grid.gdvFix2 div.e-gridheader tr.e-columnheader th.e-headercell:nth-child(1) {
    position: -webkit-sticky !important;
    position: sticky !important;
    left: 0px;
    z-index: 1;
    background-color: #fff;
    border-left: 0px !important;
    border-right: 0px solid #bdbdbd !important;
}

.waper_grid.gdvFix2 div.e-gridcontent tr.e-row td.e-rowcell:nth-child(2),
.waper_grid.gdvFix2 div.e-gridheader tr.e-columnheader th.e-headercell:nth-child(2) {
    position: -webkit-sticky !important;
    position: sticky !important;
    left: 85px;
    z-index: 1;
    background-color: #fff;
    border-left: 0px !important;
    border-right: 2px solid #4CAF50 !important;
}

.waper_grid.gdvInCrew.fullheight_grid .e-gridcontent .e-content.e-yscroll,
.waper_grid.gdvInCrew.fullheight_grid .sf-grid .e-frozencontent {
    border-bottom: 0px !important;
    height: -moz-calc(100svh - 212px) !important;
    height: -webkit-calc(100svh - 212px) !important;
    height: calc(100svh - 212px) !important;
}

.e-dialog.frmCrew .e-dlg-header-content + .e-dlg-content {
    background-color: #fafafa;
}

.e-dialog.frmCrew .divbasicInfo {
    background-color: #fff;
}

.waper_grid.gdvInCrew.fullheight_grid .e-emptyrow td {
    position: absolute;
    width: 100%;
    background-color: #fff;
    height: -moz-calc(100svh - 255px) !important;
    height: -webkit-calc(100svh - 255px) !important;
    height: calc(100svh - 255px) !important;
    background-image: url('/images/no-results-found.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 286px 141px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: auto;
    font-size: 0;
}

.colNgayCutOff {
    font-weight: 500;
    color: #B71C1C;
}

.colMaKhachHang {
    font-weight: 500;
    color: #303F9F;
}

.colTrangThaiKeHoachHangXuat {
    width: 100%;
}

    .colTrangThaiKeHoachHangXuat i,
    .colLoadingKeHoachHangXuat i {
        margin-right: 5px;
        margin-left: 5px;
        font-weight: 500 !important;
    }

    .colTrangThaiKeHoachHangXuat .dangxuly {
    }

    .colTrangThaiKeHoachHangXuat .dahuy,
    .colTrangThaiKeHoachHangXuat .dahuy i {
        color: #C2185B !important;
    }

    .colTrangThaiKeHoachHangXuat .daxuatkho,
    .colTrangThaiKeHoachHangXuat .daxuatkho i {
        color: #388E3C !important;
    }

    .colTrangThaiKeHoachHangXuat .loading,
    .colTrangThaiKeHoachHangXuat .loading i {
        color: #5D4037 !important;
    }

    .colTrangThaiKeHoachHangXuat .nhapkho,
    .colTrangThaiKeHoachHangXuat .nhapkho i {
        color: #5D4037 !important;
    }

    .colTrangThaiKeHoachHangXuat .capnhat,
    .colTrangThaiKeHoachHangXuat .capnhat i {
        color: #E64A19 !important;
    }

.colLoadingKeHoachHangXuat .dangxuly i,
.colLoadingKeHoachHangXuat .dangxuly {
    color: #F57C00 !important;
}

.trangthaidangxuly {
    background-color: #fafafa !important;
    color: #666 !important;
}

.trangthaidahuy {
    background-color: #EFEBE9 !important;
    color: #5D4037 !important;
}

.trangthaihoanthanh {
    background-color: #E8F5E9 !important;
    color: #388E3C !important;
}


.chuacopo {
}

.dacopo {
    background-color: #E8F5E9;
    color: #388E3C;
}

.colNKKH {
    font-weight: 500;
    color: #C2185B;
}

.colNKCH .subCH {
    margin-left: 3px;
    margin-right: 3px;
    color: #9E9E9E;
    display: inline-block;
}

.colNKCH {
    color: #303F9F;
}

.LinkTaiFileMau {
    display: inline-block;
    margin-top: 5px !important;
    font-size: 13px;
    cursor: pointer;
    color: #388E3C;
    font-weight: 400;
    margin-left: 5px;
}

    .LinkTaiFileMau:hover {
        color: #B71C1C;
    }

    .LinkTaiFileMau i {
        margin-right: 5px;
        font-weight: 500 !important;
    }

.warningEditExcelNhapKhoHangXuat {
    border-left: 3px solid #E57373;
    border-radius: 3px;
    background-color: #FAFAFA;
    color: #E64A19;
    font-size: 13px;
    padding: 0px 8px;
    line-height: 25px;
    margin-top: 2px;
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: 8px !important;
}

.totalLoading {
    color: #5D4037;
}

    .totalLoading i {
        margin-right: 5px;
    }

.totalSumNhapKhoHangXuat {
    color: #303F9F;
    border-right: 1px solid #bdbdbd;
    padding-right: 5px;
}

.e-dialog .e-footer-content .totalSumNhapKhoHangXuat {
    padding-right: 0px;
    height: 30px;
    line-height: 30px;
    border-right: 0px;
}

.totalSumNhapKhoHangXuat span {
    font-weight: 500;
    color: #C2185B;
}

.totalSumNhapKhoHangXuat.footer {
    color: #303F9F !important;
    padding-left: 10px;
    line-height: 28px;
}

    .totalSumNhapKhoHangXuat.footer div {
        color: #303F9F;
    }

.divWaperFullHeight {
    padding: 10px;
    overflow: auto;
    height: calc(100svh - 50px);
    background-color: #ECEFF1;
}

    .divWaperFullHeight .welcomeSpl {
        height: 1px;
        border-bottom: 1px dashed #E0E0E0;
        margin-top: 15px;
    }

    .divWaperFullHeight .WelcomePage {
        position: absolute;
        margin-top: 0px;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        text-align: center;
        user-select: none;
        width: 480px;
        background-color: #fff;
        background-color: rgba(255,255,255,1);
        padding: 25px 20px 20px 15px !important;
        border-radius: 10px;
        border: 3px solid rgba(158, 158, 158,0.25);
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }


.imgWarningScreen img {
    height: 100px;
    user-select: none;
    pointer-events: none;
    margin-bottom: 20px;
}

.warningScreen {
}

    .warningScreen .divWaperFullHeight {
        height: 100svh;
        background-color: #C8E6C9;
    }

        .warningScreen .divWaperFullHeight .WelcomePage {
            border-color: #B71C1C;
            padding: 5px !important;
        }

.warningHeader {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #C2185B;
    position: absolute;
    top: 30px;
    left: 30px;
}

.warningHeaderSub {
    font-size: 14px;
    line-height: 21px;
    color: #303F9F;
    text-align: justify-all;
}

.btnTiepTuc {
    margin-top: 10px;
    margin-bottom: 3px;
    font-size: 14px !important;
    font-weight: 500 !important;
    width: 100% !important;
    background-color: #C2185B !important;
    height: 35px !important;
    color: #fff !important;
}

    .btnTiepTuc:hover {
        background-color: red !important;
    }

.colKHCH {
    user-select: none;
}

.e-rowcell.cellChon.e-templatecell div div,
.e-rowcell.cellChon.e-templatecell div div .colNKKH,
.e-rowcell.cellChon.e-templatecell div div .colNKCH {
    color: red !important;
}

.noiBatRow .e-rowcell.e-templatecell div div,
.noiBatRow .e-rowcell.e-templatecell div div .colNKKH,
.noiBatRow .e-rowcell.e-templatecell div div .colNKCH {
    color: red !important;
}

.e-rowcell.cellUnChon.e-templatecell {
    background-color: #F5F5F5 !important;
}

    .e-rowcell.cellUnChon.e-templatecell div div,
    .e-rowcell.cellUnChon.e-templatecell div div .colNKKH,
    .e-rowcell.cellUnChon.e-templatecell div div .colNKCH {
        color: #9E9E9E !important;
    }

        .e-rowcell.cellUnChon.e-templatecell div div .colChon .e-checkbox-wrapper .e-frame,
        .e-rowcell.cellUnChon.e-templatecell div div .colChon .e-css.e-checkbox-wrapper .e-frame {
            background-color: #EEEEEE !important;
            border: none !important;
        }

.e-rowcell.e-templatecell div div .colChon .e-checkbox-wrapper.e-checkbox-disabled .e-frame,
.e-rowcell.e-templatecell div div .colChon .e-css.e-checkbox-wrapper.e-checkbox-disabled .e-frame {
    background-color: #EEEEEE !important;
    border: none !important;
}

.btnViTriSync .e-btn {
    background-color: transparent !important;
    border: 0px !important;
    padding: 0px !important;
    float: right !important;
    height: 20px !important;
    width: 15px !important;
    margin-top: -1px;
    margin-right: -4px;
    font-size: 12px !important;
    color: #bdbdbd !important;
}

    .btnViTriSync .e-btn:hover {
        color: #C2185B !important;
    }

.btnToCongNhanSync .e-btn {
    background-color: transparent !important;
    border: 0px !important;
    padding: 0px !important;
    float: right !important;
    height: 20px !important;
    width: 15px !important;
    margin-top: -1px;
    margin-right: -4px;
    font-size: 12px !important;
    color: #bdbdbd !important;
}

    .btnToCongNhanSync .e-btn:hover {
        color: #C2185B !important;
    }

.nhapkhohxcapnhat {
    background-color: #FAFAFA;
    color: #666;
}

.nhapkhohxnhapkho {
    background-color: #E8EAF6;
    color: #303F9F;
}

.nhapkhohxloading {
    background-color: #FCE4EC;
    color: #C2185B;
}

.nhapkhohxdaxuatkho {
    background-color: #E8F5E9;
    color: #388E3C;
}

.cellHuyPhieu div div {
    font-style: italic !important;
    color: #666 !important;
    background-color: #f5f5f5 !important;
    text-decoration: line-through !important;
}

.divPhienBan {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 1;
    user-select: none;
    font-size: 12px;
    color: #E3F2FD;
    pointer-events: none;
}

    .divPhienBan i {
        margin-right: 10px;
    }



.uploaderCrewAvatar {
    margin-top: 0px;
    position: relative;
    text-align: center;
    background-color: #fff;
    padding-top: 6px;
    padding-bottom: 0px;
    border-radius: 5px;
    width: 160px;
    height: 200px;
    margin-bottom: 0px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

    .uploaderCrewAvatar .btnDelImgUpload {
        padding: 0px;
        height: 28px;
        width: 62px;
        line-height: 28px;
        border-radius: 3px;
        background-color: #FAFAFA;
        border: 0px !important;
        outline: none !important;
        position: absolute;
        bottom: 7px;
        left: 90px;
        color: #C2185B;
        font-weight: 700 !important;
        border: 0px solid #bdbdbd !important;
        opacity: 1 !important;
    }

        .uploaderCrewAvatar .btnDelImgUpload::after {
            content: 'Del' !important;
            font-size: 12px !important;
            color: #C2185B !important;
            position: absolute;
            left: 33px;
            line-height: 30px;
            font-weight: 400;
        }

        .uploaderCrewAvatar .btnDelImgUpload i {
            margin-right: 0px !important;
            margin-left: -20px;
        }

        .uploaderCrewAvatar .btnDelImgUpload:hover {
            background-color: #FFEBEE;
        }

        .uploaderCrewAvatar .btnDelImgUpload:disabled {
            background-color: #fff !important;
            opacity: 1 !important;
        }

            .uploaderCrewAvatar .btnDelImgUpload:disabled i,
            .uploaderCrewAvatar .btnDelImgUpload:disabled::after {
                color: #9E9E9E !important;
            }

    .uploaderCrewAvatar .imgAvatarCrew {
        user-select: none !important;
        pointer-events: none !important;
    }

        .uploaderCrewAvatar .imgAvatarCrew img {
            height: 150px;
            width: 130px;
            user-select: none !important;
            pointer-events: none !important;
            border-radius: 5px;
            border: 0px dashed #607D8B;
            box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
            object-fit: cover;
            background-color: #ECEFF1;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 24 24'%3E%3Cpath fill='%23B0BEC5' d='M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v2.4h19.2v-2.4c0-3.2-6.4-4.8-9.6-4.8z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: center center;
            background-size: 50px 50px;
        }
    /*.uploaderCrewAvatar .e-upload .e-file-select-wrap .e-btn,
    .uploaderCrewAvatar .e-upload .e-upload-actions .e-btn,
    .uploaderCrewAvatar .e-bigger.e-small .e-upload .e-file-select-wrap .e-btn,
    .uploaderCrewAvatar .e-bigger.e-small .e-upload .e-upload-actions .e-btn {
        color: red;
    }*/
    .uploaderCrewAvatar .e-upload .e-file-select-wrap .e-btn {
        color: transparent;
        font-size: 0px;
        padding: 0px;
        height: 28px;
        width: 80px;
        line-height: 18px;
        border-radius: 3px !important;
        background-color: #FAFAFA;
        border: 0px !important;
        outline: none !important;
        position: absolute;
        bottom: 7px;
        left: 5px;
        border: 0px solid #4CAF50 !important;
        opacity: 1;
    }

        .uploaderCrewAvatar .e-upload .e-file-select-wrap .e-btn::after {
            content: 'Upload' !important;
            font-size: 12px !important;
            color: #00695C !important;
            position: absolute;
            left: 30px;
            line-height: 23px;
        }

        .uploaderCrewAvatar .e-upload .e-file-select-wrap .e-btn:hover {
            background-color: #E0F2F1;
        }

        .uploaderCrewAvatar .e-upload .e-file-select-wrap .e-btn:before {
            font-family: "e-icons";
            content: "\e706";
            color: #00695C;
            font-size: 13px;
            line-height: 21px;
            font-weight: 700 !important;
            padding-left: 6px;
        }

    .uploaderCrewAvatar .e-upload .e-upload-files {
        display: none;
    }

    .uploaderCrewAvatar .e-upload .e-file-select-wrap .e-file-drop,
    .uploaderCrewAvatar .e-bigger.e-small .e-upload .e-file-select-wrap .e-file-drop {
        display: none;
    }

    .uploaderCrewAvatar .e-upload {
        border: 0px;
        height: 0px;
    }

        .uploaderCrewAvatar .e-upload .e-file-select-wrap,
        .uploaderCrewAvatar .e-bigger.e-small .e-upload .e-file-select-wrap {
            padding: 0px;
            font-size: 0px;
            color: transparent !important;
            border: 0px !important;
        }

.txtAutobiography {
    height: 105px;
    background-color: #f5f5f5 !important;
    border-radius: 5px !important;
    overflow: auto !important;
}

    .txtAutobiography textarea {
        resize: none !important;
        border-bottom: 0px !important;
    }

.txtCrewNote {
    height: 258px;
    resize: none;
    background-color: #f5f5f5 !important;
    border-radius: 5px !important;
}

    .txtCrewNote textarea {
        resize: none !important;
        border-bottom: 0px !important;
    }


/* ── DlgUpdateCrews footer buttons ── */
.btnSaveCrewData {
    background: linear-gradient(135deg, #1565c0 0%, #1976d2 50%, #42a5f5 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0 20px !important;
    height: 36px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .3px !important;
    box-shadow: 0 4px 14px rgba(21,101,192,.45), 0 1px 3px rgba(0,0,0,.15) !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
    position: relative !important;
    overflow: hidden !important;
}
.btnSaveCrewData::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
    pointer-events: none;
    border-radius: inherit;
}
.e-control.e-btn.e-lib.btnSaveCrewData:not(:disabled):hover {
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 50%, #1e88e5 100%) !important;
    box-shadow: 0 6px 20px rgba(21,101,192,.55), 0 2px 6px rgba(0,0,0,.18) !important;
    transform: translateY(-2px) !important;
}
.e-control.e-btn.e-lib.btnSaveCrewData:not(:disabled):active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(21,101,192,.3) !important;
}
.e-control.e-btn.e-lib.btnSaveCrewData:disabled {
    background: #e0e0e0 !important;
    color: #9e9e9e !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

.btnExportCrewData {
    background: linear-gradient(135deg, #e65100 0%, #f57c00 60%, #ffa726 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0 16px !important;
    height: 36px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .3px !important;
    margin-left: 6px !important;
    margin-right: 6px !important;
    box-shadow: 0 4px 14px rgba(230,81,0,.4), 0 1px 3px rgba(0,0,0,.15) !important;
    transition: transform .18s ease, box-shadow .18s ease !important;
    position: relative !important;
    overflow: hidden !important;
}
.btnExportCrewData::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, transparent 60%);
    pointer-events: none;
    border-radius: inherit;
}
.e-control.e-btn.e-lib.btnExportCrewData:not(:disabled):hover {
    background: linear-gradient(135deg, #bf360c 0%, #e64a19 60%, #ff7043 100%) !important;
    box-shadow: 0 6px 20px rgba(230,81,0,.5), 0 2px 6px rgba(0,0,0,.18) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}
.e-control.e-btn.e-lib.btnExportCrewData:not(:disabled):active {
    transform: translateY(0) !important;
}
.e-control.e-btn.e-lib.btnExportCrewData:disabled {
    background: #f5f5f5 !important;
    color: #bdbdbd !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

.e-rowcell .btnExportViewOnline,
.e-rowcell .btnExportDownloadFile {
    text-align: center !important;
    text-align: center !important;
    padding: 0px !important;
    padding-left: 5px !important;
}

    .e-rowcell .btnExportViewOnline:disabled i,
    .e-rowcell .btnExportDownloadFile:disabled i {
        color: #BDBDBD !important;
    }

.btnExportViewOnline {
    border-radius: 5px !important;
    background-color: transparent !important;
    color: #388E3C !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    width: 25px !important;
    height: 25px !important;
    line-height: 18px !important;
    box-shadow: none !important;
    outline: none !important;
    border: 0px !important;
}

    .btnExportViewOnline i,
    .btnExportDownloadFile i {
        font-weight: 400 !important;
    }

.e-control.e-btn.e-lib.btnExportViewOnline:hover {
    background-color: transparent !important;
    color: #D32F2F !important;
}

.btnExportDownloadFile {
    border-radius: 5px !important;
    background-color: transparent !important;
    color: #388E3C !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    width: 25px !important;
    height: 25px !important;
    line-height: 18px !important;
    box-shadow: none !important;
    outline: none !important;
    border: 0px !important;
}

.e-control.e-btn.e-lib.btnExportDownloadFile:hover {
    background-color: transparent !important;
    color: #D32F2F !important;
}

.colCode:has(.isMyTakeCare) {
    position: relative;
    width: 100%;
    display: block;
}

.colCode .isMyTakeCare {
    position: absolute;
    right: 0px;
    top: -5px;
}

    .colCode .isMyTakeCare i {
        font-size: 9px !important;
        color: #FF9800;
        font-weight: 700;
    }

.colCode:has(.isHasDocOd) {
    position: relative;
    width: 100%;
    display: block;
}

.colCode .isHasDocOd {
    position: absolute;
    right: 1px;
    bottom: -4px;
}

    .colCode .isHasDocOd i {
        font-size: 9px !important;
        color: #4CAF50;
        font-weight: 400 !important;
    }

.colCode:has(.isHasEss1),
.colCode:has(.isHasEss2) {
    position: relative;
    width: 100%;
    display: block;
}

.colCode .isHasEss1 {
    position: absolute;
    right: 12px;
    bottom: -4px;
}

.colCode .isHasEss2 {
    position: absolute;
    right: 1px;
    bottom: -4px;
}

    .colCode .isHasEss1 i,
    .colCode .isHasEss2 i {
        font-size: 9px !important;
        color: #C2185B;
        font-weight: 400 !important;
    }


.colCode span.imgCrew img {
    margin-top: 0px;
    margin-bottom: 0px;
    vertical-align: middle !important;
    height: 38px !important;
    width: 38px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 1px solid #EEEEEE !important;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}   

.colCode span.imgCrew {
    float: left;
    display: inline-block !important;
    text-align: center !important;
}

.colCode span.imgUserAvatar img {
    margin-top: 1px;
    margin-bottom: 1px;
    vertical-align: middle !important;
    height: 35px !important;
    width: 35px !important;
    border-radius: 50%;
}

.colCode.crewName {
    vertical-align: middle;
    display: inline-block;
    width: 120px;
    height: 38px;
    padding-left: 10px !important;
    display: table-cell;
}

.colRank {
    font-weight: 500;
}

.hidden {
    opacity: 0;
}

.console-container {
    opacity: 0.75;
    user-select: none;
    font-size: 32px;
    text-align: center;
    height: 100px;
    width: 800px;
    display: block;
    position: absolute;
    color: white;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-shadow: 2px 7px 5px rgba(0,0,0,0.3), 0px -4px 10px rgba(255,255,255,0.3);
    letter-spacing: 1px;
    line-height: 46px;
}

.console-underscore {
    display: inline-block;
    position: relative;
    top: -0.14em;
    left: 10px;
    color: #fff;
}

.colcmb2Image {
    clear: both;
    position: relative;
}

    .colcmb2Image .colLeft {
        float: left;
        z-index: 1;
    }

    .colcmb2Image .colRight {
    }

    .colcmb2Image .colLeft.imgUserAvatar img {
        height: 50px;
        width: 50px;
        text-shadow: 2px 7px 5px rgba(0,0,0,0.3), 0px -4px 10px rgba(255,255,255,0.3);
        margin-right: 10px;
        vertical-align: middle;
        margin-top: 2px;
        z-index: 1;
        border-radius: 50%;
    }

    .colcmb2Image .colLeft.imgCrewAvatar img {
        height: 50px;
        width: 50px;
        text-shadow: 2px 7px 5px rgba(0,0,0,0.3), 0px -4px 10px rgba(255,255,255,0.3);
        margin-right: 10px;
        vertical-align: middle;
        margin-top: 3px;
        z-index: 1;
    }

.colRight .itemTen .cmbCrewName {
    font-weight: 500;
    margin-right: 10px;
    color: #B71C1C;
}

.itemMa.evaluationCode {
    font-weight: 400 !important;
    color: #000;
}

.itemMa.evaluationGroup {
    font-weight: 400 !important;
    color: #303F9F;
}

    .itemMa.evaluationGroup:before {
        font-family: "Font Awesome 6 Pro";
        content: '\f5fd';
        margin-right: 5px;
    }

.itemTen .addressCrew {
    max-width: 320px;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.itemTen .rankcodeCrew,
.itemTen .dobcrew {
    color: #3F51B5;
}

.itemTen .rankcodeCrew {
    color: #388E3C;
    font-weight: 500;
    margin-right: 5px;
}

.itemTen .dobcrew {
    margin-right: 10px;
}

.itemTen .statusrew {
    color: #C2185B;
    font-weight: 500;
}

.itemMa .shipimo {
    color: #303F9F !important;
    font-weight: 500;
}

.itemMa .shipname {
    color: #B71C1C !important;
    font-weight: 500;
}

.itemTen.shiptype {
    font-weight: 400;
    color: #333 !important;
    letter-spacing: 0px;
}

.itemMa.maclient {
    font-weight: 500 !important;
    color: #303F9F !important;
}

.itemTen.tenclient {
    color: #000 !important;
}

.itemMa.macrewstatus {
    font-weight: 500 !important;
    color: #B71C1C !important;
}

    .itemMa.macrewstatus .namecrewstatus {
        font-weight: 500 !important;
        color: #3F51B5 !important;
        display: inline-block;
        margin-left: 5px;
    }

.itemMa.madoc {
    color: #303F9F !important;
}

.itemTen.tendoc {
    color: #000 !important;
}

.itemMa.marank {
    font-weight: 500 !important;
    color: #303F9F !important;
}

.itemTen.tenrank {
    color: #000 !important;
}

.waper_grid .e-grid td:has(.colExpDate),
.waper_grid .e-grid td.e-active:has(.colExpDate),
.waper_grid div.e-gridcontent tr.e-row td.e-rowcell.e-active:has(.colExpDate),
.waper_grid div.e-gridcontent tr.e-row:hover td.e-rowcell.e-active:has(.colExpDate) {
    background-color: #D32F2F !important;
}

.waper_grid .e-grid td .colExpDate,
.waper_grid .e-grid td.e-active .colExpDate,
.waper_grid div.e-gridcontent tr.e-row td.e-rowcell.e-active .colExpDate,
.waper_grid div.e-gridcontent tr.e-row:hover td.e-rowcell.e-active .colExpDate {
    color: #fff !important;
}

.waper_grid .e-grid td:has(.colExpSoon),
.waper_grid .e-grid td.e-active:has(.colExpSoon),
.waper_grid div.e-gridcontent tr.e-row td.e-rowcell.e-active:has(.colExpSoon),
.waper_grid div.e-gridcontent tr.e-row:hover td.e-rowcell.e-active:has(.colExpSoon) {
    background-color: #FBC02D !important;
}

.waper_grid .e-grid td .colExpSoon,
.waper_grid .e-grid td.e-active .colExpSoon,
.waper_grid div.e-gridcontent tr.e-row td.e-rowcell.e-active .colExpSoon,
.waper_grid div.e-gridcontent tr.e-row:hover td.e-rowcell.e-active .colExpSoon {
    color: #fff !important;
}

.waper_grid .e-grid td:has(.colExpRenew),
.waper_grid .e-grid td.e-active:has(.colExpRenew),
.waper_grid div.e-gridcontent tr.e-row td.e-rowcell.e-active:has(.colExpRenew),
.waper_grid div.e-gridcontent tr.e-row:hover td.e-rowcell.e-active:has(.colExpRenew) {
    background-color: #FF5722 !important;
}

.waper_grid .e-grid td .colExpRenew,
.waper_grid .e-grid td.e-active .colExpRenew,
.waper_grid div.e-gridcontent tr.e-row td.e-rowcell.e-active .colExpRenew,
.waper_grid div.e-gridcontent tr.e-row:hover td.e-rowcell.e-active .colExpRenew {
    color: #fff !important;
}

/* ── Exp date column: no text select ───────────────────────────────── */
.colExpNoSelect {
    user-select: none;
    -webkit-user-select: none;
}

/* ── Modern tooltip for ExpDate column ─────────────────────────────── */
.colExpTip {
    cursor: default;
}

/* ── exp-tooltip floating box (rendered at body level by JS) ────────── */
#expTooltipBox {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.13), 0 2px 8px rgba(0,0,0,0.07);
    padding: 10px 14px 10px 12px;
    min-width: 220px;
    max-width: 300px;
    font-family: inherit;
}

#expTooltipBox.exp-tip-visible {
    opacity: 1;
    transform: translateY(0);
}

.exp-tip-icon-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
}

.exp-tip-icon {
    font-size: 15px;
    line-height: 1;
}

.exp-tip-l1 {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}

.exp-tip-l2 {
    font-size: 11px;
    font-weight: 400;
    color: #64748b;
    line-height: 1.5;
    margin-top: 2px;
    padding-left: 22px;
}

/* accent bar bên trái theo trạng thái */
#expTooltipBox.tip-expired   { border-left: 4px solid #ef4444; }
#expTooltipBox.tip-renew     { border-left: 4px solid #f97316; }
#expTooltipBox.tip-soon      { border-left: 4px solid #eab308; }
#expTooltipBox.tip-ok        { border-left: 4px solid #22c55e; }

.spanDeleteFile i {
    margin-right: 3px;
}

.spanDeleteFile {
    margin-left: 10px;
    color: #666 !important;
    cursor: pointer;
    font-style: italic;
    font-size: 11px;
}

    .spanDeleteFile:hover {
        text-decoration: underline;
    }

.spanPreviewFile {
    color: #303F9F;
    cursor: pointer;
    margin-bottom: 5px;
    display: inline-block;
}

    .spanPreviewFile:hover {
        text-decoration: underline;
    }

.spanDownloadFile {
    margin-left: 10px;
    color: #666 !important;
    cursor: pointer;
    font-style: italic;
    font-size: 11px;
}

    .spanDownloadFile:hover {
        text-decoration: underline;
    }

.lastRemark i {
    margin-right: 3px;
}

.lastRemark {
    font-size: 12px;
    color: #D32F2F;
    user-select: none;
    cursor: pointer;
}

    .lastRemark:hover {
        text-decoration: underline;
    }


    .lastRemark.nolastremark {
        color: #9E9E9E;
        cursor: default;
    }

        .lastRemark.nolastremark:hover {
            text-decoration: none;
        }


.e-rowcell .lastRemark {
    font-size: 11px;
    color: #303F9F;
    padding-right: 5px;
    padding-left: 5px;
    font-weight: 500;
}


.bsCrewInfo {
}

    .bsCrewInfo .bsCrewLeft {
    }

    .bsCrewInfo .bsCrewRight {
    }


#mentionIntegration .e-rte-container {
    border-radius: 3px;
    border: 1px solid #81C784;
    overflow: hidden !important;
}

.e-richtexteditor.e-focused .e-rte-container {
    border: 1px solid #D32F2F !important;
}

.e-mention.e-popup {
    border-radius: 5px !important;
    overflow: hidden !important;
    border: 1px solid #81C784 !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.e-dropdownbase .e-list-item {
    padding-right: 0px !important;
}

    .e-dropdownbase .e-list-item.e-active, .e-dropdownbase .e-list-item.e-active.e-hover {
        background-color: #E8F5E9;
        border-color: #fff;
        color: #000;
    }

#mentionIntegration_rte-editable {
    padding: 10px 15px !important;
    font-size: 12px !important;
    color: #000 !important;
    height: 200px !important;
    max-height: 200px !important;
    overflow: auto !important;
    min-height: unset !important;
    border-radius: 5px !important;
}

.e-richtexteditor.e-rte-full-screen #mentionIntegration_rte-editable {
    height: 100% !important;
    max-height: 100% !important;
    overflow: auto !important;
}

.e-rte-placeholder.rte-placeholder {
    padding: 10px 10px !important;
    color: #666 !important;
    opacity: 1 !important;
    font-style: italic !important;
}

.e-richtexteditor .e-rte-content .e-rte-placeholder.e-placeholder-enabled {
    display: block;
    font-size: 13px;
}

.e-richtexteditor .e-rte-placeholder {
    color: #bdbdbd;
    line-height: 18px;
    opacity: 1;
    overflow: hidden;
    padding: 10px 15px;
    position: absolute;
    text-align: start;
    top: 0;
    z-index: 1;
    display: none;
}

#mentionIntegration_toolbar {
}

.e-toolbar .e-toolbar-item .e-tbar-btn {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    vertical-align: middle;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0;
    min-height: 20px;
    min-width: 30px;
    padding: 0;
    border-radius: 0;
    line-height: 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    text-transform: none;
}

.listItemsUsers {
    height: 50px;
    vertical-align: middle !important;
    line-height: 16px;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 7px;
}

    .listItemsUsers::after {
        clear: both;
    }

    .listItemsUsers .imgAvatar {
        float: left;
    }

        .listItemsUsers .imgAvatar img {
            border: 2px solid #fff;
            height: 48px;
            width: 48px;
            border-radius: 50%;
            box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        }

    .listItemsUsers .username {
        display: block;
        padding-top: 10px;
        font-weight: 500 !important;
        font-size: 13px;
        color: #D32F2F;
        line-height: 16px;
        padding-bottom: 5px;
    }



    .listItemsUsers .fullname {
        display: block;
        font-weight: 400 !important;
        font-size: 12px;
        color: #000;
        line-height: 16px;
    }

.divCrewsComment {
    clear: both;
    padding: 5px;
}

    .divCrewsComment::after {
        clear: both;
    }

    .divCrewsComment .imgCommentCrew {
        text-align: center;
    }

    .divCrewsComment .txtCommentCrew {
        float: left;
        width: 940px;
    }

    .divCrewsComment .btnCommentCrew {
        float: left;
    }

.btnCommentCrew .btnPostComment {
    display: block;
    margin-left: 5px !important;
    font-size: 12px !important;
    background-color: #4CAF50 !important;
    color: #E8F5E9 !important;
    border-radius: 2px;
    border: 0px !important;
    outline: none !important;
    height: 30px !important;
    width: 80px !important;
    margin-top: 5px;
    inline-size: 50px;
    overflow: hidden;
    font-weight: 500 !important;
    margin-top: 5px !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

    .btnCommentCrew .btnPostComment:hover {
        color: #fff !important;
        background-color: #388E3C !important;
    }

    .btnCommentCrew .btnPostComment:disabled {
        color: #BDBDBD !important;
        box-shadow: unset !important;
        cursor: not-allowed !important;
        background-color: #fff !important;
    }


.btnCommentCrew .btnCloseRemark {
    margin-top: 10px !important;
    display: block;
    margin-left: 5px !important;
    font-size: 12px !important;
    background-color: #ECEFF1 !important;
    color: #414141 !important;
    border-radius: 2px;
    border: 0px !important;
    outline: none !important;
    height: 30px !important;
    width: 80px !important;
    margin-top: 5px;
    inline-size: 50px;
    overflow: hidden;
    font-weight: 500 !important;
}

    .btnCommentCrew .btnCloseRemark:hover {
        color: #B71C1C !important;
    }


.divCrewsComment .imgCommentCrew {
    background-color: #fff;
    margin-left: 5px;
    border: 1px solid #4CAF50;
    border-radius: 5px;
}

    .divCrewsComment .imgCommentCrew img {
        height: 70px;
        width: 70px;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        margin-top: 6px;
        margin-bottom: 0px;
        user-select: none;
        border-radius: 5px;
        pointer-events: none;
    }

.e-richtexteditor .rte-placeholder {
    padding: 5px;
    font-size: 12px !important;
}

.e-mention .e-mention-chip .mentionUserName,
.e-mention .e-mention-chip .mentionUserName:hover {
    background: #E8F5E9;
    padding: 3px 8px !important;
    border-radius: 3px;
    color: #388E3C;
    cursor: default;
    font-weight: 500;
}

    .e-mention .e-mention-chip .mentionUserName:before {
        font-family: "Font Awesome 6 Pro";
        content: '\40';
        margin-right: 3px;
    }

    .e-mention .e-mention-chip .mentionUserName:hover {
        background-color: #388E3C;
        color: #fff;
    }


.e-mention .e-mention-chip .mentionDepartment,
.e-mention .e-mention-chip .mentionDepartment:hover {
    background: #F3E5F5;
    padding: 3px 8px !important;
    border-radius: 3px;
    color: #7B1FA2;
    cursor: default;
    font-weight: 500;
}


    .e-mention .e-mention-chip .mentionDepartment:before {
        font-family: "Font Awesome 6 Pro";
        content: '\f02c';
        margin-right: 3px;
    }

    .e-mention .e-mention-chip .mentionDepartment:hover {
        background-color: #7B1FA2;
        color: #fff;
    }

.sltCrewComment::after {
    clear: both;
}

.sltCrewComment {
    clear: both;
    display: block;
    margin-bottom: 5px;
    margin-top: 0px;
    height: 5px;
    width: 100%;
    border-bottom: 1px solid #E0E0E0;
}

.crewNoComment {
    text-align: center;
    background-color: #ececee;
    height:calc(100vh - 465px);
}

    .crewNoComment img {
        height: 200px;
        width: auto;
        user-select: none;
        pointer-events: none;
        margin-left: 25px;
        margin-top: 25px;
    }

.divbasicInfo {
}

.lstCrewComment {
    padding: 10px;
    padding-top: 10px;
    vertical-align: middle;
    background-color: #f5f5f5;
    position: relative;
}

.lstHeaderCrewComments {
    background-color: #FAFAFA;
    margin-bottom: 5px;
    padding: 3px 5px;
    user-select: none;
    border-top: 1px solid #EEEEEE;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    position: sticky;
    width: 100%;
    top: 0px;
    z-index: 1;
}

    .lstHeaderCrewComments span.lbl {
        font-size: 13px;
        font-weight: 500;
        color: #2E7D32;
        letter-spacing: 1px;
        line-height: 30px;
        margin-left: 15px;
    }

        .lstHeaderCrewComments span.lbl i {
        }

    /* ── btn-add-remark ─────────────────────────────────────────── */
.btn-add-remark {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid #d1fae5;
    border-radius: 6px;
    background: #f8fffe;
    color: #388E3C;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
    transition: background .18s, box-shadow .18s, transform .13s, border-color .18s, color .18s;
    outline: none;
    white-space: nowrap;
    float: left;
    overflow: hidden;
}
    .btn-add-remark i{font-weight:700 !important;}
    .btn-add-remark::after {
        display: none;
    }
    .btn-add-remark:hover:not(:disabled) {
        background: #dcfce7;
        border-color: #4ade80;
        color: #15803d;
        box-shadow: 0 3px 10px rgba(34,197,94,.18);
        transform: translateY(-1px);
    }
    .btn-add-remark:hover:not(:disabled)::after {
        display: block;
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.55) 50%, transparent 100%);
        background-size: 200% 100%;
        background-position: -100% 0;
        animation: remark-shimmer 1.2s ease-in-out 1;
        pointer-events: none;
    }
    @keyframes remark-shimmer {
        0%   { background-position: -100% 0; }
        100% { background-position: 200% 0; }
    }
    .btn-add-remark:active:not(:disabled) {
        transform: scale(.97);
        box-shadow: none;
    }
    .btn-add-remark:disabled,
    .btn-add-remark--disabled {
        background: #f8fafc !important;
        border-color: #e2e8f0 !important;
        color: #cbd5e1 !important;
        box-shadow: none !important;
        cursor: not-allowed !important;
    }
.btn-add-remark__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 20px;
    background: #E8EAF6;
    color: #303F9F;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    transition: background .18s, color .18s;
}
    .btn-add-remark:hover:not(:disabled) .btn-add-remark__badge {
        background: #22c55e;
        color: #fff;
    }
    .btn-add-remark:disabled .btn-add-remark__badge,
    .btn-add-remark--disabled .btn-add-remark__badge {
        background: #e2e8f0;
        color: #cbd5e1;
    }


        /* ── Crew Task Actions (badge + buttons) ────────────────────── */
.crewTaskActions {
    float: right;
    display: flex;
    align-items: center;
    gap: 4px;
    padding-right: 6px;
    height: 30px;
}

.crewTaskBadgeWrap {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    padding: 2px 10px;
    border-radius: 10px;
    background: #f0f4ff;
    border: 0px solid #d0d9f5;
    height: 28px;
    transition: background 0.15s, box-shadow 0.15s;
    user-select: none;
    font-size: 12px;
    line-height: 28px;
    font-weight: 500;
    color: #C2185B;
}

    .crewTaskBadgeWrap:hover {
        background: #e0eaff;
        box-shadow: 0 2px 8px rgba(59,130,246,0.15);
    }

.crewTaskBadgeIcon {
    color: #C2185B;
    font-size: 16px;
    margin-right: 5px;
}

.crewTaskBadge {
    font-size: 12px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    border-radius: 10px;
    padding: 0 4px;
    line-height: 18px;
    margin-left: 5px;
}

.crewTaskBadgeActive {
    background: #EF4444;
    color: #fff;
}

.crewTaskBadgeZero {
    background: #E5E7EB;
    color: #6B7280;
}

.crewTaskBadgeLoading {
    color: #6B7280;
    background: transparent;
}

.crewTaskActions .btnCrewGiaoTask.e-btn,
.crewTaskActions .btnCrewThemTask.e-btn {
    height: 26px !important;
    line-height: 24px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    padding: 0 9px !important;
    border-radius: 4px !important;
    border: 0 !important;
    margin: 0 !important;
    box-shadow: rgba(149,157,165,0.15) 0 4px 12px;
    transition: background 0.15s, color 0.15s, transform 0.1s;
}

.crewTaskActions .btnCrewGiaoTask.e-btn {
    color: #303F9F !important;
}

    .crewTaskActions .btnCrewGiaoTask.e-btn:hover:not(:disabled) {
        color: #283593 !important;
        transform: translateY(-1px);
    }

.crewTaskActions .btnCrewThemTask.e-btn {
    color: #512DA8 !important;
}

    .crewTaskActions .btnCrewThemTask.e-btn:hover:not(:disabled) {
        color: #512DA8 !important;
        transform: translateY(-1px);
    }

.crewTaskActions .btnCrewGiaoTask.e-btn:disabled,
.crewTaskActions .btnCrewThemTask.e-btn:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}

/* ── DlgCrewTasks modal ──────────────────────────────────────── */
.dlgcrewtasks-modal {
    background: #fff;
    border-radius: 10px;
    width: 760px;
    max-width: 96vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    overflow: hidden;
}

.dlgcrewtasks-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1E40AF, #3B82F6);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

    .dlgcrewtasks-header i { font-size: 16px; }

.dlgcrewtasks-header-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    color:#fff;
}

.dlgcrewtasks-crew-name {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    padding: 2px 7px;
    color: #E8EAF6;
}

.dlgcrewtasks-count-badge {
    font-size: 11px;
    font-weight: 700;
    background: #EF4444;
    color: #fff;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
    padding: 1px 5px;
}

.dlgcrewtasks-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #F8FAFC;
}

.dlgcrewtasks-loading,
.dlgcrewtasks-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #6B7280;
    font-size: 14px;
    padding: 40px 20px;
}

.dlgcrewtasks-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dlgcrewtasks-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    border-left: 4px solid #E5E7EB;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.15s, border-color 0.15s, transform 0.1s;
}

    .dlgcrewtasks-item:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateX(2px);
    }

.dlgcrewtasks-item--p1 { border-left-color: #EF4444; }
.dlgcrewtasks-item--p2 { border-left-color: #F97316; }
.dlgcrewtasks-item--p3 { border-left-color: #3B82F6; }
.dlgcrewtasks-item--p4 { border-left-color: #9CA3AF; }

.dlgcrewtasks-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.dlgcrewtasks-priority {
    font-size: 16px;
    flex-shrink: 0;
}

.dlgcrewtasks-item-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dlgcrewtasks-item-code {
    font-size: 11px;
    color: #303F9F;
    font-weight: 500;
    background-color: #FAFAFA;
    display: inline-block;
}

.dlgcrewtasks-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #1F2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 440px;
}

.dlgcrewtasks-item-cat {
    font-size: 11px;
    color: #9CA3AF;
}

/* Tag strip: category + priority + role + report-status */
.dlgcrewtasks-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 3px;
}

.dlgcrewtasks-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 500;
    border-radius: 4px;
    padding: 1px 6px;
    white-space: nowrap;
}

    .dlgcrewtasks-tag i { font-size: 10px; }

/* Category */
.tag-cat { background: #F1F5F9; color: #64748B; }

/* Priority */
.tag-priority--1 { background: #FEF2F2; color: #DC2626; }
.tag-priority--2 { background: #FFF7ED; color: #EA580C; }
.tag-priority--3 { background: #EFF6FF; color: #2563EB; }
.tag-priority--4 { background: #F0FDF4; color: #16A34A; }

/* Role */
.tag-role--1 { background: #EDE9FE; color: #7C3AED; } /* Executor */
.tag-role--2 { background: #DBEAFE; color: #1D4ED8; } /* Supervisor */
.tag-role--3 { background: #F0FDF4; color: #15803D; } /* Observer */

/* Report status */
.tag-report--1 { background: #F8FAFC; color: #94A3B8; border: 1px solid #E2E8F0; } /* Not started */
.tag-report--2 { background: #FFF7ED; color: #C2410C; } /* Processing */
.tag-report--3 { background: #ECFDF5; color: #059669; } /* Completed */

.dlgcrewtasks-item-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    font-size: 12px;
    color: #6B7280;
}

.dlgcrewtasks-deadline { color: #6B7280; }
.dlgcrewtasks-overdue { color: #EF4444; font-weight: 600; }
.dlgcrewtasks-assignees { white-space: nowrap; }

.dlgcrewtasks-arrow {
    color: #CBD5E1;
    font-size: 11px;
}

.subThreadComment {
    padding-left: 35px;
    position: relative;
}

    .subThreadComment::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 0;
        width: 3px;
        height: 100%;
        background-color: #C8E6C9;
    }

    /* ══ UserCardPopup ══════════════════════════════════════════════════ */
    .ucard-anchor {
        position: relative;
        display: inline-block;
        cursor: pointer;
    }
    .ucard-popup {
        position: fixed;
        z-index: 2147483647;
        width: 370px;
        background: #fff;
        border-radius: 18px;
        box-shadow:
            0 0 0 1px rgba(99,102,241,.12),
            0 8px 28px rgba(15,23,42,.16),
            0 24px 52px rgba(15,23,42,.12);
        overflow: hidden;
        opacity: 0;
        transform: translateY(10px) scale(.95);
        transition: opacity .2s cubic-bezier(.4,0,.2,1),
                    transform .2s cubic-bezier(.4,0,.2,1);
        pointer-events: none;
        font-family: inherit;
        font-size: 12px;
        line-height: 1.55;
        color: #1e293b;
        cursor: default;
        max-height: 520px;
        display: flex;
        flex-direction: column;
    }
    .ucard-popup--in {
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    /* ── Hero block: gradient chứa cả avatar + identity ── */
    .ucard-hero {
        background: linear-gradient(120deg, #4338ca 0%, #7c3aed 55%, #0284c7 100%);
        padding: 18px 16px 16px;
        position: relative;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 14px;
    }
    .ucard-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 10% 80%, rgba(255,255,255,.08) 0%, transparent 50%),
            radial-gradient(circle at 90% 20%, rgba(255,255,255,.06) 0%, transparent 50%);
        pointer-events: none;
    }
    .ucard-avatar-wrap {
        position: relative;
        flex-shrink: 0;
    }
    .ucard-avatar,
    .ucard-initials {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        border-radius: 50%;
        border: 3px solid rgba(255,255,255,.85);
        box-shadow: 0 4px 18px rgba(0,0,0,.22), 0 1px 4px rgba(0,0,0,.14);
        flex-shrink: 0;
    }
    .ucard-avatar {
        display: block;
        object-fit: cover;
        background: #e0e7ff;
    }
    .ucard-initials {
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
        font-size: 28px;
        font-weight: 800;
        color: #fff;
        letter-spacing: 1px;
        user-select: none;
    }
    .ucard-status-dot {
        position: absolute;
        bottom: 2px;
        right: 2px;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        border: 3px solid #fff;
    }
    .ucard-online  { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.25); }
    .ucard-offline { background: #94a3b8; }
    /* ── Identity — always on gradient → white ── */
    .ucard-identity {
        min-width: 0;
        flex: 1;
        position: relative;
        z-index: 1;
    }
    .ucard-fullname {
        font-size: 15px;
        font-weight: 700;
        color: #fff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-shadow: 0 1px 6px rgba(15,23,42,.4);
    }
    .ucard-username {
        font-size: 12px;
        color: rgba(255,255,255,.82);
        font-weight: 600;
        margin-top: 2px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .ucard-dept {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-top: 6px;
        font-size: 10.5px;
        font-weight: 600;
        color: #fff;
        background: rgba(255,255,255,.2);
        border: 1px solid rgba(255,255,255,.38);
        padding: 3px 9px 3px 7px;
        border-radius: 20px;
        white-space: nowrap;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* ── Scrollable body ── */
    .ucard-body {
        padding: 0 16px 14px;
        overflow-y: auto;
        flex: 1;
        scrollbar-width: thin;
        scrollbar-color: #e2e8f0 transparent;
    }
    .ucard-body::-webkit-scrollbar { width: 4px; }
    .ucard-body::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 4px; }

    /* ── Sections ── */
    .ucard-section {
        border-top: 1px solid #f1f5f9;
        padding-top: 8px;
        margin-top: 8px;
    }

    /* ── Rows ── */
    .ucard-row {
        display: flex;
        align-items: center;
        gap: 7px;
        font-size: 11.5px;
        color: #334155;
        margin-top: 4px;
        font-weight: 500;
    }
    .ucard-row:first-child { margin-top: 0; }
    .ucard-row--online { color: #15803d; }
    .ucard-row--offline { color: #94a3b8; font-weight: 400; }
    .ucard-ico-green  { color: #22c55e; flex-shrink: 0; font-size: 11px; }
    .ucard-ico-muted  { color: #a5b4fc; flex-shrink: 0; font-size: 11px; width: 13px; text-align: center; }

    /* ── Status badge (online pill) ── */
    .ucard-badge-online {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #f0fdf4;
        color: #15803d;
        border: 1px solid #bbf7d0;
        border-radius: 20px;
        padding: 2px 9px 2px 6px;
        font-size: 11px;
        font-weight: 600;
    }
    .ucard-badge-offline {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: #f8fafc;
        color: #64748b;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        padding: 2px 9px 2px 6px;
        font-size: 11px;
        font-weight: 500;
    }

    /* ── Stats compact strip ── */
    .ucard-stats {
        display: flex;
        gap: 5px;
    }
    .ucard-stat {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 6px 2px;
        border-radius: 10px;
        background: #f8fafc;
        border: 1px solid #f1f5f9;
        min-width: 0;
    }
    .ucard-stat-val {
        font-size: 14px;
        font-weight: 800;
        color: #1e293b;
        line-height: 1;
    }
    .ucard-stat-accent { color: #e11d48; }
    .ucard-stat-lbl {
        font-size: 9px;
        color: #94a3b8;
        white-space: nowrap;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .3px;
    }
    .ucard-stat-icon {
        font-size: 11px;
        margin-bottom: 1px;
    }
    /* colored icons per stat */
    .ucard-stat:nth-child(1) .ucard-stat-icon { color: #6366f1; }
    .ucard-stat:nth-child(2) .ucard-stat-icon { color: #f59e0b; }
    .ucard-stat:nth-child(3) .ucard-stat-icon { color: #10b981; }
    .ucard-stat:nth-child(4) .ucard-stat-icon { color: #0ea5e9; }
    .ucard-stat:nth-child(1) { border-color: #e0e7ff; background: #eef2ff; }
    .ucard-stat:nth-child(2) { border-color: #fde68a; background: #fffbeb; }
    .ucard-stat:nth-child(3) { border-color: #a7f3d0; background: #f0fdf4; }
    .ucard-stat:nth-child(4) { border-color: #bae6fd; background: #f0f9ff; }

    /* ── About / quote ── */
    .ucard-about {
        display: flex;
        gap: 7px;
        align-items: flex-start;
        font-size: 11px;
        color: #475569;
        font-style: italic;
        background: linear-gradient(135deg, #fafbff, #f5f3ff);
        border-radius: 10px;
        padding: 8px 10px;
        border-left: 3px solid #a5b4fc;
        line-height: 1.6;
    }
    .ucard-about i { color: #a5b4fc; flex-shrink: 0; margin-top: 1px; }

    /* ── Contact rows ── */
    .ucard-row a, .ucard-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    /* ── Error ── */
    .ucard-error {
        font-size: 12px;
        color: #dc2626;
        display: flex;
        align-items: center;
        gap: 7px;
        padding: 16px;
        background: #fef2f2;
    }

    /* ── Skeleton ── */
    .ucard-skeleton {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        padding: 16px;
    }
    .ucard-sk-avatar {
        width: 84px;
        height: 84px;
        border-radius: 50%;
        flex-shrink: 0;
        background: #e2e8f0;
    }
    .ucard-sk-lines {
        flex: 1;
        padding-top: 14px;
    }
.divCrewCommentThread .ucard-anchor .username {
    margin-top:-23px;
    display:inline-block;
}
.subThreadComment .divCrewCommentThread {
    border-color: transparent;
    position: relative;
}

        .subThreadComment .divCrewCommentThread::before {
            content: "";
            position: absolute;
            left: -23px; /* Nối vào đường đỏ */
            top: 50%;
            width: 21px;
            height: 3px;
            background-color: #C8E6C9;
            transform: translateY(-50%);
        }



        .subThreadComment .divCrewCommentThread:hover {
            box-shadow: none !important;
        }

        .subThreadComment .divCrewCommentThread:last-child {
            margin-bottom: 35px;
        }

.subThreadCommentPage {
    margin-top: 20px;
    margin-bottom: 30px;
    text-align: right;
}

    .subThreadCommentPage .pNo {
        display: inline-block;
        background-color: #fafafa;
        padding: 5px 10px;
        margin-right: 10px;
        cursor: pointer;
        border-radius: 5px;
        font-size: 12px;
        font-weight: 500;
        color: #333;
    }

        .subThreadCommentPage .pNo:hover {
            background-color: #fff;
            color: #388E3C;
        }

/* ===== Skeleton Screen for comments ===== */
@keyframes skeletonShimmer {
    0%   { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.skeleton-comment-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 8px;
    margin-bottom: 6px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #fff;
}

.skeleton-pulse {
    background-color: #ECEFF1;
    background-image: linear-gradient(90deg, #ECEFF1 0px, #F5F7FA 60px, #ECEFF1 120px);
    background-size: 240px 100%;
    background-repeat: no-repeat;
    animation: skeletonShimmer 1.2s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-avatar {
    flex: 0 0 auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 5px;
    margin-top: 2px;
}

.skeleton-body {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 6px;
}

.skeleton-line {
    display: block;
    height: 12px;
    border-radius: 4px;
    max-width: 100%;
}

.subThreadComment .skeleton-comment-item {
    padding: 8px 6px;
    margin-bottom: 4px;
}

.subThreadComment .skeleton-avatar {
    width: 36px;
    height: 36px;
}

.divCrewCommentThread {
    padding-top: 10px;
    padding-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    margin-bottom: 5px;
    background-color: #fff;
}

    .divCrewCommentThread:hover {
        border: 1px solid #E3F2FD;
        background-color: #FAFCFF;
        box-shadow: rgba(33, 150, 243, 0.08) 0px 4px 12px 0px, rgba(0, 0, 0, 0.04) 0px 1px 3px 0px;
        transition: all .18s ease;
    }

    .divCrewCommentThread .divRow1 {
        user-select: none;
        clear: both;
    }

    .divCrewCommentThread .imgUserAvatar {
        user-select: none;
    }

        .divCrewCommentThread .imgUserAvatar .remark-initials {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
            letter-spacing: 1px;
        }

        .divCrewCommentThread .imgUserAvatar img,
        .divCrewCommentThread .imgUserAvatar .remark-initials {
            height: 50px;
            width: 50px;
            border-radius: 50%;
            border: 2px solid #fff;
            margin-right: 10px;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
            vertical-align: middle;
            user-select: none;
            pointer-events: none;
            margin-left: 5px;
            margin-top: 0px;
        }

    .divCrewCommentThread .username {
        font-weight: 500;
        vertical-align: top;
        color: #D32F2F;
        letter-spacing: 1px;
        font-size: 13px;
        padding-top: 10px !important;
        user-select: none;
        pointer-events: none;
    }

        .divCrewCommentThread .username i {
            font-size: 10px;
            margin-top: 0px;
            vertical-align: middle;
            margin-right: 6px;
            color: #E0E0E0;
        }

        .divCrewCommentThread .username.useronline i {
            color: #4CAF50;
        }

        .divCrewCommentThread .username.useroffline i {
            color: #E0E0E0;
        }


    .divCrewCommentThread .fullname {
        font-weight: 400;
        color: #303F9F;
        font-size: 12px;
        user-select: none;
        pointer-events: none;
        margin-left: 8px;
        vertical-align: top;
    }

        .divCrewCommentThread .fullname i {
            margin-right: 3px;
            color: #9E9E9E !important;
            margin-left: 5px;
            font-size: 11px;
        }

    .divCrewCommentThread .timeAgo {
        font-weight: 300;
        vertical-align: top;
        color: #616161;
        font-size: 10px;
        letter-spacing: 1px;
        user-select: none;
        pointer-events: none;
        margin-left: 3px;
    }

        .divCrewCommentThread .timeAgo i {
            margin-right: 0px;
            margin-left: 10px;
            vertical-align: top;
            margin-top: 2px;
            font-size: 9px !important;
            color: #F57C00;
            margin-right: -3px;
        }

    .divCrewCommentThread .department {
        font-weight: 400;
        color: #FFA000;
        font-size: 12px;
        user-select: none;
        pointer-events: none;
        margin-right: 8px;
        vertical-align: top;
        float: right;
        font-size: 10px;
        background-color: #FAFAFA;
        padding: 2px 5px;
    }

        .divCrewCommentThread .department i {
            margin-right: 5px;
            font-weight: 500 !important;
        }



    .divCrewCommentThread .remarkBody {
        margin-left: 70px;
        padding-right: 12px;
        margin-top: -25px
    }

    .divCrewCommentThread .remark {
        display: block;
        border-radius: 2px;
        margin-top: 0px;
        margin-bottom: 6px;
        padding: 0;
        font-weight: 400;
        vertical-align: middle;
        color: #000;
        font-size: 12px;
        text-align: justify !important;
    }

        .divCrewCommentThread .remark.nopermission {
            font-style: italic;
            letter-spacing: 1px;
            color: #bdbdbd !important;
            font-size: 11px;
            background-color: #fafafa;
            display: block;
            width: 450px;
            user-select: none !important;
            pointer-events: none !important;
        }

.lstFiles.fRemark {
    font-size: 12px;
    margin-bottom: 5px;
    margin-top: 5px;
    margin-left: 10px;
    border-bottom: 1px dashed #E0E0E0;
    padding-top: 5px;
    margin-right: 20px;
    color: #5D4037;
    user-select: none;
    font-weight: 400;
}

.divCrewCommentThread .lstFiles {
    font-size: 12px;
    margin-bottom: 6px;
    margin-top: 5px;
    margin-left: 0px;
    border-top: 1px dashed #E0E0E0;
    padding-top: 5px;
    padding-bottom: 2px;
    margin-right: 20px;
    user-select: none;
}

    .divCrewCommentThread .lstFiles:last-child {
        border-bottom: 1px dashed #E0E0E0;
    }

    .divCrewCommentThread .lstFiles .spanFileName {
        color: #5D4037;
        cursor: pointer;
    }

        .divCrewCommentThread .lstFiles .spanFileName:hover {
            text-decoration: underline;
        }

        .divCrewCommentThread .lstFiles .spanFileName i {
            margin-right: 5px;
        }

    .divCrewCommentThread .lstFiles .spanPreviewFile,
    .divCrewCommentThread .lstFiles .spanDownloadFile,
    .divCrewCommentThread .lstFiles .spanDeleteFile {
        color: #666;
    }

        .divCrewCommentThread .lstFiles .spanPreviewFile:hover,
        .divCrewCommentThread .lstFiles .spanDownloadFile:hover,
        .divCrewCommentThread .lstFiles .spanDeleteFile:hover {
            color: #B71C1C;
        }

::selection {
    color: #E65100 !important;
    background: #FFE0B2 !important;
}

.divCrewCommentThread .remark .mentionUserName {
    font-weight: 500;
    color: #388E3C;
    background-color: #E8F5E9;
    padding: 2px 5px;
}

    .divCrewCommentThread .remark .mentionUserName:before {
        font-family: "Font Awesome 6 Pro";
        content: '\40';
        margin-right: 3px;
    }

.divCrewCommentThread .remark .mentionDepartment {
    font-weight: 500;
    color: #7B1FA2;
    background-color: #F3E5F5;
    padding: 2px 5px;
}

    .divCrewCommentThread .remark .mentionDepartment:before {
        font-family: "Font Awesome 6 Pro";
        content: '\f02c';
        margin-right: 3px;
    }

.divCrewCommentThread .remark blockquote {
    display: none;
}

@keyframes rxHighlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,193,7,0.55);
        background-color: #FFF8E1;
    }

    50% {
        box-shadow: 0 0 0 6px rgba(255,193,7,0);
        background-color: #FFFDE7;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,193,7,0);
        background-color: #fff;
    }
}

0% {
    box-shadow: 0 0 0 0 rgba(255,193,7,0.55);
    background-color: #FFF8E1;
}

50% {
    box-shadow: 0 0 0 6px rgba(255,193,7,0);
    background-color: #FFFDE7;
}

100% {
    box-shadow: 0 0 0 0 rgba(255,193,7,0);
    background-color: #fff;
}

}

.divCrewCommentThread.rxHighlight {
    animation: rxHighlightPulse 3s ease-out 1;
    border-color: #FFC107 !important;
}

/* Meta row: actions on the left, reactions compact on the right */
.divCrewCommentThread .metaRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-left: 65px;
    margin-top: 6px;
    padding-right: 8px;
    user-select: none;
}

    .divCrewCommentThread .metaRow .metaActions {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 15px;
        font-size: 11px;
        color: #607D8B;
        margin-left: 6px;
    }

/* Reactions bar — tiny & compact, bottom-right of comment */
.divCrewCommentThread .rxBar {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 3px;
    margin: 0;
    padding: 0;
    user-select: none;
}

    .divCrewCommentThread .rxBar .rxPickerWrap {
        position: relative;
        display: inline-flex;
    }

    .divCrewCommentThread .rxBar .rxAddBtn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        padding: 0;
        font-size: 13px;
        color: #90A4AE;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 50%;
        cursor: pointer;
        transition: all .15s ease;
    }

        .divCrewCommentThread .rxBar .rxAddBtn:hover {
            background: #ECEFF1;
            color: #1976D2;
        }

        .divCrewCommentThread .rxBar .rxAddBtn .rxIcon {
            font-size: 13px;
            line-height: 1;
        }

    .divCrewCommentThread .rxBar .rxPicker {
        position: absolute;
        bottom: 80%;
        right: 0;
        left: auto;
        display: none;
        gap: 2px;
        padding: 15px 15px;
        background: #fff;
        border: 1px solid #ECEFF1;
        border-radius: 18px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.10);
        z-index: 5;
        white-space: nowrap;
    }

        .divCrewCommentThread .rxBar .rxPickerWrap:hover .rxPicker,
        .divCrewCommentThread .rxBar .rxPicker:hover {
            display: inline-flex;
        }

    .divCrewCommentThread .rxBar .rxItem {
        display: inline-block;
        font-size: 15px;
        padding: 1px 3px;
        border-radius: 50%;
        cursor: pointer;
        transition: transform .12s ease;
    }

        .divCrewCommentThread .rxBar .rxItem:hover {
            transform: scale(1.35);
        }

        .divCrewCommentThread .rxBar .rxItem.active {
            background: #E3F2FD;
        }

    .divCrewCommentThread .rxBar .rxChip {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        height: 18px;
        padding: 0 6px;
        font-size: 10px;
        background: #F5F5F5;
        border: 1px solid transparent;
        border-radius: 9px;
        cursor: pointer;
        transition: all .15s ease;
    }

        .divCrewCommentThread .rxBar .rxChip:hover {
            background: #ECEFF1;
        }

        .divCrewCommentThread .rxBar .rxChip.mine {
            background: #E3F2FD;
            border-color: #BBDEFB;
            color: #1565C0;
        }

        .divCrewCommentThread .rxBar .rxChip .rxChipIco {
            font-size: 11px;
            line-height: 1;
        }

        .divCrewCommentThread .rxBar .rxChip .rxChipNum {
            font-weight: 600;
            color: #455A64;
        }

        .divCrewCommentThread .rxBar .rxChip.mine .rxChipNum {
            color: #1565C0;
        }

/* Action items inside metaActions */
.divCrewCommentThread .metaActions .replyRemark,
.divCrewCommentThread .metaActions .chatRemark {
    color: #666;
    font-style: normal;
    cursor: pointer;
    font-size: 11px;
}

    .divCrewCommentThread .metaActions .replyRemark:hover {
        text-decoration: underline;
        color: #B71C1C;
    }

    .divCrewCommentThread .metaActions .chatRemark:hover {
        text-decoration: underline;
        color: #1565C0;
    }

.divCrewCommentThread .metaActions .deleteicon {
    color: #9E9E9E;
    cursor: pointer;
    font-size: 11px;
}

    .divCrewCommentThread .metaActions .deleteicon:hover {
        text-decoration: underline;
        color: #B71C1C;
    }

.divCrewCommentThread .metaActions .createdate {
    color: #9E9E9E;
    user-select: none;
    pointer-events: none;
    font-style: italic;
    font-size: 10px;
    margin-left: auto;
}

    .divCrewCommentThread .metaActions .createdate i {
        margin-right: 4px;
    }

.divCrewCommentThread .metaActions i {
    margin-right: 4px;
}

.divCrewCommentThread .actBtn {
    display: none;
}

    .divCrewCommentThread .actBtn i {
        margin-right: 5px;
        margin-left: 10px;
    }

    .divCrewCommentThread .actBtn .createdate {
        margin-right: 6px;
        color: #9E9E9E;
        user-select: none;
        pointer-events: none;
    }

    .divCrewCommentThread .actBtn .replyRemark {
        margin-right: 6px;
        color: #666;
        margin-left: 0px;
        font-style: normal;
        cursor: pointer;
    }

        .divCrewCommentThread .actBtn .replyRemark:hover {
            text-decoration: underline;
            color: #B71C1C;
        }

    .divCrewCommentThread .actBtn .chatRemark {
        margin-right: 6px;
        color: #666;
        margin-left: 0px;
        font-style: normal;
        cursor: pointer;
    }

        .divCrewCommentThread .actBtn .chatRemark:hover {
            text-decoration: underline;
            color: #1565C0;
        }


    .divCrewCommentThread .actBtn .deleteicon {
        margin-left: 3px;
        color: #9E9E9E;
        cursor: pointer;
    }

        .divCrewCommentThread .actBtn .deleteicon:hover {
            text-decoration: underline;
            color: #B71C1C;
        }

.divCrewCommentThread .actBtnAvg {
    font-size: 11px;
    letter-spacing: 1px;
    vertical-align: middle;
    margin-top: -10px;
    display: inline-block;
    user-select: none;
    color: #9E9E9E;
    font-style: italic;
}

    .divCrewCommentThread .actBtnAvg span {
        margin-right: 10px;
        font-weight: 400;
        color: #9E9E9E;
        font-style: normal;
        font-size: 12px;
    }

.divCrewCommentThread .actEmotion {
    display: block;
    margin-left: 15px;
    margin-right: 15px;
    border-top: 1px dashed #E0E0E0;
    margin-top: 10px !important;
}

    .divCrewCommentThread .actEmotion .lblEmotion {
        display: block;
        font-size: 11px;
        font-weight: 400;
        color: #9E9E9E;
        letter-spacing: 1px;
        user-select: none;
        font-style: italic;
        display: none;
    }

        .divCrewCommentThread .actEmotion .lblEmotion i {
            margin-right: 5px;
        }

.divCrewCommentThread .remark {
}

.e-tooltip-wrap.e-popup.e-rating-tooltip .e-tip-content {
    width: 110px !important;
}

    .e-tooltip-wrap.e-popup.e-rating-tooltip .e-tip-content b {
        font-weight: 500 !important;
        color: #000 !important;
        font-size: 12px !important;
    }

.divCrewCommentThread .actEmotion .emoji img {
    height: 18px;
    width: 18px;
    margin-right: 0px;
}

.e-rating-item-container:not(.e-rating-selected) .emoji {
    filter: grayscale(1);
    opacity: 0.75;
}

.e-rating-container .e-icons.e-rating-reset.e-reset {
    vertical-align: top;
    margin-top: 5px;
    color: #607D8B !important;
    font-weight: 700;
}

.e-rating-container .e-reset.e-icons.e-rating-reset.e-disabled:before {
    color: #bdbdbd !important;
}

.e-rating-container .e-icons.e-reset:before {
    font-size: 14px;
    vertical-align: top;
}

.e-rating-container .e-icons.e-reset:before {
    content: "\f12d";
    font-family: "Font Awesome 6 Pro";
}

.divCrewCommentThread .actBtnAvg {
    font-size: 11px;
    letter-spacing: 1px;
    vertical-align: middle;
    margin-top: -10px;
    display: inline-block;
    user-select: none;
    color: #9E9E9E;
    font-style: italic;
}

    .divCrewCommentThread .actBtnAvg span {
        margin-right: 10px;
        font-weight: 400;
        color: #607D8B;
        font-style: normal;
        font-size: 12px;
    }

.divCrewCommentThread .remark ul,
#mentionIntegration_rte-editable ul {
    display: block;
    list-style-type: disc;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 15px;
    unicode-bidi: isolate;
}

    #mentionIntegration_rte-editable ul li {
        line-height: 10px !important;
    }

        .divCrewCommentThread .remark ul li::marker,
        #mentionIntegration_rte-editable ul li::marker {
            color: #607D8B;
            font-size: 13px;
        }


.cellMessage {
    display: inline-block;
    font-size: 12px;
    padding: 3px 0px;
}

    .cellMessage .datetimeCrewLoged {
        font-weight: 400;
        margin-right: 3px;
        color: #000;
        letter-spacing: 0px;
        font-size: 11px !important;
    }

        .cellMessage .datetimeCrewLoged i {
            margin-right: 5px;
            font-weight: 500 !important;
        }

    .cellMessage .userCrewLoged {
        font-weight: 500;
        margin-right: 3px;
        color: #D32F2F;
        font-size: 11px !important;
        margin-right: 5px;
    }

    .cellMessage .logObject {
        color: #607D8B;
        font-size: 11px !important;
        margin-left: 5px;
        background-color: #ECEFF1;
        padding: 3px 5px;
        border-radius: 3px;
    }

    .cellMessage .logId {
        color: #607D8B;
        font-size: 11px !important;
        margin-right: 5px;
        background-color: #ECEFF1;
        padding: 3px 5px;
        border-radius: 3px;
        font-style: italic;
    }

    .cellMessage .actionCrewLoged {
        font-weight: 400;
        margin-right: 5px;
        color: #388E3C;
        font-size: 11px !important;
        font-style: italic;
        text-decoration: underline !important;
    }

        .cellMessage .actionCrewLoged.actUpdate {
            color: #00796B;
        }

        .cellMessage .actionCrewLoged.actInsert {
            color: #303F9F;
        }

        .cellMessage .actionCrewLoged.actDelete {
            color: #5D4037;
        }

    .cellMessage .messageCrewLoged {
        font-weight: 400 !important;
    }

.cellMaxHeight {
    font-size: 12px;
    max-height: 40px;
    overflow: auto;
    line-height: 18px !important;
    white-space: pre-line;
    word-break: break-all;
    color: #000000;
    padding: 2px;
    user-select: none;
}

.cellRemarkCrew {
    font-size: 12px;
    max-height: 40px;
    overflow: auto;
    line-height: 18px !important;
    white-space: pre-line;
    word-break: break-all;
    color: #000000;
    padding: 2px;
    user-select: none;
}

    .cellRemarkCrew::selection {
        color: #D32F2F;
        background: #FFEBEE;
    }

    .cellRemarkCrew span.cellUserName {
        font-weight: 500;
        margin-right: 5px;
        color: #333;
        user-select: none;
        pointer-events: none;
    }


        .cellRemarkCrew span.cellUserName:before {
            font-family: "Font Awesome 6 Pro";
            content: '\f4a4';
            margin-right: 5px;
            font-weight: 500;
        }

    .cellRemarkCrew span.cellDateTime {
        margin-right: 3px;
        color: #303F9F;
        user-select: none;
        pointer-events: none;
        font-size: 11px;
    }

        .cellRemarkCrew span.cellDateTime:before {
            font-family: "Font Awesome 6 Pro";
            content: '\e29e';
            margin-right: 5px;
            font-weight: 500;
        }



    .cellRemarkCrew .mentionUserName {
        font-weight: 500;
        color: #388E3C;
    }

        .cellRemarkCrew .mentionUserName:before {
            font-family: "Font Awesome 6 Pro";
            content: '\40';
            margin-right: 2px;
        }


    .cellRemarkCrew .mentionDepartment {
        font-weight: 500;
        color: #7B1FA2;
    }

        .cellRemarkCrew .mentionDepartment:before {
            font-family: "Font Awesome 6 Pro";
            content: '\f02c';
            margin-right: 3px;
        }

    .cellRemarkCrew div {
        display: inline !important;
    }

.pagerRemark {
    margin-top: 0px;
    position: relative;
}

    .pagerRemark .waper_pager {
        position: unset;
        bottom: 0px;
        height: 26px !important;
        width: 100%;
        border: 0px !important;
        background-color: #fff !important;
    }

        .pagerRemark .waper_pager .e-pager {
            border: 0px !important;
            box-shadow: none !important;
        }

            .pagerRemark .waper_pager .e-pager .txtPager input {
            }

.e-dialog.e-popup.e-popup-open.frmCrew .e-dlg-content .e-tab {
}

.lstStatus {
    max-height: 250px;
    overflow: auto;
    margin-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    flex-direction: row;
}

    .lstStatus .crewstatusSpan {
        margin-right: 15px;
        margin-bottom: 8px;
        display: inline-block;
        text-align: justify;
        text-justify: inter-word;
        flex-grow: 1;
        flex-wrap: wrap;
    }

    .lstStatus .e-checkbox-wrapper .e-label,
    .lstStatus .e-css.e-checkbox-wrapper .e-label {
        font-size: 12px !important;
        color: #000 !important;
        font-weight: 400 !important;
    }

    .lstStatus .e-checkbox-wrapper:has(.e-check) .e-label,
    .lstStatus .e-css.e-checkbox-wrapper:has(.e-check) .e-label {
        color: red !important;
    }

.historyCrewPaging .waper_pager {
    position: unset !important;
}

.cellNotification {
    display: block;
    padding: 5px 5px !important;
    user-select: none;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    margin-bottom: 10px;
    margin-top: 10px;
    margin-left: 3px;
    margin-right: 3px;
    border-radius: 5px;
    border: 1px solid #E0E0E0;
}

    .cellNotification .contentNotification {
        color: #000 !important;
        font-size: 13px !important;
        line-height: 21px;
        font-style: italic;
        text-align: justify-all !important;
        user-select: none;
        margin-top: 5px;
        margin-bottom: 5px;
        border: 1px solid #E0E0E0;
        padding: 10px 10px;
        border-radius: 5px;
        margin-top: 8px !important;
        margin-bottom: 10px !important;
    }


        .cellNotification .contentNotification .userUserNameNoti {
            font-weight: 500 !important;
            color: #388E3C;
            font-style: normal;
        }

            .cellNotification .contentNotification .userUserNameNoti:before {
                font-family: "Font Awesome 6 Pro";
                content: '\40';
                margin-right: 3px;
                font-weight: 700;
            }

        .cellNotification .contentNotification .userFullNameNoti {
            font-weight: 400 !important;
            color: #303F9F;
            font-style: normal;
            letter-spacing: 1px;
        }

        .cellNotification .contentNotification .crewRankNoti,
        .cellNotification .contentNotification .crewFullNameNoti {
            color: #303F9F;
            font-weight: 500;
            font-style: normal;
            margin-right: 5px;
        }

        .cellNotification .contentNotification .crewRankNoti {
            font-weight: 500;
            color: #C2185B;
            margin-left: 5px;
            margin-right: 5px;
        }

        .cellNotification .contentNotification .crewCodeNoti {
            font-weight: 400;
            color: #7B1FA2;
            font-style: normal;
            margin-right: 5px;
        }

            .cellNotification .contentNotification .crewCodeNoti:before {
                font-family: "Font Awesome 6 Pro";
                content: '\f121';
                margin-right: 3px;
                margin-left: 5px;
            }

        .cellNotification .contentNotification .crewNoted {
            font-weight: 400;
            color: #000;
        }


    .cellNotification .titleNotification {
        font-weight: 500;
        color: #000;
        margin-top: 5px;
        margin-left: 5px;
        font-size: 13px;
    }

        .cellNotification .titleNotification:before {
            font-family: "Font Awesome 6 Pro";
            content: '\e1e4';
            margin-right: 5px;
            font-weight: 400;
        }

        .cellNotification .titleNotification .unseenNotification {
            margin-left: 10px;
            color: #D32F2F;
            font-weight: 400 !important;
            font-size: 12px !important;
        }

            .cellNotification .titleNotification .unseenNotification:before {
                font-family: "Font Awesome 6 Pro";
                content: '\e16f';
                margin-right: 5px;
                font-weight: 400;
                color: #B71C1C;
            }

        .cellNotification .titleNotification .seenNotification {
            margin-left: 10px;
            color: #388E3C;
            font-weight: 400 !important;
            font-size: 12px !important;
        }

            .cellNotification .titleNotification .seenNotification:before {
                font-family: "Font Awesome 6 Pro";
                content: '\f2b6';
                margin-right: 5px;
                font-weight: 400;
                color: #388E3C;
            }



    .cellNotification .btnGotoMessageNoti,
    .cellNotification .btnMarkAsViewedNoti {
        font-size: 12px !important;
        font-weight: 500 !important;
        border: 0px !important;
        outline: none !important;
        margin-bottom: 5px !important;
    }

    .cellNotification .btnGotoMessageNoti {
        margin-right: 5px;
        color: #C2185B;
    }

    .cellNotification .btnMarkAsViewedNoti {
        color: #607D8B;
    }

.panelLoginBody.pageIndex {
    padding: 0px !important;
}

    .panelLoginBody.pageIndex .panelLeft {
        width: 100% !important;
        float: none !important;
        display: block !important;
    }

    .panelLoginBody.pageIndex .panelRight {
        float: none !important;
        display: block !important;
    }

.frmIndex .loginLogoIndex {
    text-align: center !important;
}

.frmIndex .panelRight .homeTitle {
    font-weight: 500;
    font-size: 13px;
    color: #333;
}

    .frmIndex .panelRight .homeTitle i {
        margin-right: 8px;
    }

.frmIndex .panelRight .e-btn {
    font-size: 13px !important;
    letter-spacing: 1px;
    font-weight: 500 !important;
    color: red !important;
    width: 100%;
    text-align: left;
    height: 38px;
    border: 0px !important;
    outline: none !important;
    border-radius: 3px !important;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    color: #fff !important;
    letter-spacing: 1px !important;
}

    .frmIndex .panelRight .e-btn i {
        font-weight: 700 !important;
        margin-right: 8px !important;
    }

.frmIndex .panelLoginBody .panelRight {
}

.btnHomeCV {
    margin-top: 0px !important;
    margin-bottom: 10px !important;
    color: #FCE4EC !important;
    background-color: #E91E63 !important;
}

    .btnHomeCV:hover {
        color: #fff !important;
        background-color: #D81B60 !important;
    }

.btnHomeCrew {
    color: #E8EAF6 !important;
    background-color: #3F51B5 !important;
}

    .btnHomeCrew:hover {
        color: #fff !important;
        background-color: #3949AB !important;
    }

.frmIndex .panelRight .tgNow {
    margin-top: 18px;
    padding-top: 12px;
    margin-right: 6px;
    border-top: 2px dashed #E0E0E0;
    position: relative;
    width: 100%;
}


    .frmIndex .panelRight .tgNow .serverStatus i {
        margin-right: 5px;
    }

    .frmIndex .panelRight .tgNow .serverStatus {
        position: absolute;
        right: 2px;
        font-size: 10px;
        font-weight: 500;
        color: #009688;
        top: 16px;
    }

    .frmIndex .panelRight .tgNow .gio {
        font-size: 11px;
        font-weight: 400 !important;
        color: #B71C1C;
        width: 75px !important;
        letter-spacing: 0px !important
    }

        .frmIndex .panelRight .tgNow .gio i {
            font-weight: 700 !important;
        }

    .frmIndex .panelRight .tgNow .ngay {
        font-size: 11px;
        font-weight: 400 !important;
        color: #3F51B5;
        letter-spacing: 0px !important;
        width: 115px;
    }

/* ── DlgUpdateCrews footer layout ── */
.crewFooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
}
.crewFooter__left,
.crewFooter__right {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Flat secondary: dùng cho Reload, Change Logs, Close */
.e-control.e-btn.e-lib.btnFlatSecondary {
    background: transparent !important;
    border: 0px solid #cbd5e1 !important;
    color: #475569 !important;
    border-radius: 8px !important;
    padding: 0 12px !important;
    height: 34px !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: .2px !important;
    box-shadow: none !important;
    transition: background .15s ease, border-color .15s ease, color .15s ease !important;
}
.e-control.e-btn.e-lib.btnFlatSecondary:not(:disabled):hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
    box-shadow: none !important;
}
.e-control.e-btn.e-lib.btnFlatSecondary:not(:disabled):active {
    background: #e2e8f0 !important;
}
.e-control.e-btn.e-lib.btnFlatSecondary:disabled {
    background: transparent !important;
    border-color: #e2e8f0 !important;
    color: #cbd5e1 !important;
    cursor: not-allowed !important;
}

/* Change Logs wrapper + badge */
.crewFooter__historyWrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.crewFooter__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: #FFF3E0;
    color: #F57C00;
    font-size: 10px;
    font-weight: 700;
    border-radius: 9px;
    margin-left: -15px;
    margin-bottom: 13px;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(239,68,68,.4);
    pointer-events: none;
    z-index: 1;
}

.headerPageTop {
    padding: 5px 5px;
    background-color: #fff !important;
    user-select: none;
    pointer-events: none;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

    .headerPageTop .lolgoheaderPageTop {
        text-align: left;
    }

    .headerPageTop .titleheaderPageTop {
        text-align: left;
        line-height: 32px;
        font-size: 14px;
        letter-spacing: 1px;
        font-weight: 500;
        color: #303F9F;
        text-transform: uppercase;
    }

    .headerPageTop .lolgoheaderPageTop img {
        height: 28px;
        width: auto;
    }

@media (max-width: 700px) {
    .headerPageTop .lolgoheaderPageTop,
    .headerPageTop .titleheaderPageTop {
        text-align: center;
    }
}

.notiSentCV {
    padding: 10px;
    background-color: #E8F5E9;
    border: 1px solid #C5E1A5;
    color: #388E3C;
    font-weight: 400;
    line-height: 26px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

    .notiSentCV .sentCvName {
        font-weight: 500;
        color: #7B1FA2;
    }

    .notiSentCV .sentCvCode {
        font-weight: 500;
        color: #E64A19;
    }


.colBtnCrewSubmit .e-btn {
    font-size: 10px;
    height: 25px !important;
    font-weight: 500 !important;
    padding: 0px 8px;
    margin-top: 0px;
    margin-bottom: 5px;
    border: 0px !important;
    outline: none !important;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


    .colBtnCrewSubmit .e-btn.btnOk {
        color: #E8F5E9 !important;
        background-color: #4CAF50 !important;
    }

        .colBtnCrewSubmit .e-btn.btnOk:hover {
            color: #fff !important;
            background-color: #43A047 !important;
        }

    .colBtnCrewSubmit .e-btn.btnDelete {
        color: #FCE4EC !important;
        background-color: #E91E63 !important;
    }

        .colBtnCrewSubmit .e-btn.btnDelete:hover {
            color: #fff !important;
            background-color: #C2185B !important;
        }

        .colBtnCrewSubmit .e-btn:disabled,
        .colBtnCrewSubmit .e-btn.btnOk:disabled,
        .colBtnCrewSubmit .e-btn.btnDelete:disabled {
            background-color: #F5F5F5 !important;
            color: #9E9E9E !important;
            cursor: not-allowed;
            box-shadow: none !important;
        }


.miniUpload .e-upload .e-upload-files .e-upload-file-list .e-file-container .e-file-type,
.miniUpload .e-upload .e-upload-files .e-upload-file-list .e-file-container .e-file-size,
.miniUpload .e-upload .e-upload-files .e-upload-file-list .e-file-container .e-file-status {
    display: inline-block;
    margin-right: 5px;
    font-size: 11px !important;
}

.miniUpload .e-upload .e-upload-files .e-upload-file-list .e-file-container .e-file-name {
    font-size: 11px !important;
}

.miniUpload .e-upload .e-upload-files .e-upload-file-list .e-file-container .e-file-status {
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 0 !important;
}

.miniUpload .e-upload .e-upload-files .e-upload-file-list,
.miniUpload .e-bigger.e-small .e-upload .e-upload-files .e-upload-file-list {
    min-height: unset !important;
}

.e-tooltip-wrap.e-popup {
    background-color: #fff;
    border: 1px solid #388E3C;
    border-radius: 3px;
}

.e-tooltip-wrap .e-arrow-tip-inner.e-tip-right,
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-left,
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-bottom,
.e-tooltip-wrap .e-arrow-tip-inner.e-tip-top {
    color: #388E3C;
}

.e-tooltip-wrap {
    width: auto !important;
}

    .e-tooltip-wrap .e-tip-content {
        padding: 10px 15px;
        font-size: 13px;
        width: auto !important;
    }

.itemActives {
    border-bottom: 1px dashed #bdbdbd;
    padding-bottom: 5px;
    margin-bottom: 8px;
}

    .itemActives:last-child {
        border-bottom: 0px !important;
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
    }

    .itemActives .itemTitle i {
        margin-right: 5px;
    }

    .itemActives .itemTitle {
        font-weight: 400;
        font-size: 11px;
        color: #000;
        display: block !important;
    }

    .itemActives .itemTime {
        font-weight: 400;
        font-size: 10px;
        margin-right: 10px;
        color: #666;
        display: block !important;
        margin-top: 5px;
        font-style: italic;
    }

        .itemActives .itemTime i {
            margin-right: 5px;
        }

.txtRemarkEvalucation {
    height: 125px;
    background-color: #f5f5f5 !important;
    border-radius: 5px !important;
    overflow: auto !important;
}

    .txtRemarkEvalucation textarea {
        resize: none !important;
        border-bottom: 0px !important;
    }

.itemEvalucationRecord {
    padding-left: 10px;
}

.e-popup.e-popup-open.e-dialog.frmCrew {
    border: 0px solid #303F9F !important;
}

/* ── frmCrew footer panel ── */
.e-dialog.frmCrew .e-footer-content {
    padding: 5px 14px !important;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.frmCrew div.e-dlg-overlay {
    display: flex !important;
}

.jobCanceled {
    display: block;
    font-weight: 500;
    background-color: #FFEBEE !important;
    color: #D32F2F !important;
    padding: 5px 15px;
}

.jobClosed {
    display: block;
    font-weight: 500;
    background-color: #E0F2F1 !important;
    color: #00796B !important;
    padding: 5px 15px;
}

.jobOpen {
    display: block;
    font-weight: 500;
    background-color: #FFF3E0 !important;
    color: #E64A19 !important;
    padding: 5px 15px;
}

.itemMa.JobCategory {
    font-weight: 500;
    color: #303F9F;
}

.itemMa.Client {
    color: #C2185B;
}

.itemMa.Description {
    color: #666;
}

.brkLine {
    height: 1px;
    background-color: #E0E0E0;
    margin-top: 10px;
    margin-bottom: 10px;
}

.txtContentTask {
    height: 120px;
    border: 1px dashed #E0E0E0 !important;
    resize: none;
}

    .txtContentTask textarea {
        resize: none !important;
    }

.colPriority span {
    height: 20px !important;
    line-height: 20px !important;
    width: 65px;
    font-size: 11px;
    font-weight: 400 !important;
    display: inline-block !important;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.colTaskDescription {
    font-size: 12px;
    max-height: 46px;
    min-height: 46px;
    height: 46px;
    overflow: auto;
    line-height: 14px !important;
    white-space: pre-line;
    word-break: break-all;
    color: #000000;
    padding: 3px;
    margin-top: 1px;
    margin-bottom: 1px;
}

.colStartTimeTask {
    font-weight: 500;
    color: #303F9F;
}


.colJobOpen {
    background-color: #fafafa;
    color: #303F9F;
    font-weight: 500;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    margin-top: 2px;
    width: 65px;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.colJobClosed {
    background-color: #fafafa;
    color: #2E7D32;
    font-weight: 500;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    margin-top: 2px;
    width: 65px;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.colJobCanceled {
    background-color: #fafafa;
    color: #9E9E9E;
    font-weight: 500;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    margin-top: 2px;
    width: 65px;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.taskAssigned {
    background-color: #fafafa;
    color: #E91E63;
    font-weight: 500;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    margin-top: 2px;
    width: 65px;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.taskDone {
    background-color: #fafafa;
    color: #2E7D32;
    font-weight: 500;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    margin-top: 2px;
    width: 65px;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.taskProcessing {
    background-color: #fafafa;
    color: #009688;
    font-weight: 500;
    height: 20px;
    line-height: 20px;
    display: inline-block;
    margin-top: 2px;
    width: 65px;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.timelineLogs {
    height: calc(100svh - 129px);
    max-height: calc(100svh - 129px);
    overflow: auto;
    background-color: #fff;
}

    .timelineLogs .tgSlog {
        font-weight: 400;
        font-size: 12px;
        user-select: none;
        margin-top: 10px;
        margin-left: 0px;
    }

        .timelineLogs .tgSlog .slogTgAgo {
            font-weight: 500;
            color: #303F9F;
        }

            .timelineLogs .tgSlog .slogTgAgo i {
                margin-right: 6px;
                font-weight: bold !important;
            }

    .timelineLogs.noti .tgSlog .slogTgAgo,
    .timelineLogs.noti .tgSlog .slogTgNow {
        display: block;
    }

    .timelineLogs.noti .tgSlog .slogTgAgo {
        margin-top: -10px;
    }

    .timelineLogs .tgSlog .slogTgNow {
        font-weight: 400;
        margin-left: 10px;
        color: #666;
        font-size: 11px;
        letter-spacing: 1px;
        margin-right: 10px;
    }

    .timelineLogs.noti .tgSlog .slogTgNow {
        margin-right: -12px;
        margin-top: 10px;
        color: #333
    }

        .timelineLogs.noti .tgSlog .slogTgNow i {
            color: #bdbdbd !important;
        }

    .timelineLogs .msgSlog {
        font-weight: 400;
        font-size: 12px;
        color: #000000;
        display: inline-block;
        line-height: 23px;
    }

    .timelineLogs .e-timeline-item.e-connector {
        padding-bottom: 25px;
    }

    .timelineLogs div.imgUserAvatar img {
        margin-top: 1px;
        margin-bottom: 1px;
        vertical-align: middle !important;
        height: 35px !important;
        width: 35px !important;
        border-radius: 50%;
        margin-top: -40px;
        margin-bottom: 5px;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
        user-select: none;
        pointer-events: none;
    }

    .timelineLogs .divRow1 .username {
        font-size: 13px;
        font-weight: 500;
        color: #D32F2F;
        border-radius: 5px;
        letter-spacing: 1px;
        display: block;
        margin-top: 0px;
        user-select: none;
        pointer-events: none;
    }

    .timelineLogs .divRow1 .fullname {
        font-size: 12px;
        font-weight: 400;
        color: #303F9F;
        display: block;
        margin-top: 5px;
        user-select: none;
        pointer-events: none;
    }

    .timelineLogs .divRow1 .username,
    .timelineLogs .divRow1 .fullname,
    .timelineLogs .divRow1 .department {
        margin-right: -10px;
    }

        .timelineLogs .divRow1 .username i,
        .timelineLogs .divRow1 .fullname i,
        .timelineLogs .divRow1 .department i {
            color: #bdbdbd !important;
            font-size: 11px;
        }

    .timelineLogs .e-opposite-content {
        padding-bottom: 20px;
    }

    .timelineLogs.noti .e-opposite-content {
        padding-bottom: 10px;
    }

    .timelineLogs .divRow1 .department {
        font-size: 10px;
        font-weight: 400;
        color: #388E3C;
        letter-spacing: 1px;
        display: block;
        margin-top: 5px;
        background-color: #f5f5f5 !important;
        padding: 5px 10px !important;
        margin-right: -20px;
        margin-bottom: 20px !important;
        user-select: none;
        pointer-events: none;
    }

    .timelineLogs .e-timeline-items {
        padding-top: 30px !important;
    }

    .timelineLogs .msgSlog {
        margin-top: 15px;
        margin-bottom: 10px;
        padding: 5px 10px;
        border-radius: 5px;
        background-color: #FAFAFA;
        margin-left: -25px;
        padding-left: 25px;
    }

    .timelineLogs .slogUser {
        display: inline-block;
    }

    .timelineLogs .logId {
        display: inline-block;
        color: #7B1FA2;
        font-size: 11px;
        font-weight: 400 !important;
        font-style: italic;
    }

        .timelineLogs .logId i {
            margin-right: 6px;
        }

    .timelineLogs .slogOppositeContent {
        display: inline-block;
        margin-top: -20px;
        margin-left: 5px;
    }

    .timelineLogs .Insert .e-dot {
        background: #4CAF50;
    }

    .timelineLogs .Update .e-dot {
        background: #2196F3;
    }

    .timelineLogs .Delete .e-dot {
        background: #F44336;
    }

    .timelineLogs .View .e-dot {
        background: #26A69A;
    }

    .timelineLogs .Download .e-dot {
        background: #AB47BC;
    }

    .timelineLogs.noti .read .e-dot {
        background: #bdbdbd;
    }

    .timelineLogs.noti .unread .e-dot {
        background: #F57C00;
    }

    .timelineLogs .notiStatus {
        margin-top: 10px;
        margin-right: -12px;
        font-weight: 500;
    }

        .timelineLogs .notiStatus.read {
            color: #9E9E9E;
            font-weight: 400;
            font-size: 11px;
            letter-spacing: 1px;
        }

        .timelineLogs .notiStatus.unread {
            color: #C2185B;
        }



    .timelineLogs p.khongcodulieu {
        font-weight: 400 !important;
        margin-left: 10px;
        font-size: 13px;
        letter-spacing: 1px;
        background-color: #fafafa;
        display: inline-block;
        padding: 5px 15px;
        user-select: none;
        border-radius: 5px;
        color: #9E9E9E;
        font-style: italic;
    }

    .timelineLogs.oneCol .e-opposite-content {
        flex: 1 1 100%;
    }

    .timelineLogs.oneCol .e-content {
        flex: 0 0 200px;
    }

    .timelineLogs.oneCol .e-timeline-item.e-connector::after {
        top: 0;
        bottom: 0;
        left: 220px;
        right: auto;
        content: "";
        position: absolute;
        z-index: 999;
        border-width: var(--connector-size);
        border-style: solid;
    }

    .timelineLogs.oneCol.noti .e-content {
        flex: 0 0 130px;
    }

    .timelineLogs.oneCol.noti .e-timeline-item.e-connector::after {
        left: 150px;
    }

    .timelineLogs .lstBtnNoti .btnGotoMessageNoti,
    .timelineLogs .lstBtnNoti .btnMarkAsViewedNoti {
        font-weight: 500;
        font-size: 11px;
        background-color: #fff;
        border: 0px;
        padding: 0px;
    }

    .timelineLogs .lstBtnNoti .btnGotoMessageNoti {
        color: #5D4037;
    }

        .timelineLogs .lstBtnNoti .btnGotoMessageNoti:hover {
            color: #C2185B;
        }

    .timelineLogs .lstBtnNoti .btnMarkAsViewedNoti {
        color: #303F9F;
        margin-left: 25px;
    }

        .timelineLogs .lstBtnNoti .btnMarkAsViewedNoti:hover {
            color: #C2185B;
        }

    .timelineLogs.noti .contentNotification .userUserNameNoti {
        font-weight: 500;
        font-size: 13px !important;
        color: #2E7D32;
    }

        .timelineLogs.noti .contentNotification .userUserNameNoti:before {
            font-family: "Font Awesome 6 Pro";
            content: '\f007';
            margin-right: 5px;
        }

    .timelineLogs.noti .contentNotification .userFullNameNoti {
        font-weight: 500;
        color: #C62828;
    }

    .timelineLogs.noti .contentNotification .crewRankNoti {
        font-weight: 500;
        color: #7B1FA2;
    }

    .timelineLogs.noti .contentNotification .crewFullNameNoti {
        font-weight: 500;
        color: #7B1FA2;
        margin-left: 5px;
    }

    .timelineLogs.noti .contentNotification .crewCodeNoti {
        font-weight: 500;
        color: #7B1FA2;
        margin-left: 5px;
    }

.txtCommentCrew {
}

    .txtCommentCrew .e-richtexteditor .e-rte-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn,
    .txtCommentCrew .e-richtexteditor .e-rte-toolbar .e-toolbar-pop:not(.e-toolbar-extended) .e-toolbar-item.e-toolbar-popup .e-tbar-btn.e-btn,
    .txtCommentCrew .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-tbar-btn.e-btn {
        min-height: 40px;
        min-width: 35px;
        padding: 0;
    }

.txtTestCode {
}

    .txtTestCode input {
        color: #388E3C !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        letter-spacing: 10px !important;
        text-align: center !important;
        text-transform: uppercase !important;
    }



.e-dialog.frmCodeTestOnline.e-popup-open {
    border: 3px solid #303F9F !important;
    opacity: 1;
}

.e-dialog.frmCodeTestOnline .e-dlg-content {
    background-color: #fff;
}

.e-dialog.frmCodeTestOnline .e-dlg-header-content {
}

.e-dialog.frmCodeTestOnline .e-dlg-header-content {
    padding: 8px 8px;
    padding-bottom: 5px;
}

.e-dialog.frmCodeTestOnline .e-dlg-header,
.e-dialog.frmCodeTestOnline .e-dlg-header i {
    color: #303F9F;
    letter-spacing: 1px;
    line-height: 20px;
    font-size: 14px;
}

.hrPV {
    height: 1px;
    background-color: #d5d5d5;
    margin-bottom: 10px;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px !important;
}

.e-dialog.frmCodeTestOnline.frmResultTestCode.e-popup-open {
}

.e-dlg-container.frmIndex.frmNoFooter.frmCodeTestOnline.frmResultTestCode {
    z-index: 999999999999 !important;
}

.e-dialog.frmResultTestCode .e-dlg-header,
.e-dialog.frmResultTestCode .e-dlg-header i {
    color: #00796B;
    letter-spacing: 1px;
    line-height: 20px;
    font-size: 14px;
}

.e-dialog.frmResultTestCode.e-popup-open {
    border: 3px solid #00796B !important;
    opacity: 1;
}

.e-dialog.frmCodeTestOnline .e-dlg-content .e-input-group:not(.e-success):not(.e-warning):not(.e-error),
.e-dialog.frmCodeTestOnline .e-dlg-content .e-input-group.e-control-wrapper:not(.e-success):not(.e-warning):not(.e-error) {
    padding: 0px !important;
    background-color: #fff;
    height: 35px !important;
    line-height: 20px !important;
    border-radius: 5px !important;
    border: 2px solid #A5D6A7 !important;
}

.e-dialog.frmCodeTestOnline .e-dlg-content .e-input-group.e-input-focus:not(.e-success):not(.e-warning):not(.e-error) .e-input:first-child:focus,
.e-dialog.frmCodeTestOnline .e-dlg-content .e-input-group.e-input-focus.e-rtl:not(.e-success):not(.e-warning):not(.e-error) span:last-child.e-input-group-icon,
.e-dialog.frmCodeTestOnline .e-dlg-content .e-input-group.e-control-wrapper.e-input-focus:not(.e-success):not(.e-warning):not(.e-error) .e-input:first-child:focus,
.e-dialog.frmCodeTestOnline .e-dlg-content .e-input-group.e-control-wrapper.e-input-focus.e-rtl:not(.e-success):not(.e-warning):not(.e-error) span:last-child.e-input-group-icon,
.e-dialog.frmCodeTestOnline .e-dlg-content .e-input-group.e-input-focus .e-clear-icon,
.e-dialog.frmCodeTestOnline .e-dlg-content .e-input-group.e-input-focus.e-control-wrapper .e-clear-icon {
    border-bottom: 0px !important;
}

.loginLogoTest {
    user-select: none !important;
    pointer-events: none !important;
}

    .loginLogoTest img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

.frmCodeTestPV .loginLogoTest {
    user-select: none !important;
    pointer-events: none !important;
}

    .frmCodeTestPV .loginLogoTest img {
        width: 200px;
        height: auto;
        margin-bottom: 10px;
    }

.btnDoExamOnline {
    width: 100%;
    margin-top: 10px;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    background-color: #E91E63 !important;
    color: #fff !important;
    height: 32px !important;
    line-height: 24px !important;
    border-radius: 3px !important;
    border: 0px !important;
    outline: none !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
}

    .btnDoExamOnline i {
        margin-right: 10px !important;
        font-weight: 700 !important;
    }

    .btnDoExamOnline:hover {
        background-color: #C2185B !important;
        color: #fff !important;
    }

.btnBackExamOnline {
    width: 100%;
    margin-top: 5px;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    background-color: #607D8B !important;
    color: #fff !important;
    height: 32px !important;
    line-height: 24px !important;
    border-radius: 3px !important;
    border: 0px !important;
    outline: none !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
}

    .btnBackExamOnline i {
        margin-right: 10px !important;
        font-weight: 700 !important;
    }

    .btnBackExamOnline:hover {
        background-color: #455A64 !important;
        color: #fff !important;
    }

.headerPageTop {
    padding: 5px 5px;
    background-color: #fff !important;
    user-select: none;
    pointer-events: none;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    margin-bottom: 10px;
}

    .headerPageTop .lolgoheaderPageTop {
        text-align: left;
    }

    .headerPageTop .titleheaderPageTop {
        text-align: left;
        padding-left: 20px;
        margin-top: -5px;
        font-weight: 400;
        font-size: 12px;
        letter-spacing: 1px;
        color: #303F9F !important;
    }

        .headerPageTop .titleheaderPageTop div {
            color: #5D4037 !important;
        }

    .headerPageTop .testFullName {
        margin-top: -5px;
    }

        .headerPageTop .testFullName .testName {
            font-weight: 500;
            color: #303F9F;
        }

    .headerPageTop .testSubRow {
        margin-top: -10px;
    }

        .headerPageTop .testSubRow .testSubRank {
            font-weight: 500;
            color: #D32F2F;
        }

        .headerPageTop .testSubRow .testSubCode {
            font-weight: 500;
            color: #388E3C;
        }

    .headerPageTop .lolgoheaderPageTop img {
        height: 30px;
        width: auto;
    }

.divContentQuest {
    height: 460px !important;
    overflow: auto !important;
}

@media (max-width: 700px) {
    .headerPageTop .lolgoheaderPageTop,
    .headerPageTop .titleheaderPageTop {
        text-align: center;
        padding-left: 0px;
    }

    .lblTimeTestNow {
        text-align: center !important;
    }

    .divContentQuest {
        height: unset !important;
        overflow: scroll !important;
    }
}


.lblTimeTestNow {
    margin-top: 12px;
    font-size: 13px;
    color: #303F9F;
    text-align: left;
    width: 100%;
    padding-left: 0px;
    display: block !important;
    font-weight: 400;
    letter-spacing: 1px;
}

    .lblTimeTestNow .timeNowTest {
        font-weight: 700;
        font-size: 13px;
        color: red;
        letter-spacing: 1px;
    }

.testPageNow {
    line-height: 32px;
    color: #fff;
    text-align: center;
    width: 100%;
    display: block !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    background-color: #607D8B;
    height: 32px;
    margin-top: 5px;
    border-radius: 3px !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
}

.btnTestTruocDo {
    width: 100%;
    margin-top: 5px;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    background-color: #388E3C !important;
    color: #E8F5E9 !important;
    height: 32px !important;
    line-height: 24px !important;
    border-radius: 3px !important;
    border: 0px !important;
    outline: none !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
}

    .btnTestTruocDo i {
        margin-right: 10px !important;
        font-weight: 700 !important;
    }

    .btnTestTruocDo:hover {
        background-color: #2E7D32 !important;
        color: #fff !important;
    }

.btnTestTiepTheo {
    width: 100%;
    margin-top: 5px;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    background-color: #388E3C !important;
    color: #E8F5E9 !important;
    height: 32px !important;
    line-height: 24px !important;
    border-radius: 3px !important;
    border: 0px !important;
    outline: none !important;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important;
}

    .btnTestTiepTheo i {
        margin-right: 10px !important;
        font-weight: 700 !important;
    }

btnTestTiepTheo:hover {
    background-color: #2E7D32 !important;
    color: #fff !important;
}

.lblTimeTestNow .doneDivR {
    letter-spacing: 0px !important;
    font-size: 11px;
}

    .lblTimeTestNow .doneDivR.chitiet:hover,
    .lblTimeTestNow .doneDivR.chitiet:hover .slDone,
    .lblTimeTestNow .doneDivR.chitiet:hover i {
        cursor: pointer !important;
        text-decoration: underline !important;
    }

        .lblTimeTestNow .doneDivR.chitiet:hover,
        .lblTimeTestNow .doneDivR.chitiet:hover i {
            color: #303F9F;
        }

    .lblTimeTestNow .doneDivR i {
        margin-right: 3px;
    }

    .lblTimeTestNow .doneDivR:nth-child(1) {
        margin-top: -8px;
        color: #5D4037;
    }

    .lblTimeTestNow .doneDivR .tgDone {
        color: #5D4037;
        padding-left: 2px;
        padding-right: 2px;
        font-weight: 500;
    }

    .lblTimeTestNow .doneDivR:nth-child(2) {
        margin-top: 0px;
        color: #5D4037;
    }

    .lblTimeTestNow .doneDivR .slDone {
        color: #D32F2F;
        font-weight: 500;
        display: inline-block;
        font-size: 13px;
        display: inline-block;
        margin-left: 2px;
        margin-right: 2px;
    }

.footerQuest {
    border-top: 1px solid #E0E0E0;
    padding-top: 2px;
}

.btnTestTruocDo:disabled,
.btnTestTiepTheo:disabled {
    background-color: #F5F5F5 !important;
    box-shadow: none !important;
    color: #9E9E9E !important;
}


.btnTestGuiBai {
    width: 100%;
    margin-top: 5px;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    background-color: #C2185B !important;
    color: #FCE4EC !important;
    height: 32px !important;
    line-height: 24px !important;
    border-radius: 3px !important;
    border: 0px !important;
    outline: none !important;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

    .btnTestGuiBai i {
        margin-right: 10px !important;
        font-weight: 700 !important;
    }

    .btnTestGuiBai:hover {
        background-color: #AD1457 !important;
        color: #fff !important;
        box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    }


.btnTestGuiBai2 {
    width: 100%;
    margin-top: 5px;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    background-color: #C2185B !important;
    color: #FCE4EC !important;
    height: 32px !important;
    line-height: 24px !important;
    border-radius: 3px !important;
    border: 0px !important;
    outline: none !important;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

    .btnTestGuiBai2 i {
        margin-right: 10px !important;
        font-weight: 700 !important;
    }

    .btnTestGuiBai2:hover {
        background-color: #AD1457 !important;
        color: #fff !important;
        box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    }


.questionCode {
    font-weight: 500;
    font-size: 13px;
    color: #C2185B;
    margin-top: 5px;
    padding-left: 5px;
    display: none;
}

    .questionCode i {
        margin-right: 5px;
    }

.questionDetail {
    font-size: 14px;
    font-weight: 400;
    margin-top: 5px;
    padding-top: 5px;
    padding-bottom: 20px;
    margin-bottom: 15px;
    position: relative;
    margin-top: 10px;
    padding: 10px;
    padding-top: 5px;
    padding-left: 5px;
    margin-right: 5px;
    background-color: #fff;
    user-select: none;
    pointer-events: none;
}

    .questionDetail .iconQuestion {
        display: none;
        position: absolute;
        top: -12px;
        left: 5px;
        color: #9C27B0;
        font-size: 16px;
        background-color: #fff;
        padding-right: 5px;
        padding-left: 5px;
        font-weight: 400 !important;
    }

.questionAnswer {
    font-size: 13px;
    font-weight: 400;
    margin-top: 10px;
    padding: 10px;
    padding-top: 15px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-right: 5px;
    border: 1px solid #bdbdbd;
    border-radius: 5px;
    position: relative;
}

    .questionAnswer img {
        user-select: none;
        pointer-events: none;
    }

    .questionAnswer:hover {
        border-color: #388E3C;
        cursor: pointer;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }



    .questionAnswer.dachon {
        border: 2px solid #FFA000;
        box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }

    .questionAnswer .questionAbc {
        font-weight: 500;
        position: absolute;
        top: -10px;
        left: 10px;
        background-color: #9E9E9E;
        font-size: 11px;
        color: #fff !important;
        height: 18px;
        width: 18px;
        text-align: center;
        border-radius: 50%;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    }

    .questionAnswer.dachon .questionAbc {
        background-color: #FFA000;
        color: #fff !important;
    }

.btnQuestionCount {
    width: 100%;
    font-size: 11px !important;
    color: #C2185B;
}

    .btnQuestionCount:hover {
        color: #C62828;
        text-decoration: underline;
    }


.dalamxong .questionAnswer {
    box-shadow: none !important;
}

    .dalamxong .questionAnswer:hover {
        box-shadow: none !important;
        cursor: default !important;
        border: 1px solid #bdbdbd;
    }



.dalamxong.chondung .questionAnswer.dachon {
    border: 2px solid #388E3C;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
}

    .dalamxong.chondung .questionAnswer.dachon .questionAbc {
        background-color: #388E3C;
    }

.dalamxong.chonsai .questionAnswer.dachon {
    border: 2px solid #D32F2F;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
}

    .dalamxong.chonsai .questionAnswer.dachon .questionAbc {
        background-color: #D32F2F;
    }

.tblResultOnline {
    width: 100%; /* Độ rộng 100% */
    border-collapse: collapse; /* Gộp các border của các ô */
}
    /* Thiết lập cho header của bảng */
    .tblResultOnline th {
        background-color: #E8EAF6; /* Màu nền của header */
        color: #303F9F !important; /* Màu chữ */
        padding: 5px; /* Khoảng cách giữa nội dung và viền */
        border: 1px solid #CFD8DC; /* Viền của header */
        text-align: left; /* Căn lề trái */
        font-weight: 500 !important;
        font-size: 13px;
        text-align: center;
        text-transform: uppercase;
    }

    /* Thiết lập cho các ô dữ liệu */
    .tblResultOnline td {
        padding: 5px;
        border: 1px solid #ddd;
        font-size: 13px;
        text-align: center;
    }

        .tblResultOnline th:nth-child(1),
        .tblResultOnline td:nth-child(1) {
            text-align: left;
            color: #333;
            font-weight: 400;
        }

        .tblResultOnline td:nth-child(2),
        .tblResultOnline td:nth-child(3),
        .tblResultOnline td:nth-child(4),
        .tblResultOnline td:nth-child(5) {
            width: 90px;
            font-weight: 400;
            letter-spacing: 1px;
        }
    /* Hiệu ứng hover cho các hàng */
    .tblResultOnline tr:hover {
    }

    .tblResultOnline td:nth-child(1) {
        color: #333;
        font-weight: 500;
    }

    .tblResultOnline td:nth-child(3) {
        color: #2E7D32;
        font-weight: 500;
    }

    .tblResultOnline td:nth-child(4) {
        color: #E64A19;
    }

    .tblResultOnline td:nth-child(5) {
        color: #9E9E9E;
    }

.imgAvatarCrewTest img {
    width: 40px;
    height: 40px;
    float: left;
    margin-right: 10px;
}

.divCrewCommentThread .e-rating-container {
    opacity: 0.5;
}

    .divCrewCommentThread .e-rating-container:hover {
        opacity: 1;
    }


.spanClickOut {
    cursor: pointer;
    display: inline-block;
    margin-left: 5px;
    color: #C2185B;
    font-weight: 500;
}

    .spanClickOut:hover {
        text-decoration: underline;
    }

.colTabDocName {
    color: #000;
    font-weight: 400;
    font-style:italic;
    display: block;
    max-width: 230px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
    font-size:11px;
}

.colTabDocCode {
    color: #3F51B5;
    font-size: 11px;
    border-radius: 3px;
    display: block;
    font-weight: 700;
}

.divbasicInfo .e-upload.e-control-wrapper.e-control-container {
    border: 0px !important;
}

.btnSocialList {
    cursor: pointer;
    background-color: #fafafa;
    width: 55px;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    border-radius: 3px;
    line-height: 23px;
    margin-left: 5px;
    color: #607D8B;
}

    .btnSocialList:hover {
        background-color: #f5f5f5;
        color: #C2185B;
    }

    .btnSocialList.disabled {
        color: #607D8B !important;
        cursor: not-allowed;
    }

    .btnSocialList i {
        margin-left: 3px;
    }

.btnAddNewContractSeaServices {
    position: absolute;
    left: 390px;
    top: 1px;
    height: 26px;
    line-height: 24px;
    z-index: 2;
    font-weight: 500;
    font-size: 12px;
    color: #2E7D32 !important;
    box-shadow: none !important;
    outline: none !important;
    background-color: #fafafafa !important;
    border: 0px !important;
    border-radius: 3px !important;
}

    .btnAddNewContractSeaServices:hover {
        color: #B71C1C !important;
    }

.divContractSeaServices {
    margin-left: -5px;
    margin-right: -5px;
    margin-top: -10px;
    position: relative;
}


.spanFileNameCotractSeaService {
}

    .spanFileNameCotractSeaService:hover {
        cursor: pointer;
        text-decoration: underline;
        color: #303F9F;
    }

.btnAddNewContractSeaServices:disabled {
    color: #bdbdbd !important;
}

h4.titledstv {
    font-size: 14px;
    margin: 0px;
    font-weight: 500;
    color: #C2185B;
    margin-bottom: -30px;
}

table.ai_dstv {
    border-color: #388E3C !important;
    border: 1px solid #388E3C !important;
    border-collapse: collapse !important;
    text-align: center;
}

    table.ai_dstv td:nth-child(1) {
        text-align: left !important;
    }

.outputhtml .mota {
    margin-bottom: 10px;
    margin-top: 10px;
    display: block;
    line-height: 18px;
    font-style: italic;
    background-color: #FFF3E0;
    padding: 5px 10px;
    color: #F57C00;
    border-radius: 5px;
    user-select: none;
}

.gdvloading {
    position: absolute;
    top: 50px;
    left: 10px;
    color: #C2185B !important;
    padding: 10px;
    background-color: #C8E6C9;
    z-index: 99999999;
    display: none;
}

/* ================== Modern Custom Dialog (dlgX) ================== */
.dlgX {
    position: fixed;
    inset: 0;
    z-index: 9999999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: dlgXFadeIn .2s ease;
}

.dlgX--closing {
    animation: dlgXFadeOut .18s ease forwards;
}

@keyframes dlgXFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes dlgXFadeOut {
    to { opacity: 0; }
}

.dlgX__panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(15, 23, 42, .35);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    animation: dlgXScaleIn .25s cubic-bezier(.4, 0, .2, 1);
    transform-origin: center;
}

.dlgX--closing .dlgX__panel {
    animation: dlgXScaleOut .18s ease forwards;
}

@keyframes dlgXScaleIn {
    from { transform: scale(.92) translateY(8px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes dlgXScaleOut {
    to { transform: scale(.95); opacity: 0; }
}

.dlgX__header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 5px 15px;
    color: #fff;
}
.dlgHistoryModern,
.dlgExportModern {
    z-index: 9999999999 !important;
}
.dlgHistoryModern .dlgX__header {
    /*background: linear-gradient(135deg, #388E3C 0%, #4CAF50 50%, #4CAF50 100%);*/
    background-color: #1976D2;
}

.dlgExportModern .dlgX__header {
    /*background: linear-gradient(135deg, #0f766e 0%, #0e7490 50%, #1d4ed8 100%);*/
    background-color: #1976D2;
}
.dlgHistoryModern .dlgX__footer {
    background-color: #f5f5f5;
    padding-top:2px !important;
    padding-bottom:2px !important;
    height:40px;
}
.dlgExportModern .dlgX__footer {
    background-color: #f5f5f5;
}

.dlgX__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    color: #E8EAF6;
}

.dlgX__title i {
    font-size: 16px;
    opacity: .9;
}

.dlgX__title span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.dlgX__close {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dlgX__close:hover {
    background: rgba(255, 255, 255, .3);
    transform: rotate(90deg);
}

.dlgX__body {
    flex: 1 1 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
}

/* ================== History Modern ================== */
.historyModern {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.historyModern__filterbar,
.exportModern__filterbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    position: relative;
    z-index: 100;
    overflow: visible;
}

.historyModern__search,
.exportModern__search {
    position: relative;
    flex: 0 0 320px;
}

    .historyModern__search > i,
    .exportModern__search > i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: #E64A19;
        font-size: 13px;
        pointer-events: none;
    }
.exportModern .egrpDrop__toggle > i:first-child {
    color: #E64A19 !important;
}
    .historyModern__search input,
    .exportModern__search input {
        width: 100%;
        height: 36px;
        padding: 0 32px 0 34px;
        border-radius: 999px;
        border: 1px solid #4CAF50;
        background: #fff;
        outline: none;
        font-size: 13px;
        transition: all .2s ease;
        box-sizing: border-box;
    }

.historyModern__search input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .15);
}

.exportModern__search input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .15);
}

.historyModern__clear,
.exportModern__clear {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 0;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.historyModern__clear:hover,
.exportModern__clear:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.historyModern__chips,
.exportModern__chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.chipAct,
.chipGrp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #303F9F;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all .18s ease;
    user-select: none;
}

.chipAct:hover,
.chipGrp:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}

.chipAct i,
.chipGrp i {
    font-size: 11px;
}

.chipAct.is-active {
    color: #fff;
    border-color: transparent;
}

.chipAct--view.is-active { background: linear-gradient(135deg, #14b8a6, #0d9488); box-shadow: 0 6px 16px rgba(20, 184, 166, .35); }
.chipAct--insert.is-active { background: linear-gradient(135deg, #22c55e, #16a34a); box-shadow: 0 6px 16px rgba(34, 197, 94, .35); }
.chipAct--update.is-active { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 6px 16px rgba(59, 130, 246, .35); }
.chipAct--delete.is-active { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 6px 16px rgba(239, 68, 68, .35); }
.chipAct--download.is-active { background: linear-gradient(135deg, #a855f7, #9333ea); box-shadow: 0 6px 16px rgba(168, 85, 247, .35); }

.chipGrp.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    box-shadow: 0 6px 16px rgba(20, 184, 166, .35);
}

.historyModern__reload,
.exportModern__reload {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0px solid #e2e8f0;
    background: #fff;
    color: #388E3C;
    cursor: pointer;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .historyModern__reload:hover {
        color: #D32F2F;
        border-color: #c7d2fe;
        transform: rotate(180deg);
    }

.exportModern__reload:hover {
    color: #0d9488;
    border-color: #99f6e4;
    transform: rotate(180deg);
}

.historyModern__scroll,
.exportModern__scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px 16px 8px 16px;
    scroll-behavior: smooth;
    min-height: 0;
    position: relative;
    z-index: 1;
    background-color: #FAFAFA;
}

.historyModern__scroll::-webkit-scrollbar,
.exportModern__scroll::-webkit-scrollbar {
    width: 8px;
}

.historyModern__scroll::-webkit-scrollbar-thumb,
.exportModern__scroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

.historyModern__scroll::-webkit-scrollbar-thumb:hover,
.exportModern__scroll::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ===== Timeline ===== */
.tlModern {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.tlModern::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 18px;
    width: 2px;
    background: linear-gradient(180deg, transparent, #e2e8f0 8%, #e2e8f0 92%, transparent);
}

.tlModern__item {
    position: relative;
    padding: 0 0 18px 56px;
    opacity: 0;
    transform: translateY(8px);
    animation: tlFadeIn .35s ease forwards;
}

@keyframes tlFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.tlModern__rail {
    position: absolute;
    left: 0;
    top: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tlModern__dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .06);
    transition: transform .2s ease;
    z-index: 1;
}

.tlModern__item:hover .tlModern__dot {
    transform: scale(1.1);
}

.tlModern__item--view .tlModern__dot { color: #0d9488; border-color: #99f6e4; background: #f0fdfa; }
.tlModern__item--insert .tlModern__dot { color: #16a34a; border-color: #bbf7d0; background: #f0fdf4; }
.tlModern__item--update .tlModern__dot { color: #2563eb; border-color: #bfdbfe; background: #eff6ff; }
.tlModern__item--delete .tlModern__dot { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.tlModern__item--download .tlModern__dot { color: #9333ea; border-color: #e9d5ff; background: #faf5ff; }

.tlModern__card {
    position: relative;
    background: #fff;
    border: 1px solid #4CAF50;
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    transition: all .2s ease;
    user-select:none;
    pointer-events:none;
}

    .tlModern__card::before {
        content: "";
        position: absolute;
        left: -8px;
        top: 14px;
        width: 14px;
        height: 14px;
        background: #fff;
        border-left: 1px solid #4CAF50;
        border-bottom: 1px solid #4CAF50;
        transform: rotate(45deg);
    }

.tlModern__item:hover .tlModern__card {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    border-color: #388E3C;
}

.tlModern__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.tlModern__user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tlModern__avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .12);
}

.tlModern__userInfo {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.tlModern__username {
    font-size: 13px;
    font-weight: 600;
    color: #b91c1c;
    letter-spacing: .3px;
}

.tlModern__username i {
    color: #cbd5e1;
    margin-right: 4px;
}

.tlModern__fullname {
    font-size: 12px;
    font-weight: 500;
    color: #334155;
}

.tlModern__dept {
    font-size: 10.5px;
    color: #16a34a;
    background: #f0fdf4;
    border-radius: 6px;
    padding: 2px 8px;
    margin-top: 0px;
    align-self: flex-start;
}

.tlModern__dept i {
    color: #86efac;
    margin-right: 3px;
}

.tlModern__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    text-align: right;
}

.tlModern__action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 400;
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: .5px;
}

.tlModern__action--view { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.tlModern__action--insert { background: linear-gradient(135deg, #22c55e, #16a34a); }
.tlModern__action--update { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.tlModern__action--delete { background: linear-gradient(135deg, #ef4444, #dc2626); }
.tlModern__action--download { background: linear-gradient(135deg, #a855f7, #9333ea); }

.tlModern__ago {
    font-size: 11px;
    color: #4338ca;
    font-weight: 500;
}

.tlModern__ago i {
    margin-right: 4px;
    color: #a5b4fc;
}

.tlModern__time {
    font-size: 10.5px;
    color: #94a3b8;
    letter-spacing: .5px;
    margin-right:10px;
}

.tlModern__msg {
    margin-top: 5px;
    background: #f8fafc;
    border-radius: 8px;
    padding:10px;
    font-size: 12px;
    color: #000;
    line-height: 1.55;
    word-break: break-word;
}

.historyModern__empty,
.exportModern__empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.historyModern__empty i,
.exportModern__empty i {
    font-size: 48px;
    opacity: .5;
}

.historyModern__empty p,
.exportModern__empty p {
    margin: 12px 0 0;
    font-size: 13px;
    font-style: italic;
}

.historyModern__paging {
    flex: 0 0 auto;
    border-top: 1px solid #e5e7eb;
    background: #fff;
    padding: 4px 8px;
}

/* ================== Export Modern ================== */
.exportModern {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.exportModern__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
}

.tplCard {
    position: relative;
    display: flex;
    gap: 12px;
    padding: 8px 10px;
    background: #fff;
    border: 2px solid #EEEEEE;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    cursor: pointer;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    animation: tplFade .35s ease forwards;
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}

@keyframes tplFade {
    to { opacity: 1; transform: translateY(0); }
}

.tplCard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity .25s ease;
}

.tplCard--xls::before { background: linear-gradient(90deg, #22c55e, #16a34a); }
.tplCard--doc::before { background: linear-gradient(90deg, #3b82f6, #2563eb); }

.tplCard:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, .1);
    border-color: #c7d2fe;
}

.tplCard:hover::before {
    opacity: 1;
}

.tplCard__icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.tplCard--xls .tplCard__icon {
    /*background: linear-gradient(135deg, #dcfce7, #bbf7d0);*/
    background-color: #E8F5E9;
    color: #4CAF50;
}

.tplCard--doc .tplCard__icon {
    /*background: linear-gradient(135deg, #dbeafe, #bfdbfe);*/
    background-color: #E3F2FD;
    color: #03A9F4;
}

.tplCard__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tplCard__name {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom:0px;
}

.tplCard__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.tplCard__group {
    font-size: 10px;
    color: #C2185B;
    background: #f1f5f9;
    border-radius: 6px;
    padding: 2px 8px;
    margin-left: -5px;
}

.tplCard__group i {
    color: #94a3b8;
    margin-right: 3px;
}

.tplCard__type {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #fff;
    border-radius: 6px;
    padding: 2px 8px;
    display:none;
}
.tplCard__author {
    color: #5D4037;
}
.tplCard__date {
    color: #9E9E9E;
}
.tplCard__type--xls {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}
.tplCard__type--doc { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.tplCard__remark {
    font-size: 10px;
    color: #9E9E9E;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tplCard__footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 10.5px;
    color: #B71C1C;
    padding-top: 4px;
    border-top: 1px dashed #eef2f7;
    display:none;
  
}

.tplCard__footer i {
    margin-right: 3px;
}

.tplCard__actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all .25s ease;
}

.tplCard:hover .tplCard__actions {
    opacity: 1;
    transform: translateY(0);
}

.tplCard__btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .12);
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tplCard__btn:hover {
    transform: scale(1.1);
}

.tplCard__btn--view:hover {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #fff;
}

.tplCard__btn--down:hover {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
}

/* ================== Dialog footer + Pager X ================== */
.dlgX__panel--flex {
    height: 88vh;
    max-height: 920px;
}

.dlgX__body--flex {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.dlgX__footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    border-top: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(8px);
}

.pagerX {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagerX__btn,
.pagerX__page {
    height: 32px;
    min-width: 32px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pagerX__btn:hover:not(:disabled),
.pagerX__page:hover {
    border-color: #6366f1;
    color: #4338ca;
    background: #eef2ff;
}

.pagerX__btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.pagerX__pages {
    display: inline-flex;
    gap: 4px;
}

.pagerX__page.is-active {
    background: linear-gradient(135deg, #039BE5, #4FC3F7);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 14px rgba(79, 70, 229, .35);
}

.pagerX__dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    color: #94a3b8;
    font-size: 14px;
}

.pagerX__info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 12px;
    margin-left: 8px;
}

.pagerX__info strong {
    color: #C2185B;
    font-weight: 600;
}

/* ================== Export Group Custom Dropdown ================== */
.egrpDrop {
    position: relative;
    flex: 1 1 200px;
    min-width: 180px;
    max-width: 300px;
}

.egrpDrop__toggle {
    width: 100%;
    height: 36px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid #4CAF50;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
}

.egrpDrop__toggle > i:first-child {
    color: #94a3b8;
    font-size: 13px;
    flex-shrink: 0;
}

.egrpDrop__toggle:hover {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .12);
    color: #0f172a;
}

.egrpDrop.is-open .egrpDrop__toggle {
    border-color: #14b8a6;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .15);
    color: #0f172a;
}

.egrpDrop__label {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.egrpDrop__all {
    color: #94a3b8;
}

.egrpDrop__sel {
    color: #0d9488;
    font-weight: 600;
}

.egrpDrop__caret {
    color: #94a3b8;
    font-size: 11px;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.egrpDrop.is-open .egrpDrop__caret {
    transform: rotate(180deg);
}

.egrpDrop__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .15), 0 4px 12px rgba(15, 23, 42, .08);
    overflow: hidden;
    z-index: 9999;
    animation: egrpPanelIn .15s cubic-bezier(.4, 0, .2, 1);
    max-height: 260px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

@keyframes egrpPanelIn {
    from { opacity: 0; transform: translateY(-6px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.egrpDrop__item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 14px;
    border: 0;
    background: transparent;
    color: #374151;
    font-size: 13px;
    cursor: pointer;
    transition: background .12s ease;
    text-align: left;
}

.egrpDrop__item > i:first-child {
    color: #94a3b8;
    font-size: 12px;
    flex-shrink: 0;
}

.egrpDrop__item > span {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.egrpDrop__item:hover {
    background: #f0fdfa;
    color: #0d9488;
}

.egrpDrop__item:hover > i:first-child {
    color: #0d9488;
}

.egrpDrop__item.is-active {
    background: linear-gradient(90deg, #f0fdfa, #ecfdf5);
    color: #0d9488;
    font-weight: 600;
}

.egrpDrop__item.is-active > i:first-child {
    color: #0d9488;
}

.egrpDrop__chk {
    color: #0d9488;
    font-size: 12px;
    margin-left: auto;
    flex-shrink: 0;
}

/* Remove old group select styles */
.exportModern__group,
.exportModern__caret {
    display: none;
}

/* tplCard clickable */
.tplCard {
    cursor: pointer;
}

.tplCard:hover {
    border-color: #14b8a6;
}

.frmCrew .waper_grid td:first-child,
.frmCrew .waper_grid th:first-child {
    padding-left: 10px !important;
}

/* ===== Crew Card Tooltip (JS-rendered, cct- prefix) =============== */
#gdvAllCrews .colCode,
#gdvAllSeaServices .colCode,
#gdvAllDocs .colCode {
    user-select: none;
}
@keyframes cctIn {
    from { opacity: 0; transform: scale(0.97) translateX(-4px); }
    to   { opacity: 1; transform: scale(1)    translateX(0);    }
}

.crew-card-tooltip-portal {
    --cct-arrow-top: 60px;
    --cct-status-color: #3949ab;
}

.cct-inner {
    width: 480px;
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 14px;
    /* Border màu status */
    border: 2px solid var(--cct-status-color);
    /* Shadow phẳng offset màu status */
    /*box-shadow:
        0 0 0 1px rgba(255,255,255,0.9),
        4px 4px 0 0 color-mix(in srgb, var(--cct-status-color) 30%, transparent),
        8px 8px 0 0 color-mix(in srgb, var(--cct-status-color) 12%, transparent),
        0 24px 48px rgba(20,30,90,0.28),
        0 6px 16px color-mix(in srgb, var(--cct-status-color) 22%, transparent);*/
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    overflow: visible;
    position: relative;
}

/* ── Mũi tên comic callout ── */
/* Mũi tên bên TRÁI */
.cct-inner.cct-arrow-left::before,
.cct-inner.cct-arrow-left::after {
    content: '';
    position: absolute;
    top: var(--cct-arrow-top);
    transform: translateY(-50%);
    width: 0; height: 0;
}

/* Viền mũi tên (màu status) */
.cct-inner.cct-arrow-left::before {
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 15px solid var(--cct-status-color);
    left: -14px;
    z-index: 1;
}

/* Fill mũi tên (cũng màu status, nhỏ hơn 1px để tạo viền) */
.cct-inner.cct-arrow-left::after {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 12px solid var(--cct-status-color);
    left: -14px;
    z-index: 2;
}

/* Mũi tên bên PHẢI */
.cct-inner.cct-arrow-right::before,
.cct-inner.cct-arrow-right::after {
    content: '';
    position: absolute;
    top: var(--cct-arrow-top);
    transform: translateY(-50%);
    width: 0; height: 0;
}

.cct-inner.cct-arrow-right::before {
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 15px solid var(--cct-status-color);
    right: -17px;
    z-index: 1;
}

.cct-inner.cct-arrow-right::after {
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 12px solid var(--cct-status-color);
    right: -14px;
    z-index: 2;
}

/* ── Left panel ── */
.cct-left {
    position: relative;
    width: 200px;
    min-width: 170px;
    height: 267px;
    flex-shrink: 0;
    overflow: visible;
    background: color-mix(in srgb, var(--cct-status-color) 14%, #f2f4fb);
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px 42px 14px; /* bottom lớn hơn để nhường chỗ status chip */
    /* clip theo border-radius mà không chặn hover transform */
    clip-path: inset(0 0 0 0 round 12px 0 0 12px);
}

.cct-accent {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    z-index: 8;
    pointer-events: none;
}

.cct-skeleton {
    position: absolute;
    inset: 14px 10px 42px 14px;
    z-index: 6;
    background: #e0e3f3;
    border-radius: 10px;
}

/* Wrapper để tạo khung + hiệu ứng */
.cct-avatar-wrap {
    position: relative;
    width: 150px;
    height: auto;
    border-radius: 10px;
    z-index: 3;
    /* Khung nổi bật: border màu status + ring trắng bên trong */
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #fff, 0 8px 24px rgba(20,30,90,0.28), 0 2px 8px rgba(20,30,90,0.14);
    overflow: hidden;
    transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease;
    cursor: default;
}

.cct-avatar-wrap:hover {
    transform: scale(1.06) translateY(-4px);
    /*box-shadow:
        0 0 0 3px #fff,
        0 0 0 5px var(--cct-status-color),
        0 0 18px 4px color-mix(in srgb, var(--cct-status-color) 55%, transparent),
        0 16px 36px rgba(20,30,90,0.32);*/
}

/* Shine overlay khi hover */
.cct-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.28) 0%,
        rgba(255,255,255,0) 50%,
        rgba(255,255,255,0) 100%
    );
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
    z-index: 4;
    border-radius: 10px;
}

.cct-avatar-wrap:hover::after {
    opacity: 1;
}

.cct-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    z-index: 1;
    border-radius: 10px;
}

.cct-avatar.loaded {
    opacity: 1;
}

.cct-overlay {
    display: none; /* không cần overlay tối nữa vì avatar có border-radius riêng */
}

.cct-status-chip {
    position: absolute;
    bottom: 10px;
    left: 14px; right: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
}

.cct-status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.7);
}

.cct-status-text {
    font-size: 10px;
    font-weight: 700;
    color: #2d3460;
    text-shadow: none;
    background: rgba(255,255,255,0.82);
    padding: 1px 6px;
    border-radius: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    backdrop-filter: blur(4px);
}

/* ── Right panel ── */
.cct-right {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    height: 267px;
    background: #fff;
    border-radius: 0 12px 12px 0; /* clip góc phải */
    overflow: hidden;
}

.cct-right-top {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 14px 8px 14px;
    overflow: hidden;
}

.cct-fullname {
    font-size: 13px;
    font-weight: 700;
    color: #303F9F;
    line-height: 1.3;
    letter-spacing: 1px;
    word-break: break-word;
    margin-bottom: 10px;
}

.cct-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 6px;
}

/* ── ID Pills: nằm ngoài card, bên dưới ── */
.crew-card-tooltip-portal .cct-id-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 8px;
    padding: 0 4px;
    position: relative;
    z-index: 10;
}

.cct-id-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-family: 'Courier New', Courier, monospace;
    white-space: nowrap;
    cursor: default;
    position: relative;
    transition: transform 0.18s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.18s ease;
}

.cct-id-chip:hover {
    transform: translateY(-2px) scale(1.06);
}

.cct-id-chip i {
    font-size: 11px;
    flex-shrink: 0;
}

.cct-id-label {
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    opacity: 0.75;
    margin-right: 1px;
}

/* Crew Code — xanh dương sáng */
.cct-id-crew {
    background: #ffffff;
    color: #1a237e;
    border: 2px solid #5c6bc0;
    box-shadow:
        0 0 0 3px rgba(92,107,192,0.15),
        0 4px 14px rgba(92,107,192,0.35),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.cct-id-crew:hover {
    box-shadow:
        0 0 0 3px rgba(92,107,192,0.3),
        0 6px 20px rgba(92,107,192,0.5),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ESS ID — xanh teal sáng */
.cct-id-ess {
    background: #ffffff;
    color: #004d40;
    border: 2px solid #26a69a;
    box-shadow:
        0 0 0 3px rgba(38,166,154,0.15),
        0 4px 14px rgba(38,166,154,0.35),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.cct-id-ess:hover {
    box-shadow:
        0 0 0 3px rgba(38,166,154,0.3),
        0 6px 20px rgba(38,166,154,0.5),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

.cct-flag-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.cct-flag-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border: 0px solid transparent;
}

.cct-flag-badge i { font-size: 9px; }

.cct-flag-takecare {
    background: #fff8e1;
    color: #e65100;
    border-color: #ffcc80;
    border:0px;
}

.cct-flag-doc {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #a5d6a7;
    border: 0px;
}

.cct-flag-ess {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #90caf9;
}

.cct-rank-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    background: #E8F5E9;
    color: #388E3C;
    border: 0px solid #E53935;
    text-transform: uppercase;
}

.cct-status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 10px;
    letter-spacing: 0.3px;
    border: 0px solid transparent !important;
    opacity: 0.9;
}

.cct-section-label {
    font-size: 10px;
    font-weight: 500;
    color: #7B1FA2;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 5px;
    border-top: 1px solid #ecedf8;
    padding-top:5px;
}

.cct-info-rows { display: flex; flex-direction: column; }

.cct-info-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 3px;

    border-bottom: 1px solid #ecedf8;
}

.cct-info-row:last-child { border-bottom: none; }
.cct-info-row:hover { background: #E8F5E9; border-radius: 6px; }

.cct-info-icon {
    width: 22px; height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #eef0ff;
    flex-shrink: 0;
}

.cct-info-icon i { font-size: 10px; color: #3949ab; }

.cct-info-label {
    color: #9fa8da;
    font-size: 9px;
    font-weight: 800;
    min-width: 28px;
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.cct-info-val {
    color: #111430;
    font-weight: 500;
    font-size: 12px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Action buttons ── */
.cct-actions {
    display: flex;
    border-top: 2px solid #eaecf8;
    background: linear-gradient(to bottom, #F1F8E9, #E8F5E9);
    flex-shrink: 0;
}

.cct-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    color: #388E3C;
    position: relative;
    overflow: hidden;
}

    .cct-action-btn:hover {
        color: #C2185B;
        transform: translateY(-1px);
    }

.cct-action-btn:active { transform: scale(0.96); }
.cct-action-btn:last-child { border-radius: 0 0 12px 0; }
.cct-action-btn + .cct-action-btn { border-left: 1.5px solid #dde0f5; }

.cct-action-btn i {
    font-size: 13px;
    display: block;
    margin-bottom: 2px;
    font-weight:700 !important;
    transition: transform 0.15s cubic-bezier(0.22,1,0.36,1);
}

.cct-action-btn:hover i { transform: scale(1.2) translateY(-2px); }


/* ── Checkbox "Đăng kèm remark thuyền viên" trong DlgTaskDetail ── */
.tkd-crew-remark-check {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    margin: 8px 0 4px;
    background: #f0f9ff;
    border: 1px dashed #7dd3fc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #0369a1;
    user-select: none;
    transition: background .15s, border-color .15s;
    margin-top:0px;
}
.tkd-crew-remark-check:hover {
    background: #e0f2fe;
    border-color: #38bdf8;
}
.tkd-crew-remark-check input[type=checkbox] {
    width: 15px;
    height: 15px;
    accent-color: #0ea5e9;
    cursor: pointer;
    flex-shrink: 0;
}
.tkd-crew-remark-check i {
    color: #0ea5e9;
    font-size: 13px;
}


.colStackedDocName{
    font-size:11px !important;
}