/* ═══════════════════════════════════════════════════════
   IIDALAB — Restaurant Owner Portal
   Minimalist professional UI
   ═══════════════════════════════════════════════════════ */

:root {
    /* Brand */
    --brand-primary: #FF6A00;
    --brand-primary-hover: #EA6100;
    --brand-light: #FFF4EC;
    --brand-border: #FFDCC4;
    --brand-ring: rgba(255, 106, 0, 0.16);

    /* Surfaces */
    --bg-page: #FFFFFF;
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #FFF7ED;
    --bg-muted: #F4F5F7;
    --bg-subtle: #FAFBFC;

    /* Sidebar (clean white matching reference) */
    --sidebar-bg: #FFFFFF;
    --sidebar-border: #ECEEF2;
    --sidebar-text: #334155;
    --sidebar-text-hover: #0B1220;
    --sidebar-item-active: #FF6A00;
    --sidebar-label: #94A3B8;

    /* Text */
    --text-main: #0B1220;
    --text-body: #3F4956;
    --text-muted: #6B7684;
    --text-light: #98A1AE;
    --text-white: #FFFFFF;

    /* Borders */
    --border-color: #E9EBEF;
    --border-subtle: #F1F3F6;
    --border-strong: #DCE0E6;

    /* Semantic */
    --color-success: #12A150;
    --color-success-bg: #EAF7F0;
    --color-success-border: #C6E9D6;

    --color-warning: #C77F0A;
    --color-warning-bg: #FDF4E3;
    --color-warning-border: #F5E2BA;

    --color-danger: #E5484D;
    --color-danger-bg: #FDEDED;
    --color-danger-border: #F7D4D5;

    --color-info: #FF6A00;
    --color-info-bg: #FFF4EC;
    --color-info-border: #FFDCC4;

    /* Radii */
    --radius-xs: 6px;
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-full: 9999px;

    --sidebar-width: 256px;
    --topbar-height: 64px;

    /* Elevation — used sparingly */
    --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.04);
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 4px 12px -2px rgba(16, 24, 40, 0.08);
    --shadow-modal: 0 24px 48px -12px rgba(16, 24, 40, 0.22);

    --transition: all 0.16s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-body);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
::selection { background: var(--brand-light); color: var(--brand-primary-hover); }

/* ═══════════════════════════════════════════════════════
   LOGIN SCREEN
   ═══════════════════════════════════════════════════════ */
.login-screen {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #FFFFFF;
}

.login-showcase {
    position: relative;
    background: #171C26;
    color: #FFFFFF;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.showcase-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 28, 38, 0.65) 0%, rgba(23, 28, 38, 0.92) 100%);
}

.showcase-top, .showcase-body, .showcase-foot {
    position: relative;
    z-index: 2;
}

.showcase-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.showcase-pill {
    background: #FF6A00;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.06em;
}

.showcase-body {
    max-width: 440px;
}

.showcase-body h2 {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.showcase-body p {
    font-size: 14.5px;
    color: #CBD5E1;
    line-height: 1.6;
    margin-bottom: 22px;
}

.showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13.5px;
    color: #E2E8F0;
}

.showcase-list li::before {
    content: "✓";
    color: #FF6A00;
    font-weight: 800;
    margin-right: 10px;
}

.showcase-foot {
    font-size: 12px;
    color: #94A3B8;
}

.login-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 28px;
    background: #FFFFFF;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #FFFFFF;
    border: none;
    padding: 0;
    box-shadow: none;
}

.mobile-only-brand {
    display: none;
}

