        :root {
            --ink: #0b1224;
            --muted: #64748b;
            --muted-2: #94a3b8;
            --primary: #0ea5e9;
            --violet: #8b5cf6;
            --emerald: #10b981;
            --card: rgba(255, 255, 255, 0.92);
            --card-dark: rgba(6, 10, 20, 0.9);
            --stroke: rgba(15, 23, 42, 0.08);
            --stroke-dark: rgba(255, 255, 255, 0.08);
            --panel: linear-gradient(140deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.86));
            --panel-dark: linear-gradient(140deg, rgba(10, 14, 28, 0.95), rgba(7, 10, 22, 0.92));
            --glow: 0 22px 70px rgba(14, 165, 233, 0.22);
            --glow-dark: 0 26px 80px rgba(0, 0, 0, 0.6);
        }

        body,
        input,
        button,
        select,
        textarea {
            font-family: 'Plus Jakarta Sans', 'Space Grotesk', sans-serif;
            letter-spacing: -0.01em;
        }

        .font-display {
            font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
            letter-spacing: -0.02em;
        }

        body.order-shell {
            background: radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.18), transparent 32%),
                        radial-gradient(circle at 82% 10%, rgba(236, 72, 153, 0.16), transparent 28%),
                        radial-gradient(circle at 48% 90%, rgba(34, 197, 94, 0.12), transparent 26%),
                        #f8fafc;
            color: var(--ink);
            position: relative;
            overflow-x: hidden;
        }

        .dark body.order-shell {
            background: radial-gradient(circle at 12% 18%, rgba(14, 165, 233, 0.22), transparent 35%),
                        radial-gradient(circle at 86% 12%, rgba(129, 140, 248, 0.2), transparent 32%),
                        radial-gradient(circle at 50% 88%, rgba(16, 185, 129, 0.16), transparent 30%),
                        #050914;
            color: #e2e8f0;
        }

        body.order-shell::before {
            content: '';
            position: fixed;
            inset: 0;
            background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
                              linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
            background-size: 34px 34px;
            opacity: 0.6;
            pointer-events: none;
        }

        .dark body.order-shell::before {
            opacity: 0.35;
        }

        .halo {
            position: fixed;
            filter: blur(120px);
            opacity: 0.35;
            pointer-events: none;
            border-radius: 9999px;
        }

        .halo-a { width: 32vw; height: 32vw; background: #7dd3fc; top: -8%; left: -10%; }
        .halo-b { width: 28vw; height: 28vw; background: #c084fc; top: 6%; right: -10%; }
        .halo-c { width: 26vw; height: 26vw; background: #22c55e; bottom: -12%; left: 18%; }
        .dark .halo { opacity: 0.26; }

        .glass-card {
            background: var(--card);
            border: 1px solid var(--stroke);
            border-radius: 18px;
            box-shadow: var(--glow);
            backdrop-filter: saturate(1.1) blur(14px);
            -webkit-backdrop-filter: saturate(1.1) blur(14px);
        }

        .dark .glass-card {
            background: var(--card-dark);
            border-color: var(--stroke-dark);
            box-shadow: var(--glow-dark);
        }

        .hero-slab {
            position: relative;
            overflow: hidden;
        }

        .hero-slab::after {
            content: '';
            position: absolute;
            inset: -30%;
            background: radial-gradient(circle at 80% 30%, rgba(14, 165, 233, 0.28), transparent 45%),
                        radial-gradient(circle at 20% 70%, rgba(99, 102, 241, 0.24), transparent 40%);
            opacity: 0.8;
            pointer-events: none;
        }

        .dark .hero-slab::after {
            opacity: 0.5;
            filter: saturate(0.9);
        }

        .eyebrow {
            text-transform: uppercase;
            letter-spacing: 0.18em;
            font-size: 10px;
            font-weight: 700;
            color: var(--muted);
        }

        .dark .eyebrow {
            color: #cbd5e1;
        }

        .badge-signal {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 12px;
            border-radius: 9999px;
            border: 1px solid rgba(14, 165, 233, 0.2);
            background: linear-gradient(120deg, rgba(14, 165, 233, 0.14), rgba(99, 102, 241, 0.14));
            color: #0f172a;
            font-weight: 700;
            font-size: 12px;
            box-shadow: 0 16px 50px rgba(14, 165, 233, 0.24);
        }

        .badge-signal::before {
            content: '';
            width: 9px;
            height: 9px;
            border-radius: 999px;
            background: #22d3ee;
            box-shadow: 0 0 0 10px rgba(34, 211, 238, 0.16);
        }

        .dark .badge-signal {
            color: #e2e8f0;
            border-color: rgba(255, 255, 255, 0.08);
            background: linear-gradient(120deg, rgba(56, 189, 248, 0.18), rgba(139, 92, 246, 0.12));
        }

.pill-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px dashed rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.7);
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
}

        .dark .pill-ghost {
            border-color: rgba(255, 255, 255, 0.12);
            background: rgba(255, 255, 255, 0.05);
            color: #e2e8f0;
        }

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(120deg, #0ea5e9, #6366f1);
    box-shadow: 0 0 0 5px rgba(99, 102, 241, 0.1);
}

        .control-input {
            width: 100%;
            padding: 0.95rem 1rem;
            border-radius: 12px;
            border: 1px solid rgba(15, 23, 42, 0.1);
            background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
            color: #0f172a;
            font-size: 0.95rem;
            transition: all 0.15s ease;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
        }

        .control-input:focus {
            outline: none;
            border-color: rgba(14, 165, 233, 0.5);
            box-shadow: 0 14px 40px rgba(14, 165, 233, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.8);
        }

        .dark .control-input {
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.08);
            color: #e2e8f0;
            box-shadow: none;
        }

        .primary-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 0.95rem 1rem;
            border-radius: 12px;
            border: 1px solid transparent;
            background: linear-gradient(120deg, #0ea5e9, #6366f1);
            color: #fff;
            font-weight: 800;
            letter-spacing: 0.01em;
            box-shadow: 0 22px 48px rgba(99, 102, 241, 0.35);
            transition: transform 0.12s ease, box-shadow 0.12s ease;
        }

        .primary-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 26px 55px rgba(99, 102, 241, 0.42);
        }

        .dark .primary-btn {
            box-shadow: 0 24px 52px rgba(14, 165, 233, 0.32);
        }

        .stat-tile {
            background: var(--panel);
            border: 1px solid var(--stroke);
            border-radius: 14px;
            padding: 1.2rem;
            box-shadow: 0 14px 42px rgba(15, 23, 42, 0.12);
        }

        .dark .stat-tile {
            background: var(--panel-dark);
            border-color: var(--stroke-dark);
            box-shadow: 0 14px 42px rgba(0, 0, 0, 0.4);
        }

