
        /* ==========================================================
           THEMA: MATCHA FRESH 🍵
           ========================================================== */
        :root {
            --primary: #2d5016;
            --primary-light: #4a7c2e;
            --primary-lighter: #6b9e4a;
            --secondary: #6b8f3a;
            --secondary-light: #a8c686;
            --secondary-lighter: #e8f5e0;
            --bg: #f5faf0;
            --bg-card: #ffffff;
            --text: #1e3a0e;
            --text-light: #4a6b3a;
            --border: #c5dbb5;
            --shadow: rgba(45, 80, 22, 0.08);
            --shadow-hover: rgba(45, 80, 22, 0.16);
            --success: #27ae60;
            --danger: #e74c3c;
            --warning: #f39c12;
            --info: #2e86c1;
            --accent: #8bc34a;
            --accent-light: #dcedc8;
        }

        /* ===== RESET & BASE ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Quicksand', sans-serif;
            background: var(--bg);
            color: var(--text);
            line-height: 1.6;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* ==========================================================
           LOGIN SCREEN
           ========================================================== */
        #loginScreen {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            background: linear-gradient(135deg, #f5faf0 0%, #dcedc8 100%);
            padding: 20px;
        }

        .login-container {
            background: #ffffff;
            border-radius: 32px;
            padding: 48px 40px 40px;
            max-width: 440px;
            width: 100%;
            box-shadow: 0 20px 60px rgba(45, 80, 22, 0.15);
            border: 1px solid #c5dbb5;
            position: relative;
            overflow: hidden;
        }

        .login-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 6px;
            background: linear-gradient(90deg, #2d5016, #6b8f3a, #a8c686);
        }

        .lang-section {
            margin-bottom: 24px;
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
        }
        .lang-btn {
            padding: 8px 20px;
            border: 2px solid #c5dbb5;
            border-radius: 30px;
            background: transparent;
            font-family: 'Quicksand', sans-serif;
            font-weight: 700;
            font-size: 0.85rem;
            cursor: pointer;
            transition: 0.3s;
            color: #4a6b3a;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .lang-btn:hover {
            border-color: #6b8f3a;
            background: #e8f5e0;
            transform: translateY(-2px);
        }
        .lang-btn.active {
            background: #2d5016;
            color: white;
            border-color: #2d5016;
            box-shadow: 0 4px 16px rgba(45, 80, 22, 0.25);
        }
        .lang-btn .flag {
            font-size: 1.2rem;
        }

        .logo {
            text-align: center;
            margin-bottom: 20px;
        }
        .logo .logo-icon {
            font-size: 3.5rem;
            color: #6b8f3a;
            display: block;
            margin-bottom: 4px;
        }
        .logo h1 {
            font-size: 2.2rem;
            font-weight: 700;
            color: #2d5016;
        }
        .logo .tagline {
            font-weight: 600;
            color: #6f5543;
            font-size: 0.9rem;
            letter-spacing: 2px;
        }

        .login-title {
            text-align: center;
            margin-bottom: 24px;
        }
        .login-title h2 {
            font-size: 1.5rem;
            color: #1e3a0e;
            font-weight: 700;
        }
        .login-title p {
            color: #6f5543;
            font-size: 0.95rem;
            margin-top: 4px;
        }

        .demo-cred {
            background: #f5faf0;
            border-radius: 12px;
            padding: 12px 16px;
            margin-bottom: 16px;
            border: 1px dashed #a8c686;
            font-size: 0.85rem;
            text-align: center;
            color: #4a6b3a;
        }
        .demo-cred strong {
            color: #2d5016;
        }
        .demo-cred .cred-box {
            display: inline-block;
            background: #e8f5e0;
            padding: 2px 12px;
            border-radius: 6px;
            font-family: monospace;
            font-weight: 700;
            color: #2d5016;
            margin: 0 2px;
        }

        .form-group {
            margin-bottom: 18px;
        }
        .form-group label {
            font-weight: 700;
            display: block;
            font-size: 0.9rem;
            margin-bottom: 6px;
            color: #1e3a0e;
        }
        .form-group label i {
            color: #6b8f3a;
            width: 22px;
        }
        .form-group input {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #c5dbb5;
            border-radius: 14px;
            font-family: 'Quicksand', sans-serif;
            font-size: 1rem;
            background: #f5faf0;
            transition: 0.3s;
            color: #1e3a0e;
        }
        .form-group input:focus {
            outline: none;
            border-color: #6b8f3a;
            box-shadow: 0 0 0 4px rgba(107, 143, 58, 0.15);
            background: #ffffff;
        }
        .form-group input::placeholder {
            color: #a8c686;
        }

        .form-options {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 8px;
        }
        .form-options label {
            font-size: 0.85rem;
            color: #4a6b3a;
            display: flex;
            align-items: center;
            gap: 6px;
            cursor: pointer;
        }
        .form-options label input[type="checkbox"] {
            accent-color: #6b8f3a;
            width: 16px;
            height: 16px;
            cursor: pointer;
        }
        .form-options a {
            color: #6b8f3a;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.85rem;
            transition: 0.2s;
        }
        .form-options a:hover {
            color: #2d5016;
            text-decoration: underline;
        }

        .btn-login {
            background: linear-gradient(135deg, #2d5016, #4a7c2e);
            color: white;
            border: none;
            padding: 14px;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1.1rem;
            width: 100%;
            cursor: pointer;
            transition: 0.3s;
            font-family: 'Quicksand', sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .btn-login:hover {
            transform: scale(0.98);
            box-shadow: 0 8px 30px rgba(45, 80, 22, 0.3);
        }
        .btn-login:active {
            transform: scale(0.95);
        }
        .btn-login:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        .error-msg {
            background: #fde8e8;
            color: #e74c3c;
            padding: 10px 14px;
            border-radius: 12px;
            font-size: 0.9rem;
            font-weight: 600;
            display: none;
            margin-bottom: 16px;
            border: 1px solid #f5c6c6;
            text-align: center;
        }
        .error-msg.show {
            display: block;
            animation: shake 0.4s ease;
        }
        @keyframes shake {
            0%,
            100% {
                transform: translateX(0);
            }
            25% {
                transform: translateX(-8px);
            }
            75% {
                transform: translateX(8px);
            }
        }

        .login-footer {
            text-align: center;
            margin-top: 20px;
            color: #6f5543;
            font-size: 0.85rem;
        }
        .login-footer a {
            color: #6b8f3a;
            font-weight: 700;
            text-decoration: none;
        }
        .login-footer a:hover {
            text-decoration: underline;
            color: #2d5016;
        }

        /* ==========================================================
           MAIN SYSTEM (HIDDEN BY DEFAULT)
           ========================================================== */
        #mainSystem {
            display: none;
        }
        #mainSystem.active {
            display: block;
        }

        /* ===== HEADER ===== */
        header {
            background: linear-gradient(135deg, #e8f5e0 0%, #dcedc8 100%);
            padding: 20px 0 14px;
            border-bottom: 3px solid var(--secondary-light);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 12px var(--shadow);
        }
        .header-inner {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 24px;
        }
        .logo-main h1 {
            font-size: 2.0rem;
            font-weight: 700;
            color: var(--primary);
        }
        .logo-main h1 i {
            color: var(--secondary);
            margin-right: 6px;
        }
        .logo-main .tagline {
            font-weight: 600;
            color: var(--text-light);
            font-size: 0.85rem;
            letter-spacing: 1.5px;
        }
        .nav-links {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 14px;
            align-items: center;
        }
        .nav-links a {
            text-decoration: none;
            font-weight: 700;
            color: var(--text);
            font-size: 0.9rem;
            padding: 6px 0;
            border-bottom: 3px solid transparent;
            transition: 0.2s;
            cursor: pointer;
        }
        .nav-links a:hover {
            border-bottom-color: var(--secondary);
        }
        .nav-links .btn-order {
            background: var(--primary);
            color: #fefef5;
            padding: 8px 20px;
            border-radius: 40px;
            border-bottom: none;
        }
        .nav-links .btn-order:hover {
            background: var(--primary-light);
            color: #fefef5;
            border-bottom: none;
        }
        .nav-links .btn-delivery {
            background: var(--secondary);
            color: white;
            padding: 8px 20px;
            border-radius: 40px;
            border-bottom: none;
        }
        .nav-links .btn-delivery:hover {
            background: var(--primary-light);
            color: white;
            border-bottom: none;
        }
        .nav-links .btn-operator {
            background: #e67e22;
            color: white;
            padding: 8px 20px;
            border-radius: 40px;
            border-bottom: none;
        }
        .nav-links .btn-operator:hover {
            background: #d35400;
            color: white;
            border-bottom: none;
        }
        .nav-links .btn-admin {
            background: var(--secondary);
            color: white;
            padding: 8px 20px;
            border-radius: 40px;
            border-bottom: none;
        }
        .nav-links .btn-admin:hover {
            background: var(--primary-light);
            color: white;
            border-bottom: none;
        }
        .nav-links .btn-report {
            background: var(--success);
            color: white;
            padding: 8px 20px;
            border-radius: 40px;
            border-bottom: none;
        }
        .nav-links .btn-report:hover {
            background: #1e8449;
            color: white;
            border-bottom: none;
        }
        .nav-links .btn-reset {
            background: var(--danger);
            color: white;
            padding: 8px 16px;
            border-radius: 40px;
            border-bottom: none;
            font-size: 0.8rem;
        }
        .nav-links .btn-reset:hover {
            background: #c0392b;
            color: white;
            border-bottom: none;
        }
        .nav-links .btn-logout {
            background: #e74c3c;
            color: white;
            padding: 8px 16px;
            border-radius: 40px;
            border-bottom: none;
            font-size: 0.8rem;
        }
        .nav-links .btn-logout:hover {
            background: #c0392b;
            color: white;
            border-bottom: none;
        }

        .hero-location {
            background: linear-gradient(135deg, #e8f5e0 0%, #dcedc8 100%);
            padding: 16px 0;
            border-bottom: 1px solid var(--border);
        }
        .hero-location .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
        }
        .hero-location .address {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
        }
        .hero-location .address i {
            color: var(--secondary);
            font-size: 1.4rem;
        }
        .hero-location .hours {
            background: var(--secondary-lighter);
            padding: 4px 20px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.9rem;
            color: var(--text);
        }

        /* ===== ORDER SYSTEM ===== */
        .order-system {
            display: grid;
            grid-template-columns: 1fr 380px;
            gap: 30px;
            padding: 40px 0;
            max-width: 1400px;
            margin: 0 auto;
            padding: 40px 24px;
            display: none;
        }
        .order-system.active {
            display: grid;
        }
        @media (max-width: 900px) {
            .order-system.active {
                grid-template-columns: 1fr;
            }
        }

        .menu-section h2 {
            font-size: 2.0rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--primary);
        }
        .menu-section .subhead {
            color: var(--text-light);
            margin-bottom: 24px;
        }

        .category-label {
            text-align: center;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--primary);
            margin: 24px 0 16px;
            padding: 6px 20px;
            background: linear-gradient(135deg, var(--secondary-lighter), var(--accent-light));
            border-radius: 40px;
            display: inline-block;
        }
        .menu-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
            gap: 16px;
        }

        .menu-card {
            background: var(--bg-card);
            border-radius: 20px;
            padding: 18px 14px 16px;
            box-shadow: 0 4px 16px var(--shadow);
            transition: all 0.3s;
            border: 2px solid transparent;
            text-align: center;
            cursor: pointer;
            position: relative;
        }
        .menu-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 8px 30px var(--shadow-hover);
            border-color: var(--secondary-light);
        }
        .menu-card .menu-emoji {
            font-size: 3.5rem;
            line-height: 1;
            display: block;
            margin-bottom: 4px;
            transition: transform 0.3s;
        }
        .menu-card:hover .menu-emoji {
            transform: scale(1.1) rotate(-5deg);
        }
        .menu-card .badge {
            position: absolute;
            top: 6px;
            right: 6px;
            font-size: 0.6rem;
            font-weight: 700;
            padding: 2px 10px;
            border-radius: 12px;
            color: white;
        }
        .menu-card .badge.popular {
            background: var(--warning);
        }
        .menu-card .badge.new {
            background: var(--success);
        }
        .menu-card .badge.best {
            background: var(--danger);
        }
        .menu-card h4 {
            font-size: 0.9rem;
            font-weight: 700;
            margin-top: 4px;
            color: var(--text);
        }
        .menu-card .price {
            font-weight: 700;
            color: var(--secondary);
            font-size: 1.05rem;
        }

        .menu-card .admin-btns {
            display: none;
            position: absolute;
            top: 6px;
            left: 6px;
            gap: 4px;
            z-index: 10;
        }
        .menu-card .admin-btns button {
            width: 30px;
            height: 30px;
            border: none;
            border-radius: 50%;
            color: white;
            font-size: 0.75rem;
            cursor: pointer;
            transition: 0.2s;
        }
        .menu-card .admin-btns .edit-btn {
            background: var(--info);
        }
        .menu-card .admin-btns .edit-btn:hover {
            background: #1a5276;
            transform: scale(1.1);
        }
        .menu-card .admin-btns .delete-btn {
            background: var(--danger);
        }
        .menu-card .admin-btns .delete-btn:hover {
            background: #c0392b;
            transform: scale(1.1);
        }

        .order-list-box {
            background: var(--bg-card);
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 8px 30px var(--shadow);
            border: 1px solid var(--border);
            position: sticky;
            top: 90px;
            max-height: 650px;
            display: flex;
            flex-direction: column;
        }
        .order-list-box h3 {
            font-size: 1.3rem;
            margin-bottom: 12px;
            color: var(--primary);
        }
        .order-list-box h3 i {
            color: var(--secondary);
        }
        .order-items {
            flex: 1;
            overflow-y: auto;
            max-height: 280px;
            margin-bottom: 12px;
        }
        .order-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
        }
        .order-item .item-info {
            flex: 1;
        }
        .order-item .item-name {
            font-weight: 600;
            color: var(--text);
        }
        .order-item .item-detail {
            font-size: 0.75rem;
            color: var(--text-light);
        }
        .order-item .item-price {
            font-weight: 700;
            color: var(--secondary);
        }
        .order-item .remove-item {
            background: var(--danger);
            color: white;
            border: none;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            cursor: pointer;
            font-size: 0.7rem;
        }
        .order-item .remove-item:hover {
            background: #c0392b;
        }

        .order-total {
            border-top: 3px solid var(--border);
            padding-top: 12px;
            font-size: 1.2rem;
            font-weight: 700;
            display: flex;
            justify-content: space-between;
            color: var(--text);
        }
        .order-total span {
            color: var(--secondary);
            font-size: 1.5rem;
        }

        .order-actions {
            display: flex;
            gap: 10px;
            margin-top: 10px;
            flex-wrap: wrap;
        }
        .order-actions button {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: 0.2s;
            min-width: 100px;
        }
        .order-actions button:hover {
            transform: scale(0.98);
        }
        .btn-pay {
            background: var(--success);
            color: white;
        }
        .btn-pay:hover {
            background: #1e8449;
        }
        .btn-pay:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
        }
        .btn-delivery-go {
            background: var(--secondary);
            color: white;
        }
        .btn-delivery-go:hover {
            background: var(--primary-light);
        }
        .btn-delivery-go:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
        }
        .btn-clear {
            background: var(--danger);
            color: white;
            flex: 0.5;
            min-width: 60px;
        }
        .btn-clear:hover {
            background: #c0392b;
        }

        .empty-msg {
            color: var(--text-light);
            text-align: center;
            padding: 20px 0;
        }

        /* ===== POPUP MODAL ===== */
        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(30, 58, 14, 0.55);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(4px);
        }
        .modal-overlay.active {
            display: flex;
        }
        .modal-box {
            background: var(--bg-card);
            border-radius: 28px;
            padding: 32px 36px;
            max-width: 500px;
            width: 92%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
            position: relative;
            animation: slideUp 0.35s ease;
            border: 1px solid var(--border);
        }
        @keyframes slideUp {
            from {
                transform: translateY(40px) scale(0.95);
                opacity: 0;
            }
            to {
                transform: translateY(0) scale(1);
                opacity: 1;
            }
        }
        .modal-close {
            position: absolute;
            top: 12px;
            right: 18px;
            background: none;
            border: none;
            font-size: 2rem;
            cursor: pointer;
            color: var(--text-light);
            transition: 0.2s;
        }
        .modal-close:hover {
            color: var(--danger);
            transform: rotate(90deg);
        }
        .modal-header {
            text-align: center;
            margin-bottom: 16px;
        }
        .modal-header .modal-emoji {
            font-size: 4rem;
            display: block;
            margin-bottom: 4px;
        }
        .modal-header .modal-name {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--text);
        }
        .modal-header .modal-price {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--secondary);
        }
        .modal-header .modal-desc {
            color: var(--text-light);
            font-size: 0.95rem;
            margin-top: 2px;
        }
        .modal-divider {
            border: none;
            border-top: 2px solid var(--border);
            margin: 14px 0;
        }
        .modal-form-group {
            margin-bottom: 14px;
        }
        .modal-form-group label {
            font-weight: 700;
            display: block;
            font-size: 0.85rem;
            margin-bottom: 4px;
            color: var(--text);
        }
        .modal-form-group label i {
            color: var(--secondary);
            width: 22px;
        }
        .modal-form-group select,
        .modal-form-group input {
            width: 100%;
            padding: 10px 14px;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-family: 'Quicksand', sans-serif;
            font-size: 0.95rem;
            background: var(--bg);
            transition: 0.2s;
        }
        .modal-form-group select:focus,
        .modal-form-group input:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 4px rgba(107, 143, 58, 0.15);
        }
        .modal-qty {
            display: flex;
            align-items: center;
            gap: 14px;
        }
        .modal-qty button {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            border: 2px solid var(--border);
            background: white;
            font-size: 1.2rem;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s;
        }
        .modal-qty button:hover {
            background: var(--secondary-lighter);
        }
        .modal-qty span {
            font-size: 1.3rem;
            font-weight: 700;
            min-width: 36px;
            text-align: center;
            color: var(--text);
        }
        .modal-total-row {
            display: flex;
            justify-content: space-between;
            font-weight: 700;
            font-size: 1.2rem;
            padding: 10px 0;
            border-top: 3px solid var(--border);
            margin-top: 6px;
            color: var(--text);
        }
        .modal-total-row span:last-child {
            color: var(--secondary);
        }
        .modal-btn-add {
            background: var(--primary);
            color: white;
            border: none;
            padding: 14px;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1.1rem;
            width: 100%;
            cursor: pointer;
            transition: 0.2s;
            margin-top: 10px;
        }
        .modal-btn-add:hover {
            background: var(--primary-light);
            transform: scale(0.98);
        }

        /* ===== DELIVERY SECTION ===== */
        .delivery-section {
            padding: 40px 0;
            background: var(--bg);
            display: none;
        }
        .delivery-section.active {
            display: block;
        }
        .delivery-section h2 {
            font-size: 2.2rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 8px;
            color: var(--primary);
        }
        .delivery-section h2 i {
            color: var(--secondary);
        }
        .delivery-section .subhead {
            text-align: center;
            color: var(--text-light);
            margin-bottom: 30px;
        }

        .btn-back-order {
            background: var(--primary);
            color: white;
            border: none;
            padding: 10px 24px;
            border-radius: 40px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s;
            margin-bottom: 20px;
            display: inline-block;
        }
        .btn-back-order:hover {
            background: var(--primary-light);
            transform: scale(0.98);
        }

        .delivery-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        @media (max-width: 900px) {
            .delivery-grid {
                grid-template-columns: 1fr;
            }
        }

        .delivery-form-box {
            background: var(--bg-card);
            border-radius: 24px;
            padding: 28px;
            box-shadow: 0 8px 30px var(--shadow);
            border: 1px solid var(--border);
        }
        .delivery-form-box h3 {
            font-size: 1.3rem;
            margin-bottom: 16px;
            color: var(--primary);
        }
        .delivery-form-box h3 i {
            color: var(--secondary);
        }

        .delivery-order-details {
            background: var(--secondary-lighter);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 16px;
            border: 1px solid var(--border);
        }
        .delivery-order-details .do-title {
            font-weight: 700;
            font-size: 0.95rem;
            margin-bottom: 8px;
            color: var(--primary);
        }
        .delivery-order-details .do-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 6px 0;
            border-bottom: 1px solid var(--border);
            font-size: 0.85rem;
        }
        .delivery-order-details .do-item:last-child {
            border-bottom: none;
        }
        .delivery-order-details .do-item .do-left {
            flex: 1;
        }
        .delivery-order-details .do-item .do-name {
            font-weight: 600;
            color: var(--text);
        }
        .delivery-order-details .do-item .do-detail {
            font-size: 0.75rem;
            color: var(--text-light);
        }
        .delivery-order-details .do-item .do-price {
            font-weight: 700;
            color: var(--secondary);
        }
        .delivery-order-details .do-total {
            display: flex;
            justify-content: space-between;
            font-weight: 700;
            font-size: 1rem;
            padding-top: 8px;
            margin-top: 4px;
            border-top: 2px solid var(--border);
            color: var(--text);
        }
        .delivery-order-details .do-total span:last-child {
            color: var(--secondary);
        }

        .delivery-option {
            display: flex;
            gap: 16px;
            margin-bottom: 16px;
        }
        .delivery-option label {
            flex: 1;
            padding: 12px 16px;
            border: 2px solid var(--border);
            border-radius: 12px;
            text-align: center;
            cursor: pointer;
            font-weight: 600;
            transition: 0.2s;
            background: var(--bg);
            color: var(--text);
        }
        .delivery-option label:hover {
            border-color: var(--secondary);
        }
        .delivery-option input[type="radio"] {
            display: none;
        }
        .delivery-option input[type="radio"]:checked+label {
            border-color: var(--secondary);
            background: var(--secondary-lighter);
            color: var(--primary);
        }

        .delivery-address-box {
            display: none;
            animation: slideDown 0.3s ease;
        }
        .delivery-address-box.show {
            display: block;
        }
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .form-group {
            margin-bottom: 14px;
        }
        .form-group label {
            font-weight: 700;
            display: block;
            font-size: 0.85rem;
            margin-bottom: 4px;
            color: var(--text);
        }
        .form-group label i {
            color: var(--secondary);
            width: 22px;
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 10px 14px;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-family: 'Quicksand', sans-serif;
            font-size: 0.95rem;
            background: var(--bg);
            transition: 0.2s;
        }
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: var(--secondary);
            box-shadow: 0 0 0 4px rgba(107, 143, 58, 0.15);
        }
        .form-group textarea {
            resize: vertical;
            min-height: 60px;
        }

        .delivery-cost {
            background: var(--secondary-lighter);
            padding: 12px 16px;
            border-radius: 12px;
            margin: 10px 0;
            border: 1px solid var(--border);
        }
        .delivery-cost .row {
            display: flex;
            justify-content: space-between;
            padding: 4px 0;
            color: var(--text);
        }
        .delivery-cost .total {
            font-weight: 700;
            font-size: 1.1rem;
            border-top: 2px solid var(--border);
            padding-top: 8px;
            margin-top: 4px;
            color: var(--text);
        }
        .delivery-cost .total span:last-child {
            color: var(--secondary);
        }

        .btn-submit-delivery {
            background: var(--secondary);
            color: white;
            border: none;
            padding: 14px;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1.1rem;
            width: 100%;
            cursor: pointer;
            transition: 0.2s;
            margin-top: 10px;
        }
        .btn-submit-delivery:hover {
            background: var(--primary-light);
            transform: scale(0.98);
        }
        .btn-submit-delivery:disabled {
            background: #bdc3c7;
            cursor: not-allowed;
        }

        .delivery-order-list {
            background: var(--bg-card);
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 8px 30px var(--shadow);
            border: 1px solid var(--border);
            max-height: 600px;
            display: flex;
            flex-direction: column;
        }
        .delivery-order-list h3 {
            font-size: 1.3rem;
            margin-bottom: 12px;
            color: var(--primary);
        }
        .delivery-order-list h3 i {
            color: var(--secondary);
        }
        .delivery-order-list .filter-tabs {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }
        .delivery-order-list .filter-tabs button {
            padding: 4px 14px;
            border: 2px solid var(--border);
            border-radius: 20px;
            background: white;
            font-weight: 600;
            font-size: 0.8rem;
            cursor: pointer;
            transition: 0.2s;
            color: var(--text);
        }
        .delivery-order-list .filter-tabs button:hover,
        .delivery-order-list .filter-tabs button.active {
            background: var(--secondary);
            color: white;
            border-color: var(--secondary);
        }

        .delivery-items {
            flex: 1;
            overflow-y: auto;
            max-height: 400px;
        }
        .delivery-card {
            background: var(--bg);
            border-radius: 16px;
            padding: 14px 16px;
            margin-bottom: 10px;
            border: 1px solid var(--border);
            transition: 0.2s;
        }
        .delivery-card:hover {
            border-color: var(--secondary-light);
            box-shadow: 0 4px 12px var(--shadow);
        }
        .delivery-card .d-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
        }
        .delivery-card .d-id {
            font-weight: 700;
            color: var(--secondary);
            font-size: 0.9rem;
        }
        .delivery-card .d-status {
            font-size: 0.7rem;
            font-weight: 700;
            padding: 2px 12px;
            border-radius: 20px;
            color: white;
        }
        .delivery-card .d-status.pending {
            background: var(--warning);
        }
        .delivery-card .d-status.processing {
            background: var(--info);
        }
        .delivery-card .d-status.delivering {
            background: #8e44ad;
        }
        .delivery-card .d-status.completed {
            background: var(--success);
        }
        .delivery-card .d-status.cancelled {
            background: var(--danger);
        }
        .delivery-card .d-info {
            font-size: 0.85rem;
            color: var(--text-light);
            margin: 4px 0;
        }
        .delivery-card .d-items {
            font-size: 0.8rem;
            color: var(--text);
        }
        .delivery-card .d-total {
            font-weight: 700;
            color: var(--secondary);
            font-size: 1rem;
        }
        .delivery-card .d-actions {
            display: flex;
            gap: 6px;
            margin-top: 8px;
            flex-wrap: wrap;
        }
        .delivery-card .d-actions button {
            padding: 4px 14px;
            border: none;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.75rem;
            cursor: pointer;
            transition: 0.2s;
        }
        .delivery-card .d-actions .btn-status {
            background: var(--info);
            color: white;
        }
        .delivery-card .d-actions .btn-status:hover {
            background: #1a5276;
        }
        .delivery-card .d-actions .btn-delete {
            background: var(--danger);
            color: white;
        }
        .delivery-card .d-actions .btn-delete:hover {
            background: #c0392b;
        }

        /* ===== OPERATOR SECTION ===== */
        .operator-section {
            padding: 40px 0;
            background: var(--bg);
            display: none;
        }
        .operator-section.active {
            display: block;
        }
        .operator-section h2 {
            font-size: 2.2rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 8px;
            color: var(--primary);
        }
        .operator-section h2 i {
            color: #e67e22;
        }
        .operator-section .subhead {
            text-align: center;
            color: var(--text-light);
            margin-bottom: 30px;
        }

        .operator-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }
        @media (max-width: 900px) {
            .operator-grid {
                grid-template-columns: 1fr;
            }
        }

        .operator-form-box {
            background: var(--bg-card);
            border-radius: 24px;
            padding: 28px;
            box-shadow: 0 8px 30px var(--shadow);
            border: 1px solid var(--border);
        }
        .operator-form-box h3 {
            font-size: 1.3rem;
            margin-bottom: 16px;
            color: var(--primary);
        }
        .operator-form-box h3 i {
            color: #e67e22;
        }

        .operator-select-order {
            background: var(--secondary-lighter);
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 16px;
            border: 1px solid var(--border);
        }
        .operator-select-order select {
            width: 100%;
            padding: 10px 14px;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-family: 'Quicksand', sans-serif;
            font-size: 0.95rem;
            background: var(--bg);
        }
        .operator-select-order select:focus {
            outline: none;
            border-color: #e67e22;
        }

        .operator-operator-list {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 8px;
            margin-bottom: 16px;
        }
        .operator-operator-list label {
            padding: 10px 12px;
            border: 2px solid var(--border);
            border-radius: 12px;
            text-align: center;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.85rem;
            transition: 0.2s;
            background: var(--bg);
            color: var(--text);
        }
        .operator-operator-list label:hover {
            border-color: #e67e22;
        }
        .operator-operator-list input[type="radio"] {
            display: none;
        }
        .operator-operator-list input[type="radio"]:checked+label {
            border-color: #e67e22;
            background: #fdebd0;
            color: #d35400;
        }

        .operator-tracking-box {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 16px;
        }
        .operator-tracking-box input {
            flex: 1;
            padding: 10px 14px;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-family: 'Quicksand', sans-serif;
            font-size: 0.95rem;
            background: var(--bg);
            min-width: 150px;
        }
        .operator-tracking-box input:focus {
            outline: none;
            border-color: #e67e22;
        }

        .operator-status-select {
            margin-bottom: 16px;
        }
        .operator-status-select select {
            width: 100%;
            padding: 10px 14px;
            border: 2px solid var(--border);
            border-radius: 12px;
            font-family: 'Quicksand', sans-serif;
            font-size: 0.95rem;
            background: var(--bg);
        }
        .operator-status-select select:focus {
            outline: none;
            border-color: #e67e22;
        }

        .btn-submit-operator {
            background: #e67e22;
            color: white;
            border: none;
            padding: 14px;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1.1rem;
            width: 100%;
            cursor: pointer;
            transition: 0.2s;
            margin-top: 10px;
        }
        .btn-submit-operator:hover {
            background: #d35400;
            transform: scale(0.98);
        }

        .operator-list-box {
            background: var(--bg-card);
            border-radius: 24px;
            padding: 24px;
            box-shadow: 0 8px 30px var(--shadow);
            border: 1px solid var(--border);
            max-height: 600px;
            display: flex;
            flex-direction: column;
        }
        .operator-list-box h3 {
            font-size: 1.3rem;
            margin-bottom: 12px;
            color: var(--primary);
        }
        .operator-list-box h3 i {
            color: #e67e22;
        }
        .operator-list-box .filter-tabs {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }
        .operator-list-box .filter-tabs button {
            padding: 4px 14px;
            border: 2px solid var(--border);
            border-radius: 20px;
            background: white;
            font-weight: 600;
            font-size: 0.8rem;
            cursor: pointer;
            transition: 0.2s;
            color: var(--text);
        }
        .operator-list-box .filter-tabs button:hover,
        .operator-list-box .filter-tabs button.active {
            background: #e67e22;
            color: white;
            border-color: #e67e22;
        }

        .operator-items {
            flex: 1;
            overflow-y: auto;
            max-height: 400px;
        }
        .operator-card {
            background: var(--bg);
            border-radius: 16px;
            padding: 14px 16px;
            margin-bottom: 10px;
            border: 1px solid var(--border);
            transition: 0.2s;
        }
        .operator-card:hover {
            border-color: var(--secondary-light);
            box-shadow: 0 4px 12px var(--shadow);
        }
        .operator-card .op-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
        }
        .operator-card .op-id {
            font-weight: 700;
            color: #e67e22;
            font-size: 0.9rem;
        }
        .operator-card .op-operator {
            font-weight: 700;
            font-size: 0.8rem;
            padding: 2px 12px;
            border-radius: 20px;
            color: white;
            background: #e67e22;
        }
        .operator-card .op-operator.grab {
            background: #00b14f;
        }
        .operator-card .op-operator.foodpanda {
            background: #d70f64;
        }
        .operator-card .op-operator.shopee {
            background: #ee4d2d;
        }
        .operator-card .op-operator.lalamove {
            background: #00b2a9;
        }
        .operator-card .op-operator.dhl {
            background: #ffcc00;
            color: #d40511;
        }
        .operator-card .op-operator.others {
            background: #6c757d;
        }
        .operator-card .op-status {
            font-size: 0.7rem;
            font-weight: 700;
            padding: 2px 12px;
            border-radius: 20px;
            color: white;
        }
        .operator-card .op-status.pending {
            background: var(--warning);
        }
        .operator-card .op-status.processing {
            background: var(--info);
        }
        .operator-card .op-status.delivering {
            background: #8e44ad;
        }
        .operator-card .op-status.completed {
            background: var(--success);
        }
        .operator-card .op-status.cancelled {
            background: var(--danger);
        }
        .operator-card .op-info {
            font-size: 0.85rem;
            color: var(--text-light);
            margin: 4px 0;
        }
        .operator-card .op-tracking {
            font-weight: 700;
            color: var(--text);
            font-size: 0.9rem;
        }
        .operator-card .op-items {
            font-size: 0.8rem;
            color: var(--text);
        }
        .operator-card .op-total {
            font-weight: 700;
            color: var(--secondary);
            font-size: 1rem;
        }
        .operator-card .op-actions {
            display: flex;
            gap: 6px;
            margin-top: 8px;
            flex-wrap: wrap;
        }
        .operator-card .op-actions button {
            padding: 4px 14px;
            border: none;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.75rem;
            cursor: pointer;
            transition: 0.2s;
        }
        .operator-card .op-actions .btn-status {
            background: var(--info);
            color: white;
        }
        .operator-card .op-actions .btn-status:hover {
            background: #1a5276;
        }
        .operator-card .op-actions .btn-delete {
            background: var(--danger);
            color: white;
        }
        .operator-card .op-actions .btn-delete:hover {
            background: #c0392b;
        }
        .operator-card .op-actions .btn-edit {
            background: #e67e22;
            color: white;
        }
        .operator-card .op-actions .btn-edit:hover {
            background: #d35400;
        }

        /* ===== REPORT SECTION ===== */
        .report-section {
            padding: 40px 0 56px;
            background: var(--bg);
            display: none;
        }
        .report-section.active {
            display: block;
        }
        .report-section h2 {
            font-size: 2.2rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 8px;
            color: var(--primary);
        }
        .report-section h2 i {
            color: var(--secondary);
        }
        .report-section .subhead {
            text-align: center;
            color: var(--text-light);
            margin-bottom: 30px;
        }

        .report-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 16px;
            margin-bottom: 30px;
        }
        .stat-card {
            background: var(--bg-card);
            border-radius: 16px;
            padding: 18px;
            text-align: center;
            box-shadow: 0 4px 16px var(--shadow);
            border: 1px solid var(--border);
        }
        .stat-card .number {
            font-size: 2rem;
            font-weight: 700;
            color: var(--secondary);
        }
        .stat-card .label {
            font-size: 0.85rem;
            color: var(--text-light);
            font-weight: 600;
        }

        .chart-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 24px;
            margin-bottom: 30px;
        }
        .chart-box {
            background: var(--bg-card);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 4px 16px var(--shadow);
            border: 1px solid var(--border);
        }
        .chart-box h4 {
            text-align: center;
            margin-bottom: 12px;
            color: var(--primary);
            font-size: 1rem;
        }
        .chart-box canvas {
            max-height: 200px;
            max-width: 100%;
        }

        .transaction-list {
            background: var(--bg-card);
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 4px 16px var(--shadow);
            border: 1px solid var(--border);
            max-height: 450px;
            overflow-y: auto;
        }
        .transaction-list h4 {
            margin-bottom: 12px;
            color: var(--primary);
        }
        .transaction-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 8px;
            border-bottom: 1px solid var(--border);
            font-size: 0.9rem;
            cursor: pointer;
            transition: 0.2s;
            border-radius: 8px;
        }
        .transaction-item:hover {
            background: var(--secondary-lighter);
        }
        .transaction-item .t-left {
            flex: 1;
        }
        .transaction-item .t-id {
            font-weight: 700;
            color: var(--secondary);
        }
        .transaction-item .t-date {
            color: var(--text-light);
            font-size: 0.8rem;
        }
        .transaction-item .t-items {
            color: var(--text-light);
            font-size: 0.8rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 250px;
        }
        .transaction-item .t-total {
            font-weight: 700;
            color: var(--secondary);
            font-size: 1.1rem;
            margin-left: 12px;
            white-space: nowrap;
        }
        .transaction-item .t-view {
            color: var(--secondary);
            margin-left: 8px;
            font-size: 0.8rem;
        }

        .btn-export {
            background: var(--info);
            color: white;
            border: none;
            padding: 8px 20px;
            border-radius: 40px;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s;
            font-size: 0.85rem;
        }
        .btn-export:hover {
            background: #1a5276;
            transform: scale(0.98);
        }

        .filter-btns {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 16px;
            justify-content: center;
        }
        .filter-btns button {
            padding: 6px 16px;
            border: 2px solid var(--border);
            border-radius: 30px;
            background: white;
            font-weight: 600;
            cursor: pointer;
            transition: 0.2s;
            font-size: 0.85rem;
            color: var(--text);
        }
        .filter-btns button:hover,
        .filter-btns button.active {
            background: var(--secondary);
            color: white;
            border-color: var(--secondary);
        }

        /* ===== ADMIN PANEL ===== */
        .admin-section {
            padding: 48px 0 56px;
            background: var(--bg);
            border-top: 1px solid var(--border);
            display: none;
        }
        .admin-section.active {
            display: block;
        }
        .admin-section h2 {
            font-size: 2.2rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 8px;
            color: var(--primary);
        }
        .admin-section .subhead {
            text-align: center;
            color: var(--text-light);
            margin-bottom: 30px;
        }
        .admin-form {
            max-width: 600px;
            margin: 0 auto;
            background: var(--bg-card);
            padding: 32px 36px;
            border-radius: 32px;
            box-shadow: 0 10px 30px var(--shadow);
            border: 1px solid var(--border);
        }
        .admin-form .form-group {
            margin-bottom: 18px;
        }
        .admin-form label {
            font-weight: 700;
            display: block;
            margin-bottom: 4px;
            color: var(--text);
        }
        .admin-form input,
        .admin-form textarea,
        .admin-form select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid var(--border);
            border-radius: 16px;
            font-family: 'Quicksand', sans-serif;
            font-size: 1rem;
            background: var(--bg);
        }
        .admin-form input:focus,
        .admin-form textarea:focus,
        .admin-form select:focus {
            outline: none;
            border-color: var(--secondary);
        }
        .admin-form .btn-admin-submit {
            background: var(--primary);
            color: white;
            border: none;
            padding: 14px 28px;
            border-radius: 60px;
            font-weight: 700;
            font-size: 1.1rem;
            width: 100%;
            cursor: pointer;
            transition: 0.2s;
        }
        .admin-form .btn-admin-submit:hover {
            background: var(--primary-light);
        }
        .admin-close-btn {
            background: var(--danger);
            color: white;
            border: none;
            padding: 10px 24px;
            border-radius: 40px;
            font-weight: 700;
            cursor: pointer;
            margin-top: 16px;
            display: block;
            margin-left: auto;
            margin-right: auto;
        }
        .admin-close-btn:hover {
            background: #c0392b;
        }

        /* ===== LOCATION ===== */
        .location-section {
            background: var(--bg);
            padding: 48px 0 56px;
            display: none;
        }
        .location-section.active {
            display: block;
        }
        .location-section h2 {
            font-size: 2.2rem;
            font-weight: 700;
            text-align: center;
            margin-bottom: 28px;
            color: var(--primary);
        }
        .location-wrapper {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            align-items: stretch;
        }
        .map-container {
            flex: 2;
            min-width: 280px;
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 8px 20px var(--shadow);
            height: 300px;
            background: #dcedc8;
            position: relative;
            border: 1px solid var(--border);
        }
        .map-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .map-container .map-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
            padding: 20px 16px 16px;
            text-align: center;
        }
        .map-container .map-overlay a {
            background: white;
            color: var(--primary);
            padding: 8px 24px;
            border-radius: 40px;
            font-weight: 700;
            text-decoration: none;
            font-size: 0.9rem;
            transition: 0.2s;
            display: inline-block;
        }
        .map-container .map-overlay a:hover {
            background: var(--primary);
            color: white;
            transform: scale(1.05);
        }
        .location-details {
            flex: 1;
            min-width: 200px;
            background: var(--bg-card);
            padding: 28px 24px;
            border-radius: 28px;
            box-shadow: 0 8px 20px var(--shadow);
            border: 1px solid var(--border);
        }
        .location-details p {
            margin-bottom: 14px;
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            gap: 14px;
            color: var(--text);
        }
        .location-details i {
            width: 28px;
            color: var(--secondary);
            font-size: 1.3rem;
            text-align: center;
        }
        .location-details .btn-map {
            background: var(--primary);
            color: white;
            padding: 12px 20px;
            border-radius: 60px;
            font-weight: 700;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            transition: 0.2s;
            border: none;
            font-size: 0.95rem;
            width: 100%;
        }
        .location-details .btn-map:hover {
            background: var(--primary-light);
            transform: scale(0.98);
        }

        /* ===== MODAL TRANSAKSI ===== */
        .modal-overlay-transaction {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(30, 58, 14, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        .modal-overlay-transaction.active {
            display: flex;
        }
        .modal-box-transaction {
            background: var(--bg-card);
            border-radius: 24px;
            padding: 32px;
            max-width: 550px;
            width: 90%;
            max-height: 85vh;
            overflow-y: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            position: relative;
            border: 1px solid var(--border);
        }
        .modal-box-transaction .modal-close {
            position: absolute;
            top: 12px;
            right: 16px;
            background: none;
            border: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: var(--text-light);
            transition: 0.2s;
        }
        .modal-box-transaction .modal-close:hover {
            color: var(--danger);
            transform: rotate(90deg);
        }
        .modal-box-transaction .modal-title {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 4px;
        }
        .modal-box-transaction .modal-subtitle {
            color: var(--text-light);
            font-size: 0.9rem;
            margin-bottom: 16px;
        }
        .modal-box-transaction .modal-divider {
            border: none;
            border-top: 2px solid var(--border);
            margin: 12px 0;
        }
        .modal-box-transaction .modal-item {
            display: flex;
            justify-content: space-between;
            padding: 6px 0;
            font-size: 0.95rem;
            border-bottom: 1px solid var(--border);
        }
        .modal-box-transaction .modal-item .mi-name {
            font-weight: 600;
            color: var(--text);
        }
        .modal-box-transaction .modal-item .mi-detail {
            font-size: 0.8rem;
            color: var(--text-light);
        }
        .modal-box-transaction .modal-item .mi-price {
            font-weight: 700;
            color: var(--secondary);
        }
        .modal-box-transaction .modal-total-row {
            display: flex;
            justify-content: space-between;
            font-weight: 700;
            font-size: 1.2rem;
            padding: 8px 0;
            border-top: 3px solid var(--border);
            margin-top: 8px;
            color: var(--text);
        }
        .modal-box-transaction .modal-total-row span:last-child {
            color: var(--secondary);
        }

        footer {
            background: var(--primary);
            color: #e8f5e0;
            padding: 28px 0;
            text-align: center;
            border-top: 4px solid var(--secondary);
        }
        footer .social i {
            font-size: 1.8rem;
            margin: 0 12px;
            color: #a8c686;
            transition: 0.2s;
        }
        footer .social i:hover {
            color: #e8f5e0;
            transform: scale(1.05);
        }
        footer .copy {
            margin-top: 12px;
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .text-muted {
            color: var(--text-light);
            font-size: 0.85rem;
        }

        @media (max-width: 768px) {
            .header-inner {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
            .nav-links {
                width: 100%;
                justify-content: flex-start;
                flex-wrap: wrap;
            }
            .order-system.active {
                grid-template-columns: 1fr;
                padding: 20px 16px;
            }
            .order-list-box {
                position: static;
                max-height: 450px;
            }
            .menu-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 12px;
            }
            .chart-grid {
                grid-template-columns: 1fr;
            }
            .modal-box {
                padding: 24px 20px;
                max-width: 95%;
            }
            .delivery-grid,
            .operator-grid {
                grid-template-columns: 1fr;
            }
            .delivery-order-list,
            .operator-list-box {
                max-height: 500px;
            }
            .transaction-item .t-items {
                max-width: 120px;
            }
            .order-actions {
                flex-direction: column;
            }
            .order-actions button {
                min-width: 100%;
            }
            .operator-operator-list {
                grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            }
            .delivery-option {
                flex-direction: column;
            }
            .map-container {
                height: 220px;
            }
        }
        @media (max-width: 480px) {
            .menu-grid {
                grid-template-columns: 1fr 1fr;
                gap: 10px;
            }
            .menu-card {
                padding: 12px 8px 10px;
            }
            .menu-card .menu-emoji {
                font-size: 2.8rem;
            }
            .admin-form {
                padding: 20px;
            }
            .report-stats {
                grid-template-columns: 1fr 1fr;
            }
            .operator-operator-list {
                grid-template-columns: 1fr 1fr;
            }
            .modal-box {
                padding: 20px 16px;
            }
            .modal-header .modal-emoji {
                font-size: 3rem;
            }
            .modal-header .modal-name {
                font-size: 1.3rem;
            }
            .map-container {
                height: 180px;
            }
            .login-container {
                padding: 32px 20px 28px;
            }
            .logo h1 {
                font-size: 1.8rem;
            }
            .login-title h2 {
                font-size: 1.2rem;
            }
            .form-options {
                flex-direction: column;
                align-items: flex-start;
            }
            .lang-btn {
                padding: 6px 14px;
                font-size: 0.75rem;
            }
        }
    
        /* ===== NAV AKTIF ===== */
        .nav-links a.active {
            border-bottom-color: var(--secondary);
            box-shadow: inset 0 -3px 0 var(--secondary);
        }
        .nav-links a.btn-order.active,
        .nav-links a.btn-delivery.active,
        .nav-links a.btn-operator.active,
        .nav-links a.btn-admin.active,
        .nav-links a.btn-report.active,
        .nav-links a.btn-reset.active,
        .nav-links a.btn-logout.active {
            border-bottom: none;
            box-shadow: none;
            outline: 3px solid rgba(45, 80, 22, 0.35);
            outline-offset: 1px;
        }

