@font-face {
    font-family: systemFront;
    src: url(../../fonts/SF-Pro-Display-Regular.otf);
}


body {
    /* font-family: Arial, Helvetica, sans-serif */
    font-family: systemFront;
    font-size: 14px;
}

:root {
    --textred: 'red';
    --textblue: 'blue';
    --color-primary: #337AB7;
    --color-default: #b7b7b7;
    --color-hover: #b0e8f8;
    --border-radius-px: 3px;
    --color-background: #EEEEEE;

}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.border-15 {
    border-radius: 14px;
}

.input-group-addon>a {
    color: black;
}

.lblTotalPaid {
    /*font-size: 20px;*/
    font-weight: bold;
}

.close {
    color: red;
    opacity: initial;
}

.close:hover {
    color: red;
}

.unit {
    color: blue;
}

.red {
    color: red;
}

.green {
    color: green;
}

.yellow {
    color: rgb(255, 189, 6);
}

.black,
.text-black {
    color: black
}

/* .btn-primary,
.title-search {
    border-radius: 20px;
    text-align: center;
} */

#topnav .toolbar .dropdown-menu.dropdown-alternate .scrollthis li a:hover {
    background-color: #F0F0F0
}

.form-group .title-search {
    border-radius: var(--border-radius-px);
}

.text-green {
    color: green
}

.text-red {
    color: red
}

.text-blue {
    color: blue
}

.text-yellow {
    color: yellow
}

.text-bold-uppercase {
    font-weight: bold;
    text-transform: uppercase;
}

.text-white {
    color: white;
}

.bg-cl-red {
    background-color: #b22222
}

.bg-cl-blue {
    background-color: #0141ca
}

.width-100 {
    width: 100px;
}

.btn-5px-32px {
    margin-top: -5px;
    height: 32px;
}

/*   rangerinput checkbox */

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
    margin: 0px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 23px;
    width: 21px;
    left: 2px;
    right: 2px;
    bottom: 1px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* TamDv */

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.m-1 {
    margin: 0.5em;
}

.font-size-20 {
    font-size: 20px;
}

.border-bottom-custom {
    border-bottom: 1px solid #EEEEEE;
    border-bottom-width: 80%;
}

.float-right {
    float: right;
}

.font-bold {
    font-weight: bold;
}

.width-15-percent {
    width: 15%;
}

.height-140 {
    height: 140px !important;
}

/*  dashboard */

.text-nodata {
    margin-top: 100px;
    text-align: center;
    color: rgb(182, 178, 178);
    font-weight: bold;
    font-size: 20px;
}

.margin-top-100 {
    margin-top: 100px;
}

.bold-uppercase-center {
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.height-18 {
    height: 18px !important;
}

.align-pl::-webkit-input-placeholder {
    text-align: left;
}

.form-horizontal {
    /*width: 360  px !important;*/
}

.mr-0 {
    margin-right: 0px !important;
}

.ml-0 {
    margin-left: 0px !important;
}

.ml-1 {
    margin-left: 0.5em !important;
}

.mr-1 {
    margin-right: 0.5em !important;
}

.height-96 {
    height: 96px !important;
}

.ml--3 {
    margin-left: -1.5em !important;
}

.mt--15 {
    margin-top: -15px !important;
}

.border-none {
    border: none;
}

.border-text-barcode {
    margin-bottom: 2px !important;
    border-radius: 3px;
    margin-right: 1em;
}

.text-align-last-end {
    text-align-last: end;
}

.pl-0 {
    padding-left: 0px !important;
}

.pr-0 {
    padding-right: 0px !important;
}

.mt-1 {
    margin-top: 0.5em;
}

.min-max-w-320 {
    min-width: 320px;
    max-width: 320px;
}

.min-max-120 {
    min-width: 120px;
    max-width: 120px;
}

.min-max-w-250 {
    min-width: 250px;
    max-width: 250px;
}

.min-max-w-200 {
    min-width: 200px;
    max-width: 200px;
}

.thumbnail1 img:hover {
    z-index: 10;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 0px;
    transform: scale(3.0);
    /* Safari & Google Chrome */
    -webkit-transform: scale(2.5);
    /* Mozilla Firefox */
    -moz-transform: scale(2.5);
    /* Opera */
    -o-transform: scale(2.5);
    /* IE 9 */
    -ms-transform: scale(2.5);
    cursor: pointer;
}

.hoverClose i:hover {
    z-index: 10;
    /* border: 1px solid rgb(243, 112, 112); */
    /* border-radius: 1px; */
    transform: scale(2.4);
    /* Safari & Google Chrome */
    -webkit-transform: scale(2.5);
    /* Mozilla Firefox */
    -moz-transform: scale(2.5);
    /* Opera */
    -o-transform: scale(2.5);
    /* IE 9 */
    -ms-transform: scale(2.5);
    cursor: pointer;
}

.thumbnail img.hover .imageIcon1 {
    display: block;
}

/* .zIndex-4 {
    z-index: 4 !important;
} */

.fix-btn-select {
    margin-top: -5px;
    height: 32px;
}

.imageIconClose {
    margin-top: -120px;
    color: red;
}

.imageIconCloseInvoice {
    margin-top: -138px;
    margin-right: -15px;
    color: red;
    cursor: pointer;
}

.hover-table {
    /* margin-left: 0.5em !important; */
    margin-right: 0.5em !important;
}

.ml-2-t {
    margin-left: 2px;
    text-align: left;
}

.width-90 {
    width: 90px;
}

.pt-b-2 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    padding-right: 2px !important;
    padding-left: 2px !important;
}

.hover-howuse:hover {
    background-color: rgb(241, 241, 241);
}

.minHeight-32 {
    min-height: 32px !important;
}

.pr-36px {
    padding-right: 36px !important;
}

.min-width-49 {
    min-width: 49%;
}

.border-ddd {
    border: 1px solid #ddd !important;
}

/* end */

.inputSearchSales {
    border: 2px solid #75beff;
    /* border-radius: 8px !important; */
}

