.pos-handover-page {
    --handover-accent: #fe8e3c;
    --handover-primary: #ff596f;
    --handover-ink: #283252;
    --handover-muted: #8590aa;
    --handover-line: #e1e7f0;
    --handover-soft: #f6f8fb;
    --handover-header: #f3f6fa;
    --handover-filter-header: #fafbfc;
    --handover-title-row-height: 64px;
}

.pos-handover-page .account-wrapper {
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
}

html.dashboard-wide-layout .view-wrapper.pos-handover-page.is-webapp .page-content-wrapper,
html.dashboard-wide-layout .view-wrapper.pos-handover-page.is-webapp .page-content,
html.dashboard-wide-layout .view-wrapper.pos-handover-page.is-webapp .page-content-inner,
html.dashboard-wide-layout .view-wrapper.pos-handover-page.is-webapp .account-wrapper {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

html.dashboard-wide-layout .view-wrapper.pos-handover-page.is-webapp .page-content {
    padding-right: 20px !important;
    padding-left: 20px !important;
}

.pos-handover-page .handover-list-shell {
    overflow: hidden !important;
    border: 1px solid var(--handover-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 14px 34px rgba(40, 50, 82, 0.07) !important;
}

.pos-handover-page .handover-list-header {
    overflow: visible;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 13px 13px 0 0 !important;
    background: linear-gradient(135deg, #fff 0%, #fffaf7 100%) !important;
    padding: 22px 24px 18px !important;
}

.pos-handover-page .handover-list-heading {
    display: flex;
    align-items: flex-start;
    width: 100%;
}

.pos-handover-page .handover-list-title-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.pos-handover-page .handover-list-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--handover-accent);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.2;
}

.pos-handover-page .handover-list-title-wrap > h4 {
    margin: 0;
    color: var(--handover-ink);
    font-size: 1.22rem !important;
    font-weight: 800;
    line-height: 1.3;
}

.pos-handover-page .handover-list-helper,
.pos-handover-page .get_order_filter_text {
    max-width: 850px;
    margin: 3px 0 0 !important;
    color: var(--handover-muted) !important;
    font-size: 0.74rem !important;
    font-weight: 600 !important;
    line-height: 1.45;
}

.pos-handover-page .get_order_filter_text:empty {
    display: none;
}

.pos-handover-page .handover-filter-panel {
    width: 100%;
    margin-top: 16px;
    border: 1px solid #e9edf3 !important;
    border-radius: 12px !important;
    background: var(--handover-soft) !important;
    padding: 14px !important;
    box-shadow: none !important;
}

.pos-handover-page .handover-filter-card,
.pos-handover-page .handover-filter-body,
.pos-handover-page .handover-filter-fieldset {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.pos-handover-page .handover-filter-card {
    display: block !important;
    overflow: visible !important;
}

.pos-handover-page .handover-filter-fieldset {
    position: relative;
}

.pos-handover-page .handover-filter-fieldset .fieldset-heading {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0 0 10px;
}

.pos-handover-page .handover-filter-fieldset .fieldset-heading h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--handover-ink);
    font-size: 0.84rem;
    font-weight: 800;
}

.pos-handover-page #filter_reset {
    color: var(--handover-primary) !important;
    font-size: 0.72rem;
    font-weight: 800 !important;
    cursor: pointer;
}

.pos-handover-page #filter_reset:hover,
.pos-handover-page #filter_reset:focus {
    color: #e7435b !important;
    text-decoration: underline;
}

.pos-handover-page .handover-filter-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 !important;
}

.pos-handover-page .handover-filter-grid > .column {
    display: block;
    width: auto !important;
    padding: 0 !important;
}

.pos-handover-page .handover-filter-grid > .column[style*="display: none"],
.pos-handover-page .handover-filter-grid > .column[style*="display:none"] {
    display: none !important;
}

.pos-handover-page .handover-filter-grid .column > h4 {
    margin: 0 0 5px;
    color: #68738b;
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.25;
}

.pos-handover-page .handover-filter-grid .field {
    margin: 0;
}

