:root {
    --bg-color: #E4E9F0;
    --surface-subtle: #EAEFF5;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --accent-color: #b89860;
    --accent-dark: #947640;
    --accent-soft: rgba(184, 152, 96, 0.16);
    --danger-color: #dc2626;
    --danger-soft: rgba(220, 38, 38, 0.10);
    --success-color: #16a34a;
    --success-soft: rgba(22, 163, 74, 0.12);
    --warning-color: #d97706;
    --warning-soft: rgba(217, 119, 6, 0.13);
    --info-color: #2563eb;
    --info-soft: rgba(37, 99, 235, 0.11);
    --border-highlight: rgba(255, 255, 255, 0.65);
    --border-subtle: rgba(30, 41, 59, 0.08);
    --shadow-light: -6px -6px 14px rgba(255, 255, 255, 0.85);
    --shadow-dark: 6px 6px 14px rgba(174, 184, 198, 0.72);
    --shadow-sm-light: -3px -3px 7px rgba(255, 255, 255, 0.85);
    --shadow-sm-dark: 3px 3px 7px rgba(174, 184, 198, 0.65);
    --shadow-inset-light: inset -3px -3px 7px rgba(255, 255, 255, 0.85);
    --shadow-inset-dark: inset 3px 3px 7px rgba(174, 184, 198, 0.7);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 9px;
    --transition-speed: 0.18s;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.28);
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.45);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
}

/* Surfaces */
.neu-box {
    background-color: var(--bg-color);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-highlight);
    box-shadow: var(--shadow-dark), var(--shadow-light);
    padding: 20px;
}

.neu-inset {
    background-color: var(--bg-color);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: var(--shadow-inset-dark), var(--shadow-inset-light);
    padding: 12px 14px;
}

/* Forms & Inputs */
.form-group {
    margin-bottom: 14px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.neu-input,
.neu-select,
.neu-textarea {
    background-color: var(--bg-color);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    box-shadow: var(--shadow-inset-dark), var(--shadow-inset-light);
    padding: 10px 14px;
    width: 100%;
    min-height: 40px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--text-color);
    outline: none;
    transition: box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.neu-textarea {
    min-height: 72px;
    resize: vertical;
}

.neu-input::placeholder,
.neu-textarea::placeholder {
    color: #94a3b8;
}

.neu-input:focus,
.neu-select:focus,
.neu-textarea:focus {
    border-color: rgba(184, 152, 96, 0.6);
    box-shadow: var(--shadow-inset-dark), var(--shadow-inset-light), 0 0 0 3px rgba(184, 152, 96, 0.22);
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrap .input-icon-left {
    position: absolute;
    left: 13px;
    color: var(--text-muted);
    pointer-events: none;
    display: inline-flex;
}

.input-icon-wrap .neu-input.has-left-icon {
    padding-left: 38px;
}

.input-icon-wrap .neu-input.has-right-btn {
    padding-right: 40px;
}

.input-right-btn {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-speed) ease, background var(--transition-speed) ease;
}

.input-right-btn:hover {
    color: var(--text-color);
    background: rgba(30, 41, 59, 0.06);
}

/* Buttons */
.neu-btn {
    background-color: var(--bg-color);
    border: 1px solid var(--border-highlight);
    border-radius: 10px;
    box-shadow: var(--shadow-sm-dark), var(--shadow-sm-light);
    padding: 9px 16px;
    min-height: 38px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-color);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    white-space: nowrap;
}

.neu-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.neu-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    color: var(--accent-dark);
}

.neu-btn:active:not(:disabled),
.neu-btn.active {
    box-shadow: var(--shadow-inset-dark), var(--shadow-inset-light);
    transform: translateY(0);
    color: var(--accent-dark);
}

.neu-btn:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #c5a66e 0%, #a5844a 100%);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    box-shadow: 4px 4px 10px rgba(165, 132, 74, 0.3), -3px -3px 8px rgba(255, 255, 255, 0.75);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #ba995e 0%, #96763f 100%);
    color: #fff;
}

.btn-primary:active:not(:disabled) {
    box-shadow: inset 2px 2px 6px rgba(92, 71, 35, 0.35);
    color: #fff;
}

.btn-danger {
    color: var(--danger-color);
}

