:root {
    --brand-dark: #161616;
    --brand-warm: #ff8a00;
    --brand-hot: #ff3d00;
    --brand-cream: #fff2d6;
    --sb-primary: #4e73df;
    --sb-primary-dark: #2e59d9;
    --sb-text: #5a5c69;
    --sb-border: #e3e6f0;
    --bs-modal-width:700px !important;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    overflow: hidden;
    font-family: 'Nunito', sans-serif;
    background: #f8f9fc;
    color: var(--sb-text);
}

body.site-zoom-67 {
    overflow-x: hidden;
}

.brand-strong {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
}

.creative-bg .hero {
    background:
        linear-gradient(130deg, rgba(20, 20, 20, 0.95), rgba(255, 61, 0, 0.85)),
        url('https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1400&q=60') center/cover;
    color: white;
}

.auth-page {
    min-height: calc(100dvh - 7rem);
    display: flex;
    align-items: center;
    font-size: 13px;
    background: radial-gradient(circle at bottom right, rgba(255, 138, 0, 0.16), transparent 30%),#f8f9fc;
}

.auth-shell {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1rem;
    gap: 1.25rem;
    align-items: stretch;
}

.auth-brand-panel {
    border-radius: 1.25rem;
    padding: 2rem;
    color: #fff;
    background: linear-gradient(160deg, var(--sb-primary) 0%, #224abe 60%, #1a2e7a 100%);
    box-shadow: 0 1rem 3rem rgba(78, 115, 223, 0.28);
    display: flex;
    overflow-y: auto;
    justify-content: space-between;
    min-height: 100%;
}


.auth-brand-mark {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    padding-top: 0.25rem;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.9rem;
    min-width: 5rem;
}

.auth-brand-title {
    padding: 0.35rem 0.65rem;
    margin: 1rem 0 0.5rem;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    font-size: 3rem;
}

.auth-brand-text {
    max-width: 28rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.auth-brand-chip {
    align-self: flex-start;
    margin-top: 1.25rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.85rem;
    font-weight: 700;
}

.auth-card {
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
}

.auth-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
}

.auth-title {
    font-weight: 800;
    color: #2e2f37;
}

.auth-text {
    color: var(--sb-text);
}

.auth-label {
    font-weight: 700;
    color: #4f5464;
}

.auth-input {
    border-radius: 0.85rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--sb-border);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.auth-input:focus {
    border-color: var(--sb-primary);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.15);
}

.auth-button {
    border: 0;
    border-radius: 0.9rem;
    padding: 0.8rem 1rem;
    font-weight: 800;
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
}

.sbadmin-bg {
    background: #f8f9fc;
}

body.theme-type-dark {
    background: #0f172a;
    color: #d6deef;
}

body.theme-type-dark #content-wrapper,
body.theme-type-dark #content > main.container-fluid,
body.theme-type-dark .card,
body.theme-type-dark .pdv-left,
body.theme-type-dark .pdv-right,
body.theme-type-dark .pdv-ticket-footer,
body.theme-type-dark .pdv-items-shell,
body.theme-type-dark .pdv-customer {
    background: #111827 !important;
    color: #d6deef !important;
    border-color: #334155 !important;
}

body.theme-type-dark .text-muted,
body.theme-type-dark .pdv-btn-label,
body.theme-type-dark .pdv-cat-meta,
body.theme-type-dark .pdv-order-caption,
body.theme-type-dark .pdv-summary-row,
body.theme-type-dark .pdv-summary-message {
    color: #9fb0cc !important;
}

body.theme-type-dark .pdv-items-table thead th,
body.theme-type-dark .pdv-group-row td {
    background: #182235 !important;
    color: #d6deef !important;
}

.admin-shell.theme-menu-top {
    flex-direction: column;
}

.admin-shell.theme-menu-top .sidebar {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    min-height: auto;
    max-height: none;
    overflow: auto;
}

.admin-shell.theme-menu-top #content-wrapper {
    width: 100%;
    max-width: 100%;
}

.admin-shell.theme-menu-right {
    flex-direction: row-reverse;
}

.admin-shell.theme-menu-bottom {
    flex-direction: column-reverse;
}

.admin-shell.theme-menu-bottom .sidebar {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    min-height: auto;
    max-height: none;
    overflow: auto;
}

.admin-shell.theme-menu-top .sidebar-toggle-strip-item,
.admin-shell.theme-menu-bottom .sidebar-toggle-strip-item {
    display: none !important;
}

