:root {
    /* Modern color palette */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --danger-light: #fee2e2;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Dark mode colors */
    --dark-bg: #1f2937;
    --dark-surface: #374151;
    --dark-border: #4b5563;
    --dark-text: #f3f4f6;
    --dark-text-secondary: #d1d5db;
    
    /* Header colors */
    --header-bg: #1e40af;
    --header-text: #ffffff;
    
    /* Table header colors */
    --table-header-bg: #1e3a8a;
    --table-header-text: #ffffff;
    
    /* Animation durations */
    --transition-speed: 0.2s;
    
    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
}

/* Fullscreen layout */
body.fullscreen {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background: var(--gray-100);
    color: var(--gray-800);
}

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
}

/* Dark Mode */
body.dark-mode {
    background: var(--dark-bg);
    color: var(--dark-text);
}

body.dark-mode .header {
    background: var(--gray-800);
}

body.dark-mode .dashboard {
    background: var(--dark-surface);
    color: var(--dark-text);
}

body.dark-mode .stats-table th {
    background: var(--gray-700);
    color: var(--dark-text);
}

body.dark-mode .stats-table tr:hover td {
    background: var(--gray-600);
}

body.dark-mode .order-card {
    background: var(--dark-surface);
    color: var(--dark-text);
    box-shadow: var(--shadow-lg);
}