@media (max-width: 960px) {
    .login-screen {
        grid-template-columns: 1fr;
    }
    .login-showcase {
        display: none;
    }
    .mobile-only-brand {
        display: flex;
    }
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text h1 {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.login-header {
    margin-bottom: 26px;
}

.login-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.login-header p {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
}

.login-form .form-group {
    margin-bottom: 18px;
}

.login-form label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 7px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon > svg:first-child {
    position: absolute;
    left: 13px;
    color: var(--text-light);
    pointer-events: none;
}

.input-with-icon input {
    width: 100%;
    padding: 11px 42px 11px 40px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.input-with-icon input::placeholder { color: var(--text-light); }

.input-with-icon input:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px var(--brand-ring);
}

.btn-toggle-pw {
    position: absolute;
    right: 10px;
    z-index: 2;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-toggle-pw svg { pointer-events: none; }
    align-items: center;
    border-radius: var(--radius-xs);
}
.btn-toggle-pw:hover { color: var(--text-main); }

.login-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}
.login-footer strong { color: var(--text-body); font-weight: 600; }

.alert-danger {
    background: var(--color-danger-bg);
    border: 1px solid var(--color-danger-border);
    color: var(--color-danger);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════
   SHELL & SIDEBAR
   ═══════════════════════════════════════════════════════ */
.dashboard-shell {
    display: flex;
    min-height: 100vh;
    background-color: var(--bg-page);
}

.sidebar {
    width: var(--sidebar-width);
    background: #FFFFFF;
    border-right: 1px solid #ECEEF2;
    border-top-right-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--topbar-height);
    bottom: 0;
    left: 0;
    z-index: 40;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sidebar-header {
    display: none;
    height: var(--topbar-height);
    padding: 0 18px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--sidebar-border);
}

.sidebar-cta-wrap {
    padding: 20px 18px 4px;
}

.sidebar-cta-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 999px;
    border: none;
    background: #FFFFFF;
    color: #EA580C;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.sidebar-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    background: #FFFBF7;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-brand .brand-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-title-wrap { 
    display: flex; 
    align-items: center; 
}

.brand-title {
    font-size: 16px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.portal-badge {
    display: none;
}

.sidebar-close-btn {
    display: none;
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 4px;
    border-radius: var(--radius-xs);
}

.sidebar-restaurant-card {
    margin: 12px 14px 4px;
    padding: 11px 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 11px;
}

.rest-card-avatar {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #FFFFFF;
    color: #EA580C;
    font-weight: 800;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: none;
}

.rest-card-info { overflow: hidden; }

.rest-card-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.rest-status-text {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.sidebar-nav {
    flex: 1;
    padding: 8px 14px 14px;
    overflow-y: auto;
}
.sidebar-nav::-webkit-scrollbar { width: 5px; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.28); border-radius: 999px; }

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--sidebar-label);
    letter-spacing: 0.09em;
    padding: 16px 10px 6px;
    text-transform: uppercase;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    margin-bottom: 3px;
    border-radius: 11px;
    color: #334155;
    font-weight: 500;
    font-size: 13.5px;
    transition: var(--transition);
}

.nav-item svg {
    color: #64748B;
    transition: var(--transition);
    flex-shrink: 0;
}

.nav-item:hover {
    background: #F5F6F8;
    color: #0B1220;
}
.nav-item:hover svg { color: #0B1220; }

.nav-item.active {
    background: #FF6A00;
    color: #FFFFFF;
    font-weight: 600;
}
.nav-item.active svg { color: #FFFFFF; }

.nav-badge {
    margin-left: auto;
    background: #FF6A00;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: var(--radius-full);
}
.nav-item.active .nav-badge {
    background: #FFFFFF;
    color: #FF6A00;
}

.sidebar-footer {
    padding: 12px 14px;
    border-top: 1px solid #ECEEF2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
}

.user-profile-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: #FFFFFF;
    color: #EA580C;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-meta { overflow: hidden; }

.user-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.72);
}

.btn-icon-logout {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}
.btn-icon-logout:hover { background: rgba(255, 255, 255, 0.18); color: #FFFFFF; }

/* ═══════════════════════════════════════════════════════
   MAIN WORKSPACE & TOP BAR
   ═══════════════════════════════════════════════════════ */
.main-workspace {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding-top: var(--topbar-height);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #F5F6F8;
}

.top-bar {
    height: var(--topbar-height);
    background: #FFFFFF;
    border-bottom: 1px solid #ECEEF2;
    padding: 0 28px 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 45;
}

.sidebar-logout-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #EF4444;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.sidebar-logout-btn:hover {
    background: #FEF2F2;
}

.owner-profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 4px 8px 4px 4px;
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
    flex-shrink: 0;
}

.owner-profile-trigger:hover {
    background: #F8FAFC;
}

.owner-profile-trigger .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    color: var(--brand-primary);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.owner-profile-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    max-width: 170px;
}

.owner-profile-trigger .user-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.owner-rest-sub {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar-divider {
    width: 1px;
    height: 28px;
    background: var(--border-color);
    margin: 0 4px;
    flex-shrink: 0;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 24px 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
    display: none;
}

.top-nav .nav-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    margin-bottom: 0;
    border-radius: 9px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: var(--transition);
}

.top-nav .nav-item svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.top-nav .nav-item:hover {
    background: #F4F5F7;
    color: var(--text-main);
}

.top-nav .nav-item:hover svg {
    color: var(--text-main);
}