.admin-shell.theme-menu-top .admin-sidebar,
.admin-shell.theme-menu-bottom .admin-sidebar {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 0.25rem;
    align-items: start;
    min-height: auto;
    padding: 0.5rem;
}

.admin-shell.theme-menu-top .admin-sidebar > .sidebar-brand,
.admin-shell.theme-menu-bottom .admin-sidebar > .sidebar-brand {
    grid-column: 1 / -1;
    height: auto;
    min-height: 3rem;
}

.admin-shell.theme-menu-top .admin-sidebar > .sidebar-divider,
.admin-shell.theme-menu-bottom .admin-sidebar > .sidebar-divider,
.admin-shell.theme-menu-top .admin-sidebar > .sidebar-heading,
.admin-shell.theme-menu-bottom .admin-sidebar > .sidebar-heading,
.admin-shell.theme-menu-top .admin-sidebar > .sidebar-user-item,
.admin-shell.theme-menu-bottom .admin-sidebar > .sidebar-user-item {
    grid-column: 1 / -1;
}

.admin-shell.theme-menu-top .collapse-inner,
.admin-shell.theme-menu-bottom .collapse-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.2rem;
}

.admin-shell.theme-menu-top .collapse-item,
.admin-shell.theme-menu-bottom .collapse-item {
    margin: 0;
}

.admin-shell.theme-menu-top .sidebar-user-link,
.admin-shell.theme-menu-bottom .sidebar-user-link {
    position: static;
    width: 100%;
}

.bg-gradient-primary {
    background-color: var(--sb-primary);
    background-image: linear-gradient(180deg, var(--sb-primary) 100%, var(--sb-primary-dark) 10%);
}

.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    max-width: var(--sidebar-width);
    flex: 0 0 var(--sidebar-width);
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1rem;
    transition: width 0.22s ease, min-width 0.22s ease, max-width 0.22s ease, flex-basis 0.22s ease, opacity 0.22s ease;
    position: relative;
}

.sidebar-dark .nav-link,
.sidebar-dark .sidebar-heading,
.sidebar-dark .sidebar-brand {
    color: rgba(255, 255, 255, 0.85);
}

.admin-sidebar .nav-link {
    font-size: 14px;    
    padding: 3px 25px;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-sidebar .nav-link span {
    font-weight: 700;
}

.admin-sidebar .sidebar-heading {
    font-size: 11px;
    letter-spacing: 0.06em;
}

.admin-sidebar .sidebar-brand-text {
    font-size: 22px;
    letter-spacing: 0.02em;
}

.admin-sidebar .sidebar-app-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 0.35rem;
}

