  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f5f5f5;
        }

        .main-content {
            margin-left: 250px;
            transition: margin-left 0.3s ease;
            min-height: 100vh;
        }

        body.sidebar-collapsed .main-content {
            margin-left: 80px;
        }

        .container {
            display: flex;
            flex-wrap: wrap;
            padding: 20px;
            gap: 20px;
            max-width: 100%;
        }

        .left-panel {
            width: 280px;
            background: white;
            border-radius: 8px;
            padding: 20px;
            height: fit-content;
        }

        .left-panel h2 {
            font-size: 15px;
            margin-bottom: 20px;
            color: #333;
            font-weight: 600;
        }

        .order-card {
            background: white;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            cursor: pointer;
            transition: all 0.3s;
            text-decoration: none;
            display: block;
        }

        .order-card:hover { border-color: #FFB84D; }
        .order-card.active { border-color: #FFC864; background: #fffbf0; }

        .order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
        .order-header h3 { font-size: 15px; color: #333; }

        .badge-disajikan {
            background: #28a745;
            color: white;
            padding: 4px 10px;
            border-radius: 12px;
            font-size: 11px;
            font-weight: 600;
        }

        .order-code { color: #999; font-size: 13px; margin-bottom: 12px; }
        .order-footer { display: flex; justify-content: space-between; align-items: center; }
        .order-time { color: #666; font-size: 13px; }
        .order-price { color: #333; font-weight: 600; font-size: 14px; }

        .right-panel {
            flex: 1;
            background: white;
            border-radius: 8px;
            padding: 30px;
            min-width: 0;
        }

        .form-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
        .form-title-section h1 { font-size: 18px; color: #333; margin-bottom: 5px; }
        .form-meta { display: flex; gap: 10px; color: #666; font-size: 14px; }
        .badge-bayar { background: #FFC864; color: #333; padding: 8px 20px; border-radius: 6px; font-size: 13px; font-weight: 600; }

        .items-section { margin-bottom: 25px; }
        .item-row { display: flex; justify-content: space-between; padding: 12px 0; color: #333; }
        .item-name { font-size: 15px; }
        .item-price { font-weight: 600; font-size: 15px; }

        .total-row {
            display: flex;
            justify-content: space-between;
            padding: 15px 0;
            border-top: 1px solid #e0e0e0;
            margin-bottom: 30px;
        }

        .total-label { font-size: 16px; color: #333; }
        .total-amount { font-size: 24px; font-weight: 600; color: #FFC864; }

        .payment-section h3 { font-size: 15px; margin-bottom: 15px; color: #333; }
        .method-grid { display: grid; grid-template-columns: 1fr; gap: 15px; margin-bottom: 30px; }

        .method-card {
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s;
            text-align: left;
        }

        .method-card:hover { border-color: #4A90E2; }
        .method-card.selected { border-color: #4A90E2; background: #f0f7ff; }

        .method-icon { font-size: 24px; margin-bottom: 8px; }
        .method-title { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 3px; }
        .method-desc { font-size: 13px; color: #666; }

        .input-section { margin-bottom: 30px; }
        .input-group { margin-bottom: 20px; }
        .input-label { display: block; font-size: 14px; color: #333; margin-bottom: 8px; font-weight: 500; }
        .input-field {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 6px;
            font-size: 16px;
            transition: all 0.3s;
        }
        .input-field:focus { outline: none; border-color: #4A90E2; }
        .input-field:disabled { background: #f5f5f5; color: #999; cursor: not-allowed; }
        
        .change-display {
            background: #f0f7ff;
            padding: 15px;
            border-radius: 6px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .change-label { font-size: 14px; color: #666; }
        .change-amount { font-size: 20px; font-weight: 600; color: #4A90E2; }

        .action-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
        .btn-confirm {
            flex: 1;
            padding: 15px;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: #4A90E2;
            color: white;
            border: none;
        }
        .btn-confirm:hover { background: #357ABD; }
        .btn-confirm:disabled { background: #ccc; cursor: not-allowed; }

        .empty-state { text-align: center; padding: 80px 20px; color: #999; }

        .alert { padding: 15px; border-radius: 6px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
        .alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
        .alert-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

        .notification-popup {
            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;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideIn {
            from { transform: scale(0.7); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }

        .notification-content {
            background: white;
            border-radius: 12px;
            padding: 40px;
            text-align: center;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 10px 40px rgba(0,0,0,0.3);
            animation: slideIn 0.3s ease;
        }

        .notification-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
        }

        .notification-icon.success {
            background: #d4edda;
            color: #28a745;
        }

        .notification-icon.error {
            background: #f8d7da;
            color: #dc3545;
        }

        .notification-title {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .notification-title.success { color: #28a745; }
        .notification-title.error { color: #dc3545; }

        .notification-message {
            font-size: 15px;
            color: #666;
            margin-bottom: 25px;
            line-height: 1.5;
        }

        .notification-button {
            background: #4A90E2;
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 6px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }

        .notification-button:hover {
            background: #357ABD;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
        }

        .receipt-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        .receipt-container {
            background: white;
            width: 350px;
            max-height: 90vh;
            overflow-y: auto;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }
        .receipt-content {
            padding: 30px;
            font-family: 'Courier New', monospace;
        }
        .receipt-header {
            text-align: center;
            margin-bottom: 20px;
            border-bottom: 2px dashed #333;
            padding-bottom: 15px;
        }
        .receipt-header h2 { font-size: 20px; margin-bottom: 5px; }
        .receipt-header p { font-size: 12px; color: #666; margin: 2px 0; }
        .receipt-info { margin-bottom: 15px; font-size: 13px; }
        .receipt-info div { display: flex; justify-content: space-between; margin-bottom: 5px; }
        .receipt-items { border-top: 1px dashed #333; border-bottom: 1px dashed #333; padding: 15px 0; margin-bottom: 15px; }
        .receipt-item { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
        .receipt-total { font-size: 16px; font-weight: bold; margin-bottom: 10px; }
        .receipt-total, .receipt-paid, .receipt-change { display: flex; justify-content: space-between; margin-bottom: 8px; }
        .receipt-footer { text-align: center; margin-top: 20px; padding-top: 15px; border-top: 2px dashed #333; font-size: 12px; color: #666; }
        .receipt-buttons {
            display: flex;
            gap: 10px;
            padding: 15px;
            border-top: 1px solid #e0e0e0;
        }
        .receipt-buttons button {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
        }
        .btn-print-receipt { background: #4A90E2; color: white; }
        .btn-print-receipt:hover { background: #357ABD; }
        .btn-close-receipt { background: #f5f5f5; color: #333; }
        .btn-close-receipt:hover { background: #e0e0e0; }

        @media print {
            body * { visibility: hidden; }
            .receipt-container, .receipt-container * { visibility: visible; }
            .receipt-container { 
                position: absolute; 
                left: 0; 
                top: 0; 
                width: 100%;
                box-shadow: none;
                border-radius: 0;
            }
            .receipt-buttons { display: none; }
        }
        
        @media (max-width: 1200px) {
            .main-content {
                margin-left: 80px;
            }
        }

        @media (max-width: 992px) {
            .main-content {
                margin-left: 0;
            }
            
            .container {
                flex-direction: column;
                padding: 10px;
            }
            .left-panel {
                width: 100%;
                order: 2;
            }
            .right-panel {
                width: 100%;
                order: 1;
                padding: 20px;
            }
            .method-grid {
                grid-template-columns: 1fr;
            }
            .action-buttons {
                flex-direction: column;
            }
        }

        @media (max-width: 600px) {
            .form-title-section h1 {
                font-size: 16px;
            }
            .badge-bayar {
                padding: 6px 12px;
                font-size: 12px;
            }
            .total-amount {
                font-size: 20px;
            }
            .btn-confirm {
                font-size: 14px;
                padding: 12px;
            }
            .receipt-container {
                width: 90%;
                max-width: 350px;
            }
        }