.modalPurchaseDetail .content-detail.df {
    display: flex;
    gap: 10px;
}

.modalPurchaseDetail .div-content-top.detail .content-detail-left {
    flex: 2 1 0;
    min-width: 0;
    margin-bottom: 5px;
}

.modalPurchaseDetail .div-content-top.detail .content-detail-left .panel-cost-option {
    position: relative;
    height: calc(100vh - 500px);
    overflow: auto;
    background: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px 0 rgba(10, 102, 194, 0.03);
    padding: 10px 5px 10px 10px;
    margin-top: 0;
    border: 1px solid #ccc;
    border-top: none;
    padding-top: 0px;
}

.modalPurchaseDetail .div-content-top .content-detail-left .panel-task {
    border-radius: 4px 4px 0 0;
    box-shadow: 0 2px 8px 0 rgba(10, 102, 194, 0.06);
    padding: 5px 5px 3px 5px;
    margin-bottom: 0;
    font-weight: 500;
    border: 1px solid #ccc;
    border-bottom: none;
}

.modalPurchaseDetail .div-content-top .content-detail-left .panel-task .content-title {
    font-weight: 600;
    width: 125px;
}

.modalPurchaseDetail .div-content-top .content-detail-left .panel-task .content-description textarea {
    width: 100%;
    min-height: 105px;
    border: 1px solid #ccc;
    color: #292A2E;
}

.modalPurchaseDetail .div-content-top .content-detail-left .panel-task .div-content {
    display: flex;
    margin-bottom: 5px;
}

.modalPurchaseDetail .div-content-top .content-detail-left .panel-task .input-requestor {
    border-color: rgba(17, 17, 17, 0.2);
    width: 100%;
}

.modalPurchaseDetail .div-content-top .content-detail-left .panel-task .group-name {
    display: flex;
    margin-bottom: 5px;
}

.modalPurchaseDetail .div-content-top .content-detail-left .panel-cost-option {
    flex: 2 1 0;
    min-width: 0;
    position: relative;
    /* border: 1px solid #ccc;
    padding: 10px; */
    height: calc(100vh - 270px);
    overflow: auto;
}