.pos-handover-page .handover-filter-grid .select {
    position: relative;
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pos-handover-page .handover-filter-grid .input,
.pos-handover-page .handover-filter-grid .select > select {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    border: 1px solid #dce3ec !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: var(--handover-ink) !important;
    font-size: 0.78rem !important;
    box-shadow: none !important;
}

.pos-handover-page .handover-filter-grid .select > select {
    display: block !important;
    padding: 0 36px 0 12px !important;
    line-height: 38px !important;
    appearance: none !important;
}

.pos-handover-page .handover-filter-grid .select:not(.is-multiple):not(.is-loading)::after {
    right: 14px !important;
    width: 8px !important;
    height: 8px !important;
    margin-top: -6px !important;
    border-top: 0 !important;
    border-right: 2px solid #9ba5b8 !important;
    border-bottom: 2px solid #9ba5b8 !important;
    border-left: 0 !important;
    transform: rotate(45deg) !important;
}

.pos-handover-page .handover-filter-grid .input:focus,
.pos-handover-page .handover-filter-grid .select > select:focus {
    border-color: var(--handover-accent) !important;
    box-shadow: 0 0 0 3px rgba(254, 142, 60, 0.11) !important;
}

.pos-handover-page #pos_handover_confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px !important;
    min-height: 44px !important;
    border: 1px solid var(--handover-primary) !important;
    border-radius: 999px !important;
    background: var(--handover-primary) !important;
    color: #fff !important;
    padding: 0 22px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.pos-handover-page #pos_handover_confirm:hover,
.pos-handover-page #pos_handover_confirm:focus {
    border-color: #ee4961 !important;
    background: #ee4961 !important;
}

.pos-handover-page .handover-list-shell > hr {
    display: none;
}

.pos-handover-page .account-box.is-form .form-body.handover-list-body {
    border-top: 1px solid var(--handover-line);
    border-radius: 0 0 13px 13px;
    background: #fff;
    padding: 16px 20px 22px !important;
}

.pos-handover-page .handover-list-toolbar {
    display: block !important;
    margin: 0 0 12px !important;
}

.pos-handover-page .handover-list-toolbar > .column {
    width: 100% !important;
    padding: 0 !important;
}

.pos-handover-page .handover-list-toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
}

.pos-handover-page .handover-list-toolbar .datatable-info,
.pos-handover-page .handover-list-toolbar .dataTables_info {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--handover-muted) !important;
    font-size: 0.72rem;
    font-weight: 650;
}

.pos-handover-page #infotop .dataTables_length,
.pos-handover-page #infotop .dataTables_length label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--handover-muted);
    font-size: 0.72rem;
    font-weight: 650;
}

.pos-handover-page #infotop select {
    box-sizing: border-box;
    min-width: 76px;
    height: 40px !important;
    min-height: 40px !important;
    border: 1px solid var(--handover-line);
    border-radius: 9px;
    background: #fff;
    color: var(--handover-ink);
    padding: 0 28px 0 10px;
    font-size: 0.76rem;
    box-shadow: none;
}

.pos-handover-page .handover-table-shell {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: min(68vh, 720px);
    min-height: 320px;
    max-height: min(68vh, 720px) !important;
    overflow: auto !important;
    border: 1px solid var(--handover-line);
    border-radius: 14px;
    background: #fff;
    overscroll-behavior: contain;
}

.pos-handover-page .handover-table-shell > .simplebar-wrapper,
.pos-handover-page .handover-table-shell .simplebar-content-wrapper {
    height: 100% !important;
    max-height: 100% !important;
}

.pos-handover-page .handover-table-shell .simplebar-content-wrapper {
    overflow: auto !important;
    overscroll-behavior: contain;
}

.pos-handover-page .handover-table-shell .dataTables_wrapper {
    width: 100%;
    min-width: max-content;
}

.pos-handover-page #users-datatable,
.pos-handover-page table.dataTable.handover-datatable {
    width: max-content !important;
    min-width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0;
}

.pos-handover-page #users-datatable thead th {
    box-sizing: border-box;
    height: var(--handover-title-row-height);
    border: 0 !important;
    border-right: 1px solid #e9edf3 !important;
    border-bottom: 1px solid var(--handover-line) !important;
    background: var(--handover-header) !important;
    background-clip: padding-box !important;
    padding: 9px 10px !important;
    color: #657088;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1.35;
    text-align: left;
    vertical-align: middle;
    white-space: normal;
}