.inputSearchSales:focus {
    border: 3px solid #0c8dfd;
    /* border-radius: 8px !important; */
}

.borderInputSearch {
    width: 100%;
}

.dev {
    color: red;
}

.css-import-data {
    margin-top: 200px;
}

@media only screen and (max-width: 900px) {
    .css-import-data {
        margin-top: 90px;
    }
}



.text-normal {
    font-weight: normal;
}

#style111::-webkit-scrollbar {
    width: 10px;
    background-color: #ffffff;
}

.copyItem:hover,
.copyItem:hover .hideCopy {
    color: blue;
    opacity: 1;
    cursor: pointer;
}

.hideCopy {
    opacity: 0;
}

.warptext {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hoverSelectCustomer:hover {
    background-color: khaki;
}

.sumSync {
    color: blue;
}

.sumSyncErr {
    color: red;
}

.sumAll {
    font-weight: bold;
}

.lockoverflow {
    overflow-y: hidden;
}

.imageIconCloseP {
    margin-top: -102px;
    color: red;
}

.thumbnailCustomer img:hover {
    z-index: 10;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 0px;
    margin-right: -50px;
    margin-top: 50px;
    transform: scale(2.0);
    /* Safari & Google Chrome */
    -webkit-transform: scale(2.0);
    /* Mozilla Firefox */
    -moz-transform: scale(2.0);
    /* Opera */
    -o-transform: scale(2.0);
    /* IE 9 */
    -ms-transform: scale(2.0);
    cursor: pointer;
}

.open>.dropdown-menu-table {
    display: table;
}

.cursor-pointer {
    cursor: pointer;
}

.header-title {
    font-weight: bold;
    font-size: 17px;
}

.hover-select-item {
    cursor: pointer;
}

.hover-select-item :hover {
    background-color: #f4b36e;
}

.notmargin {
    margin: unset !important;
}

.inline-input-css {
    border-bottom: 1px solid red;
}

.bgr-td {
    background-color: #f0f2f5;
}

.bg-white {
    background-color: white !important;
}

.dropdown-menu-custom {
    position: absolute;
    min-width: 280px;
    padding: 0px;
    box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
    font-size: 12px;
}

.hover-item :hover {
    background-color: #ff9058;
}

.item-err {
    background-color: #ff9058;
}

.text-justify {
    text-align: justify;
}

.warp-text-line {
    width: 150px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-vertical-mid,
.vertical-mid {
    vertical-align: middle !important;
}

.view-temperature {
    color: #1ae2ff;
    font-size: 24px
}

.pointer {
    cursor: pointer;
}

.modal-size-1024px {
    width: 1048px;
}

.no-warp-text,
.text-nowarp {
    white-space: nowrap;
}

.no-warp-text-n,
.text-nowarp-n {
    white-space: nowrap;
}

.warp-text-normal,
.text-warp {
    white-space: normal !important
}

.width-100px {
    width: 100px !important;
}

.text-list-ntf {
    font-weight: bold;
    margin-left: 100px;
}


.pwap {
    /* width:100px; */
    /* background-color:red; */
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.warptext-2line {
    width: 81%;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

#abc123543c2we4:hover {
    color: #EEEEEE;
}



.modal-content {
    border-radius: 0px !important;
}

.pd-rg-10px {
    padding-right: 10px;
}

.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.no-spin {
    -moz-appearance: textfield !important;
}



.input-icon-right {
    position: relative;
}

.input-icon-right>i,
.input-icon-right .icon {
    position: absolute;
    display: block;
    margin: 10px 8px;
    line-height: 14px;
    color: #90a4ae;
}

.input-icon-right>i:hover,
.input-icon-right .icon:hover {
    text-decoration: none;
}

.input-icon-right>.inlineinput {
    padding-left: 32px;
}

.input-icon-right.right>i,
.input-icon-right.right .icon {
    right: 0px;
    float: right;
}

.input-icon-right.right>.inlineinput {
    padding: 0px 23px 0px 0px;
}


.hr-custom-1 {
    width: 100%;
    height: 1px;
    background-color: #DDDDDD;
    margin: 2px 0px;
}




/*  add new */
/*  css custom */


/* width */
::-webkit-scrollbar {
    height: 6px;
    /* height of horizontal scrollbar ← You're missing this */
    width: 6px;
    /* width of vertical scrollbar */
    border: 1px solid #d5d5d5;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(126, 126, 126);
}


/* ======== */
[class~=fa-times],
[class~=--red] {
    color: red;
}

[class~=--blue] {
    color: blue;
}

[class~=--green] {
    color: green;
}

[class~=--white] {
    color: white;
}

.btn-close {
    margin-right: 10px;
    margin-top: 8px;
}

.btn-close:hover,
.--zoom:hover {
    cursor: pointer;
    transform: scale(1.6);
}

.btn {
    border-radius: 3px !important;
}

.btn:hover {
    box-shadow: 0px -1px 6px 0px #00000059;
}

.dropdown-menu>li>a:hover,
.dropdown-menu>li>a:focus {
    color: #262626;
    text-decoration: none;
    background-color: rgb(216, 216, 216);
}

.fsz-18 {
    font-size: 18px;
}

.count-text {
    font-weight: bold;
    color: white;
    font-size: 30px;
}

.--dashboard-item {
    border-radius: 5px;
    padding: 15px;
}

.--dashboard-item-name {
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

.--dashboard-item-1 {
    background-color: red;
}

.fs-15px {
    font-size: 15px;
}

.--sync-active {
    color: #3586cd;
}

.--sync-off {
    color: #787878;
}

.--menu-right {
    margin-top: 10px;
    font-size: 15px;
}

.--menu-right-expirydate-active {
    color: green;
}

.--menu-right-expirydate-low {
    color: red;
}

.--menu-right-dowload a {
    text-decoration: none;
}

.--menu-right-margin {
    margin-right: 12px;
}

.--submenu-right-item {
    padding: 20px 20px;

}

.--submenu-right-item:hover {
    background-color: #dee4e9;
    /* color: rgb(255, 255, 255); */
}

.--submenu-right-item-name {
    margin-left: 10px;
}

.collapsed_menu_true {
    transform: rotate(90deg)
}

.--menu-center-submenu {
    padding: 3px 2px;
}

#id_collapsed_menu {
    font-size: 22px;
}

.td-deleted {
    color: red;
}


.--default {
    color: #787878;
}

.fs-18px {
    font-size: 18px;
}

.div-button {
    position: relative;
    cursor: pointer;
    display: inline;
    padding: 8px 13px;
    border-radius: 1px;
    background-color: var(--color-default);
    margin-left: 3px;
    border: 1px solid;
    color: white;
    border-radius: 3px;
}

.div-button-active,
.div-button-primary {
    background-color: var(--color-primary);
}

.hr-custom {
    display: inline-block;
    margin-top: 15px;
    width: 100%;
    height: 1px;
    background-color: #DDDDDD;
}

.panel-min-height {
    min-height: 60vh;
}

.panel-box {
    box-shadow: 0px 0px 1px 0px;
    ;
}

.radio-box {
    padding: 10px 0px;
    border-radius: var(--border-radius-px);
    border-bottom: 1px solid #DDDDDD;
}

.radio-box-checked {
    color: white;
    background-color: var(--color-primary);
}

.table-tr-hover:hover {
    box-shadow: inset 1px 0 0 #c8c8c8, inset -1px 0 0 #c8c8c8, 0 1px 2px 0 rgba(60, 64, 67, .5), 0 1px 3px 1px rgba(60, 64, 67, .15);
    z-index: 2;
    cursor: pointer;
    background-color: #98989840;
}


.box-title-search {
    text-transform: uppercase;
    padding: 3px 2px;
    background: var(--color-primary);
    color: white;
    font-size: 1.3em;
    border-radius: var(--border-radius-px);
    margin-bottom: 10px;
}

.box-search {
    padding: 10px;
    box-shadow: 1px 0px 0px 0px #4d4d4d45;
}

.label-custom {
    width: 100%;
    padding: 8px 3px;
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--border-radius-px);
}

.status-e-success {
    color: green;
}

.status-e-signed,
.status-e-replace,
.status-e-adjust {
    color: blue;
}

.status-e-failed,
.status-e-deleted {
    color: red;
}

.td-yellow,
.td-pending,
.status-e-pending {
    color: yellow;
}

.search-input {
    display: contents;
    position: relative;
    width: 100%;
}

.search-input .icon-clear {
    position: absolute;
    top: 8px;
    right: 22px;
    cursor: pointer;
    color: red;
}

.td-green,
.td-active,
.tr-confirmed,
.tr-completed,
.td-completed,
.td-confirmed,
.td-approved,
.td-accepted {
    color: green;
}

.td-none {
    color: #787878;
}

.label-none {
    background-color: #787878;
    color: white;
}

.tr-failed,
.tr-refuse_order,
.td-failed,
.td-rejected {
    color: red;
}

.label-inactive,
.label-init,
.label-unlink {
    background-color: #787878;
}

.label-active {
    background-color: green;
}

.label-pending {
    background-color: yellow;
    color: blue;
}

.label-rejected {
    background-color: red;
}

.label-approved {
    background-color: green;
}


/* ------------------ */
.cstep {
    position: relative;
    display: flex;
    flex-direction: row;
    margin-left: 20px;
}

.cstep__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 120px;
    /* background-color: rgb(154, 154, 232); */
    text-align: center;
}

.cstep__step+.cstep__step {
    margin-left: 20px;
}

.cstep__step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid;
    background: rgb(235, 235, 235);
    text-align: center;
    display: grid;
    justify-content: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
    position: relative;
    color: #292929
}