.modalPurchaseDetail .div-content-top .content-detail-left .panel-cost-option .fo-detail {
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.modalPurchaseDetail .content-detail-left .item-detail-left {
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

.modalPurchaseDetail .content-detail-left .item-detail-left .item-detail-left-header {
    background: #eeeeee;
    padding: 5px 5px 5px 10px;
}

.modalPurchaseDetail .content-detail-left .item-detail-left .item-detail-left-header .item-detail-left-header-left {
    vertical-align: sub;
    width: calc(100% - 50px);
}

.modalPurchaseDetail .content-detail-left .item-detail-left .item-detail-left-header .item-detail-left-header-left input {
    width: 100%;
    border-color: rgba(17, 17, 17, 0.2);
}

.modalPurchaseDetail .content-detail-left .item-detail-left .item-detail-left-header .item-detail-left-header-left .last-updated-info {
    font-size: 11px;
}

.modalPurchaseDetail .content-detail-left .item-detail-left .item-detail-left-header .item-detail-left-header-right {
    margin-left: auto;
}

.modalPurchaseDetail .item-detail-left .item-detail-left-header .item-detail-left-header-right .btn-expand-outline {
    width: 16px;
    height: 16px;
    border: 1px solid #bfc9d1;
    background: #fff;
    color: #0a66c2;
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin-top: 3px;
}

.modalPurchaseDetail .item-detail-left .item-detail-left-header .item-detail-left-header-right .btn-expand-outline:hover {
    border-color: #0a66c2;
    background: #f0f8ff;
}

.modalPurchaseDetail .content-detail-left .item-detail-left .item-detail-left-content {
    padding: 10px 15px;
}

/* .modalPurchaseDetail .content-detail-left input:hover,
.modalPurchaseDetail .content-detail-left .vsb-main button:hover,
.modalPurchaseDetail .content-detail-left textarea:hover {
    background-image: linear-gradient(90deg, #e6f2ff 0%, #f0f8ff 100%);
    background-size: 200% 100%;
    background-position: 0 0;
    background-color: #f0f8ff !important;
    box-shadow: 0 4px 16px 0 rgba(10, 102, 194, 0.08);
} */

.modalPurchaseDetail .content-detail-right {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.modalPurchaseDetail .content-detail-right .content-detail-right-header {
    background: #e9eaeb;
    padding: 5px 5px 5px 10px;
    border-radius: 4px 4px 0 0;
}

.modalPurchaseDetail .content-detail-right.detail {
    margin-bottom: 5px;
}

.modalPurchaseDetail .content-detail-right .content-detail-right-detail.detail {
    flex: 1 1 0;
    min-width: 0;
    height: calc(100vh - 483px);
    overflow: auto;
}

@media (max-width: 1920px) {
    .modalPurchaseDetail .content-detail-right .content-detail-right-detail.detail {
        height: calc(100vh - 436px);
    }
}

.modalPurchaseDetail .content-detail-right .content-detail-right-detail {
    height: calc(100vh - 270px);
    overflow: auto;
    width: calc(100vw / 3);
    padding: 10px 0px 10px 10px;
}

.modalPurchaseDetail .content-detail-right .btn-expand-collapse-all {
    margin-left: auto;
}

.btn-expand-collapse-all a {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 18px;
    background: #f0f8ff;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 8px 0 rgba(10, 102, 194, 0.06);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: 1px solid #e0eafc;
    cursor: pointer;
}

.btn-expand-collapse-all a:hover {
    background: #e6f2ff;
    color: #084d8c;
    box-shadow: 0 4px 16px 0 rgba(10, 102, 194, 0.10);
}

.modalPurchaseDetail .content-detail-right .item-field {
    margin-bottom: 5px;
    margin-right: 5px;
}

.modalPurchaseDetail .content-detail-right .field-inline-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.modalPurchaseDetail .content-detail-right .field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modalPurchaseDetail .content-detail-right .field-row-expand {
    display: flex;
}

.modalPurchaseDetail .content-detail-right .field-attachment {
    cursor: pointer;
    padding-right: 5px;
}

.modalPurchaseDetail .content-detail-right .inline-children {
    margin-left: auto;
    text-align: right;
}

.modalPurchaseDetail .content-detail-right .inline-children .field-checkbox {
    margin-left: 10px;
}

.modalPurchaseDetail .content-detail-right input[type="text"],
.modalPurchaseDetail .content-detail-right input[type="number"] {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    flex: 1 1 0;
    margin-left: 0;
    border-bottom: 1px dashed #9e9e9e;
}

.modalPurchaseDetail .content-detail-right input[type="number"] {
    text-align: right;
}

.modalPurchaseDetail .content-detail-right .field-datetime input {
    max-width: 198px;
}

.modalPurchaseDetail .content-detail-right .label-input-name {
    margin-right: 10px;
}

.modalPurchaseDetail .content-detail-right .btn-expand-outline {
    width: 16px;
    height: 16px;
    border: 1px solid #bfc9d1;
    background: #fff;
    color: #0a66c2;
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin-right: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin-top: 2px;
}

.modalPurchaseDetail .content-detail-right .btn-expand-outline:hover {
    border-color: #0a66c2;
    background: #f0f8ff;
}

.modalPurchaseDetail .content-detail-right .attachment-badge {
    position: absolute;
    top: -6px;
    right: -5px;
    background: #e74c3c;
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: normal;
}

.modalPurchaseDetail .content-detail-right .div-field-row:hover {
    background-image: linear-gradient(90deg, #e6f2ff 0%, #f0f8ff 100%);
    background-size: 200% 100%;
    background-position: 0 0;
    background-color: #f0f8ff;
    box-shadow: 0 4px 16px 0 rgba(10, 102, 194, 0.08);
}

.modalPurchaseDetail .content-detail-right .span-info-tooltip {
    position: relative;
    cursor: pointer;
}

.modalPurchaseDetail .content-detail-right .info-tooltip {
    display: none;
    position: absolute;
    top: 2px;
    left: 5px;
}

.modalPurchaseDetail .content-detail-right .div-field-row:hover .info-tooltip {
    display: block;
}

.modalPurchaseDetail .content-detail-right .info-tooltip.menu-open {
    display: block !important;
}

.modalPurchaseDetail .content-detail-left .content-detail-cols {
    display: flex;
    gap: 16px;
}

.modalPurchaseDetail .content-detail-left .content-detail-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.modalPurchaseDetail .col {
    margin-bottom: 10px;
}

.modalPurchaseDetail .content-approve .col {
    display: flex;
    width: calc(100%/2 - 10.5px);
    margin-right: 10px;
}

.modalPurchaseDetail .content-approve .col-full {
    width: 100%;
}

.modalPurchaseDetail .content-approve .col.ttl-left .ttl {
    width: 176px;
}

.modalPurchaseDetail .content-approve .col.ttl-left .b-txt {
    width: calc(100% - 176px);
}

.modalPurchaseDetail .content-approve .col.ttl-right .ttl {
    margin-left: 6px;
}

.modalPurchaseDetail .content-approve .col.ttl-right .b-txt {
    width: calc(100% - 161px);
}

.modalPurchaseDetail .content-approve .div-approval-remark {
    position: relative;
}

.modalPurchaseDetail .content-approve .div-approval-remark i {
    margin-left: 5px;
    cursor: pointer;
    color: #a4a4a4;
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: 14px;
    display: none;
}

.modalPurchaseDetail .content-approve .div-approval-remark textarea:focus~i {
    display: block;
}

.modalPurchaseDetail .content-approve .div-approval-remark i:hover {
    display: block;
    color: #009ef6;
}

.LightMode .modalPurchaseDetail .modalDetail .content-detail .ttl {
    color: #111;
    font-weight: normal;
}

.LightMode .modalPurchaseDetail .modalDetail .content-detail .note-textarea textarea {
    width: 100%;
    min-height: 70px;
    height: auto;
}

.LightMode .modalPurchaseDetail .modalDetail .content-detail .col input {
    border-color: rgba(17, 17, 17, 0.2);
    width: 100%;
}

.LightMode .modalPurchaseDetail .modalDetail .col input.input-number-currency {
    width: calc(100% - 89px);
    text-align: right;
    margin-right: 5px;
}

.modalPurchaseDetail .col .ttl {
    width: 155px;
}

.modalPurchaseDetail .col .b-txt {
    width: calc(100% - 155px);
}

.LightMode .modalPurchaseDetail .modalDetail .content-detail .col input.input-save {
    width: calc(100% - 25px);
}

.modalPurchaseDetail .div-detail-purchase {
    overflow: auto;
    font-size: 13px;
}

.modalPurchaseDetail .div-detail-purchase .ttl {
    font-size: 13px;
}

.modalPurchaseDetail .box-fileupload {
    width: 100%;
    min-height: 70px;
}

.LightMode .footer-add-purchase .btn-approve a {
    background: #26a65b;
}

.LightMode .footer-add-purchase .btn-reject a {
    background: #CF000F;
}

.LightMode .footer-add-purchase .btn-undo a {
    background: #f0ad4e;
}

.LightMode .footer-add-purchase .btn-close a {
    background: #9f9f9f;
}

.modalPurchaseDetail .line-border {
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
}

/* .modalPurchaseDetail .div-content-top.detail {
    height: calc(100vh - 535px);
}

/* Khi màn hình nhỏ hơn hoặc bằng 1920px
@media (max-width: 1920px) {
    .modalPurchaseDetail .div-content-top.detail {
        height: calc(100vh - 485px);
    }
} */

.modalPurchaseDetail .check-approval[disabled] {
    cursor: not-allowed;
    opacity: 0.7; /* tuỳ chọn, làm mờ checkbox khi bị disabled */
}

.modalPurchaseDetail .col .b-txt.has-icon {
    position: relative;
}

.modalPurchaseDetail .div-content-top .icon-file-upload {
    cursor: pointer;
    color: #0a66c2;
    font-size: 16px;
    position: absolute;
    right: 0px;
    top: -3px;
}

.modalPurchaseDetail .col input.numeric {
    text-align: right;
}

.LightMode .modalPurchaseDetail .col input.input-link-address {
    color: #0a66c2;
    text-decoration: underline;
    cursor: pointer;
    text-underline-offset: 2px;
}

.modalPurchaseDetail .file-thumb {
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: 3px;
    position: relative;
    vertical-align: top;
    text-align: center;
}

.modalPurchaseDetail .thumb-img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 6px;
    border: 1px solid #eee;
}

.modalPurchaseDetail .file-icon {
    font-size: 20px;
    color: #aaa;
    margin-top: 3px;
}

.modalPurchaseDetail .file-thumb .icon-trash {
    position: absolute;
    top: -13px;
    right: -10px;
    color: #e94434;
    font-size: 14px;
    cursor: pointer;
    padding: 2px;
    border-left: none;
}

/* list workflows */
.modalPurchaseDetail .workflow-horizontal-scroll {
    padding: 0 10px 10px 0;
    overflow: auto;
    margin-bottom: 10px;
}

.modalPurchaseDetail .workflow-steps {
    display: flex;
    min-width: max-content;
}

.titleCompile .ttl-item {
    font-weight: normal;
    margin-top: 8px;
}

.titleCompile .workflow-step-arrow {
    height: 30px;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 50%);
    background-color: #0a66c2;
    box-sizing: border-box;
    cursor: pointer;
    padding: 0 24px;
    /* Thêm padding ngang cho đẹp */
    width: auto;
    /* Đảm bảo width theo content */
    min-width: 80px;
    /* Nếu muốn tối thiểu, có thể bỏ */
    max-width: 100%;
}

.titleCompile .workflow-step-arrow:first-child {
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 50%);
}

.titleCompile .workflow-step-arrow:last-child {
    margin-right: 10px;
}

.titleCompile .workflow-step-arrow.step-reject {
    background-color: #e94434;
}

.titleCompile .workflow-step-arrow.no-step {
    background-color: #b3b3b3;
}

.titleCompile .workflow-step-arrow.step-approved {
    background-color: #26a65b;
}

.titleCompile .workflow-step-arrow.step-pending {
    background-color: orange;
}

.titleCompile .workflow-step-arrow.selected {
    position: relative;
    z-index: 1;
    background-color: #0a66c2;
}

.titleCompile .workflow-step-arrow.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: polygon(4.25% 7.5%, 88.75% 7.5%, 97.75% 50%, 88.75% 92.5%, 4.25% 92.5%, 12.25% 50%);
    z-index: -1;
}

