:root {
    --alice-blue: #EEF7FF;
    --bright-gray: #E9E9E9;
    --chinese-white: #e0e0e0;
    --dark-silver: #737070;
    --gainsboro: #DEDEDE;
    --gray: #BBBBBB;
    --green: #00A74C;
    --onyx: #35353A;
    --orange: #FF7A2F;
    --silver-chalice: #ACABAB;
    --white: #FFFFFF;
    --anti-flash-white: #F0F0F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SF Pro Display', sans-serif;
    user-select: none;
}

body {
    background-color: var(--alice-blue);
}

#map {
    image-rendering: pixelated !important;
}

/* loading */
.loading {
    position: fixed; 
    top: 56%; 
    left: 55%;
    transform: translate(-50%, -50%);

    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--green);
    display: inline-block;
    animation: spin 1s linear infinite;
    display: none;
}

.loading.position {
    position: initial; 
    top: initial; 
    left: initial;
    transform: initial;
    width: 20px;
    height: 20px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* datatable */
#myTable {
    margin-top: -24px;
}

.dt-layout-start, .dt-layout-end {
    margin: 0 !important;
    padding: 0 !important;
}

.dt-empty {
    text-align: center !important;
    vertical-align: middle !important;
    height: calc(100vh - 399px) !important;
    font-size: 16px !important;
    font-weight: 600 !important;

    display: none;
}

.table-content.dragging table tbody tr td {
    cursor: grab;
}

.dt-paging-button {
    border-radius: 10px !important;
    box-shadow: none !important;
}

.dt-paging-button:hover {
    background: var(--green) !important;
    border-color: var(--green) !important;
}

.dt-paging-button.disabled {
    background: none !important;
    border-color: white !important;
}

.dt-paging-button.current {
    background: var(--white) !important;
    border-color: var(--dark-silver) !important;
}

.dt-type-numeric {
    text-align: left !important;
}

.dt-type-date {
    text-align: left !important;
}

/* scrollbar */
.scrollbar-padding {
    padding: 5px;
}

.scrollbar-container {
    display: grid;
    height: calc(100vh - 10px);
    overflow: auto;
    scroll-behavior: smooth;
}

/* form elements */
.input-field {
    position: relative;
    background-color: var(--white);
    border-radius: 8px;
}

.input-field.cursor {
    cursor: pointer;
}

.input-field.margin {
    margin-bottom: 14px;
}

.input-field.disabled {
    pointer-events: none;
    background-color: var(--bright-gray);
}

.input-field.disabled .input-text {
    border-color: var(--bright-gray);
}

.input-field.active .input-text {
    border-color: var(--green);
    box-shadow: 0 0 2px var(--green);
}

.input-text {
    width: 100%;
    height: 44px;
    text-overflow: ellipsis;
    outline: none;
    padding: 7px;
    padding-top: 23px;
    font-size: 16px;
    border-radius: 8px;
    background-color: transparent;
    color: var(--dark-silver);
    border: 1px solid var(--gray);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 0 0 0 transparent, 0 0 0 0 transparent;
}

.input-text:focus {
    border-color: var(--green);
    box-shadow: 0 0 2px var(--green);
}

.input-text::placeholder {
    opacity: 0;
}

