        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            background: #f5f5f5;
        }
        
        .main-content {
            margin-left: 300px;
            padding: 20px;
            transition: margin-left 0.3s ease;
            min-height: 100vh;
        }
        
        body.sidebar-collapsed .main-content {
            margin-left: 70px;
        }
        
        .container { 
            max-width: 1400px;
            margin: 0 auto; 
            display: flex;
            gap: 20px;
            background: #ffffff;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
            padding: 20px;
        }
        .left-section { flex: 1; }
        .right-section {
            width: 350px;
            transition: all 0.3s ease;
        }
        
        .right-section.hidden {
            opacity: 0;
            pointer-events: none;
            transform: translateX(20px);
        }
        
        h2 { 
            font-size: 24px; 
            margin-bottom: 5px;
            color: #333;
        }
        .subtitle { 
            color: #999; 
            font-size: 13px; 
            margin-bottom: 25px;
        }
        
        .section-box {
            background: white;
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .section-title {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 15px;
            color: #666;
        }
        
        .order-type-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        
        .type-card {
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            padding: 30px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.2s;
            background: white;
        }
        
        .type-card:hover {
            border-color: #FFA726;
            background: #FFF8F0;
        }
        
        .type-card.active {
            border-color: #FFA726;
            background: #FFF8F0;
        }
        
        .type-card .icon {
            font-size: 42px;
            margin-bottom: 10px;
        }
        
        .type-card .label {
            font-weight: 600;
            font-size: 16px;
            color: #333;
            margin-bottom: 5px;
        }
        
        .type-card .desc {
            font-size: 12px;
            color: #999;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            font-size: 14px;
            font-weight: 500;
            color: #666;
            margin-bottom: 8px;
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            background: #fafafa;
        }
        
        .form-control:focus {
            outline: none;
            border-color: #FFA726;
            background: white;
        }
        
        .search-box {
            position: relative;
            margin-bottom: 20px;
        }
        
        .search-box input {
            width: 100%;
            padding: 12px 15px 12px 40px;
            border: 1px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
        }
        
        .search-box::before {
            content: "🔍";
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 16px;
        }
        
        .category-tabs {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .tab-btn {
            padding: 12px 20px;
            background: none;
            border: none;
            font-size: 14px;
            font-weight: 500;
            color: #999;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            margin-bottom: -2px;
        }
        
        .tab-btn.active {
            color: #333;
            border-bottom-color: #FFA726;
        }
        
        .tab-btn .icon {
            margin-right: 5px;
        }
        
        .tab-btn .badge {
            background: #f0f0f0;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 11px;
            margin-left: 5px;
        }
        
        .menu-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }
        
        .menu-card {
            border: 1px solid #e0e0e0;
            border-radius: 10px;
            padding: 15px;
            background: white;
            transition: all 0.2s;
        }
        
        .menu-card:hover {
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }
        
        .menu-card .image {
            width: 100%;
            height: 100px;
            background: #f5f5f5;
            border-radius: 8px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 11px;
            color: #999;
            overflow: hidden;
            position: relative;
        }
        
        .menu-card .image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .menu-card .image .no-image-text {
            position: absolute;
            color: #999;
            font-size: 11px;
        }
        
        .menu-card .name {
            font-weight: 600;
            font-size: 14px;
            color: #333;
            margin-bottom: 5px;
        }
        
        .menu-card .price {
            color: #FFA726;
            font-weight: 600;
            font-size: 14px;
            margin-bottom: 10px;
        }
        
        .btn-tambah {
            width: 100%;
            padding: 8px;
            background: #2196F3;
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
        }
        
        .btn-tambah:hover {
            background: #1976D2;
        }
        
        .cart-box {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .cart-header {
            background: #FFF8F0;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .cart-header .title {
            font-weight: 600;
            font-size: 16px;
            color: #333;
        }
        
        .cart-header .badge {
            background: #FFA726;
            color: white;
            padding: 4px 12px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }
        
        .cart-header .clear {
            color: #f44336;
            font-size: 13px;
            cursor: pointer;
            text-decoration: underline;
        }
        
        .cart-items {
            padding: 20px;
            max-height: 400px;
            overflow-y: auto;
        }
        
        .cart-empty {
            text-align: center;
            padding: 40px 20px;
            color: #999;
            font-size: 14px;
        }
        
        .cart-item {
            background: #FFF8F0;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 12px;
        }
        
        .cart-item-header {
            display: flex;
            justify-content: space-between;
            align-items: start;
            margin-bottom: 10px;
        }
        
        .cart-item-name {
            font-weight: 600;
            font-size: 14px;
            color: #333;
        }
        
        .cart-item-note {
            font-size: 12px;
            color: #888;
            font-style: italic;
            margin-top: 4px;
        }
        
        .cart-item-note-input {
            width: 100%;
            padding: 6px 8px;
            border: 1px solid #e0e0e0;
            border-radius: 4px;
            font-size: 12px;
            margin-top: 8px;
            font-family: inherit;
        }
        
        .cart-item-note-input:focus {
            outline: none;
            border-color: #FFA726;
        }
        
        .cart-item-remove {
            background: none;
            border: none;
            color: #f44336;
            cursor: pointer;
            font-size: 18px;
            padding: 0;
            width: 24px;
            height: 24px;
        }
        
        .cart-item-controls {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .qty-controls {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .qty-btn {
            width: 28px;
            height: 28px;
            border: 1px solid #e0e0e0;
            background: white;
            border-radius: 6px;
            cursor: pointer;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .qty-btn:hover {
            background: #f5f5f5;
        }
        
        .qty-value {
            font-weight: 600;
            font-size: 14px;
            min-width: 20px;
            text-align: center;
        }
        
        .item-price {
            font-weight: 700;
            color: #FFA726;
            font-size: 14px;
        }
        
        .cart-summary {
            border-top: 2px solid #f0f0f0;
            padding: 20px;
        }
        
        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            font-size: 14px;
        }
        
        .summary-row.total {
            font-weight: 700;
            font-size: 18px;
            color: #333;
            padding-top: 12px;
            border-top: 1px solid #f0f0f0;
        }
        
        .summary-row.total .amount {
            color: #FFA726;
        }
        
        .payment-section {
            margin-top: 20px;
        }
        
        .payment-methods {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .payment-card {
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .payment-card:hover {
            border-color: #FFA726;
            background: #FFF8F0;
        }
        
        .payment-card.active {
            border-color: #FFA726;
            background: #FFF8F0;
        }
        
        .payment-card .icon {
            font-size: 24px;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 8px;
        }
        
        .payment-card .info .name {
            font-weight: 600;
            font-size: 14px;
            color: #333;
        }
        
        .payment-card .info .desc {
            font-size: 12px;
            color: #999;
        }
        
        .btn-submit {
            width: 100%;
            padding: 16px;
            background: #FFA726;
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            margin-top: 15px;
        }
        
        .btn-submit:hover {
            background: #FF9800;
        }
        
        .btn-submit:disabled {
            background: #ccc;
            cursor: not-allowed;
        }
        
        #mejaGroup {
            transition: all 0.3s ease;
            overflow: hidden;
        }
        
        #mejaGroup.hidden {
            max-height: 0;
            opacity: 0;
            margin: 0;
            padding: 0;
        }
        
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            justify-content: center;
            align-items: center;
        }
        
        .modal-overlay.active {
            display: flex;
        }
        
        .modal-content {
            background: white;
            border-radius: 16px;
            padding: 30px;
            max-width: 400px;
            width: 90%;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
            animation: modalSlideIn 0.3s ease;
        }
        
        @keyframes modalSlideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        .modal-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
        }
        
        .modal-icon.success {
            background: #d4edda;
            color: #28a745;
        }
        
        .modal-icon.error {
            background: #f8d7da;
            color: #dc3545;
        }
        
        .modal-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #333;
        }
        
        .modal-message {
            font-size: 14px;
            color: #666;
            margin-bottom: 20px;
            line-height: 1.5;
        }
        
        .modal-order-id {
            background: #f8f9fa;
            padding: 12px;
            border-radius: 8px;
            font-family: monospace;
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 20px;
        }
        
        .modal-btn {
            padding: 12px 30px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .modal-btn.success {
            background: #28a745;
            color: white;
        }
        
        .modal-btn.success:hover {
            background: #218838;
        }
        
        .modal-btn.error {
            background: #dc3545;
            color: white;
        }
        
        .modal-btn.error:hover {
            background: #c82333;
        }
        
        @media (max-width: 768px) {
            .main-content {
                margin-left: 0;
                padding: 15px;
            }
            
            body.sidebar-collapsed .main-content {
                margin-left: 0;
            }
            
            .container {
                flex-direction: column;
            }
            .right-section {
                width: 100%;
            }
            .right-section.hidden {
                display: none;
            }
            .menu-grid {
                grid-template-columns: 1fr;
            }
        }

/* Sembunyikan Meja dan Menu secara default */
.hidden {
    display: none !important;
}

/* Style untuk Cash Calculator */
.cash-calculator {
    padding: 15px;
    border-top: 1px solid #eee;
    margin-top: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.cash-calculator .form-group {
    margin-bottom: 10px;
}

.cash-calculator label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.cash-calculator .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    text-align: right;
    font-size: 16px;
    font-weight: bold;
}

.change-row {
    font-size: 18px;
    font-weight: bold;
    padding-top: 10px;
}

.change-row .amount {
    color: #4CAF50; /* Hijau untuk kembalian positif */
}

/* Style untuk Struk Pembayaran (di dalam Modal) */
.receipt-box {
    text-align: left;
    max-width: 350px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: monospace; 
}

.receipt-header {
    text-align: center;
    border-bottom: 2px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.receipt-header h4 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.receipt-header p {
    margin: 3px 0;
    font-size: 0.9em;
    color: #666;
}

.receipt-items-list {
    margin-bottom: 10px;
}

.receipt-item {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    font-size: 0.9em;
}

.receipt-summary {
    border-top: 2px dashed #ccc;
    padding-top: 10px;
}

.receipt-summary-row {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    font-size: 1em;
    font-weight: 500;
}

.receipt-summary-row.total {
    font-weight: bold;
    font-size: 1.1em;
    color: #000;
}

.receipt-footer {
    text-align: center;
    border-top: 2px dashed #ccc;
    padding-top: 10px;
    margin-top: 10px;
}

/* Perubahan kecil pada modal agar struk bisa muncul */
#modalOverlay.active {
    display: flex;
}

.modal-content {
    /* Pastikan modal-content cukup besar untuk struk */
    max-width: 90%; 
    width: auto;
}