.titleCompile .workflow-step-arrow.step-pending.selected::before {
    background-color: orange;
}

.titleCompile .workflow-step-arrow.step-reject.selected::before {
    background-color: #e94434;
}

.titleCompile .workflow-step-arrow.step-approved.selected::before {
    background-color: #26a65b;
}

.titleCompile .workflow-step-arrow.no-step.selected::before {
    background-color: #b3b3b3;
}

.titleCompile .workflow-step-arrow.selected:first-child::before {
    clip-path: polygon(1.25% 7.5%, 88.75% 7.5%, 98.75% 50%, 88.75% 92.5%, 1.25% 92.5%, 1.25% 53.75%);
}

/* .titleCompile .order-process {
    background: transparent;
    margin-right: 10px;
    font-size: 14px;
}

.titleCompile .order-process .item-process {
    margin: 0px 5px 0px 0;
    width: fit-content;
}

.titleCompile .order-process .step {
    height: auto;
}

.titleCompile .order-process .step::before {
    top: calc(50% - 12.5px);
    right: -14px;
    width: 31px;
    height: 25px;
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37.98 36.98'%3E%3Cg id='Group_1' data-name='Group 1'%3E%3Crect id='bg-nb' x='5.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.37 19.2) rotate(-45)' style='fill: %23121829; stroke-width: 0px;'/%3E%3Crect id='bg-nb-2' x='4.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.66 18.49) rotate(-45)' style='fill: %23415073; stroke-width: 0px;'/%3E%3C/g%3E%3C/svg%3E");
    transition: all 0.3s ease;
}

.titleCompile .order-process .step .ttl {
    padding: 2px 4px 0px 4px;
}

.titleCompile .order-process .step .ttl::before {
    background: transparent;
}

.LightMode .order-process .item-process .number {
    background: #979aa3;
    color: #fff;
}

.titleCompile .order-process .item-process.selected .step .ttl {
    color: #0a66c2;
}

.titleCompile .order-process .step:last-child::after {
    height: 0px;
}

.LightMode .titleCompile .order-process .item-process .ttl.step-reject {
    background-color: #e94434;
}

.LightMode .titleCompile .order-process .item-process .ttl.no-step {
    background-color: #b3b3b3;
}

.LightMode .titleCompile .order-process .item-process .ttl.step-approved {
    background-color: #26a65b;
}

.LightMode .titleCompile .order-process .item-process .ttl.step-pending {
    background-color: orange;
}

.titleCompile .order-process .step-reject::before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37.98 36.98'%3E%3Cg id='Group_1' data-name='Group 1'%3E%3Crect id='bg-nb' x='5.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.37 19.2) rotate(-45)' style='fill: %23e94434; stroke-width: 0px;'/%3E%3Crect id='bg-nb-2' x='4.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.66 18.49) rotate(-45)' style='fill: %23e94434; stroke-width: 0px;'/%3E%3C/g%3E%3C/svg%3E");
}

.titleCompile .order-process .no-step:before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37.98 36.98'%3E%3Cg id='Group_1' data-name='Group 1'%3E%3Crect id='bg-nb' x='5.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.37 19.2) rotate(-45)' style='fill: %23b3b3b3; stroke-width: 0px;'/%3E%3Crect id='bg-nb-2' x='4.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.66 18.49) rotate(-45)' style='fill: %23b3b3b3; stroke-width: 0px;'/%3E%3C/g%3E%3C/svg%3E");
}

.titleCompile .order-process .step-approved::before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37.98 36.98'%3E%3Cg id='Group_1' data-name='Group 1'%3E%3Crect id='bg-nb' x='5.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.37 19.2) rotate(-45)' style='fill: %2326a65b; stroke-width: 0px;'/%3E%3Crect id='bg-nb-2' x='4.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.66 18.49) rotate(-45)' style='fill: %2326a65b; stroke-width: 0px;'/%3E%3C/g%3E%3C/svg%3E");
}

.titleCompile .order-process .step-pending::before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37.98 36.98'%3E%3Cg id='Group_1' data-name='Group 1'%3E%3Crect id='bg-nb' x='5.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.37 19.2) rotate(-45)' style='fill: %23ffa500; stroke-width: 0px;'/%3E%3Crect id='bg-nb-2' x='4.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.66 18.49) rotate(-45)' style='fill: %23ffa500; stroke-width: 0px;'/%3E%3C/g%3E%3C/svg%3E");
}

.LightMode .titleCompile .order-process .item-process:hover .step-reject::before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37.98 36.98'%3E%3Cg id='Group_1' data-name='Group 1'%3E%3Crect id='bg-nb' x='5.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.37 19.2) rotate(-45)' style='fill: %23e94434; stroke-width: 0px;'/%3E%3Crect id='bg-nb-2' x='4.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.66 18.49) rotate(-45)' style='fill: %23e94434; stroke-width: 0px;'/%3E%3C/g%3E%3C/svg%3E");
}

.LightMode .titleCompile .order-process .item-process:hover .no-step:before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37.98 36.98'%3E%3Cg id='Group_1' data-name='Group 1'%3E%3Crect id='bg-nb' x='5.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.37 19.2) rotate(-45)' style='fill: %23b3b3b3; stroke-width: 0px;'/%3E%3Crect id='bg-nb-2' x='4.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.66 18.49) rotate(-45)' style='fill: %23b3b3b3; stroke-width: 0px;'/%3E%3C/g%3E%3C/svg%3E");
}

.LightMode .titleCompile .order-process .item-process:hover .step-approved::before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37.98 36.98'%3E%3Cg id='Group_1' data-name='Group 1'%3E%3Crect id='bg-nb' x='5.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.37 19.2) rotate(-45)' style='fill: %2326a65b; stroke-width: 0px;'/%3E%3Crect id='bg-nb-2' x='4.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.66 18.49) rotate(-45)' style='fill: %2326a65b; stroke-width: 0px;'/%3E%3C/g%3E%3C/svg%3E");
}

.LightMode .titleCompile .order-process .item-process:hover .step-pending::before {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37.98 36.98'%3E%3Cg id='Group_1' data-name='Group 1'%3E%3Crect id='bg-nb' x='5.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.37 19.2) rotate(-45)' style='fill: %23ffa500; stroke-width: 0px;'/%3E%3Crect id='bg-nb-2' x='4.83' y='4.83' width='27.32' height='27.32' rx='2' ry='2' transform='translate(-7.66 18.49) rotate(-45)' style='fill: %23ffa500; stroke-width: 0px;'/%3E%3C/g%3E%3C/svg%3E");
} */