.cstep__step-success {
    background-color: green;
    color: white;
}

.cstep__step-failed {
    background-color: red;
    color: white;
}

.bg-red {
    background-color: red !important;
}

.cstep__step-connect::after {
    content: "";
    width: 110px;
    height: 3px;
    background-color: rgba(213, 213, 213, 0.875);
    position: absolute;
    left: 75px;
    z-index: 1;
    top: 14px;
}

.cstep__connect-success::after {
    background-color: green
}

.tab-ntf {
    margin-top: 5px;
    padding: 0px 15px;
    height: 32px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.tab-ntf .tab-ntf-item {
    padding: 4px 20px;
    border: none;

}

.tab-ntf .div-tab-ntf {
    position: relative;
}

.div-tab-ntf+.div-tab-ntf {
    margin-left: 5px;
}


.tab-ntf .tab-ntf-item:hover {
    cursor: pointer;
}

.tab-ntf .tab-ntf-item-none {
    background-color: #888;
}

.tab-ntf .tab-ntf-item-active {
    background-color: #337AB7;
    color: white;
}

.tab-ntf-icon {
    position: absolute;
    right: -6px;
    color: #B22222
}

.ntf__content_ul {
    height: 370px;
    overflow-y: scroll;
    overflow-x: scroll;
}

.badge-notif {
    position: relative;
}

.badge-notif-icon {
    font-size: 20px;
}

.badge-notif-number {
    position: absolute;
    right: -12px;
    top: -12px;
    z-index: 2;
    color: white;
    background: red;
    border-radius: 2px;
    width: 15px;
    height: 19px;
    font-size: 13px;
}

.ntf__content-record {
    color: black;
    font-size: 13px;
    font-weight: 700;
}

.ntf__content-icon {
    position: absolute;
    right: 0px;
    top: -2px;
    color: #0866FF;
}

.font-name-product {
    color: blue;
}

.hoat-chat {
    color: dimgrey;
}

.li-select-product-i:hover {
    background-color: #e0e0e0;
    cursor: pointer;
}

.tab__invoice {
    position: relative;
    border: 1px solid rgb(226, 226, 226);
    width: 135px;
    cursor: pointer;
    background-color: white;
    border-radius: 3px;
}

.tab__invoice+.tab__invoice {
    margin-left: 3px;
}

.tab__invoice.tab-select {
    background-color: #337AB7;
}

.tab__invoice:hover {
    background-color: var(--color-hover);
}

.tab__invoice .tab__invoice-icon-close {
    position: absolute;
    right: 8px;
    top: 4px
}

.tab__invoice .tab__invoice-icon-close:hover {
    color: red;
}

.tab__invoice.tab__invoice-add {
    width: 30px;
    background-color: var(--color-primary);
}

.tab__invoice[disabled] {
    background-color: #d3d3d3;
    cursor: not-allowed;
    opacity: 0.6;
}

.invoice__partner:hover {
    cursor: pointer;
    background-color: #e0e0e0;
}

.purdah--pay {
    position: absolute;
    background: #b6b6b66b;
    top: 0px;
    bottom: 75px;
    right: 0px;
    left: 0px;
    z-index: 9;
    /* cursor: not-allowed; */
}

.purdah--product {
    position: absolute;
    background: #b6b6b66b;
    top: 0px;
    bottom: 0px;
    right: 0px;
    left: 0px;
    z-index: 9;
    cursor: not-allowed;
}

.invoice__btn {
    width: 120px;
    height: 45px;
    font-size: 1.5em;
}

.no-resize {
    resize: none;
}

.invoice__btn_press {
    border: none;
    background: var(--color-primary);
    padding: 2px 10px;
    color: white;
    border-radius: 3px;
}

.btn-custom {
    border: none;
    background: var(--color-primary);
    padding: 2px 8px;
    color: white;
}

.w-title-table-payment {
    width: 30%;
}

.invoice__payment__pading {
    padding-right: 10px;
}

.__psr {
    position: relative;
}

.invoice__pay_discount {
    width: 296px;
    position: absolute;
    right: 40px;
    top: -16px;
    padding: 10px;
    background: #e9e9e9;
    z-index: 2;
    border-radius: 3px;
    box-shadow: 0px 0px 2px 0px;
}

.invoice__pay_discount::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid rgb(181, 181, 181);
    /* Mũi tên hướng sang phải */
    top: 50%;
    left: 100%;
    /* Đẩy mũi tên ra phía bên phải của container */
    transform: translateY(-50%);
    /* Căn giữa theo chiều dọc */
}