.top-nav .nav-item.active {
    background: var(--brand-light);
    color: var(--brand-primary);
    border-color: var(--brand-border);
    font-weight: 700;
}

.top-nav .nav-item.active svg {
    color: var(--brand-primary);
}

.top-nav .nav-badge {
    margin-left: 2px;
    background: var(--brand-primary);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
}

.top-bar-right .btn-icon-logout {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: #FFFFFF;
    color: var(--text-muted);
    padding: 0;
}

.top-bar-right .btn-icon-logout:hover {
    background: var(--color-danger-bg);
    border-color: var(--color-danger-border);
    color: var(--color-danger);
}

.topbar-brand {
    width: calc(var(--sidebar-width) - 22px);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.topbar-brand-name {
    font-size: 18px;
    font-weight: 800;
    color: #FF6A00;
    letter-spacing: -0.02em;
}

.top-bar-left { display: flex; align-items: center; gap: 16px; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-body);
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
}

.page-title-wrap { display: flex; flex-direction: column; }

.page-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 12.5px;
    color: var(--text-muted);
}

.top-bar-right { display: flex; align-items: center; gap: 10px; }

/* Sound Toggle */
.btn-sound-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
}
.btn-sound-toggle:hover { background: var(--bg-muted); color: var(--text-main); }
.btn-sound-toggle.muted { opacity: 0.55; }

/* Store Status Pill */
.store-status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 12px;
    border-radius: var(--radius-full);
    background: var(--color-success-bg);
    border: 1px solid var(--color-success-border);
    transition: var(--transition);
}
.store-status-pill.closed {
    background: var(--color-danger-bg);
    border-color: var(--color-danger-border);
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: var(--color-success);
}
.store-status-pill.closed .status-indicator-dot { background: var(--color-danger); }

.status-indicator-text {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-success);
}
.store-status-pill.closed .status-indicator-text { color: var(--color-danger); }

.btn-toggle-status {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}
.btn-toggle-status:hover { border-color: var(--text-muted); }

/* Pending Orders Pill */
.pending-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-primary);
    color: var(--text-white);
    padding: 7px 13px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    animation: pulseGlow 2s infinite;
}
.pulse-dot { width: 7px; height: 7px; border-radius: var(--radius-full); background: #FFFFFF; }

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.35); }
    70% { box-shadow: 0 0 0 8px rgba(255, 106, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0); }
}

.content-container {
    flex: 1;
    padding: 28px 32px 48px;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 13.5px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1.2;
    white-space: nowrap;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-primary { background: var(--brand-primary); color: var(--text-white); }
.btn-primary:hover:not(:disabled) { background: var(--brand-primary-hover); }
.btn-secondary { background: var(--bg-surface); border-color: var(--border-color); color: var(--text-main); }
.btn-secondary:hover:not(:disabled) { background: var(--bg-muted); border-color: var(--border-strong); }
.btn-danger { background: var(--bg-surface); border-color: var(--color-danger-border); color: var(--color-danger); }
.btn-danger:hover:not(:disabled) { background: var(--color-danger-bg); }
.btn-success { background: var(--color-success); color: var(--text-white); }
.btn-success:hover:not(:disabled) { background: #0E8A44; }
.btn-sm { padding: 6px 11px; font-size: 12.5px; border-radius: var(--radius-xs); }
.btn-block { width: 100%; }

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}
.btn-icon:hover { color: var(--text-main); border-color: var(--border-strong); background: var(--bg-muted); }

/* ═══════════════════════════════════════════════════════
   METRIC CARDS
   ═══════════════════════════════════════════════════════ */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background: #FFFFFF;
    border: 1px solid #EEF0F4;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
}
.metric-card:hover {
    border-color: var(--brand-border);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.metric-title {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-muted);
    color: var(--text-body);
}
.metric-icon-wrap.orange { background: var(--brand-light); color: var(--brand-primary); }
.metric-icon-wrap.green { background: var(--color-success-bg); color: var(--color-success); }
.metric-icon-wrap.amber { background: var(--color-warning-bg); color: var(--color-warning); }
.metric-icon-wrap.blue { background: var(--color-info-bg); color: var(--color-info); }
.metric-icon-wrap.slate { background: var(--bg-muted); color: #55606E; }

.metric-value {
    font-size: 27px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 6px;
}

.metric-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════ */
.card {
    background: #FFFFFF;
    border: 1px solid #EEF0F4;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.035);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.card-title-wrap h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.card-title-wrap p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.card-body { padding: 22px; }

/* Live Status Indicator */
.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-light);
    border: 1px solid var(--brand-border);
    color: var(--brand-primary);
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}
.live-dot-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-primary);
    animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
    100% { transform: scale(0.95); opacity: 1; }
}