.pos-handover-page #users-datatable thead tr:first-child th {
    top: 0 !important;
    z-index: 30;
    height: var(--handover-title-row-height) !important;
}

.pos-handover-page #users-datatable thead tr.f_area th {
    top: var(--handover-sticky-top) !important;
    z-index: 29;
    height: 46px !important;
    min-width: 0 !important;
    background: var(--handover-filter-header) !important;
    padding: 6px 8px !important;
}

.pos-handover-page #users-datatable thead tr.f_area input,
.pos-handover-page #users-datatable thead tr.f_area select {
    display: block;
    width: 100% !important;
    max-width: 100%;
    min-width: 72px;
    height: 34px;
    margin: 0;
    border: 1px solid #dce3ec;
    border-radius: 8px;
    background: #fff;
    color: var(--handover-ink);
    padding: 0 9px;
    font-size: 0.72rem;
    box-shadow: none;
}

.pos-handover-page #users-datatable thead tr.f_area input:focus,
.pos-handover-page #users-datatable thead tr.f_area select:focus {
    border-color: var(--handover-accent);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(254, 142, 60, 0.1);
}

.pos-handover-page #users-datatable thead th > span[class^="handover-total-"] {
    display: inline-flex;
    align-items: baseline;
    margin-top: 4px;
    border-radius: 999px;
    background: #eaf8ef;
    color: #14813b !important;
    padding: 2px 7px;
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
}

.pos-handover-page #users-datatable tbody td {
    border: 0 !important;
    border-right: 1px solid #f0f2f6 !important;
    border-bottom: 1px solid #edf0f5 !important;
    background: #fff !important;
    padding: 11px 10px !important;
    color: var(--handover-ink);
    font-size: 0.78rem;
    line-height: 1.45;
    vertical-align: middle;
    -webkit-user-select: text;
    user-select: text;
}

.pos-handover-page #users-datatable tbody tr:last-child td {
    border-bottom: 0 !important;
}

.pos-handover-page #users-datatable tbody tr:hover td,
.pos-handover-page #users-datatable tbody tr:hover td:first-child {
    background: #fffaf8 !important;
}

.pos-handover-page #users-datatable thead th:first-child,
.pos-handover-page #users-datatable tbody td:first-child {
    left: 0 !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    border-right: 1px solid var(--handover-line) !important;
    box-shadow: 7px 0 12px -12px rgba(40, 50, 82, 0.55) !important;
}

.pos-handover-page #users-datatable thead tr:first-child th:first-child {
    z-index: 40 !important;
    background: var(--handover-header) !important;
}

.pos-handover-page #users-datatable thead tr.f_area th:first-child {
    z-index: 39 !important;
    background: var(--handover-filter-header) !important;
}

.pos-handover-page #users-datatable tbody td:first-child {
    z-index: 20;
    background: #fff !important;
}

.pos-handover-page #users-datatable thead th:last-child,
.pos-handover-page #users-datatable tbody td:last-child {
    position: sticky !important;
    right: 0 !important;
    border-right: 0 !important;
    border-left: 1px solid var(--handover-line) !important;
    background: #fff !important;
    box-shadow: -7px 0 12px -12px rgba(40, 50, 82, 0.55) !important;
}

.pos-handover-page #users-datatable thead tr:first-child th:last-child {
    z-index: 41 !important;
    background: var(--handover-header) !important;
    text-align: center;
}

.pos-handover-page #users-datatable thead tr.f_area th:last-child {
    z-index: 39 !important;
    background: var(--handover-filter-header) !important;
}

.pos-handover-page #users-datatable tbody td:last-child {
    z-index: 22;
}

.pos-handover-page #users-datatable tbody tr:hover td:last-child {
    background: #fffaf8 !important;
}

.pos-handover-page .handover-row-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 132px;
}