.invoice__prod_discount {
    width: 300px;
    position: absolute;
    right: 45px;
    top: -16px;
    padding: 10px;
    background: #e9e9e9;
    z-index: 2;
    border-radius: 3px;
    box-shadow: 0px 0px 2px 0px;
}

.invoice__prod_discount::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid rgb(224, 224, 224);
    /* Mũi tên hướng sang phải */
    top: 33%;
    left: 100%;
    /* Đẩy mũi tên ra phía bên phải của container */
    transform: translateY(-50%);
    /* Căn giữa theo chiều dọc */
}

.textpad {
    padding: 2px 10px;
}

.invoice__btn_color {
    background-color: var(--color-primary);
    color: white;
    cursor: pointer;
}

.invoice__btn_active {
    background-color: var(--color-primary);
    color: white;
}

.invoice__btn_click {
    background-color: #ffffffc4;
    color: black;
}



.invoice_press_template {
    right: 0px;
    position: absolute;
    font-size: 15px;
    margin-top: 5px;
    border-radius: 3px;
}

.invoice__press_local {
    width: 200px;
    position: absolute;
    background-color: white;
    color: black;
    z-index: 3;
    font-size: 13px;
    right: 0;
}

.no-pading-margin {
    padding: 0;
    margin: 0;
}

.z-index-0 {
    z-index: 0 !important;
}

.fz-15em {
    font-size: 1.5em;
}

.fz08em {
    font-size: 0.8em;
}

.border-3 {
    border-radius: 3px;
}

.btn-remove-suggestion {
    right: 8px;
    position: absolute;
    color: red;
    top: 0px;
    font-size: 23px;
    cursor: pointer;
}

.invoice__btn_version {
    position: absolute;
    background: red;
    right: 0;
    top: 0;
    height: 26px;
    padding: 2px 9px;
    cursor: pointer;
}

.invoice__btn_home {
    position: absolute;
    background: var(--color-primary);
    right: 0;
    top: 29px;
    height: 26px;
    padding: 2px 8px;
    cursor: pointer;
}

.invoice__error_init {
    position: absolute;
    top: 0;
    text-align: center;
    width: 99.80%;
    z-index: 8;
    bottom: 10px;
    background-color: #fff;
}

.select__custom {
    border: solid 1px #b8b8b8d9;
    border-radius: 4px;
    height: 25px;
}

.status-online-approved {
    color: green;
}

.status-online-pending {
    color: yellow;
}

.invoice__dosage {
    border: none;
    border-bottom: 1px solid #434343;
    color: #606060;
    font-size: 0.9em;
    height: 25px;
}

.ui-select-choices-row.ng-scope.disabled {
    cursor: not-allowed;
    background-color: rgb(209, 209, 209);
}


.tab_custom {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 3px 10px;
    cursor: pointer;
}

.tab_custom__tab {
    padding: 7px 12px;
    background: #c6c6c6;
    margin-right: 3px;
    border-radius: 3px;
}

.tab_custom__tab.active {
    background: var(--color-primary);
    color: #fff;
}

.customer-tag-a {
    height: 34px;
    line-height: 23px;
    color: blue;
}

.h34px {
    height: 34px !important;
}

.purdah--pay .purdah--pay-div {
    color: black;
    position: absolute;
    background: #ffffff;
    margin: 8px;
    width: 95%;
    border-radius: 3px;
}

.image-div-prescription {
    border: 1px dashed black;
    height: 170px;
    width: 131px;
    position: relative;
}