.stat-number {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.dark .stat-number {
    color: #e2e8f0;
}

.stat-number--sm {
    font-size: 1.2rem;
}

.stat-number--xs {
    font-size: 0.95rem;
}

        .stat-sub {
            font-size: 0.82rem;
            color: var(--muted);
        }

        .dark .stat-sub {
            color: var(--muted-2);
        }

        .tab-rail {
            padding: 0.55rem;
            border: 1px solid rgba(15, 23, 42, 0.08);
        }

        .dark .tab-rail {
            border-color: rgba(255, 255, 255, 0.08);
        }

        .tab-button {
            flex: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 0.85rem 1rem;
            border-radius: 12px;
            border: 1px solid transparent;
            background: transparent;
            color: #334155;
            font-weight: 700;
            transition: all 0.15s ease;
        }

        .tab-button:hover {
            border-color: rgba(15, 23, 42, 0.1);
            background: rgba(255, 255, 255, 0.6);
        }

        .tab-button.active {
            background: linear-gradient(120deg, #0ea5e9, #6366f1);
            color: #fff;
            border-color: transparent;
            box-shadow: 0 20px 45px rgba(99, 102, 241, 0.35);
        }

        .dark .tab-button {
            color: #e2e8f0;
            border-color: rgba(255, 255, 255, 0.06);
            background: rgba(255, 255, 255, 0.02);
        }

        .dark .tab-button:hover {
            border-color: rgba(255, 255, 255, 0.14);
        }

        .dark .tab-button.active {
            background: linear-gradient(120deg, #38bdf8, #8b5cf6);
        }

        .order-table thead {
            background: rgba(255, 255, 255, 0.7);
        }

        .order-table th {
            text-transform: uppercase;
            letter-spacing: 0.12em;
            font-size: 11px;
            font-weight: 800;
            color: var(--muted);
        }

        .order-table tbody tr {
            transition: background-color 0.18s ease, transform 0.18s ease;
        }

        .order-table tbody tr:hover {
            background: rgba(14, 165, 233, 0.06);
            transform: translateY(-1px);
        }

        .dark .order-table thead {
            background: rgba(255, 255, 255, 0.05);
        }

        .dark .order-table th {
            color: #cbd5e1;
        }

        .callout {
            border: 1px dashed rgba(15, 23, 42, 0.14);
            border-radius: 14px;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.7);
        }

        .dark .callout {
            border-color: rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.04);
        }

        .section-title {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title i {
            color: var(--primary);
        }

        .list-tile {
            border-radius: 12px;
            padding: 0.9rem 1rem;
            border: 1px solid rgba(15, 23, 42, 0.06);
            background: rgba(255, 255, 255, 0.75);
        }

        .dark .list-tile {
            border-color: rgba(255, 255, 255, 0.08);
            background: rgba(255, 255, 255, 0.03);
        }

        .modal-shell {
            background: var(--card);
            border: 1px solid var(--stroke);
        }

        .dark .modal-shell {
            background: var(--card-dark);
            border-color: var(--stroke-dark);
        }

        #wpadminbar { display: none !important; }
        html { margin-top: 0 !important; }
        body { margin: 0 !important; padding: 0 !important; }
        .tab-button.active { position: relative; }

        header:not(#app-container header),
        footer:not(#app-container footer),
        #masthead,
        #colophon,
        .site-header,
        .site-footer,
        .wp-site-blocks > header,
        .wp-site-blocks > footer,
        .entry-header,
        .entry-footer,
        .wp-block-post-title { display: none !important; }

        .entry-content,
        .site-content,
        #content,
        .wp-site-blocks,
        .is-layout-constrained {
            margin: 0 !important;
            padding: 0 !important;
            max-width: none !important;
            width: 100% !important;
        }

        .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
            max-width: none !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        h1.entry-title,
        .page-title { display: none !important; }

        @media (max-width: 768px) {
            #app-container {
                padding: 1.25rem;
            }

            .tab-button {
                font-size: 0.92rem;
            }

            .badge-signal {
                width: 100%;
                justify-content: center;
            }
        }
/**
 * Chot Order Dashboard - Custom Styles
 * Minimal custom CSS for additional styling beyond Tailwind
 */

/* Smooth transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Focus ring customization */
*:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.9);
    outline-offset: 2px;
    border-radius: 4px;
}

.dark *:focus-visible {
    outline-color: rgba(255, 255, 255, 0.9);
}

/* Custom scrollbar for dark mode */
.dark ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.dark ::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.dark ::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Light mode scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Smooth modal transitions */
#order-modal {
    animation: fadeIn 0.2s ease-in-out;
}