.admin-sidebar .sidebar-app-logo-wrap {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-sidebar .sidebar-app-logo-fallback {
    width: 32px;
    height: 32px;
    border-radius: 0.35rem;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    align-items: center;
    justify-content: center;
}

.admin-sidebar .sidebar-chevron {
    font-size: 0.85rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
}

.admin-sidebar .nav-link.collapsed .sidebar-chevron {
    transform: rotate(-90deg);
    opacity: 0.75;
}

.sidebar-dark .nav-link:hover,
.sidebar-dark .nav-link:focus {
    color: #fff;
}

.sidebar-brand {
    height: 4.375rem;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-divider {
    border-top: 1px solid rgb(0 0 0 / 74%);
    margin: 0.1rem;
}

.sidebar-heading {
    padding: 0 1rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.7;
}

.collapse-item {
    display: block;
    padding: 8px 14px;
    margin: 0.12rem 0.6rem;
    color: #3a3b45;
    text-decoration: none;
    border-radius: 0.35rem;
    font-size: 14px;
    line-height: 1.15;
}

.collapse-item:hover {
    background: #eaecf4;
    color: #3a3b45;
}

.collapse-inner {
    display: block;
    margin: 0.25rem 0.75rem 0.55rem;
    padding: 0.35rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.35rem 0.9rem rgba(58, 59, 69, 0.12);
    border-left: 0.22rem solid rgba(78, 115, 223, 0.55);
}

.collapse-inner .collapse-item:first-child {
    margin-top: 0.2rem;
}

.collapse-inner .collapse-item:last-child {
    margin-bottom: 0.2rem;
}

.collapsed .bi-chevron-down,
.collapsed .bi-chevron-right {
    transition: transform 0.2s ease;
}

.topbar {
    height: 4.375rem;
}

.site-main {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.admin-shell {
    display: flex;
    height: 100dvh;
    overflow: hidden;
}

#content {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

#content > main.container-fluid {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    padding-top: 1rem;
    padding-left: 0;
    padding-bottom: .5rem !important;
}

.admin-tables-page {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
}

.admin-main {
    flex: 1;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.admin-main > #content,
.admin-main > .container-fluid {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

#content-wrapper {
    min-width: 0;
    min-height: 0;
    font-size: 15px;
    position: relative;
}

.admin-shell {
    --sidebar-width: 13rem;
    --sidebar-collapsed-width: 5px;
}

.admin-shell.sidebar-collapsed .sidebar {
    width: var(--sidebar-collapsed-width);
    min-width: var(--sidebar-collapsed-width);
    max-width: var(--sidebar-collapsed-width);
    flex: 0 0 var(--sidebar-collapsed-width);
    opacity: 1;
    padding: 0;
    border: 0;
    overflow: hidden;
}

.admin-shell.sidebar-collapsed .sidebar > * {
    display: none !important;
}

.admin-shell.sidebar-collapsed .sidebar > .sidebar-toggle-strip-item {
    display: flex !important;
}

.admin-shell.sidebar-collapsed #content-wrapper {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
}

.sidebar-toggle-unified {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 10px;
    min-width: 10px;
    max-width: 10px;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background-image: linear-gradient(180deg, var(--sb-primary) 10%, var(--sb-primary-dark) 100%);
    color: #fff;
    align-items: center;
    justify-content: center;
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.2);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-toggle-unified:hover,
.sidebar-toggle-unified:focus {
    background-image: linear-gradient(180deg, var(--sb-primary) 100%, var(--sb-primary-dark) 10%);
    color: #fff;
}

.sidebar-toggle-symbol {
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

.sidebar-toggle-strip-item {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    z-index: 4;
}

.sidebar-user-item {
    margin: auto 0 0;
    padding: 0.55rem 0.5rem 0.6rem;
}

.sidebar-user-link {
    position: fixed;
    bottom: .5rem;
    width: 23%;
    margin: 0 auto;
    min-height: 2.35rem;
    border-radius: 0.55rem;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.86rem;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-link:hover,
.sidebar-user-link:focus {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.sidebar-user-link i {
    font-size: 1rem;
}

.profile-card {
    max-width: 920px;
}

.profile-avatar-wrap {
    width: 108px;
    height: 108px;
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid rgba(78, 115, 223, 0.2);
    background: #f1f3f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar-fallback {
    color: #7a80a1;
    font-size: 2rem;
}

.orders-board {
    display: grid;
    grid-template-columns: 26px 1fr;
    grid-template-rows: repeat(var(--lane-count, 1), minmax(0, 1fr));
    gap: 0.75rem 0;
    padding-bottom: 0.25rem;
    min-height: 0;
    overflow: hidden;
}

.order-lane {
    border-radius: 0.9rem;
    border: 1px solid #e4e8f6;
    background: #00000010;
    overflow: hidden;
    min-height: 0;
}

.order-carousel {
    display: flex;
    align-items: stretch;
    align-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.7rem;
    padding: 0.7rem;
    overflow-x: auto;
    overflow-y: hidden;
    min-height: 100%;
    max-height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.order-carousel::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.order-carousel.is-drop-target {
    background: #d5ddff;
}

.order-card {
    min-width: 228px;
    max-width: 228px;
    height: 112px;
    /* border-radius: 0.75rem; */
    border: 1px solid rgba(0, 0, 0, 0.123);
    /* background: #fff; */
    box-shadow: 0 0.3rem 0.8rem rgba(43, 66, 138, 0.08);
    /* padding: 0.6rem 0.65rem; */
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
    user-select: none;
    display: flex;
    flex-direction: column;
}

.order-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.55rem 1rem rgba(43, 66, 138, 0.16);
}

.order-card.is-dragging {
    opacity: 0.35;
}

.order-id {
    font-size: 0.85rem;
    /* font-weight: 800; */
    /* color: #2b3b7d; */
    /* margin-bottom: 0.45rem; */
    /* line-height: 1.15; */
    background: #00000010;
}

.order-items-preview {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-right: 5px;
    margin-left: 5px;
    gap: 0.28rem;
    height: auto;
    min-height: 72px;
    flex: 1;
}

.order-item-line {
    font-size: 0.7rem;
    font-weight: 700;
    /* color: #425287; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    align-items: center;
    vertical-align: middle;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

.order-card.is-leaving-down,
.order-card.is-leaving-up {
    opacity: 0.3;
    transform: scale(0.95);
}

.order-card.is-entering-down {
    animation: order-enter-down 0.24s ease;
}

@keyframes order-enter-down {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lane-color-0.order-lane { background: #f7f7f7 !important; }
.lane-color-0 .order-card { background: #ffffff !important; color:#979797 !important;}

.lane-color-1.order-lane { background: #e8f2ff !important; }
.lane-color-1 .order-card { background: #7cb5ff !important; color:#3585e7  !important;}

.lane-color-2.order-lane { background: #fffbe3 !important; }
.lane-color-2 .order-card { background: #fff7c9 !important;  color:#bba528 !important;}

.lane-color-3.order-lane { background: #e9ffef !important; }
.lane-color-3 .order-card { background: #ceffd9 !important; color:#69be7c !important;}

.lane-color-4.order-lane { background: #ffe6e6 !important; }
.lane-color-4 .order-card { background: #ffadad !important; color:#ad1e1e !important;}

.lane-color-5.order-lane { background: #f3f3f3 !important; }
.lane-color-5 .order-card { background: #e9e9e9 !important; color:#6f6f6f !important;}
.order-status-label{
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    min-height: 100%;
    margin: 0;
    line-height: 1;
    transform: rotate(270deg);
    color: #c2c2c2;
}

.order-status-label.status-color-0 { color:#979797 !important; }
.order-status-label.status-color-1 { color:#3585e7 !important; }
.order-status-label.status-color-2 { color:#bba528 !important; }
.order-status-label.status-color-3 { color:#69be7c !important; }
.order-status-label.status-color-4 { color:#ad1e1e !important; }
.order-status-label.status-color-5 { color:#6f6f6f !important; }

.orders-board.board-mode-cancelled .order-carousel,
.orders-board.board-mode-archived .order-carousel {
    flex-wrap: wrap;
    overflow-y: auto;
}
.order-detail-modal .modal-body {
    background: #f5f7fb;
}

.order-detail-card {
    border: 1px solid #dde3f3;
    border-radius: 0.7rem;
    background: #fff;
    padding: 0.75rem;
}

.order-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 1rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .order-detail-grid {
        grid-template-columns: 1fr;
    }
}

.btn-action-icon {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

.admin-table-block {
    overflow: hidden;
    flex: 1;
    min-height: 0;
    max-height: calc(100dvh - 230px);
}

.admin-table-frame .card-body {
    min-height: 0;
}

.admin-table-scroll {
    max-height: none;
    overflow-x: auto;
    overflow-y: auto;
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.admin-table-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.admin-table-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
}

.admin-tables-pagination {
    margin-top: auto;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: #f8f9fc;
    border-top: 1px solid #e3e6f0;
}

.admin-tables-page {
    gap: 1rem;
    min-height: 0;
    padding: 1rem 1rem 0.35rem 1rem;
}

@media (max-width: 768px) {
    .admin-tables-page {
        padding: 0.75rem 0.75rem 0.25rem 0.75rem;
    }
}

.pagination-shell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.pagination-nav-btn {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.pagination-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.pagination-scroll {
    width: min(100%, calc(2.25rem * 8));
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.pagination-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.pagination-scroll .pagination {
    flex-wrap: nowrap;
}

.pagination-scroll .page-link {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-tables-pagination .form-select-sm {
    min-width: 5rem;
}

.admin-tables-pagination .page-link {
    padding: 0.35rem 0.65rem;
}

.admin-tables-pagination .page-item.active .page-link {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}

.app-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, var(--sb-primary) 10%, var(--sb-primary-dark) 100%);
    color: #fff;
    border-bottom: 0;
}

.app-modal .modal-title {
    font-weight: 700;
    margin-bottom: 0;
}

.modal-close-red {
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 0.45rem;
    background: #dc3545;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.app-modal .modal-body {
    background: #f8f9fa;
}

.app-modal .modal-footer {
    background: #f1f3f5;
    border-top: 1px solid #dee2e6;
}

.app-modal .form-control,
.app-modal .form-select {
    background: #f8f9fa;
    color: #495057;
    border-color: #dfe3e8;
}

.app-modal .form-control:disabled,
.app-modal .form-control[readonly],
.app-modal .form-select:disabled {
    background: #eceff1;
    color: #adb5bd;
}

.badge-active-yes {
    background: #1cc88a;
    color: #fff;
}

.image-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 0.35rem;
    border: 1px solid #dee2e6;
    background: #fff;
}

.image-empty {
    width: 100px;
    height: 100px;
    border-radius: 0.35rem;
    border: 1px dashed #ced4da;
    background: #f8f9fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 1rem;
}
.table-image-thumb {
    /* width: 44px; */
    height: 44px;
    object-fit: cover;
    /* border-radius: 0.35rem; */
    /* border: 1px solid #dee2e6; */
    /* background: #fff; */
}

.table-image-empty {
    width: 44px;
    height: 44px;
    border-radius: 0.35rem;
    border: 1px dashed #ced4da;
    background: #f8f9fa;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 1rem;
}
.modal.show .modal-dialog {
    max-width: 700px !important;
}
.money-thumb {
    width: 88px;
    height: 52px;
    object-fit: contain;
    border-radius: 0.2rem;
    border: 0;
    background: transparent;
    display: block;
    margin: 0;
}

.money-thumb-placeholder {
    width: 88px;
    height: 52px;
    border-radius: 0.2rem;
    border: 0;
    background: #f8f9fa;
    color: #87909b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.cash-money-layout {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.money-strip {
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

.money-grid-horizontal {
    width: max-content;
    min-width: 100%;
    margin: 0;
    table-layout: auto;
}

.money-grid-horizontal tbody {
    display: block;
}

.money-grid-horizontal tr {
    display: grid;
    grid-template-columns: var(--money-grid-template);
    align-items: stretch;
    gap: 0;
    margin: 0;
    line-height: 1;
}

.money-grid-horizontal tr,
.money-grid-horizontal th,
.money-grid-horizontal td,
.money-grid-horizontal tbody,
.money-grid-horizontal thead {
    border: 0 !important;
}

.money-grid-horizontal td,
.money-grid-horizontal th {
    padding: 0.08rem 0.16rem !important;
    margin: 0 !important;
    background: transparent !important;
    vertical-align: middle;
}

.cash-money-group-label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-weight: 800;
    color: #30394f;
    white-space: nowrap;
    padding-right: 0.25rem !important;
}

.cash-money-item-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.08rem;
    min-width: 88px;
}

.cash-money-image-btn {
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cash-money-image-btn:focus-visible {
    outline: 2px solid rgba(78, 115, 223, 0.28);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

.cash-money-value-label {
    display: block;
    margin: 0;
    font-size: 0.75rem;
    font-weight: 800;
    color: #30394f;
    white-space: nowrap;
}

.cash-money-qty {
    max-width: 66px;
    min-height: 30px;
    height: 30px;
    padding: 0.06rem 0.18rem !important;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

.cash-money-total-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.08rem;
    white-space: nowrap;
    font-weight: 800;
}

.cash-money-total-label {
    font-size: 0.74rem;
    color: #6a7489;
}

.cash-money-total-value {
    font-size: 0.95rem;
    color: #111827;
}

/* INICIO ALTERACAO COPILOT 2026-07-11 SCROLL_E_PAGINACAO_CAIXA */
.cash-page {
    display: flex;
    flex-direction: column;
    min-height: 0;
    flex: 1;
    gap: 1rem;
}

.cash-table-frame {
    flex: 1;
    min-height: 0;
    max-height: none;
}

.cash-table-scroll {
    max-height: none;
    overflow-y: auto;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cash-table-scroll::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.cash-table-scroll-modal {
    max-height: min(42vh, 380px);
}

.cash-table-pagination {
    margin-top: 0;
}
/* FIM ALTERACAO COPILOT 2026-07-11 SCROLL_E_PAGINACAO_CAIXA */

.badge-move-out {
    background: #f7c8cd;
    color: #8c2b35;
    border: 1px solid #e8a4ad;
}

.badge-move-in {
    background: #d7f0dd;
    color: #205e33;
    border: 1px solid #b7e1c2;
}

.badge-tag-suprimento {
    background: #f8efbd;
    color: #7f6500;
    border: 1px solid #ecd97f;
}

.badge-tag-sangria {
    background: #cfe7fb;
    color: #1f4f78;
    border: 1px solid #a8d1f2;
}

.cash-balance-pill {
    background: #f8f9fc;
    border: 1px solid #dce1ea;
    border-radius: 999px;
    padding: 0.2rem 0.45rem;
}

.feedback-modal-card {
    border-radius: 0.9rem;
    box-shadow: 0 0.85rem 2rem rgba(0, 0, 0, 0.18);
}

.feedback-modal-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feedback-modal-icon.is-success {
    background: rgba(28, 200, 138, 0.18);
    color: #1cc88a;
}

.feedback-modal-icon.is-danger {
    background: rgba(231, 74, 59, 0.16);
    color: #e74a3b;
}

.badge-active-no {
    background: #e74a3b;
    color: #fff;
}

.table th {
    vertical-align: middle;
    font-size: 2vh !important;
}
.table td{
    vertical-align: middle;
    font-size: 1.8vh !important;
}

.pdv-page {
    --pdv-gap: 12px;
    --pdv-padding: 12px;
    --pdv-category-visible: 5;
    --pdv-product-visible: 3;
    --pdv-proportion: 68px;
    --pdv-footer-height: 80px;
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    gap: 0;
    padding: 0.4rem 0.25rem 0;
}

.pdv-main {
    min-height: 0;
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 35%);
    /* gap: var(--pdv-gap); */
    padding-bottom: 0;
    margin-top: -20px;
}

.pdv-left,
.pdv-right {
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #dfe3ee;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 0.35rem 1rem rgba(41, 63, 133, 0.08);
}

.pdv-left {
    padding: var(--pdv-padding);
    gap: var(--pdv-gap);
}

.pdv-section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.pdv-categories-shell {
    min-height: calc(var(--pdv-proportion) + var(--pdv-padding));
    margin-left: 4px;
}

.pdv-categories-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--pdv-gap) * (var(--pdv-category-visible) - 1))) / var(--pdv-category-visible));
    gap: var(--pdv-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    align-items: stretch;
    padding-bottom: 2px;
}

.pdv-categories-track::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.pdv-category-card {
    border: 1px solid var(--sb-primary);
    border-radius: 0.65rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    min-height: calc(var(--pdv-proportion) + var(--pdv-padding) + 50px);
    max-height: calc(var(--pdv-proportion) + var(--pdv-padding) + 50px);
    padding: 0.5rem;
    margin: 2px;
    display: grid;
    grid-template-rows: minmax(50px, 1fr) auto auto;
    justify-items: center;
    text-align: center;
    gap: 0.28rem;
    scroll-snap-align: start;
    cursor: pointer;
    box-shadow: 2px 2px var(--sb-primary);
    aspect-ratio: 7 / 6;
    align-items: baseline;
    align-content: space-between;
}

.pdv-category-card.is-active {
    border: 2px solid var(--bs-success);
    box-shadow: 0 0 0 2px rgba(78, 115, 223, 0.2);
    background: color-mix(in srgb, var(--bs-success), transparent 80%);
}

.pdv-category-back {
    background: linear-gradient(180deg, #ebf1ff 0%, #dbe7ff 100%);
}

.pdv-cat-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    justify-content: flex-end;
    /* background: #f4f7ff; */
    color: var(--sb-primary);
    font-size: 3rem;
    align-content: stretch;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    align-items: center;
}

.pdv-cat-title {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #2f3c5a;
    line-height: 1.1;
    margin-top: 0.3rem;
}

.pdv-cat-meta {
    font-size: 0.7rem;
    color: #7f8a9e;
    /* display:none; */
    margin-top: -10px;
}

.pdv-products-shell {
    flex: 1;
    min-height: 0;
    container-type: inline-size;
}

.pdv-products-shell.is-hidden {
    /* display: none; */
}

.pdv-products-grid {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(var(--pdv-product-visible), minmax(0, 1fr));
    align-content: start;
    gap: var(--pdv-gap);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-right: 2px;
}

.pdv-products-grid::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.pdv-courier-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    grid-column: 1 / -1;
    padding: 0;
    margin: 0;
}

@container (max-width: 500px) {
    #pdvProducts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #pdvProducts .pdv-courier-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.pdv-product-card {
    border: 1px solid var(--sb-primary);
    box-shadow: 2px 2px var(--sb-primary);
    border-radius: 2.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    display: grid;
    grid-template-columns: minmax(70px, 20%) 1fr;
    max-height: calc(var(--pdv-proportion) * 1.4 + var(--pdv-padding));
    min-height: calc(var(--pdv-proportion) * 1.4 + var(--pdv-padding));
    padding: 0.8rem;
    /* gap: 0.45rem; */
    text-align: left;
    cursor: pointer;
    overflow: clip;
}

.pdv-product-card:hover {
    border-color: #5b7fe8;
    box-shadow: 0 0.2rem 0.6rem rgba(43, 70, 149, 0.16);
}

.pdv-data-card.is-selected {
    border-color: #2d6ce3;
    box-shadow: 0 0 0 2px rgba(45, 108, 227, 0.22);
}

.pdv-product-media {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -25px;
}

.pdv-media-wrap,
.pdv-media-image,
.pdv-media-fallback {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
    border-radius: 2.2rem;
}

.pdv-category-card .pdv-media-wrap {
    width: clamp(40px, 52%, 62px);
}

.pdv-product-media .pdv-media-wrap {
    width: min(82%, 86px);
}

.pdv-media-image {
    object-fit: contain;
    /* border: 1px solid #dce1ea; */
    /* background: #fff; */
}

.pdv-media-fallback {
    /* border: 1px dashed #c4ccda; */
    /* background: #f7f9fd; */
    color: #8a96ad;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    gap: 0.2rem;
}

.pdv-media-fallback i {
    font-size: 3rem;
}

.pdv-product-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.28rem;
    margin-left: -1rem;
    text-align: center;
}