.image-prescription {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-prescription:hover {
    scale: 1.5;
}

.label-group-1,
.label-group-4 {
    background-color: var(--color-primary);
}

.label-group-2 {
    background-color: #7e7e7e;
}

.label-group-3 {
    background-color: #e0ad4e;
}

.hoverable:hover {
    background-color: #286090;
    cursor: pointer;
    color: white;
}



/* === VIETQR FORMS STYLESHEET (UNIFIED) === */

/* --- 1. Lớp Bọc Chính --- */
.c-reg-form {
    padding: 0 40px;
    margin-top: 10px;
}

/* --- 2. Stepper (Thanh tiến trình) --- */
.c-reg-stepper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px auto;
    white-space: nowrap;
}

.c-reg-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 13px;
    color: #888;
}

.c-reg-stepper .step {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 600;
    margin-bottom: 5px;
    border: 2px solid #ccc;
    background-color: #f0f0f0;
    color: #888;
    transition: all 0.3s ease;
}

.c-reg-stepper .step.active {
    background-color: #337ab7;
    /* Màu xanh primary của Bootstrap */
    border-color: #337ab7;
    color: #fff;
}

.c-reg-stepper .step.disabled {
    background-color: #f0f0f0;
    border-color: #ccc;
    color: #888;
}

.c-reg-stepper .hr-custom {
    flex-grow: 1;
    height: 2px;
    background-color: #ccc;
    margin: 14px 10px 0 10px;
    /* Căn giữa với vòng tròn */
    transition: all 0.3s ease;
}

.c-reg-stepper .hr-custom.active {
    background-color: #337ab7;
}

/* --- 3. Form Chung (Step 1 & 2) --- */
.c-reg-form .c-form-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 15px;
}