body.dark-mode .order-header {
    background: linear-gradient(135deg, #4B5563, #374151);
}

body.dark-mode .order-item {
    background: var(--gray-700);
    border-color: var(--dark-border);
}

body.dark-mode .order-item.status-new {
    background: var(--gray-600);
}

body.dark-mode .order-item.status-cooking {
    background: #78350f;
    border-color: var(--warning);
}

body.dark-mode .order-item.status-done {
    background: #065f46;
    border-color: var(--success);
}

body.dark-mode .order-footer {
    background: var(--gray-700);
    border-top-color: var(--dark-border);
}

body.dark-mode .btn-gray {
    background: var(--gray-600);
    color: var(--dark-text);
}

body.dark-mode .btn-gray:hover {
    background: var(--gray-500);
}

body.dark-mode .modal-content {
    background: var(--dark-surface);
    color: var(--dark-text);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select {
    background: var(--gray-600);
    color: var(--dark-text);
    border-color: var(--dark-border);
}

body.dark-mode .dropdown-menu {
    background: var(--dark-surface);
    border-color: var(--dark-border);
    box-shadow: var(--shadow-xl);
}

body.dark-mode .notification {
    background: var(--dark-surface);
    color: var(--dark-text);
    box-shadow: var(--shadow-xl);
}

/* Enhanced Header Styles */
.header {
    background: var(--header-bg);
    padding: 0.75rem 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    color: var(--header-text);
    width: 100%;
    z-index: 10;
}

.header h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.kds-id {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.8;
    margin-left: 0.5rem;
}

/* Enhanced Dashboard Styles */
.dashboard {
    background: white;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    overflow-x: auto;
    max-height: 300px;
    transition: max-height var(--transition-speed) ease;
    box-shadow: var(--shadow-sm);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dashboard-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--gray-800);
}

.stats-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stats-summary {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 1rem;
    flex: 1;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.stats-table th,
.stats-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.stats-table th {
    background: var(--table-header-bg);
    color: var(--header-text);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.stats-table tr:hover td {
    background: var(--gray-50);
}

/* Orders Container and Grid */
.orders-container {
    flex: 1;
    overflow: auto;
    background: var(--gray-100);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.orders-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--gray-800);
}

.orders-count {
    display: flex;
    gap: 0.5rem;
}

.count-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.count-badge.new {
    background: var(--gray-200);
    color: var(--gray-700);
}

.count-badge.cooking {
    background: var(--warning-light);
    color: #92400e;
}

.count-badge.done {
    background: var(--success-light);
    color: #065f46;
}

.orders-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: flex-start;
    transform-origin: top center;
    /* Transform scale akan diatur oleh JavaScript */
}

/* Enhanced Order Card Styles */
.order-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: 320px;
    transition: all var(--transition-speed) ease;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.order-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.order-card.order-urgent {
    border: 2px solid var(--danger);
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    
    70% {
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
    
    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Enhanced Order Header Styles */
.order-header {
    padding: 1rem;
    background: linear-gradient(135deg, #1E40AF, #1E3A8A);
    color: white;
    flex-shrink: 0;
}

.table-number {
    font-weight: 700;
    font-size: 1.125rem;
}

.waiter-name {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-left: 0.5rem;
}

.order-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-timer {
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
}

.order-timer.timer-warning {
    color: var(--warning-light);
}

.order-timer.timer-urgent {
    color: var(--danger-light);
    animation: pulse-text 1.5s infinite;
}

@keyframes pulse-text {
    0% {
        opacity: 1;
    }
    
    50% {
        opacity: 0.5;
    }
    
    100% {
        opacity: 1;
    }
}

.order-priority {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--danger-light);
    animation: pulse-text 1.5s infinite;
}

.order-time {
    font-size: 0.875rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Order Items Container */
.order-items {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    /* Menggunakan column-count untuk multi-kolom */
    column-count: 1;
    column-gap: 1rem;
}

/* Jika item lebih dari 6, buat menjadi 2 kolom */
.order-card[data-items="7"] .order-items,
.order-card[data-items="8"] .order-items,
.order-card[data-items="9"] .order-items,
.order-card[data-items="10"] .order-items,
.order-card[data-items="11"] .order-items,
.order-card[data-items="12"] .order-items {
    column-count: 2;
}

/* Jika item lebih dari 12, buat menjadi 3 kolom */
.order-card[data-items="13"] .order-items,
.order-card[data-items="14"] .order-items,
.order-card[data-items="15"] .order-items,
.order-card[data-items="16"] .order-items,
.order-card[data-items="17"] .order-items,
.order-card[data-items="18"] .order-items {
    column-count: 3;
}

/* Enhanced Order Item Styles */
.order-item {
    background: var(--gray-50);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: relative;
    /* Mencegah item terpotong di antara kolom */
    break-inside: avoid;
    margin-bottom: 0.75rem;
}

.order-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* Last clicked item style */
.order-item.last-clicked {
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }
    
    70% {
        box-shadow: 0 0 0 6px rgba(37, 99, 235, 0);
    }
    
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* Item status styles */
.status-new {
    background: white;
    border-color: var(--gray-200);
}

.status-cooking {
    background: var(--warning-light);
    border-color: var(--warning);
}

.status-done {
    background: var(--success-light);
    border-color: var(--success);
}

/* Item content structure */
.item-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.item-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.item-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-400);
}

.status-new .item-status-indicator {
    background: var(--gray-400);
}

.status-cooking .item-status-indicator {
    background: var(--warning);
}

.status-done .item-status-indicator {
    background: var(--success);
}

.item-quantity {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--gray-700);
}

.item-note,
.item-toppings,
.item-paket {
    font-size: 0.875rem;
    color: var(--gray-600);
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
}

.item-note i,
.item-toppings i,
.item-paket i {
    margin-top: 0.125rem;
    opacity: 0.7;
}

/* Undo highlight style */
.undo-highlight {
    animation: highlightUndo 2s ease-out;
    border: 2px solid var(--primary);
}

@keyframes highlightUndo {
    0% {
        background: var(--primary);
        transform: scale(1.05);
    }
    
    100% {
        background: var(--gray-50);
        transform: scale(1);
    }
}

/* Enhanced Order Footer */
.order-footer {
    padding: 1rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
    flex-shrink: 0;
}

/* Enhanced Button Styles */
.btn {
    padding: 0.625rem 1rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn-icon {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 50%;
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-warning {
    background: var(--warning);
    color: white;
}

.btn-warning:hover {
    background: #D97706;
}

.btn-gray {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-gray:hover {
    background: var(--gray-300);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    min-width: 200px;
    z-index: 100;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.filter-option {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.filter-option:last-child {
    border-bottom: none;
}

.filter-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 500;
}

.filter-option select {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    background: white;
}

/* Zoom Controls */
.zoom-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem;
    border-radius: var(--radius-md);
}

.zoom-level {
    font-size: 0.875rem;
    font-weight: 600;
    min-width: 3rem;
    text-align: center;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: modalFadeIn var(--transition-speed) ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-200);
}

.modal-header h2 {
    margin: 0;
    color: var(--gray-800);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-body {
    margin-bottom: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* Resume Dialog Styles */
.resume-item {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    box-shadow: var(--shadow-sm);
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.resume-quantity {
    background: var(--primary);
    color: white;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.resume-tables {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resume-table {
    background: white;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

/* Settings Form Styles */
.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-section {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1rem;
}

.settings-section h3 {
    margin: 0 0 1rem 0;
    font-size: 1.125rem;
    color: var(--gray-800);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group input[type="number"],
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    background: white;
}

.form-group.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group.checkbox-group label {
    margin-bottom: 0;
}

/* Help Dialog Styles */
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.shortcut-key {
    background: var(--gray-200);
    color: var(--gray-800);
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: monospace;
    min-width: 5rem;
    text-align: center;
}

.shortcut-desc {
    color: var(--gray-600);
}

/* Help Button */
.help-button {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 100;
    transition: all var(--transition-speed);
}

.help-button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-orders {
    text-align: center;
    padding: 3rem;
    color: var(--gray-500);
}

.no-orders i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Notification Styles */
.notification {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transition: all var(--transition-speed) ease;
    max-width: 90%;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid var(--success);
}

.notification-error {
    border-left: 4px solid var(--danger);
}

.notification-info {
    border-left: 4px solid var(--primary);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification i {
    font-size: 1.25rem;
}

.notification-success i {
    color: var(--success);
}

.notification-error i {
    color: var(--danger);
}

.notification-info i {
    color: var(--primary);
}

/* Utility Classes */
.text-sm {
    font-size: 0.875rem;
}

.font-bold {
    font-weight: 700;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.flex {
    display: flex;
}

.gap-2 {
    gap: 0.5rem;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.quantity-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.main-qty {
    font-weight: bold;
    font-size: 1.1em;
}

.similar-items {
    margin-top: -1px;
    font-size: 0.8em;
    color: var(--gray-600);
}

.similar-item {
    color: var(--primary);
    font-style: italic;
}

.text-primary {
    color: var(--primary);
}

.ml-2 {
    margin-left: 0.5rem;
}

.text-gray {
    color: var(--gray-400);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 0.75rem;
    }
    
    .header h1 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .orders-grid {
        justify-content: center;
    }
    
    .order-card {
        flex: 0 0 calc(100% - 1.5rem);
    }
    
    .stats-summary {
        flex-direction: column;
    }
    
    .shortcuts-grid {
        grid-template-columns: 1fr;
    }
}









/* Order Items Container - menggunakan grid untuk layout yang lebih fleksibel */
.order-items {
    padding: 1rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0.75rem;
    /* Mengatur tinggi maksimum agar tidak melebihi layar */
    max-height: calc(100vh - 300px); /* Sesuaikan dengan tinggi header dan footer */
    overflow-y: auto;
}

/* Aturan untuk jumlah kolom berdasarkan jumlah item dan tinggi layar */
@media (min-height: 600px) {
    .order-card[data-items-gt="6"] .order-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .order-card[data-items-gt="12"] .order-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-height: 800px) {
    .order-card[data-items-gt="4"] .order-items {
        grid-template-columns: repeat(2, 1fr);
    }
    .order-card[data-items-gt="8"] .order-items {
        grid-template-columns: repeat(3, 1fr);
    }
    .order-card[data-items-gt="15"] .order-items {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Custom scrollbar untuk tampilan yang lebih baik */
.order-items {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-100);
}

.order-items::-webkit-scrollbar {
    width: 6px;
}

.order-items::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.order-items::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 3px;
}

.order-items::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}