.pdv-product-title {
font-size: 0.9rem;
    font-weight: 700;
    color: #2e3447;
    line-height: 1;
    /* position: fixed; */
    /* max-width: 10rem; */
    /* min-width: 10rem; */
    height: auto;
    /* width: 100%; */
    /* margin-left: 16px;*/
}

.pdv-product-price {
    font-size: 0.8rem;
    font-weight: 800;
    color: #225d2a;
    text-align: right;
}

.pdv-product-stock {
    background-color: #ff4551cf;
    border: 1px solid #ffffff;
    box-shadow: 1px 1px 1px 0px #00000036;
    border-radius: 1rem;
    /* aspect-ratio: 1 / 1; */
    width: auto;
    min-width: 1.5rem;
    height: 1.5rem;
    position: fixed;
    margin-left: -3.5rem;
    margin-top: 2.7rem;
    /* margin-right: -4px; */
    padding: 0.15rem;
    font-size: .75rem;
    color: #ffffff;
    /* font-weight: bold; */
    text-align: center;
    font-family: "Courier New";
}

.pdv-data-line {
    font-size: 1.1rem;
    color: #44516f;
    line-height: 1.2;
}

.pdv-empty-grid {
    border: 1px dashed #cad3e5;
    border-radius: 0.55rem;
    background: #f7f9ff;
    color: #6e7b95;
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    text-align: center;
}