.LightMode .titleCompile .step-workflow .more-step {
    border-radius: 4px;
    background: #eeeeee;
    box-shadow: 0 2px 8px 0 rgba(10, 102, 194, 0.06);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: 1px solid #e0eafc;
    cursor: pointer;
    margin-right: 10px;
    padding: 0px 7px 5px 7px;
}

.modalPurchaseDetail .vsb-main {
    width: 100%;
    max-width: 100%;
}

.modalPurchaseDetail [id^="btn-group-purchase-currency"] {
    width: 80px;
}

.LightMode .modalPurchaseDetail .modalDetail .content-detail .col .vsb-js-search-zone input {
    border-color: grey;
    width: calc(100% - 20px);
}

.task-management .vsb-main button {
    border-color: rgba(17, 17, 17, 0.2);
    padding-bottom: 0px;
    margin-bottom: 1px;
    padding-right: 15px;
}

.modalPurchaseDetail .vsb-main button.disabled {
    opacity: 1;
}

.modalPurchaseDetail .txt-small {
    cursor: pointer;
}

.modalPurchaseDetail .custom-link {
    color: #0a66c2;
    text-decoration: underline;
    cursor: pointer;
    text-underline-offset: 2px;
}

.LightMode ul[role="menu"] li.active {
    color: #111;
    background: #c5d5ef;
}