/* Filter Tabs & Toolbar */
.filter-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 20px;
    background: var(--bg-surface);
    overflow-x: auto;
    scrollbar-width: none;
}
.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
    padding: 13px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: -1px;
}
.filter-tab:hover { color: var(--text-main); }
.filter-tab.active { color: var(--brand-primary); border-bottom-color: var(--brand-primary); font-weight: 600; }

.tab-badge {
    background: var(--bg-muted);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: var(--radius-full);
}
.filter-tab.active .tab-badge { background: var(--brand-light); color: var(--brand-primary); }

.toolbar-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    gap: 14px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 240px;
    flex: 1;
    max-width: 360px;
}
.search-box svg { position: absolute; left: 12px; color: var(--text-light); pointer-events: none; }
.search-box input {
    width: 100%;
    padding: 8px 12px 8px 35px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    outline: none;
    background: var(--bg-surface);
    transition: var(--transition);
}
.search-box input::placeholder { color: var(--text-light); }
.search-box input:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--brand-ring); }

.select-filter {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    font-size: 13.5px;
    color: var(--text-main);
    outline: none;
    cursor: pointer;
    transition: var(--transition);
}
.select-filter:focus { border-color: var(--brand-primary); }

/* ═══════════════════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════════════════ */
.table-responsive { overflow-x: auto; width: 100%; }

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13.5px;
}

.data-table th {
    padding: 11px 18px;
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-body);
    vertical-align: middle;
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background 0.12s ease; }
.data-table tbody tr:hover td { background: var(--bg-surface-hover); }