#order-modal.hidden {
    animation: fadeOut 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

/* Loading state animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Hover effects for table rows */
table tbody tr {
    transition: background-color 0.15s ease-in-out;
}

/* Input focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.dark input:focus,
.dark textarea:focus,
.dark select:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

/* Button hover effects */
button {
    transition: all 0.15s ease-in-out;
}

/* Tab button active state */
.tab-button.active {
    position: relative;
}

/* Product search results scrollbar */
#product-results {
    scrollbar-width: thin;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #app-container {
        padding: 1rem;
    }

    table {
        font-size: 0.875rem;
    }

    .modal-content {
        margin: 0;
        max-height: 100vh;
        border-radius: 0;
    }
}

/* Print styles */
@media print {

    #theme-toggle,
    .tab-button,
    button {
        display: none;
    }
}

/* Badge animations */
.badge {
    animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(-10px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Empty state styling */
.empty-state {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.empty-state:hover {
    opacity: 0.8;
}

/* Product card hover effect */
.add-product-btn {
    position: relative;
    overflow: hidden;
}

.add-product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

/* Keep total spent from wrapping on large numbers */
#total-spent {
    display: inline-flex;
    min-width: 7rem;
    justify-content: flex-end;
}

.add-product-btn:hover::before {
    left: 100%;
}

/* Status badge pulse animation for pending orders */
.status-pending {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Glass card refinement */
.glass-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-card:hover {
    box-shadow: 0 28px 80px rgba(14, 165, 233, 0.18);
}

.dark .glass-card:hover {
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.7);
}

/* Secondary Button Upgrade */
.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.8);
    color: #475569;
    font-weight: 700;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.dark .secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.secondary-btn:hover {
    background: #fff;
    border-color: #0ea5e9;
    color: #0ea5e9;
    transform: translateY(-1px);
}

.dark .secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #38bdf8;
    color: #38bdf8;
}

/* Modal Content Transition */
.modal-shell {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#order-modal:not(.hidden) .modal-shell,
#create-product-modal:not(.hidden) .modal-shell {
    transform: scale(1);
    opacity: 1;
}

/* Order Item Row */
.order-item-row {
    padding: 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.dark .order-item-row {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.04);
}

/* Custom Checkbox */
input[type="checkbox"] {
    cursor: pointer;
}