.modalPurchaseDetail .content-approve-left {
    flex: 2 1 0;
    min-width: 0;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

.modalPurchaseDetail .content-approve-right {
    width: calc((100vw / 3) + 2px);
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

/* thu gon scroll */
/* Thu nhỏ thanh scroll cho các vùng chi tiết */
.modalPurchaseDetail .content-detail-right-detail,
.modalPurchaseDetail .panel-cost-option,
.modalPurchaseDetail .div-detail-purchase,
.modalPurchaseDetail .div-content-top,
.modalPurchaseDetail .content-detail-left,
.modalPurchaseDetail .content-detail-left textarea,
.modalPurchaseDetail .content-detail-left .vsb-menu ul,
.task-management #cboxLoadedContent,
.e-kanban .e-kanban-content .e-content-row .e-content-cells .e-card-wrapper,
.e-kanban .e-kanban-content .e-content-row .e-content-cells .e-card-container,
.e-tip-content {
    scrollbar-width: thin;
    scrollbar-color: #a6a6a6 #fff;
}

.modalPurchaseDetail .content-detail-left .panel-cost-option {
    scrollbar-gutter: stable;
}

/* Chrome, Edge, Safari */
.modalPurchaseDetail .content-detail-right-detail::-webkit-scrollbar,
.modalPurchaseDetail .panel-cost-option::-webkit-scrollbar,
.modalPurchaseDetail .div-detail-purchase::-webkit-scrollbar,
.modalPurchaseDetail .div-content-top::-webkit-scrollbar,
.modalPurchaseDetail .content-detail-left::-webkit-scrollbar,
.modalPurchaseDetail .content-detail-left textarea::-webkit-scrollbar,
.modalPurchaseDetail .content-detail-left .vsb-menu ul::-webkit-scrollbar,
.task-management #cboxLoadedContent::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background: #f5fafd;
}

.modalPurchaseDetail .content-detail-right-detail::-webkit-scrollbar-thumb,
.modalPurchaseDetail .panel-cost-option::-webkit-scrollbar-thumb,
.modalPurchaseDetail .div-detail-purchase::-webkit-scrollbar-thumb,
.modalPurchaseDetail .div-content-top::-webkit-scrollbar-thumb,
.modalPurchaseDetail .content-detail-left::-webkit-scrollbar-thumb,
.modalPurchaseDetail .content-detail-left textarea::-webkit-scrollbar-thumb,
.modalPurchaseDetail .content-detail-left .vsb-menu ul::-webkit-scrollbar-thumb,
.task-management #cboxLoadedContent::-webkit-scrollbar-thumb {
    background: #a6a6a6;
    border-radius: 4px;
}

