.hLoading {
    display: flex;
}

.hContainer.notTransThis:not(.swal2-container) {
    display: flex;
    justify-content: center;
    align-content: center;
}
.hContainer.notTransThis:not(.swal2-container) {
    width: 390px; 
}
.hLoading#htitle {
    display: flex !important;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.hLoading:before {
    content: url(/images/icon/loading.svg);
    width: 30px;
    height: 30px;
}

.hLoading#htitle:before {
    width: 50px;
    height: 50px;
}

[type=passwordCustom] {
    -webkit-appearance: none;
    -webkit-text-security: disc;
}

.popup-result-mess {
    font-size: 1.3rem;
    color: red;
    font-weight: 900;
}

.group-button.client-receipt {
    width: 100%;
    display: grid;
    justify-content: space-around;
    align-items: center;
    background-color: unset;
    padding: 10px;
    grid-template-columns: 1fr 1fr;
    grid-gap: var(--px-20);
}

.client-receipt {
    position: relative;
}

.client-receipt {
    position: relative;
}

.btn-footer {
    flex: 1;
    border: 0;
    color: white;
    display: flex;
    border-radius: 4px;
    align-items: center;
    height: var(--px-36);
    justify-content: center;
    background: var(--bs-blue);
    font: normal normal 700 var(--s-17);
}

    .btn-footer.btn-exit-receipt {
        background: var(--bs-gray-500);
    }

    .btn-footer.btn-open-receipt {
        background: var(--bs-green);
    }

.client-receipt-list {
    z-index: 1;
    width: 100%;
    display: none;
    gap: var(--px-6);
    position: absolute;
    width: var(--px-160);
    bottom: var(--px-40);
    flex-direction: column;
    padding: var(--px-12) 0;
    border-radius: var(--px-12);
    box-shadow: var(--shadow-qs-solid);
    margin-top: var(--px-12) !important;
    background: var(--theme-mode-bs-200);
    border: 1px solid var(--theme-mode-border);
}

.client-receipt-list-item {
    display: grid;
    outline: unset;
    box-shadow: unset;
    text-align: start;
    align-items: center;
    height: var(--px-40);
    white-space: nowrap;
    justify-items: start;
    grid-gap: 0 var(--px-10);
    color: var(--qs-txt-solid);
    grid-template-rows: unset;
    max-width: calc(100% - var(--px-16));
    border-radius: 0px 100px 100px 0px;
    padding: var(--px-6) var(--px-12);
    font: normal normal 500 var(--s-14);
    grid-template-columns: var(--px-16) 1fr;
    border-left: 3px solid transparent;
}

    .client-receipt-list-item:hover {
        background: var(--main-color-o);
        border-left: 3px solid var(--main-color);
    }
    
    .client-receipt-list-item i {
        color: var(--main-color);
    }

.client-receipt-list.active {
    display: flex;
}

.client-receipt-list-item-button {
    border: 0 !important;
    outline: 0 !important;
    padding: 0 !important;
    box-shadow: 0 !important;
    font: normal normal 500 var(--s-14);
}

.sidebar-icon-only .sidebar {
    overflow: unset !important;
}

.in-mar-search {
    color: var(--text-color);
}

.client-receipt-list-item-button {
    color: var(--text-color) !important;
}

.book-page-deposit-title {
    font-size: 12px;
    width: 100%;
    text-align: right;
}

.content-popover {
    display: flex;
    flex-direction: column;
}

    .content-popover .scrollBill {
        flex: 1;
    }

    .content-popover .group-button button.btn-exit-receipt {
        background: var(--main-color) !important;
    }

.group-button .btn-footer.btn-footer {
    background: var(--bs-gray-500) !important;
}
@media only screen and (max-width: 1080px) {
    :root {
        --scaleCustom: 0.75;
        --scalePopup:0.75
    }

    .sidebar-icon-only .sidebar .nav:first-child {
        max-height: 60%;
        overflow: auto;
    }
    .sidebar-icon-only .sidebar .nav:first-child::-webkit-scrollbar {
        width: 0.5px;
    }

    .sidebar-icon-only .sidebar .nav .nav-item.hover-open .collapse {
        position: absolute;
        transform: translate3d(0,0,0);
        
    }
    .sidebar-icon-only .sidebar .nav:not(.sub-menu) .nav-item:hover .nav-link {
        background: transparent!important;
    }

    * {
        touch-action: manipulation;
    }
    .scaleDiv{
        scale: var(--scalePopup)!important;
    }
}