.c-reg-form .c-alert-note {
    background-color: #fff8f8;
    /* Nền hồng nhạt */
    border: 1px solid #fdd;
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.c-reg-form .c-alert-note .c-alert-label {
    color: #d9534f;
    /* Màu đỏ (danger) */
    font-weight: 600;
}

/* Thêm khoảng cách chuẩn cho form-group */
.c-reg-form .form-group {
    margin-bottom: 15px;
}

.c-reg-form .span-check-validate {
    color: red;
    margin-left: 2px;
}

/* --- 4. Checkbox Điều khoản --- */
.c-reg-form-check {
    margin-top: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    /* Khoảng cách giữa checkbox và text */
}

.c-reg-form-check input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.c-reg-form-check a {
    font-weight: 600;
}


/* --- 5. Nút Bấm --- */
.c-reg-form .c-form-actions {
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Class active/disabled cho nút (dùng logic của VPBank) */
.c-reg-form .btn.active {
    background-color: #337ab7;
    color: #fff;
    border-color: #2e6da4;
}

.c-reg-form .btn.active:hover {
    background-color: #286090;
    border-color: #204d74;
}

.c-reg-form .btn.disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ccc;
    color: #333;
}


/* --- 6. Trang OTP (Step 2) --- */
.c-reg-form .c-otp-info {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.c-reg-form .c-back-link {
    cursor: pointer;
    margin-left: 10px;
    margin-bottom: 20px;
    display: inline-block;
    /* Để margin-bottom có tác dụng */
    font-weight: 600;
}

/* CSS cho nút "Gửi lại" trong input-group */
.c-reg-form .input-group-btn button {
    white-space: nowrap;
}

.c-reg-form .btn-success {
    margin-top: 15px;
}

/* --- 7. Trang Thành Công (Step 3) --- */
.c-reg-success-page {
    padding: 20px 0;
}

.c-reg-success-page .text-green {
    color: #28a745;
    /* Màu xanh lá cây */
}

.c-reg-success-page .c-success-title {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Container cho danh sách thông tin */
.c-reg-success-page .c-success-details {
    max-width: 550px;
    /* Giới hạn chiều rộng cho dễ đọc */
    margin: 0 auto;
    /* Căn giữa */
}

/* Tùy chỉnh class dl-horizontal của Bootstrap 3 */
.c-reg-success-page .dl-horizontal dt {
    font-weight: 500;
    color: #555;
    text-align: left;
    width: 200px;
    /* Tăng độ rộng cho label */
    white-space: normal;
    /* Cho phép xuống dòng nếu quá dài */
    margin-bottom: 5px;
}

.c-reg-success-page .dl-horizontal dd {
    font-weight: 600;
    color: #000;
    margin-left: 220px;
    /* Tăng lề tương ứng */
    margin-bottom: 15px;
}

/* Responsive cho màn hình nhỏ */
@media (max-width: 767px) {
    .c-reg-success-page .dl-horizontal dt {
        width: auto;
        font-weight: 600;
        margin-bottom: 2px;
    }

    .c-reg-success-page .dl-horizontal dd {
        margin-left: 0;
        font-weight: 500;
        margin-bottom: 15px;
    }
}

.c-otp-resend-btn {
    /* Kích thước và căn chỉnh */
    height: 32px;
    display: flex;
    align-items: center;
    /* Căn giữa dọc (trên-dưới) */
    justify-content: center;
    /* Căn giữa ngang */
    padding: 0 12px;
    white-space: nowrap;

    /* Trạng thái "Active" (Màu xanh) 
    (Đây là style mặc định của nút)
  */
    background-color: green;
    color: white;
    border: 1px solid green;
    transition: background-color 0.2s, border-color 0.2s;
}

/* Trạng thái "Disabled" (Màu đen/xám) 
  CSS :disabled sẽ tự động áp dụng khi ng-disabled="true"
*/
.c-otp-resend-btn:disabled,
.c-otp-resend-btn[disabled] {
    background-color: #333;
    /* "Màu đen" (xám đậm) */
    color: #888;
    border-color: #333;
    cursor: not-allowed;
    opacity: 1;
    /* Ghi đè opacity 0.65 mặc định của Bootstrap */
}

.c-bank-list {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 24px;
}


.c-bank-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 24px;
    width: 100%;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
}

.c-bank-card:hover {
    background-color: #e8e8e8;
}

.c-bank-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.c-bank-card__logo {
    height: 38px;
    width: auto;
    max-width: 100%;
    margin-bottom: 16px;
}

.c-bank-card__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.c-bank-card__subtitle {
    font-size: 16px;
    color: #555;
    margin: 4px 0 20px 0;
}

.c-bank-card__divider {
    border: 0;
    border-top: 1px solid #eeeeee;
    margin: 20px 0;
}

.c-bank-card__status {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: #28a745;
}

.c-bank-card__status-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    fill: currentColor;
}

.c-bank-card__button {
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 5px 20px;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.c-bank-card__button:hover {
    background-color: #33373b;
}

.dashboard-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: none;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

/* Stat Widgets */
.stat-widget {
    color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.stat-widget .tile-body {
    margin-top: 10px;
}

.stat-widget .stat-number {
    font-size: 24px;
    font-weight: 700;
}

.bg-gradient-green {
    background: linear-gradient(45deg, #43a047, #66bb6a);
}

.bg-gradient-orange {
    background: linear-gradient(45deg, #fb8c00, #ffa726);
}

.bg-gradient-blue {
    background: linear-gradient(45deg, #00acc1, #26c6da);
}

.bg-gradient-red {
    background: linear-gradient(45deg, #e53935, #ef5350);
}

/* Panel Overrides */
.panel-modern {
    border: none;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background: #fff;
    margin-bottom: 30px;
}

.panel-modern .panel-heading {
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
    padding: 0px 1px;
    font-weight: 600;
    color: #333;
    border-radius: 12px 12px 0 0;
}

/* Table Clean */
.table-clean thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
    color: #495057;
    font-weight: 600;
    padding: 12px;
}

.table-clean tbody td {
    padding: 12px;
    vertical-align: middle;
}

.status-dot {
    font-size: 10px;
    margin-right: 5px;
}

/* Animation Classes (Giữ nguyên logic của bạn nhưng gọn hơn) */
.show-act {
    animation: showact 0.8s forwards ease-out;
}

.hide-act {
    animation: hideact 0.8s forwards ease-in;
}

.full-dashboard-left {
    width: 100% !important;
    transition: width 0.8s ease;
}

.cols-dashboard-left {
    width: 75%;
    transition: width 0.8s ease;
}

/* Giả sử col-9 = 75% */

@keyframes showact {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes hideact {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(50px);
        width: 0;
        height: 0;
        padding: 0;
        margin: 0;
    }
}

/* Loaders */
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #00BCD4;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

.index-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.action-buttons {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
}

tr:hover .action-buttons {
    opacity: 1;
    pointer-events: auto;
}

.trans_product_remove,
.trans_product_duplicate {
    display: inline-flex;
    width: 24px;
    height: 34px;
    background: #eee;
    border-radius: 2px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.td-ware-container {
    position: relative;
    /* mốc để div con absolute */
}

.ware-overlay {
    position: absolute;
    left: 0;
    bottom: 3;
    width: calc(65vw);
    z-index: 5;
}

.ware-list {
    display: flex;
    flex-wrap: wrap;
    /* cho phép xuống dòng */
    gap: 8px;
    /* khoảng cách giữa các ô */
    align-items: center;
}

.add-ware-btn {
    padding: 2px 4px;
    background: var(--color-primary);
    color: white;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    /* không cho xuống dòng */
}

.ware-item {
    display: flex;
    justify-content: space-between;
    min-width: 140px;
    padding: 2px 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f5f5f5;
}

.trans__pay_discount,
.trans__product_discount {
    width: 320px;
    position: absolute;
    right: 40px;
    top: -16px;
    padding: 10px;
    background: #e9e9e9;
    z-index: 2;
    border-radius: 3px;
    box-shadow: 0px 0px 2px 0px;
}

.trans__pay_discount::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid rgb(181, 181, 181);
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
}

.trans__product_discount::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid rgb(181, 181, 181);
    top: 30%;
    left: 100%;
    transform: translateY(-50%);
}

.trans__btn_active {
    background-color: var(--color-primary);
    color: white;
}

.trans__btn_pending {
    background-color: #ffe070;
}

.trans__payment_btn {
    display: flex;
    padding: 10px 14px;
    position: absolute;
    bottom: 25px;
    width: 100%;
    justify-content: space-evenly;
}

.trans__payment_btn .btn {
    font-size: 1.5em;
    padding: 7px 40px;
}


/* Container chính bao phủ toàn màn hình */
.layout-fullscreen {
    height: calc(100vh - 100px);
    width: 100vw;
    background-color: var(--color-background, #f5f5f5);
    display: flex;
    flex-direction: column;
}

/* Dòng chứa 2 cột chính - Kéo giãn hết chiều cao còn lại */
.layout-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    /* Quan trọng để scrollbar nằm bên trong các cột con */
    padding: 0;
    margin: 0;
}

/* --- Cột Trái: Sản phẩm --- */
.col-product {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    /* Override bootstrap padding nếu cần */
    border-right: 1px solid #ddd;
    background-color: #fff;
}

.product-header {
    padding: 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    flex: 0 0 auto;
    /* Không co giãn, giữ nguyên chiều cao nội dung */
}

.product-list-container {
    flex: 1;
    /* Chiếm toàn bộ không gian còn lại */
    overflow-y: auto;
    /* Chỉ cuộn khu vực danh sách này */
    padding: 10px;
    background-color: #f9f9f9;
}

/* --- Cột Phải: Thanh toán --- */
.col-payment {
    height: 100%;
    background-color: white;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.payment-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

/* --- Các class tiện ích cũ của bạn --- */
.h32px {
    height: 32px;
}

.trans_product_duplicate:hover,
.trans_product_remove:hover {
    box-shadow: 0px 0px 1px 1px;
    cursor: pointer;
}

.trans_product_duplicate {
    background-color: var(--color-primary, #337ab7);
    color: white;
}

.trans_product_remove {
    background-color: #C9302C;
    color: white;
}

/* Container chính */
.c-reg-success-page {
    background: #fff;
    border-radius: 8px;
    padding: 0;
    /* Reset padding để header sát lề */
    font-family: 'Roboto', sans-serif;
    /* Hoặc font mặc định của dự án */
    color: #333;
    overflow: hidden;
}

/* Header Modal */
.c-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    font-size: 16px;
}

.c-modal-body {
    padding: 20px;
}

/* Icon Checkmark */
.c-icon-wrapper {
    margin-bottom: 15px;
    margin-top: -10px;
}

.c-icon-circle {
    width: 80px;
    height: 80px;
    background-color: #e8f5e9;
    /* Màu xanh nhạt nền icon */
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.c-icon-circle .zmdi {
    color: #28a745;
    /* Màu xanh checkmark */
}

/* Tiêu đề & Mô tả */
.c-success-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
    color: #000;
}

.c-success-desc {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.5;
    padding: 0 10px;
}

/* Box thông tin (Màu xám) */
.c-info-box {
    background-color: #f8f9fa;
    /* Nền xám nhạt */
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 25px;
}

.c-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    /* Đường kẻ mờ giữa các dòng */
    font-size: 14px;
}

.c-info-row:last-child {
    border-bottom: none;
    /* Bỏ đường kẻ ở dòng cuối */
}

.c-label {
    color: #6c757d;
    /* Màu chữ label xám */
    font-weight: 400;
    text-align: left;
    flex: 1;
}

.c-value {
    color: #212529;
    /* Màu chữ giá trị đậm */
    font-weight: 600;
    text-align: right;
    flex: 1;
}

/* Nút bấm */
.c-btn-complete {
    float: right;
    width: 100px;
    background-color: var(--color-primary);
    font-weight: 600;
}

/* Wrapper tổng thể */
.c-transaction-wrapper {
    background: #fff;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    color: #333;
    max-width: 100%;
}

/* Phần Icon */
.c-icon-box {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.c-icon-circle-lg {
    width: 80px;
    height: 80px;
    background-color: #e8f5e9;
    /* Màu nền xanh lá nhạt giống ảnh */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-success-img {
    width: 40px;
    /* Điều chỉnh kích thước ảnh icon png cho vừa vòng tròn */
    height: auto;
    object-fit: contain;
}

/* Phần Header text */
.c-header-group {
    margin-bottom: 25px;
}

.c-title-bold {
    font-size: 22px;
    font-weight: 700;
    color: #1a1f36;
    /* Màu đen đậm */
    margin-bottom: 8px;
    margin-top: 0;
}

.c-desc-text {
    color: #697386;
    /* Màu xám chữ mô tả */
    font-size: 14px;
    margin: 0;
}

/* Card thông tin (Màu xám) */
.c-info-card {
    background-color: #f7f9fc;
    /* Màu nền xám xanh nhạt */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.c-info-row {
    display: flex;
    justify-content: space-between;
    /* Đẩy 2 bên sang trái phải */
    align-items: baseline;
    margin-bottom: 15px;
}

.c-info-row:last-child {
    margin-bottom: 0;
}

/* Căn chỉnh lại dòng số tiền cho thẳng hàng giữa */
.c-row-align-center {
    align-items: center;
}

.c-label-text {
    color: #8792a2;
    font-size: 14px;
    font-weight: 500;
}

.c-value-text {
    color: #1a1f36;
    font-size: 14px;
    font-weight: 600;
}

/* Số tiền to đậm */
.c-amount-large {
    color: #1a1f36;
    font-size: 21px;
    /* Giống ảnh mẫu */
    font-weight: 700;
}

/* Container chính của thẻ Card */
.pos-report-card {
    background-color: #fff;
    border-radius: 8px;
    /* Bo góc cả thẻ */
    overflow: hidden;
    /* Đảm bảo màu nền header không bị tràn ra ngoài góc bo */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* Đổ bóng nhẹ cho nổi bật */
    border: 1px solid #dcebf7;
    /* Viền mỏng màu xanh nhạt trùng màu header */
    margin-bottom: 15px;
    height: 100%;
}

/* Phần tiêu đề (Nền xanh) */
.pos-card-header {
    background-color: #dcedfc;
    /* Màu xanh nhạt giống trong ảnh */
    padding: 12px 15px;
    font-weight: 700;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    /* Viết hoa tiêu đề nếu cần thiết */
    border-bottom: 1px solid #cce0f5;
}

/* Phần nội dung chứa số tiền (Nền trắng) */
.pos-card-body {
    background-color: #ffffff;
    padding: 20px 10px;
}

/* Định dạng số tiền */
.pos-value-text {
    font-size: 22px;
    /* Cỡ chữ to */
    color: #0d2a45;
    /* Màu xanh đen đậm (Dark Navy) */
    font-weight: 800;
    display: block;
    /* Đảm bảo nằm trên 1 dòng riêng */
}


/* Layout chính */
.pos-inv2-wrapper {
    width: 100%;
    background-color: transparent;
}

.pos-inv2-tab-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 35px;
    padding: 0;
}

/* Nút thêm mới */
.pos-inv2-btn-add {
    width: 35px;
    height: 100%;
    border: 1px solid var(--color-default);
    background-color: var(--color-primary);
    color: white;
    border-radius: var(--border-radius-px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
}

.pos-inv2-btn-add[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
    border-color: #bbb;
}

.pos-inv2-tab-container {
    display: flex;
    gap: 5px;
    /* Tăng khoảng cách nhẹ cho thoáng */
    overflow-x: auto;
    flex: 1;
    position: relative;
    padding: 2px 0;
    /* Tránh bị cắt mất border hoặc shadow của tab bên trong */

    /* --- 1. Ẩn thanh cuộn triệt để (Vẫn cuộn được) --- */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */

    /* --- 2. Hiệu ứng mờ chuyên nghiệp --- */
    /* Tôi dùng dải mờ rộng hơn (85% -> 100%) để tạo cảm giác mượt mà hơn */
    -webkit-mask-image: linear-gradient(to right,
            black 0%,
            black 85%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            black 0%,
            black 85%,
            transparent 100%);
}

/* Ẩn thanh cuộn cho Chrome, Safari, Edge */
.pos-inv2-tab-container::-webkit-scrollbar {
    display: none;
}

.pos-inv2-tab-item {
    position: relative;
    min-width: 120px;
    max-width: 150px;
    height: 35px;
    background-color: white;
    border: 1px solid var(--color-default);
    border-radius: var(--border-radius-px);
    display: flex;
    align-items: center;
    padding: 0 25px 0 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.pos-inv2-tab-item:hover {
    background-color: var(--color-hover);
}

.pos-inv2-tab-item.is-active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.pos-inv2-tab-name {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.pos-inv2-tab-close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
}

.pos-inv2-tab-item.is-active .pos-inv2-tab-close {
    color: white;
}

.pos-inv2-tab-close:hover {
    color: #ff4d4f !important;
}

/* Section ĐT mẫu */
.pos-inv2-template-section {
    position: relative;
    height: 100%;
}

.pos-inv2-template-trigger {
    background-color: var(--color-primary);
    color: white;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: var(--border-radius-px);
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}

/* Dropdown tinh chỉnh */
.pos-inv2-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    background: white;
    border: 1px solid var(--color-default);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 5px;
    border-radius: var(--border-radius-px);
}

.pos-inv2-dropdown-scroll {
    max-height: 250px;
    overflow-y: auto;
}

.pos-inv2-table {
    width: 100%;
    margin-bottom: 0;
}

.pos-inv2-table td {
    padding: 8px !important;
    border-bottom: 1px solid #f0f0f0;
}

.pos-inv2-checkbox {
    margin: 0 !important;
    display: flex !important;
    align-items: center;
}

/* Divider */
.pos-inv2-divider {
    height: 1px;
    width: 100%;
    background-color: #DDDDDD;
    margin: 5px 0;
}

/* Container bao ngoài */
.pos-inv2-pres-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 5px 10px;
    background-color: #f8f9fa;
    /* Màu nền nhẹ để tách biệt khu vực */
    border-radius: var(--border-radius-px);
    margin: 5px 0;
    border: 1px dashed #ddd;
    /* Tạo điểm nhấn nhẹ */
}

/* Biến Checkbox thành dạng Toggle Button nổi bật */
.pos-inv2-pres-toggle {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 3px;
    /* Bo tròn kiểu viên thuốc (Pill) */
    border: 1px solid var(--color-default);
    background: white;
    transition: transform 0.3s ease;
}

.pos-inv2-pres-toggle:hover {
    transform: translateY(-3px);
}


/* Khi trạng thái được chọn - Nổi bật Action */
.pos-inv2-pres-toggle.is-active {
    background-color: #e3f2fd;
    /* Màu nền xanh nhạt */
    border-color: #C9302C;
    box-shadow: 0 0 8px rgba(51, 122, 183, 0.2);
}

.pos-inv2-pres-toggle.is-active label {
    color: #C9302C;
    font-weight: bold;
}

/* Reset lại style của Pretty Checkbox bên trong cho khớp layout mới */
.pos-inv2-pres-toggle .pretty {
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.pos-inv2-pres-toggle .pretty .state label {
    text-indent: 28px;
    /* Đẩy chữ ra sau icon check */
    font-size: 14px;
    text-transform: uppercase;
    /* Làm action trông mạnh mẽ hơn */
    letter-spacing: 0.5px;
}

/* Container chính */
.pos-inv2-content-area {
    width: 100%;
    position: relative;
}

/* Animation cho Form đơn thuốc */


/* Keyframes cho hiệu ứng trượt xuống */
@keyframes posSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 500px;
        /* Giá trị lớn để chứa đủ form */
    }
}

.pos-inv2-animate-slide {
    animation: posSlideDown 0.5s ease-out forwards;
}

/* Giao diện Empty State (Trạng thái trống) */
.pos-inv2-empty-state {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 80px;
    /* Thay cho margin-top: 100px */
}

.pos-inv2-empty-card {
    text-align: center;
    padding: 40px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 400px;
}

.pos-inv2-empty-icon {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 15px;
}

.pos-inv2-empty-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.pos-inv2-form-wrapper {
    overflow: hidden;
    background: #fff;
    border-radius: var(--border-radius-px);
    border: 1px solid #eee;

    /* Thiết lập trạng thái mặc định cho transition */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 2000px;
    /* Giá trị đủ lớn cho form */
    opacity: 1;
    transform: translateY(0);
    margin-bottom: 10px;
}

/* Khi ng-show là false, AngularJS thêm class .ng-hide */
.pos-inv2-form-wrapper.ng-hide {
    display: block !important;
    /* Ghi đè display:none để thấy animation */
    max-height: 0;
    opacity: 0;
    transform: translateY(-20px);
    margin-bottom: 0;
    border-color: transparent;
}

/* trong phần chọn productonline */
/* Box màu xám hiển thị thông tin sản phẩm đích */
.pos-info-box {
    background-color: #f8f9fa;
    /* Màu nền xám nhạt */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* Label nhỏ (SẢN PHẨM ĐÍCH, ĐƠN VỊ TÍNH) */
.pos-label-upper {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

/* Tên sản phẩm to đậm */
.pos-text-highlight {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Link xem thêm */
.pos-link-more {
    font-size: 13px;
    margin-left: 5px;
    cursor: pointer;
    color: #337ab7;
}

/* Text phụ (màu xám) ở dòng dưới trong bảng */
.pos-sub-text {
    color: #777;
    font-size: 13px;
    margin-top: 4px;
}

.dosage-input {
    max-width: 420px;
    width: 100%;
    padding: 10px 10px;
    border-radius: 3px;
    border: none;
    resize: none;
    outline: none;
    font-size: 12px;
    line-height: 1.1;
    white-space: pre-wrap;
    word-break: break-word;
    color: #001414c9;
    font-style: italic;
}