/* ═══════════════════════════════════════════════════════
   STATUS PILLS
   ═══════════════════════════════════════════════════════ */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-transform: capitalize;
}
.status-pill.pending,
.status-pill.pending_verification { background: var(--color-warning-bg); color: var(--color-warning); border: 1px solid var(--color-warning-border); }
.status-pill.confirmed { background: #EEF2FF; color: #4338CA; border: 1px solid #CFD6FB; }
.status-pill.preparing { background: var(--brand-light); color: var(--brand-primary); border: 1px solid var(--brand-border); }
.status-pill.ready,
.status-pill.ready_for_pickup { background: var(--color-info-bg); color: #1D4ED8; border: 1px solid var(--color-info-border); }
.status-pill.delivered,
.status-pill.completed,
.status-pill.paid,
.status-pill.active { background: var(--color-success-bg); color: #087443; border: 1px solid var(--color-success-border); }
.status-pill.cancelled,
.status-pill.failed,
.status-pill.inactive,
.status-pill.suspended { background: var(--color-danger-bg); color: #C0353A; border: 1px solid var(--color-danger-border); }
.status-pill.unpaid { background: var(--bg-muted); color: var(--text-muted); border: 1px solid var(--border-color); }

/* Refund lifecycle */
.status-pill.requested { background: var(--color-warning-bg); color: var(--color-warning); border: 1px solid var(--color-warning-border); }
.status-pill.approved { background: #EEF2FF; color: #4338CA; border: 1px solid #CFD6FB; }
.status-pill.processed { background: var(--color-success-bg); color: #087443; border: 1px solid var(--color-success-border); }
.status-pill.rejected { background: var(--color-danger-bg); color: #C0353A; border: 1px solid var(--color-danger-border); }

/* ═══════════════════════════════════════════════════════
   FOOD / PRODUCT GRID
   ═══════════════════════════════════════════════════════ */
.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
    gap: 18px;
}

.food-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.food-card:hover { border-color: var(--border-strong); }

.food-card-img-wrap {
    height: 168px;
    width: 100%;
    position: relative;
    background: var(--bg-muted);
    overflow: hidden;
}

.food-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.food-card:hover .food-card-img { transform: scale(1.03); }

.food-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.food-badge {
    padding: 3px 9px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
}
.food-badge.popular {
    background: rgba(255, 255, 255, 0.94);
    color: #854D0E;
    box-shadow: var(--shadow-xs);
}

.food-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.food-category-pill {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
}

.food-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
    line-height: 1.3;
}

.food-desc {
    font-size: 12.5px;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
    flex: 1;
    line-height: 1.45;
}

.food-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
}

.food-price-wrap { display: flex; align-items: baseline; gap: 6px; }
.food-price { font-size: 16px; font-weight: 700; color: var(--text-main); }
.food-discount-price { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.food-actions { display: flex; align-items: center; gap: 6px; }

/* ═══════════════════════════════════════════════════════
   LIVE ORDERS (Overview)
   ═══════════════════════════════════════════════════════ */
.live-orders-queue {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.live-order-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--brand-primary);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: var(--transition);
}
.live-order-card:hover { border-color: var(--border-strong); border-left-color: var(--brand-primary); }

.live-order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.live-order-num { font-size: 14.5px; font-weight: 700; color: var(--text-main); }
.live-order-time { font-size: 12px; color: var(--text-muted); }

.live-order-items {
    font-size: 13px;
    color: var(--text-body);
    background: var(--bg-subtle);
    border: 1px solid var(--border-subtle);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    line-height: 1.45;
}

.live-order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
}

.live-order-total { font-size: 16px; font-weight: 700; color: var(--brand-primary); }
.live-order-actions { display: flex; gap: 8px; }

/* ═══════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════ */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-group-full { grid-column: span 2; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.form-control {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text-main);
    font-size: 13.5px;
    outline: none;
    transition: var(--transition);
}
.form-control::placeholder { color: var(--text-light); }
.form-control:focus { border-color: var(--brand-primary); box-shadow: 0 0 0 3px var(--brand-ring); }
textarea.form-control { resize: vertical; min-height: 80px; line-height: 1.5; }
.form-hint { font-size: 11.5px; color: var(--text-muted); margin-top: 4px; }

/* Image Upload */
.image-upload-zone {
    border: 1.5px dashed var(--border-strong);
    border-radius: var(--radius-md);
    padding: 22px;
    text-align: center;
    background: var(--bg-subtle);
    cursor: pointer;
    transition: var(--transition);
}
.image-upload-zone:hover { border-color: var(--brand-primary); background: var(--brand-light); }
.image-upload-zone svg { color: var(--brand-primary); margin-bottom: 8px; }
.image-upload-zone p { font-size: 13px; font-weight: 600; color: var(--text-main); }
.image-upload-zone span { font-size: 11.5px; color: var(--text-muted); }

.image-preview-strip { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.preview-thumb { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--border-color); }

/* Switch Toggle */
.switch-label { position: relative; display: inline-block; width: 40px; height: 23px; flex-shrink: 0; }
.switch-label input { opacity: 0; width: 0; height: 0; }
.switch-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #CBD5E1; transition: .2s; border-radius: 24px; }
.switch-slider:before { position: absolute; content: ""; height: 17px; width: 17px; left: 3px; bottom: 3px; background-color: #FFFFFF; transition: .2s; border-radius: 50%; box-shadow: 0 1px 2px rgba(16,24,40,0.25); }
input:checked + .switch-slider { background-color: var(--brand-primary); }
input:checked + .switch-slider:before { transform: translateX(17px); }

/* ═══════════════════════════════════════════════════════
   EMPTY STATES
   ═══════════════════════════════════════════════════════ */
.empty-state { padding: 56px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.empty-state-icon { width: 56px; height: 56px; border-radius: var(--radius-full); background: var(--bg-muted); color: var(--text-light); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.empty-state h4 { font-size: 16px; font-weight: 600; color: var(--text-main); margin-bottom: 6px; }
.empty-state p { font-size: 13.5px; color: var(--text-muted); max-width: 400px; margin-bottom: 18px; }

/* ═══════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(11, 18, 32, 0.42);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
    animation: fadeIn 0.14s ease-out;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-modal);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
@keyframes slideUp { from { transform: translateY(10px) scale(0.99); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

.modal-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-title-wrap h3 { font-size: 16.5px; font-weight: 700; color: var(--text-main); letter-spacing: -0.01em; }
.modal-subtitle { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; }
.modal-close { background: none; border: none; font-size: 22px; line-height: 1; color: var(--text-light); cursor: pointer; padding: 2px 6px; border-radius: var(--radius-xs); transition: var(--transition); }
.modal-close:hover { color: var(--text-main); background: var(--bg-muted); }
.modal-body { padding: 22px; overflow-y: auto; flex: 1; }
.modal-footer { padding: 15px 22px; border-top: 1px solid var(--border-subtle); display: flex; align-items: center; justify-content: flex-end; gap: 10px; background: var(--bg-subtle); }

.modal-confirm { max-width: 400px; text-align: center; padding: 30px 26px; }
.confirm-icon-wrap { width: 52px; height: 52px; border-radius: var(--radius-full); background: var(--color-danger-bg); color: var(--color-danger); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.modal-confirm h3 { font-size: 17px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; }
.modal-confirm p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 22px; line-height: 1.5; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; }

/* ═══════════════════════════════════════════════════════
   TOASTS
   ═══════════════════════════════════════════════════════ */
.toast-container { position: fixed; bottom: 22px; right: 22px; z-index: 120; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: #0B1220;
    color: #FFFFFF;
    font-size: 13.5px;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    animation: toastIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 260px;
    max-width: 400px;
    border-left: 3px solid #334155;
}
.toast.success { border-left-color: var(--color-success); }
.toast.error { border-left-color: var(--color-danger); }
.toast.info { border-left-color: var(--color-info); }
@keyframes toastIn { from { transform: translateY(14px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

/* Backdrop shown behind the sidebar drawer on mobile */
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 18, 32, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 35;
}
.sidebar-backdrop.show { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .top-bar { padding: 0 20px; }
    .content-container { padding: 24px 20px 44px; }
}

@media (max-width: 768px) {
    .sidebar {
        top: 0;
        z-index: 60;
        transform: translateX(-100%);
    }
    .sidebar.open { transform: translateX(0); box-shadow: var(--shadow-modal); }
    .sidebar-header { display: flex; }
    .sidebar-close-btn { display: block; }
    .topbar-brand { display: none; }
    .main-workspace { margin-left: 0; }
    .mobile-menu-btn { display: inline-flex; }
    .top-bar {
        height: auto;
        min-height: var(--topbar-height);
        padding: 10px 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .top-bar-left { gap: 12px; }
    .top-bar-right { gap: 8px; }
    .page-subtitle { display: none; }
    .content-container { padding: 20px 16px 40px; }
    .metrics-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-group-full { grid-column: span 1; }
    .btn-sound-toggle .sound-label { display: none; }
    .card-header { padding: 14px 16px; }
    .card-body { padding: 16px; }
    .toolbar-bar { padding: 12px 16px; }
    .search-box { min-width: 0; max-width: none; flex: 1 1 100%; }
    .data-table th { padding: 10px 12px; }
    .data-table td { padding: 11px 12px; white-space: nowrap; }
    .modal-overlay { padding: 14px; }
    .modal-header { padding: 16px 18px; }
    .modal-body { padding: 18px; }
    .modal-footer { padding: 14px 18px; }
}

@media (max-width: 480px) {
    .page-title { font-size: 15px; }
    .top-bar-right { flex: 1 1 100%; justify-content: space-between; }
    .content-container { padding: 16px 12px 36px; }
    .metrics-grid { gap: 12px; }
    .metric-card { padding: 14px; }
    .metric-value { font-size: 22px; }
    .card-header { padding: 12px 14px; }
    .card-body { padding: 14px; }
    .filter-tabs { padding: 0 12px; }
    .filter-tab { padding: 12px 10px; font-size: 12.5px; }
    .modal-card { max-height: 94vh; border-radius: var(--radius-md); }
    .modal-header { padding: 14px; }
    .modal-body { padding: 14px; }
    .modal-footer { padding: 12px 14px; }
    .empty-state { padding: 40px 16px; }
    .toast-container { left: 12px; right: 12px; bottom: 12px; }
    .toast { min-width: 0; max-width: none; }
}

/* ═══════════════════════════════════════════════════════
   MINIMALIST ORDER WORKFLOW & MODAL
   ═══════════════════════════════════════════════════════ */
.order-row-clickable {
    cursor: pointer;
}

.order-row-pending td:first-child {
    box-shadow: inset 3px 0 0 var(--brand-primary);
}

.order-modal-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.order-modal-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.order-modal-time {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.order-stepper {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.order-step {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.order-step.done,
.order-step.active {
    color: var(--text-main);
}

.order-step-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--border-strong);
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-light);
}

.order-step.active .order-step-dot {
    border-color: var(--brand-primary);
    background: var(--brand-primary);
    color: #FFFFFF;
}

.order-step.done .order-step-dot {
    border-color: var(--color-success);
    background: var(--color-success);
    color: #FFFFFF;
}

.order-step-line {
    flex: 1;
    height: 1.5px;
    background: var(--border-color);
    margin: 0 10px;
}

.order-step-line.done {
    background: var(--color-success);
}

.order-info-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 16px;
}

.order-section-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.order-items-box {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 16px;
}

.order-summary-box {
    background: var(--bg-subtle);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    margin-bottom: 18px;
}

.order-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.order-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