.pos-handover-page .handover-row-actions .button,
.pos-handover-page .handover-row-actions .button .lnil {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.pos-handover-page .handover-row-actions .button .lnil {
    width: 1em;
    height: 1em;
    margin: 0 !important;
}

.pos-handover-page .pos_handover_detail,
.pos-handover-page .pos_handover_download,
.pos-handover-page .pos_handover_excel_download {
    border: 1px solid transparent !important;
    box-shadow: none !important;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.pos-handover-page .pos_handover_detail:hover,
.pos-handover-page .pos_handover_download:hover,
.pos-handover-page .pos_handover_excel_download:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(40, 50, 82, 0.12) !important;
}

.pos-handover-page .handover-money-sign,
.pos-handover-page .handover-money-prefix,
.pos-handover-page .handover-money-decimal {
    font-size: 70%;
    font-weight: inherit;
}

.pos-handover-page .handover-money-integer {
    font-size: 1em;
    font-weight: inherit;
}

.pos-handover-page .handover-list-pagination {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    min-height: 64px;
    margin: 0;
    padding: 10px 6px 12px;
}

.pos-handover-page .handover-list-pagination .dataTables_paginate,
.pos-handover-page .handover-list-pagination .dataTables_paginate > span {
    display: flex;
    align-items: center;
    float: none;
    margin: 0;
    padding: 0;
}

.pos-handover-page .handover-list-pagination .paginate_button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 36px !important;
    width: 36px;
    height: 36px;
    margin: 4px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #ededed !important;
    color: #333 !important;
    font-size: 14px;
    font-weight: 700;
    box-shadow: none !important;
}

.pos-handover-page .handover-list-pagination .paginate_button.previous,
.pos-handover-page .handover-list-pagination .paginate_button.current,
.pos-handover-page .handover-list-pagination .paginate_button:hover {
    background: var(--handover-primary) !important;
    color: #fff !important;
}

.pos-handover-page .handover-list-pagination .paginate_button.disabled {
    opacity: 0.38;
    pointer-events: none;
}

.pos-handover-page #empty_list {
    min-height: 320px;
    margin: 0;
    border: 0;
    background: #fff;
}

.pos-handover-page #empty_list .placeholder-content {
    padding: 52px 20px;
}

.pos-handover-page #empty_list img {
    width: 210px;
    max-width: 42vw;
}

.pos-handover-page #empty_list h3 {
    margin-top: 16px;
    color: var(--handover-ink);
    font-size: 1.14rem;
}

.pos-handover-page #empty_list p {
    color: var(--handover-muted);
    font-size: 0.82rem;
}

@media (min-width: 1201px) {
    html.dashboard-wide-layout .pos-handover-page .handover-filter-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 171px));
        justify-content: start;
    }
}

@media (min-width: 901px) {
    .pos-handover-page .handover-filter-action {
        position: absolute;
        top: 0;
        right: 0;
        width: 124px !important;
    }

    .pos-handover-page .handover-filter-action > h4 {
        display: none;
    }

    .pos-handover-page .handover-filter-fieldset .fieldset-heading {
        padding-right: 142px;
    }
}

@media (max-width: 900px) {
    .pos-handover-page .handover-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pos-handover-page .handover-filter-action > h4 {
        display: none;
    }

    .pos-handover-page .handover-filter-action {
        align-self: end;
    }
}

@media (max-width: 768px) {
    .pos-handover-page .handover-list-shell {
        overflow: visible !important;
    }

    .pos-handover-page .handover-list-header {
        padding: 18px 14px 14px !important;
    }

    .pos-handover-page .account-box.is-form .form-body.handover-list-body {
        padding: 14px !important;
    }

    .pos-handover-page .handover-list-toolbar-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .pos-handover-page .handover-table-shell {
        height: 62vh;
        max-height: 62vh !important;
        border-radius: 11px;
    }
}

@media (max-width: 520px) {
    .pos-handover-page .handover-filter-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pos-handover-page .handover-filter-action {
        width: 100% !important;
    }
}

.is-dark .pos-handover-page .handover-list-shell,
.is-dark .pos-handover-page .handover-table-shell,
.is-dark .pos-handover-page #users-datatable tbody td,
.is-dark .pos-handover-page #empty_list {
    border-color: #34394a !important;
    background: #242735 !important;
}

.is-dark .pos-handover-page .handover-list-header {
    background: linear-gradient(135deg, #242735 0%, #2b2932 100%) !important;
}

.is-dark .pos-handover-page .handover-filter-panel {
    border-color: #34394a !important;
    background: #202330 !important;
}

.is-dark .pos-handover-page #users-datatable thead th {
    border-color: #34394a !important;
    background: #2b2e3b !important;
    color: #d7dae8;
}

.is-dark .pos-handover-page #users-datatable thead tr.f_area th {
    background: #252834 !important;
}