.pdv-right {
    font-family: 'Courier New', Courier, monospace;
    padding: 0.5rem;
    gap: 0.4rem;
    position: relative;
    overflow: hidden;
}

.pdv-ticket-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    align-items: center;
}

.pdv-logo-wrap {
    width: 56px;
    height: 56px;
}

.pdv-top-image-wrap {
    width: 100%;
    height: 96px;
    max-height: 96px;
    overflow: hidden;
}

.pdv-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.35rem;
    border: 1px solid #d9dfeb;
}

.pdv-top-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#pdvLogoFallback {
    display: none;
}

.pdv-order-caption {
    font-size: 0.72rem;
    color: #6a7489;
}

.pdv-order-number {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2a44;
}

.pdv-customer {
    border: 1px solid #dfe3ee;
    border-radius: 0.5rem;
    padding: 0.48rem;
    font-size: 0.78rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.pdv-customer-line {
    /* display: flex;  */
    flex-wrap: wrap;
    gap: 0.32rem;
    color: #28324a;
    white-space: pre-wrap;
}

.pdv-customer-main {
    align-items: flex-start;
}

.pdv-customer-phone {
    margin-left: auto;
    font-size: 0.86rem;
    font-weight: 800;
}

.pdv-items-shell {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    border: 1px solid #dfe3ee;
    border-radius: 0.5rem;
}

.pdv-items-shell::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.pdv-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.68rem;
}