.btn-danger-soft {
    background: var(--danger-soft);
    border-color: rgba(220, 38, 38, 0.16);
    box-shadow: none;
    color: var(--danger-color);
}

.btn-danger-soft:hover:not(:disabled) {
    background: rgba(220, 38, 38, 0.16);
    color: #b91c1c;
    transform: none;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(30, 41, 59, 0.08);
    box-shadow: none;
    color: var(--text-color);
}

.btn-ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.8);
    color: var(--accent-dark);
    transform: none;
}

.btn-sm {
    min-height: 32px;
    padding: 5px 11px;
    font-size: 12px;
    border-radius: 8px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 9px;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.badge-admin { background: var(--accent-soft); color: #7c5f2c; }
.badge-kasir { background: var(--info-soft); color: #1d4ed8; }
.badge-success { background: var(--success-soft); color: #15803d; }
.badge-warning { background: var(--warning-soft); color: #b45309; }
.badge-danger { background: var(--danger-soft); color: #b91c1c; }
.badge-info { background: var(--info-soft); color: #1d4ed8; }
.badge-neutral { background: rgba(100, 116, 139, 0.13); color: #475569; }

/* User Chip */
.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 5px 12px 5px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border-highlight);
}

.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c5a66e, #947640);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Login */
.login-container {
    width: 100%;
    max-width: 410px;
    padding: 32px 28px;
}

.login-brand-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, #c5a66e, #947640);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 12px rgba(165, 132, 74, 0.35), -4px -4px 10px rgba(255, 255, 255, 0.8);
}

.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.login-header .store-sub {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-dark);
    margin: 4px 0 0;
}

.login-header .helper-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin: 6px 0 0;
}

.login-footer {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 11.5px;
    color: var(--text-muted);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(228, 233, 240, 0.82);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-color);
    box-shadow: var(--shadow-dark), var(--shadow-light);
    position: relative;
    animation: spin 1.1s linear infinite;
}

.loader::after {
    content: '';
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    background: var(--bg-color);
    box-shadow: var(--shadow-inset-dark), var(--shadow-inset-light);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* SweetAlert Overrides */
div:where(.swal2-container) div:where(.swal2-popup) {
    background-color: var(--bg-color) !important;
    border: 1px solid var(--border-highlight) !important;
    border-radius: 18px !important;
    box-shadow: var(--shadow-dark), var(--shadow-light) !important;
    color: var(--text-color) !important;
    font-family: inherit !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background: linear-gradient(135deg, #c5a66e, #a5844a) !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    background-color: var(--bg-color) !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border-highlight) !important;
    box-shadow: var(--shadow-sm-dark), var(--shadow-sm-light) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
}

/* POS Layout */
.pos-wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 16px 20px;
    gap: 16px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    flex-wrap: wrap;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-badge-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #c5a66e, #947640);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-title h1 {
    margin: 0;
    color: var(--text-color);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.brand-title p {
    margin: 1px 0 0;
    font-size: 12px;
    color: var(--text-muted);
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pos-container {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(330px, 1fr);
    gap: 18px;
    flex: 1;
    min-height: 0;
}

.catalog-pane {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 0;
    padding: 18px;
}

.catalog-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.segmented-control {
    display: inline-flex;
    padding: 4px;
    gap: 4px;
    border-radius: 12px;
    background: var(--bg-color);
    box-shadow: var(--shadow-inset-dark), var(--shadow-inset-light);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.seg-btn {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 9px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.seg-btn:hover {
    color: var(--text-color);
}

.seg-btn.active {
    background: linear-gradient(135deg, #c5a66e, #a5844a);
    color: #fff;
    box-shadow: 2px 2px 6px rgba(165, 132, 74, 0.3);
}

.catalog-toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 240px;
}

.category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill-btn {
    min-height: 30px;
    padding: 4px 13px;
    font-size: 12px;
    border-radius: 999px;
}

.pill-btn.active {
    background: var(--accent-soft);
    color: #7c5f2c;
    border-color: rgba(184, 152, 96, 0.45);
    box-shadow: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
    gap: 14px;
    overflow-y: auto;
    padding: 6px 4px;
    flex: 1;
    align-content: start;
}

.product-card {
    padding: 14px;
    text-align: left;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 136px;
    gap: 10px;
    border-radius: 15px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover:not(.out-of-stock) {
    transform: translateY(-2px);
}

.product-card:active:not(.out-of-stock) {
    box-shadow: var(--shadow-inset-dark), var(--shadow-inset-light);
    transform: translateY(0);
}

.product-card.out-of-stock {
    opacity: 0.52;
    cursor: not-allowed;
}

.product-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
}

.product-card h3 {
    margin: 6px 0 3px;
    font-size: 13.5px;
    line-height: 1.35;
    font-weight: 600;
    color: var(--text-color);
}

.product-meta {
    font-size: 11.5px;
    color: var(--text-muted);
}

.product-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid var(--border-subtle);
}

.product-card .price {
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 14px;
}

.add-pill {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
}

/* Cart */
.cart-section {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 18px;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin: 12px 0;
    padding-right: 4px;
}

.cart-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid var(--border-highlight);
}

.cart-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.cart-item-top h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.cart-item-unit {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.cart-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    min-height: 28px;
    border-radius: 8px;
    padding: 0;
    font-size: 15px;
}

.qty-input {
    width: 52px;
    min-height: 28px;
    padding: 3px 6px;
    margin: 0;
    text-align: center;
    font-size: 12.5px;
    font-weight: 600;
}

.cart-item-subtotal {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent-dark);
}

.cart-summary {
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 14px;
}

.summary-row.total #grand-total {
    color: var(--accent-dark);
}

.pay-btn {
    width: 100%;
    min-height: 46px;
    font-size: 15px;
    border-radius: 12px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 10px 0 14px;
}

.payment-method-btn {
    padding: 12px 8px;
    border-radius: 11px;
    font-weight: 600;
    flex-direction: column;
    gap: 4px;
}

.payment-method-btn.active {
    background: var(--accent-soft);
    border-color: var(--accent-color);
    color: #7c5f2c;
    box-shadow: none;
}

/* Admin Layout */
.admin-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    min-height: 100vh;
    gap: 20px;
    padding: 20px;
}

.admin-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    height: calc(100vh - 40px);
    position: sticky;
    top: 20px;
    padding: 18px 14px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
    padding: 2px;
}

.nav-group-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--text-muted);
    padding: 7px 10px 2px;
}