.step-workflow .step {
    background-color: #f3f6f9;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 13px;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 50%);
    border-radius: 4px;
}

.step-workflow .item-workflow {
    background-color: #a9a9a9;
    padding: 1px;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 100%);
    margin-right: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.step-workflow .item-workflow:hover .step {
    background-color: #e6f2ff;
    /* Xanh nhạt hiện đại */
    transition: background 0.2s;
}

.step-workflow .item-workflow.selected {
    background-color: #6aa0ff;
    padding: 1px;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%, 0% 50%);
}

.step-workflow .step .number {
    background: #0a66c2;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    padding-top: 2px;
}

.step-workflow .step .ttl {
    font-weight: 500;
    padding-right: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.step-workflow .step-pending {
    color: #ff9900;
}

.step-workflow .step-approved {
    color: #26a65b;
}

.step-workflow .step-reject {
    color: #e94434;
}

.step-workflow .no-step {
    color: #888;
}

.LightMode .control-fileupload-style2 .txt-small {
    color: #292A2E;
}

.f__cm:not(.fl) {
    padding: 0px;
}

.e-dropdown-popup ul .e-item .e-menu-icon.icon-check-workflow {
    color: #26a65b;
}

.icon-send-notice {
    position: absolute; 
    right: -12px;
    top: 7px;
    transform: translateY(-50%); 
    color: #415073; 
    font-size: 18px; 
    cursor: pointer;
}