.pdv-items-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f7f9fe;
    border-bottom: 1px solid #dfe3ee;
    padding: 0.36rem;
    font-size: 0.72rem !important;
}

.pdv-items-table td {
    /* border-bottom: 1px dashed #e6eaf3; */
    padding: 0.34rem;
    /* font-size: 0.7rem !important; */
}

.pdv-group-row td {
    background: #f7f9fe;
    font-weight: 700;
    color: #3a4460;
    border-bottom: 1px solid #e1e6f0;
}

.pdv-empty-row {
    text-align: center;
    color: #7f8aa0;
    padding: 0.75rem !important;
}

.pdv-ticket-footer {
    border: 1px solid #dfe3ee;
    border-radius: 0.5rem;
    padding: 0.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: #fbfcff;
}

.pdv-products-total {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2f3852;
}
.pdv-summary-row,
.pdv-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #2f3852;
}

.pdv-summary-total {
    margin-top: 0.2rem;
    padding-top: 0.25rem;
    border-top: 1px solid #dce1ec;
    border-bottom: 1px solid #dce1ec;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.pdv-summary-pay,
.pdv-summary-message {
    margin-top: 0.2rem;
    border-top: 1px dashed #dce1ec; 
    padding-top: 0.2rem;
    text-align: center;
    font-size: 0.72rem;
}

.pdv-summary-pay {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: red;
    padding: 0;
    margin: 0;
    margin-top: -12px;
    border: none;

}

.pdv-bottom {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--pdv-gap);
    min-height: var(--pdv-footer-height);
    border: 1px solid #d7ddec;
    border-radius: 0.65rem;
    background: #f8faff;
    padding: 0.42rem;
    z-index: 4;
}