.input-text[type=number]::-webkit-inner-spin-button,
.input-text[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.input-text.icon {
    padding-right: 34px;
}

.input-text.cursor {
    cursor: pointer;
}

.input-text.disabled {
    pointer-events: none;
}

.input-placeholder {
    position: absolute;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    color: var(--gray);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    z-index: 1;
}

.input-text:focus + .input-placeholder,
.input-text:not(:placeholder-shown) + .input-placeholder {
    top: 33%;
    font-size: 12px;
}

.input-text:-webkit-autofill + .input-placeholder {
    top: 33%;
    font-size: 12px;
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    margin-top: 1px;
    width: 17px;
    height: 17px;
    object-fit: contain;
    background-color: transparent;
    transition: all 0.2s ease-in-out;
    visibility: hidden;
    opacity: 0;
}

.input-icon.active {
    visibility: visible;
    opacity: 1;
}

.input-icon.rotate {
    transform: translateY(-50%) rotate(180deg);
}

.input-icon.disabled {
    pointer-events: none;
}

.input-items {
    position: absolute;
    top: calc(44px + 5px);
    left: 0;
    width: 100%;
    border-radius: 8px;
    background-color: var(--white);
    border: 1px solid var(--gray);
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.input-items.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.2s ease-in-out, padding 0s;
}

.input-items.padding {
    padding: 5px;
}

.input-items-scroll {
    max-height: calc(45px * 4);
    overflow-y: auto;
    transition: all 0.3s;
}

.input-items-scroll.active {
    padding-right: 5px;
}

.input-item {
    display: flex;
    align-items: center;
    padding: 8px;
    height: 44px;
    color: var(--dark-silver);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.input-item:hover {
    background-color: var(--bright-gray)
}

.input-item.border-radius {
    border-radius: 8px;
}

.input-item.category {
    padding-top: 23px;
    padding-bottom: 25px;
    font-weight: 500;
    cursor: default;
    border-top: 1px solid var(--gainsboro);
    border-bottom: 1px solid var(--gainsboro);
    margin: 5px 0;
}

.input-item.category:hover {
    background-color: var(--white);
}

.button {
    padding: 0 12.5px;
    background-color: var(--green);
    color: var(--white);
    font-size: 16px;
    width: 100%;
    height: 44px;
    border-radius: 8px;
    outline: none;
    border: none;
    white-space: nowrap;
    cursor: pointer;
}

.button:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

.button:active {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

.button.width {
    width: auto;
}

.button.margin {
    margin-bottom: 14px;
}

.button.cancel {
    color: var(--dark-silver);
    background-color: var(--gainsboro);
}

.button.disabled {
    color: var(--dark-silver);
    background-color: var(--bright-gray);
    pointer-events: none;
}

/* navigation bar */
.nav-container {
    min-width: 1200px;
    max-width: 2600px;
    width: 100%;
    margin: 0 auto;
    display: flex;
}

.nav-left {
    flex-shrink: 0;
    width: 270px;
    padding: 25px;
    padding-right: 5px;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-right: 1px solid var(--gray);
}

.nav-logo {
    width: 75px;
    height: 75px;
    margin-left: 75px;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-profile {
    width: calc(100% - (25px - 5px));
    margin: 25px 0;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--gray);
}

.nav-profile-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--green);
}

.nav-profile-name {
    font-size: 20px;
    color: var(--dark-silver);
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: default;
}

.nav-items {
    padding-right: calc(25px - 5px);
    width: 100%;
    height: calc(100vh - 316px);
    overflow-y: auto;
    scroll-behavior: smooth;
    margin-bottom: 25px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 5px;
}

.nav-item:hover {
    background-color: var(--bright-gray);
}

.nav-item.active {
    background-color: var(--green);
}

.nav-item.margin {
    margin: 0;
}

.nav-item.logout {
    width: calc(100% - (25px - 5px));
}

.nav-item.right {
    position: absolute;
    top: 11.9px;
    right: 0;
    width: 95px;
    padding: 7px 9px;
    gap: 7px;
}

.nav-item.right:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

.nav-item.right:active {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

.nav-item-image {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.nav-item-image.hide {
    visibility: hidden;
}

.nav-item-image.title {
	width: 12px;
	height: 12px;
	margin-left: 1.3px;
	transform: rotate(-90deg);
}

.nav-item-image:last-child {
    margin-left: auto;
    margin-top: 4px;
    width: 18px;
    height: 18px;
    transition: all 0.5s;
}

.nav-item-image:last-child.active {
    transform: rotate(180deg);
}

.nav-item-text {
    margin-top: 1px;
    font-size: 16px;
    color: var(--dark-silver);
}

.nav-item-text.active {
    color: var(--white);
}

.nav-item-text.selected {
    color: var(--green);
}

.nav-item-text.logout {
    color: var(--orange);
}

.nav-item-dropdown {
    transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.nav-item-dropdown.active {
    max-height: 98px;
    opacity: 1;
}

.nav-right {
    padding: 5px;
    width: 100%;
    overflow-y: auto;
}

.nav-scroll {
    padding: calc(25px - 5px);
    padding-top: 0;
    width: 100%;
    height: calc(100vh - 10px);
    overflow-y: auto;
    scroll-behavior: smooth;
}

.nav-header {
    position: sticky;
    top: 0;
    padding: calc(25px - 5px) 0 25px 0;
    background-color: var(--alice-blue);
    display: flex;
    justify-content: space-between;
    z-index: 21000;
}

.nav-title {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: default;
}

.nav-title-text {
    text-transform: uppercase;
    font-size: 20px;
    color: var(--dark-silver);
}

.nav-content {
    height: calc(100vh - 99px);
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray);
}

.nav-content.flex {
    display: flex;
}

.nav-content.padding {
    padding: 25px;
}

.nav-content.no-scroll {
    overflow: hidden;
}

.nav-content.transparent {
    background-color: initial;
}

.nav-content.border {
    border: 1px solid transparent;
}

/* table elements */
.table-container {
    height: 100%;
}

.table-header {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.table-input-field {
    position: relative;
	width: 240px;
}

.table-input-text {
    width: 100%;
    height: 39px;
    text-overflow: ellipsis;
    outline: none;
    padding: 7px;
    padding-top: 9.9px;
    padding-left: 33px;
    font-size: 16px;
    border-radius: 8px;
    background-color: var(--white);
    color: var(--dark-silver);
    border: 1px solid var(--gray);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: inset 0 0 0 0 transparent, 0 0 0 0 transparent;
}

.table-input-text:focus {
    border-color: var(--green);
    box-shadow: 0 0 2px var(--green);
}

.table-input-text::placeholder {
    color: var(--gray);
}

.table-input-icon {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    object-fit: contain;
}

/* new */
.table-input-field {
    position: relative;
	width: 200px;
}

.table-input-field.right {
    margin-left: 20px;
}

.table-input-field.active .table-input-text.right {
    border-color: var(--green);
    box-shadow: 0 0 2px var(--green);
}

.table-input-text.right { 
    width: 100%;
    padding-left: 7px;
    padding-right: 33px;
    pointer-events: none;
}

.table-input-icon.right {
    left: initial;
    right: 10px;
    transition: all 0.2s ease-in-out;
}

.table-input-icon.rotate {
    transform: translateY(-50%) rotate(180deg);
}

.table-input-items {
    position: absolute;
    top: calc(44px + 5px);
    left: 0;
    width: 100%;
    border-radius: 8px;
    background-color: var(--white);
    border: 1px solid var(--gray);
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.table-input-items.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: all 0.2s ease-in-out, padding 0s;
}

.table-input-items.padding {
    padding: 5px;
}

.table-input-items-scroll {
    max-height: calc(45px * 4);
    overflow-y: auto;
    transition: all 0.3s;
}

.table-input-items-scroll.active {
    padding-right: 5px;
}

.table-input-item {
    display: flex;
    align-items: center;
    padding: 8px;
    min-height: 44px;
    color: var(--dark-silver);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.table-input-item:hover {
    background-color: var(--bright-gray)
}

.table-input-item.border-radius {
    border-radius: 8px;
}
/* new end */

.table-button {
    display: flex;
    align-items: center;
    gap: 9px;
    background-color: var(--green);
    width: auto;
    height: 39px;
    padding: 0 13px;
    border-radius: 8px;
    margin-left: 15px;
    cursor: pointer;
}

.table-button:hover {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

.table-button:active {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

.table-button.icon {
    padding-left: 10px;
}

.table-button.actions {
    padding: 0 8px;
    height: 30px;
    margin-left: 0;
}

.table-button.actions-icon {
    gap: 4px;
    padding-left: 4px;
}

.table-button-text {
    color: var(--white);
    font-size: 14px;
}

.table-button-icon {
    margin-bottom: -2px;
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.table-touchable {
    width: 37px;
    height: 37px;
    border-radius: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.table-touchable:hover {
    background-color: var(--bright-gray);
}

.table-touchable-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.table-filter {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: absolute;
    top: 48px;
    right: 0;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--gray);
    background-color: var(--white);
    box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
    z-index: 2;
    transition: all 0.3s;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.table-filter.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.table-filter-text {
    font-size: 15px;
    color: var(--dark-silver);
    transition: all 0.3s;
}

.table-filter-line {
    width: 100%;
    height: 1px;
    background-color: var(--gray);
}

.table-filter-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.table-filter-radio:hover .table-filter-radio-circle {
    border-color: var(--green);
}

.table-filter-radio:hover .table-filter-radio-circle::after {
    background-color: var(--green);
}

.table-filter-radio:hover .table-filter-text {
    color: var(--green);
}

.table-filter-radio-circle {
    position: relative;
    width: 14px;
    height: 14px;
    background-color: var(--white);
    border: 1px solid var(--dark-silver);
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s;
}

.table-filter-radio-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    background-color: var(--dark-silver);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.table-filter-radio input[type="radio"] {
    display: none;
}

.table-filter-radio input[type="radio"]:checked + .table-filter-radio-circle {
    background-color: var(--white);
}

.table-filter-radio input[type="radio"]:checked + .table-filter-radio-circle::after {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.table-filter-button {
    margin-right: auto;
    padding: 5px 10px;
    background-color: var(--green);
    color: var(--white);
    font-size: 14px;
    border-radius: 8px;
    outline: none;
    border: none;
    cursor: pointer;
}

.table-filter-button:hover {
	background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

.table-filter-button:active {
	background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

.table-space {
    flex: 1;
}

.table-line {
    margin-left: 20px;
    margin-right: 10px;
    width: 1px;
    height: 41px;
    background-color: var(--dark-silver);
}

.table-menu {
    height: 22px;
    position: relative;
    display: flex;
    gap: 15px;
    margin-bottom: 14px;
}

.table-menu-item {
    border: none;
    padding-bottom: 5px;
    color: var(--dark-silver);
    background-color: var(--white);
    cursor: pointer;
    font-size: 15px;
}

.table-menu-indicator {
    width: 37.83px;
    height: 1px;
    background-color: var(--dark-silver);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.3s;
}

.table-content {
    width: 100%;
    height: calc(100vh - 215px);
    overflow-y: auto;
}

.table-content.height {
    height: calc(100vh - 250.6px);
}

.table-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-content table thead tr td {
    position: sticky;
    top: 0;
    font-weight: 500;
    color: var(--onyx);
    font-size: 15px;
    text-align: left;
    vertical-align: bottom;
    background-color: var(--white);
    border-bottom: 1px solid var(--chinese-white);
    padding: 14.5px 16px;
}

.table-content table thead tr td.nowrap {
    white-space: nowrap;
}

.table-content table thead tr td.padding {
    padding-top: 30px;
}

.table-content table thead tr td.width {
    min-width: 100px;
}

.text-end {
    font-weight: bold;
    color: black !important;
}

.table-child-text {
    font-weight: 500;
    color: var(--onyx);
    font-size: 15px;
    position: absolute;
    top: 0px;
    left: 16px;
    width: 100%;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--onyx);
}

.table-child-line {
    font-weight: 500;
    color: var(--white);
    font-size: 15px;
    position: absolute;
    top: 0px;
    left: 0px;
    width: calc(100% - 16px);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--onyx);
}

.table-content table tbody tr {
    transition: all 0.3s;
    cursor: default;
}

.table-content table tbody tr.selectable {
    cursor: pointer;
}

.table-content table tbody tr.selectable.active {
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
}

.table-content table tbody tr td {
    color: var(--dark-silver);
    font-size: 15px;
    text-align: start;
    height: 48px;
    border-bottom: 1px solid var(--chinese-white);
    padding: 5px 16px;
}

.table-content table tbody tr td.active {
    color: var(--dark-silver);
}

.table-content table tbody tr td.nowrap {
    white-space: nowrap;
}

.table-actions {
    display: flex;
    gap: 1px;
    align-items: center;
}

/* modal elements */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5);
    padding: 5px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s;
    z-index: 22000;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal.padding {
    padding: 0;
    background-color: var(--white);
}

.modal-scroll {
    padding: 10px 20px;
    height: 100%;
    overflow-y: auto;
    scroll-behavior: smooth;
    display: grid;
    align-items: center;
}

.modal-content {
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 8px;
}

.modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray);
}

.modal-title {
    font-size: 18px;
    color: var(--dark-silver);
}

.modal-body {
    display: flex;
}

.modal-left {
    padding-top: 50px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.modal-image-thumbnail {
    width: 150px;
    height: 150px;
    background: url('../../images/no_image.png');
    background-position: center;
    background-size: cover;
    transition: .5s;
    border-radius: 50%;
    border: 1px solid var(--gray);
}

.modal-right {
    padding: 20px;
    width: 480px;
    display: flex;
    flex-direction: column;
}

.modal-right.top {
    padding-top: 0;
}

.modal-right.left {
    padding-left: 0;
}

.modal-right.bottom {
    padding-bottom: 26px;
}

.modal-right-text {
    color: var(--dark-silver);
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-right-text.green {
    color: var(--green);
}

.modal-footer {
    border-top: 1px solid var(--gray);
    padding: 20px;
    display: flex;
    justify-content: end;
    gap: 20px;
}

.cr-boundary {
    width: 500px !important;
    border: 1px solid var(--chinese-white);
    border-radius: 8px 8px 0 0;
}

.cr-slider-wrap {
    margin-top: 20px !important;
}

.modal-pdf {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-pdf-button {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-pdf-button-image {
    width: 25px;
    height: 25px;
}

/* 58mm thermal printer */
.receipt-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-bottom: 10px;
}

.receipt-header.left {
    align-items: start;
}

.receipt-header.border {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    padding: 6px 0;
}

.receipt-header.margin {
    margin-bottom: 15px;
}

.receipt-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.receipt-text {
    text-transform: uppercase;
}

.receipt-text.center {
    text-align: center;
}

.receipt-text.bold {
    font-weight: bold;
}

.receipt-text.uppercase {
    text-transform: uppercase;
}

.receipt-text.large {
    font-size: 14px;
}

.receipt-text.none {
    text-transform: none;
}

.receipt-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.receipt-row {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    border-bottom: 2px dotted black;
    gap: 10px;
    padding-bottom: 10px;
}

.receipt-row:last-child {
    border: 2px solid white;
}

.receipt-row-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.receipt-footer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 10px;
}

.receipt-footer.border {
    padding: 6px 0;
    border-top: 2px dotted black;
    border-bottom: 2px dotted black;
}

.receipt-footer.space {
    justify-content: center;
    align-items: center;
}

/* signin */
.signin-container {
    position: relative;
    width: 1150px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.signin-left {
    flex: 1;
}

.signin-text.welcome {
    font-size: 50px;
    font-weight: bold;
    color: var(--green);
    cursor: default;
}

.signin-text.greetings {
    font-size: 30px;
    font-weight: bold;
    color: var(--dark-silver);
    cursor: default;
}

.signin-text.description {
    margin-top: 15px;
    font-size: 20px;
    color: var(--silver-chalice);
    cursor: default;
}

.signin-image {
    margin-top: 30px;
    width: 610px;
    height: 390.61px;
    image-rendering: optimizeSpeed;
}

.signin-right {
    width: 420px;
}

.signin-form {
    padding: 35px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: var(--white);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.signin-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.signin-logo img {
    width: 44px;
    height: 44px;
    image-rendering: optimizeSpeed;
}

.signin-logo p {
    font-size: 23px;
    font-weight: bold;
    color: var(--dark-silver);
    cursor: default;
}

.signin-info {
    margin-top: 55px;
    margin-bottom: 50px;
}

.signin-info p:first-child {
    font-size: 23px;
    font-weight: bold;
    color: var(--dark-silver);
    cursor: default;
}

.signin-info p:last-child {
    font-size: 16px;
    color: var(--silver-chalice);
    cursor: default;
}

.signin-forgot {
    margin-left: auto;
    margin-bottom: 50px;
    font-size: 16px;
    color: var(--silver-chalice);
    cursor: pointer;
}

/* dashboard */
.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.dashboard-card {
    flex: auto;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.dashboard-card.green {
    background: linear-gradient(to right, #00A74C 0%, #84E7B1 100%);
}

.dashboard-card.blue {
    background: linear-gradient(to right, #0687E4 0%, #C2E7FC 100%);
}

.dashboard-card.purple {
    background: linear-gradient(to right, #B208AC 0%, #F9B0F6 100%);
}

.dashboard-card.orange {
    background: linear-gradient(to right, #FF7A2F 0%, #EFD2C2 100%);
}

.dashboard-card.pink {
    background: linear-gradient(to right, #FF9A9A 0%, #FFF1F1 100%);
}

.dashboard-card.skyblue {
    background: linear-gradient(to right, #6096B4 0%, #D8F0FE 100%);
}

.dashboard-card.lavender {
    background: linear-gradient(to right, #7286D3 0%, #D5DCF6 100%);
}

.dashboard-card.space-between {
    justify-content: space-between;
}

.dashboard-card-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.dashboard-card-text {
    color: var(--white);
    font-size: 14px;
    cursor: default;
}

.dashboard-card-text.large {
    font-size: 30px;
    font-weight: bold;
}

.dashboard-line {
    margin: 25px 0;
    width: 100%;
    height: 2px;
    background-color: var(--green);
}

.dashboard-gap {
    width: 100%;
    height: 25px;
}

.dashboard-gap.height {
    height: calc(25px - 5px);
}

.dashboard-box {
    padding: 25px;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    background-color: var(--white);
    border: 1px solid var(--gray);
}

.dashboard-box.left {
    flex: 1;
    height: 400px;
}

.dashboard-box.right {
    flex: auto;
    width: 600px;
    height: 400px;
}

.dashboard-box-header {
    margin-bottom: 15px;
    display: flex;
    width: 100%;
    gap: 10px;
}

.dashboard-box-header.margin {
    margin-bottom: 0;
}

.dashboard-box-header.table {
    justify-content: space-between;
    align-items: center;
}

.dashboard-box-title {
    text-transform: uppercase;
    font-size: 20px;
    color: var(--dark-silver);
    cursor: default;
}

.dashboard-box-content {
    display: flex;
    align-items: center;
    gap: 25px;
    height: 400px;
}

.dashboard-box-content-column {
    display: flex;
    flex-direction: column;
}

.dashboard-box-content-column-text {
    white-space: nowrap;
    color: var(--dark-silver);
    font-size: 17px;
}

.dashboard-box-content-column-text.uppercase {
    text-transform: uppercase;
}

.dashboard-box-content-column-text.large {
    font-weight: bold;
    font-size: 74px;
}

.dashboard-input-field {
    width: 100px;
    position: relative;
}

.dashboard-input-field.width { 
    width: 120px;
}

.dashboard-input-field.margin-left { 
    margin-left: 15px;
}

.dashboard-input-text {
    width: 100%;
    height: 24px;
    text-overflow: ellipsis;
    outline: none;
    padding: 0 4px;
    border-radius: 4px;
    border: 1px solid var(--gray);
    font-size: 14px;
    color: var(--dark-silver);
}

.dashboard-input-text.disabled {
    pointer-events: none;
}

.dashboard-input-icon {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    margin-top: 1px;
    width: 12px;
    height: 12px;
    object-fit: contain;
    transition: all 0.2s ease-in-out;
    pointer-events: none;
}

.dashboard-input-icon.size {
    margin-top: 0;
    width: 15px;
    height: 15px;
}

.dashboard-input-icon.rotate {
    transform: translateY(-50%) rotate(180deg);
}

.dashboard-input-items {
    border-radius: 4px;
    background-color: var(--white);
    border: 1px solid var(--gray);
    position: absolute;
    top: calc(24px + 3px);
    left: 0;
    width: 100%;
    transition: all 0.2s ease-in-out;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.dashboard-input-items.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.dashboard-input-item {
    color: var(--dark-silver);
    font-size: 14px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s;
}

.dashboard-input-item:hover {
    background-color: var(--bright-gray);
}

.dashboard-button {
    background-color: var(--white);
    color: var(--dark-silver);
    font-size: 14px;
    width: 60px;
    padding: 3px;
    outline: none;
    border: 1px solid var(--gray);
    border-radius: 4px;
    white-space: nowrap;
    cursor: pointer;
}

.dashboard-button:hover {
    color: var(--white);
    background-color: #08a44c;
    border-color: #08a44c;
}

.dashboard-button:active {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2));
}

/* sweetaler2 */
.swal2-container {
    z-index: 30000 !important;
}

.swal2-title {
    font-weight: 500;
}

.swal2-input:focus-within {
    border-color: var(--green);
    box-shadow: 0 0 2px var(--green);
}

/* skeleton */
.skeleton {
    position: relative;
    pointer-events: none;
}

.skeleton.nav-profile {
    border: 1px solid transparent;
}

.skeleton.nav-content {
    border: 1px solid transparent;
}

.skeleton.dashboard-box {
    border: 1px solid transparent;
}

.skeleton-animation {
    transition: all 0.2s ease-in-out;
}

.skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    background: linear-gradient(90deg, #b2d8ff, #e6f2ff, #b2d8ff);
    background-size: 200%;
    animation: skeleton 1s infinite linear;
    border-radius: 7px;
}

@keyframes skeleton {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.skeleton-product-analysis {
    position: relative;
    pointer-events: none;
}

.skeleton-product-analysis.dashboard-box {
    border: 1px solid transparent;
}

.skeleton-product-analysis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20000;
    background: linear-gradient(90deg, #b2d8ff, #e6f2ff, #b2d8ff);
    background-size: 200%;
    animation: skeleton 1s infinite linear;
    border-radius: 7px;
}