/* InfoStore Profile Popup */
.popup-container.infostore {
    top: 68px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
    padding: 16px !important;
    width: 360px !important;
    max-width: 95vw !important;
    box-sizing: border-box !important;
}
.popup-container.infostore .popup-content {
    width: 100% !important;
    padding: 0 !important;
}
.form-store-info {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}
.form-store-info .line-store-name {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    box-sizing: border-box;
}
.form-store-info .store-avatar-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.form-store-info .store-avatar-wrap span {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.form-store-info .store-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.form-store-info .store-header-meta {
    flex: 1;
    min-width: 0;
}
.form-store-info .store-header-meta .title.names {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
    word-break: break-word;
}
.form-store-info .basic-detail-info-store {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}
.form-store-info .line-bacsic-store {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}
.form-store-info .line-bacsic-store:hover {
    border-color: #cbd5e1;
}
.form-store-info .line-bacsic-store i {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.form-store-info .store-info-text {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.form-store-info .store-info-text label {
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    margin: 0 0 2px 0;
    line-height: 1.2;
    cursor: default;
}
.form-store-info .store-info-text span,
.form-store-info .store-info-text .profile-connected-terminal,
.form-store-info .store-info-text .profile-enabled-printer {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    word-break: break-word;
}
.form-store-info .action-buttons-store {
    margin-top: 12px;
}
.form-store-info .btn-logout-web {
    width: 100%;
    height: 42px;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 10px;
    color: #e11d48;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}
.form-store-info .btn-logout-web:hover {
    background: #ffe4e6;
    border-color: #fda4af;
    color: #be123c;
}
.form-store-info .btn-logout-web i {
    font-size: 15px;
}


/* Shared notifications are toasts, separate from confirmation-dialog layouts. */
body .swal2-container.pos-notify-container {
    width: min(420px, 100vw) !important;
    max-width: 100vw;
    padding: 12px !important;
    pointer-events: none;
}

body .swal2-container .swal2-popup.swal2-toast.pos-notify {
    box-sizing: border-box;
    display: grid !important;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    grid-template-areas: "icon title close" "icon message close";
    gap: 4px 12px;
    align-items: start;
    width: 100% !important;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    max-height: calc(100dvh - 24px);
    margin: 0;
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--pos-border, #dce2e6);
    border-radius: 10px;
    background: var(--pos-surface, #fff);
    color: var(--pos-text, #263238);
    box-shadow: 0 8px 28px #14232d24;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    pointer-events: auto;
}
body .swal2-container .swal2-popup.swal2-toast.pos-notify-success { grid-template-columns: 28px minmax(0, 1fr); grid-template-areas: "icon title" "icon message"; }

body .swal2-popup.swal2-toast.pos-notify > * { min-width: 0; }
body .swal2-popup.swal2-toast.pos-notify .swal2-icon {
    grid-area: icon;
    align-self: start;
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin: 1px 0 0;
    border-width: 2px;
    font-size: 12px;
}
body .swal2-popup.swal2-toast.pos-notify .swal2-icon-content { font-size: 20px; font-weight: 700; line-height: 1; }
body .swal2-popup.swal2-toast.pos-notify .swal2-title {
    grid-area: title;
    align-self: center;
    max-width: 100%;
    margin: 0;
    padding: 1px 0 0;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}
body .swal2-popup.swal2-toast.pos-notify :is(.swal2-html-container, .swal2-content) {
    grid-area: message;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    color: var(--pos-muted, #586571);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    overflow-wrap: anywhere;
}
body .swal2-popup.swal2-toast.pos-notify .swal2-close {
    position: static;
    grid-area: close;
    align-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: -2px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--pos-muted, #687580);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}
body .swal2-popup.swal2-toast.pos-notify .swal2-close:hover { background: var(--pos-surface2, #f0f3f1); color: var(--pos-text, #263238); }
body .swal2-popup.swal2-toast.pos-notify .swal2-close:focus-visible { outline: 2px solid var(--bs-main, #f26522); outline-offset: 2px; }
body .swal2-popup.swal2-toast.pos-notify .swal2-actions:not([style*="display: flex"]) { display: none !important; }
body .swal2-popup.swal2-toast.pos-notify .swal2-timer-progress-bar-container { right: 0; bottom: 0; left: 0; height: 3px; overflow: hidden; border-radius: 0 0 10px 10px; }
body .swal2-popup.swal2-toast.pos-notify .swal2-timer-progress-bar { height: 3px; background: #64748b3d; }
body .swal2-container.pos-notify-container {
    width: min(412px, 100vw) !important;
    padding: 16px !important;
    padding-bottom: max(24px, env(safe-area-inset-bottom)) !important;
}
body .swal2-container .swal2-popup.swal2-toast.pos-notify {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    grid-template-rows: auto auto;
    gap: 0 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid #dce2df;
    border-radius: 8px;
    background: #fff;
    color: #17211d;
    box-shadow: 0 6px 24px rgb(15 23 42 / 12%);
    font-family: 'Sora', 'Lexend', sans-serif;
}
body .swal2-container .swal2-popup.swal2-toast.pos-notify:not(:has(.swal2-html-container:not(:empty), .swal2-content:not(:empty))) {
    grid-template-rows: auto 0;
}
body .swal2-container .swal2-popup.swal2-toast.pos-notify:not(:has(.swal2-icon:is(.swal2-success, .swal2-warning, .swal2-error, .swal2-info, .swal2-question))) {
    grid-template-columns: minmax(0, 1fr) 32px;
    grid-template-areas: "title close" "message close";
}
body .swal2-popup.swal2-toast.pos-notify .swal2-icon {
    --notice-ink: #27667a;
    --notice-soft: #edf6f8;
    align-self: center;
    place-items: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    margin: 0;
    border: 0;
    border-radius: 6px;
    background: var(--notice-soft);
    color: var(--notice-ink);
}
body .swal2-popup.swal2-toast.pos-notify .swal2-icon:is(.swal2-success, .swal2-warning, .swal2-error, .swal2-info, .swal2-question) { display: grid !important; }
body .swal2-popup.swal2-toast.pos-notify .swal2-icon.swal2-success { --notice-ink: #24734b; --notice-soft: #eaf5ee; }
body .swal2-popup.swal2-toast.pos-notify .swal2-icon.swal2-warning { --notice-ink: #956513; --notice-soft: #fff5df; }
body .swal2-popup.swal2-toast.pos-notify .swal2-icon.swal2-error { --notice-ink: #b13d4c; --notice-soft: #fceef0; }
body .swal2-popup.swal2-toast.pos-notify .swal2-icon > * { display: none !important; }
body .swal2-popup.swal2-toast.pos-notify .swal2-icon::before {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    color: var(--notice-ink);
    background: none;
    border: 0;
    transform: none;
    font: 400 16px/1 'Font Awesome 6 Pro';
    content: '\f05a';
}
body .swal2-popup.swal2-toast.pos-notify .swal2-icon.swal2-success::before { content: '\f058'; }
body .swal2-popup.swal2-toast.pos-notify .swal2-icon.swal2-warning::before { content: '\f071'; }
body .swal2-popup.swal2-toast.pos-notify .swal2-icon.swal2-error::before { content: '\f057'; }
body .swal2-popup.swal2-toast.pos-notify .swal2-icon.swal2-question::before { content: '\f059'; }
body .swal2-popup.swal2-toast.pos-notify .swal2-icon::after { display: none; }
body .swal2-popup.swal2-toast.pos-notify .swal2-title {
    padding: 0;
    font: 500 13px/20px 'Sora', 'Lexend', sans-serif;
    letter-spacing: 0;
}
body .swal2-popup.swal2-toast.pos-notify :is(.swal2-html-container, .swal2-content) {
    color: #66736c;
    font: 400 12px/18px 'Sora', 'Lexend', sans-serif;
}
body .swal2-popup.swal2-toast.pos-notify .swal2-close {
    align-self: center;
    width: 32px;
    height: 32px;
    margin: 0;
    color: #66736c;
    font-size: 22px;
}
@media (max-width: 1024px) {
    body .swal2-container.pos-notify-container { padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important; }
}
body .swal2-popup.pos-message-dialog:not(.swal2-toast) {
    box-sizing: border-box;
    width: min(440px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 24px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #dce2df;
    border-radius: 8px;
    background: #fff;
    color: #17211d;
    box-shadow: 0 12px 40px rgb(15 23 42 / 16%);
    font-family: 'Sora', 'Lexend', sans-serif;
}
body .swal2-popup.pos-message-dialog .swal2-title { margin: 12px 0 0; padding: 0; color: inherit; font: 600 18px/26px 'Sora', 'Lexend', sans-serif; overflow-wrap: anywhere; }
body .swal2-popup.pos-message-dialog :is(.swal2-html-container, .swal2-content) { margin: 10px 0 0; color: #66736c; font: 400 13px/21px 'Sora', 'Lexend', sans-serif; overflow-wrap: anywhere; }
body .swal2-popup.pos-message-dialog .swal2-icon {
    --notice-ink: #27667a;
    --notice-soft: #edf6f8;
    place-items: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 8px;
    border: 0;
    border-radius: 8px;
    background: var(--notice-soft);
    color: var(--notice-ink);
}
body .swal2-popup.pos-message-dialog .swal2-icon:is(.swal2-success, .swal2-warning, .swal2-error, .swal2-info, .swal2-question) { display: grid !important; }
body .swal2-popup.pos-message-dialog .swal2-icon.swal2-success { --notice-ink: #24734b; --notice-soft: #eaf5ee; }
body .swal2-popup.pos-message-dialog .swal2-icon.swal2-warning { --notice-ink: #956513; --notice-soft: #fff5df; }
body .swal2-popup.pos-message-dialog .swal2-icon.swal2-error { --notice-ink: #b13d4c; --notice-soft: #fceef0; }
body .swal2-popup.pos-message-dialog .swal2-icon > * { display: none !important; }
body .swal2-container .swal2-popup.swal2-modal.pos-message-dialog.swal2-icon-warning:not(.sc-confirm) .swal2-icon.swal2-warning .swal2-icon-content { display: none !important; }
body .swal2-popup.pos-message-dialog .swal2-icon::before {
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin: 0;
    border: 0;
    background: none;
    color: var(--notice-ink);
    transform: none;
    font: 400 20px/1 'Font Awesome 6 Pro';
    content: '\f05a';
}
body .swal2-popup.pos-message-dialog .swal2-icon.swal2-success::before { content: '\f058'; }
body .swal2-popup.pos-message-dialog .swal2-icon.swal2-warning::before { content: '\f071'; }
body .swal2-popup.pos-message-dialog .swal2-icon.swal2-error::before { content: '\f057'; }
body .swal2-popup.pos-message-dialog .swal2-icon.swal2-question::before { content: '\f059'; }
body .swal2-popup.pos-message-dialog .swal2-icon::after { display: none; }
/* sweetalert2.min.css sets .swal2-actions { flex-direction: row-reverse; justify-content: flex-start } -> a lone Confirm sat at the right.
   Keep row-reverse (Cancel left, Confirm right) and center the group. */
body .swal2-popup.pos-message-dialog .swal2-actions { gap: 8px; margin: 22px 0 0; justify-content: center; }
body .swal2-popup.pos-message-dialog .swal2-actions button { min-height: 40px; margin: 0; padding: 10px 18px; border-radius: 6px; font: 500 13px/20px 'Sora', 'Lexend', sans-serif; }
body .swal2-popup.pos-message-dialog .swal2-cancel { background: #f0f3f1; color: #26352c; }
body .swal2-popup.pos-message-dialog .swal2-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 4px; color: #66736c; font-size: 24px; }
body .swal2-popup.pos-message-dialog .swal2-close:hover { background: #f5f7f6; color: #17211d; }
@media (prefers-reduced-motion: reduce) {
    body .swal2-popup.swal2-toast.pos-notify { animation: none !important; }
}