.pdv-bottom-left,
.pdv-bottom-right {
    display: grid;
    gap: var(--pdv-gap);
}

.pdv-bottom-left {
    grid-template-columns: repeat(4, auto);
    justify-content: flex-start;
}

.pdv-bottom-right {
    grid-template-columns: repeat(3, auto);
    justify-content: flex-end;
}

.pdv-flow-btn,
.pdv-action-btn {
    border: 1px solid var(--sb-primary);
    box-shadow: 2px 2px var(--sb-primary);
    border-radius: 0.55rem;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
    width: calc(var(--pdv-proportion) *2);
    min-width: calc(var(--pdv-proportion) *2);
    aspect-ratio: 1 / 1;
    display: grid;
    grid-template-rows: 1fr auto auto;
    align-items: center;
    justify-items: center;
    text-align: center;
    padding: 0.35rem;
    gap: 0.15rem;
    font-size: 0.72rem;
}

.pdv-action-btn {
    transform: none;
}

.pdv-flow-btn.is-done {
    border: 2px solid var(--bs-success);
    box-shadow: 0 0 0 2px rgba(78, 115, 223, 0.2);
    background: color-mix(in srgb, var(--bs-success), transparent 80%);

}

.pdv-flow-btn.is-active {
    border-color: var(--bs-warning);;
    box-shadow: 0 0 0 2px rgba(47, 105, 255, 0.2);
}
.pdv-product-card:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.pdv-flow-btn:disabled,
.pdv-action-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.pdv-moto{
    display: grid; 
    grid-template-columns: repeat(3, minmax(0px, 1fr)); 
    gap: 10px; 
    grid-column: 1 / -1; 
    padding: 0px; 
    margin: 0px;
}
.pdv-btn-media {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    /* background: #edf2ff; */
    color: var(--sb-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.pdv-btn-title {
    color: #384360;
    font-weight: 700;
    font-size: 0.7rem;
}

.pdv-btn-label {
    color: var(--sb-primary);
    font-size: 0.66rem;
}

.pdv-action-primary {
    border: 2px solid var(--bs-success);
    box-shadow: 0 0 0 2px rgba(78, 115, 223, 0.2);
    background: color-mix(in srgb, var(--bs-success), transparent 80%);
}

.pdv-modal-summary {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pdv-modal-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px dashed #d9dfeb;
    font-size: 0.9rem;
}

.pdv-modal-summary-row span {
    color: #6a7489;
}

.pdv-modal-summary-row strong {
    text-align: right;
    color: #27324b;
}

.pdv-modal-summary-row.is-total {
    border-bottom: 0;
    padding-top: 0.2rem;
    font-size: 1rem;
}

.pdv-print-iframe {
    position: absolute;
    width: 0;
    height: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 920px) {
    .pdv-main {
        grid-template-columns: 1fr;
    }

    .pdv-right {
        min-height: 380px;
    }

    .pdv-bottom {
        grid-template-columns: 1fr;
    }

    .pdv-bottom-right {
        grid-template-columns: repeat(3, auto);
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .pdv-page {
        max-height: none;
        min-height: 100dvh;
    }

    .pdv-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pdv-bottom-left {
        grid-template-columns: repeat(2, auto);
        justify-content: flex-start;
    }

    .pdv-bottom-right {
        grid-template-columns: repeat(3, auto);
        justify-content: flex-start;
    }
}

@media (max-width: 992px) {
    body {
        overflow: auto;
    }

    body.site-zoom-67 {
        overflow-x: auto;
    }

    .admin-shell {
        height: auto;
        min-height: 100dvh;
        flex-direction: row;
    }

    #content-wrapper {
        font-size: 16px;
    }

    .sidebar {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        min-height: auto;
        opacity: 1;
        padding-bottom: 1rem;
    }

    .admin-shell.sidebar-collapsed .sidebar {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        opacity: 1;
        padding-bottom: 1rem;
    }

    /* .sidebar-toggle-unified {
        display: none !important;
    } */

    .admin-main {
        overflow: auto;
    }

    .auth-shell {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        min-height: auto;
    }
}