.nav-item {
    justify-content: flex-start;
    width: 100%;
    min-height: 34px;
    padding: 6px 11px;
    font-size: 12.5px;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    color: var(--text-color);
}

.nav-item:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    color: var(--accent-dark);
    transform: none;
}

.nav-item.active {
    background: linear-gradient(135deg, #c5a66e, #a5844a);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 3px 3px 9px rgba(165, 132, 74, 0.32);
}

.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.admin-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    flex-wrap: wrap;
}

.admin-topbar h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.admin-topbar p {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: var(--text-muted);
}

.mobile-menu-btn {
    display: none;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.kpi-card {
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kpi-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.kpi-value {
    font-size: 21px;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 5px;
}

.kpi-sub {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 4px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.section-header h2,
.section-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.table-wrap {
    overflow-x: auto;
    width: 100%;
}

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

table.data-table th,
table.data-table td {
    padding: 11px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
    white-space: nowrap;
    vertical-align: middle;
}

table.data-table th {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    font-weight: 600;
}

table.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.35);
}

table.data-table th.actions-col,
table.data-table td.actions-col {
    text-align: right;
}

.action-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
}

table.data-table td.wrap {
    white-space: normal;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 32px 16px;
    font-size: 13px;
}

/* Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(3px);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 2000;
}

.modal-backdrop.open {
    display: flex;
}

.modal-card {
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 22px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
    margin: 0;
    font-size: 16.5px;
    font-weight: 700;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

@media (max-width: 980px) {
    .pos-wrapper {
        height: auto;
        padding: 12px;
    }
    .pos-container {
        grid-template-columns: 1fr;
    }
    .admin-layout {
        grid-template-columns: 1fr;
        padding: 12px;
    }
    .mobile-menu-btn {
        display: inline-flex;
    }
    .admin-sidebar {
        display: none;
        height: auto;
        position: static;
    }
    .admin-sidebar.open {
        display: flex;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}
