/**
 * Hotel Plus POS — Appealing Theme (theme tokens)
 */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    --background: #fff;
    --foreground: #000;
    --restro-green-light: #ECF1EB;
    --restro-green: #70B56A;
    --restro-green-10: #70b56a18;
    --restro-border-green: #DCE7DB;
    --restro-text: #6b7280;
    --restro-text-light: #9ca3af;
    --restro-nav-muted: #BDBDBD;
    --restro-ink: #111827;
    --restro-gray: #f3f4f6;
    --restro-ring: #000;
    --restro-bg-gray: #f3f4f6;
    --restro-card-bg: #ffffff;
    --restro-button-hover: #e5e6e8;
    --restro-green-button-hover: #629c5d;
    --restro-red: #f87171;
    --restro-red-hover: #fee2e2;
    --restro-yellow: #f4d6a1;
    --restro-yellow-hover: #e1920a;
    --restro-green-dark: #243922;
    --restro-border-green-light: #dce7db;
    --sidebar-width: 18rem;
    --sidebar-collapsed: 5.5rem;
    --topbar-height: 64px;
    --bs-primary: #70B56A;
    --bs-primary-rgb: 112, 181, 106;
    --bs-body-bg: #f7faf7;
    --bs-body-color: #111827;
    --bs-border-color: #DCE7DB;
    --bs-border-radius: 0.75rem;
    --bs-font-sans-serif: 'Nunito', ui-sans-serif, system-ui, sans-serif;
}

html { font-family: 'Nunito', ui-sans-serif, system-ui, sans-serif; font-optical-sizing: auto; }
body {
    background: #f7faf7;
    color: var(--restro-ink);
    font-family: 'Nunito', ui-sans-serif, system-ui, sans-serif;
    font-weight: 400;
    font-size: 0.9375rem; /* 15px — Appealing body */
    line-height: 1.5;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', ui-sans-serif, system-ui, sans-serif;
    color: var(--restro-ink);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}
h1 { font-size: 1.5rem; }      /* 24px */
h2 { font-size: 1.25rem; }     /* 20px */
h3 { font-size: 1.125rem; }    /* 18px */
h4, h5, h6 { font-size: 1rem; font-weight: 600; }

.text-muted { color: var(--restro-text) !important; font-weight: 400; }
.pos-page-sub { color: var(--restro-text-light) !important; font-weight: 400; }
.text-restro { color: var(--restro-green) !important; }
.fw-medium { font-weight: 500 !important; }
.fw-semibold { font-weight: 600 !important; }
.fw-bold { font-weight: 700 !important; }
.fw-black, .fw-bolder { font-weight: 800 !important; }

/* Tabler icons — Appealing stroke 1.5 */
.ti {
    font-size: 1.15rem;
    line-height: 1;
    vertical-align: -0.125em;
    color: inherit;
}
.pos-nav-link .ti,
.vem-nav-link .ti { font-size: 1.2rem; width: 1.35rem; text-align: center; opacity: .92; }
a { text-decoration: none; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-thumb { background: #88888866; border-radius: 100px; }

.btn { font-weight: 600; border-radius: 0.75rem; transition: transform .15s, box-shadow .15s; font-size: .875rem; }
.btn:active { transform: scale(.97); }
.btn-primary {
    --bs-btn-bg: var(--restro-green); --bs-btn-border-color: var(--restro-green);
    --bs-btn-hover-bg: var(--restro-green-button-hover); --bs-btn-hover-border-color: var(--restro-green-button-hover);
    --bs-btn-active-bg: var(--restro-green-button-hover); --bs-btn-color: #fff; --bs-btn-hover-color: #fff;
}
.btn-light { background: var(--restro-gray); border: none; border-radius: 9999px; color: var(--restro-ink); font-weight: 600; }
.form-control, .form-select {
    border-radius: .85rem; border-color: transparent; background: var(--restro-gray);
    padding: .65rem 1rem; font-weight: 400; color: var(--restro-ink); font-size: .9375rem;
}
.form-control:focus, .form-select:focus {
    border-color: transparent; background: var(--restro-gray); box-shadow: 0 0 0 1px var(--restro-ring);
}
.form-label { font-weight: 600; color: var(--restro-text); font-size: .8125rem; }

/* Layout shell — Appealing Navbar + AppBar */
.pos-shell { display: flex; min-height: 100vh; }
.pos-sidebar {
    position: fixed; left: 0; top: 0; z-index: 1040;
    width: var(--sidebar-width); height: 100vh;
    background: var(--restro-green-light);
    padding: 1.5rem 1.25rem;
    display: flex; flex-direction: column; gap: .5rem;
    overflow-y: auto;
    transition: width .2s ease;
}
.pos-sidebar.collapsed { width: var(--sidebar-collapsed); }
.pos-sidebar.collapsed .pos-nav-label,
.pos-sidebar.collapsed .pos-nav-section,
.pos-sidebar.collapsed .pos-brand-text { display: none; }
.pos-sidebar.collapsed .pos-nav-link {
    width: 3rem; height: 3rem; justify-content: center; padding: 0; margin: 0 auto;
}
.pos-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.pos-brand img.app-logo,
.app-logo {
    height: 3.25rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.app-logo-fallback {
    font-size: 2rem;
    color: var(--restro-green);
}
.pos-brand-text {
    display: flex;
    flex-direction: column;
}
.pos-brand-text small {
    order: -1;
    display: block; color: var(--restro-sidebar-brand, var(--restro-green)); font-weight: 700; font-size: .68rem;
    letter-spacing: .08em; text-transform: uppercase; line-height: 1.1;
}
.pos-brand-text strong {
    display: block; font-size: 1.45rem; font-weight: 800; color: var(--restro-sidebar-heading, var(--restro-ink)); line-height: 1.05;
}
.pos-user-chip {
    display: flex; align-items: center; gap: .7rem;
    margin: 0 0 1rem; padding: .55rem .65rem;
    border-radius: 9999px; background: rgba(255,255,255,.55);
}
.pos-user-avatar {
    width: 2.15rem; height: 2.15rem; border-radius: 9999px;
    background: #fff; color: var(--restro-ink);
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--restro-border-green); flex-shrink: 0;
}
.pos-user-meta { min-width: 0; line-height: 1.15; }
.pos-user-meta strong { display: block; font-size: .9rem; font-weight: 700; color: var(--restro-sidebar-heading, var(--restro-ink)); }
.pos-user-meta small { font-size: .65rem; font-weight: 700; color: var(--restro-sidebar-muted, var(--restro-text-light)); letter-spacing: .06em; }
.pos-sidebar.collapsed .pos-user-chip { justify-content: center; padding: .45rem; }
.pos-sidebar.collapsed .pos-user-meta { display: none; }
.pos-nav-section {
    font-weight: 700; color: var(--restro-sidebar-heading, var(--restro-ink)); padding: .55rem 1rem .2rem; font-size: .75rem; margin-top: .35rem;
}
.pos-nav-link {
    display: flex; align-items: center; gap: .65rem;
    width: 100%; padding: .65rem 1rem; border-radius: 9999px;
    color: var(--restro-sidebar-nav, var(--restro-nav-muted)); font-weight: 500; font-size: .9375rem;
    border: none; background: transparent; transition: background .15s, color .15s;
}
.pos-nav-link:hover { background: var(--restro-border-green-light); color: var(--restro-sidebar-nav-active, var(--restro-ink)); }
.pos-nav-link.active { background: var(--restro-border-green-light); color: var(--restro-sidebar-nav-active, var(--restro-ink)); font-weight: 600; }
.pos-nav-link i { font-size: 1.2rem; width: 1.35rem; text-align: center; }
.pos-sidebar-toggle {
    position: fixed; bottom: 1rem; left: calc(var(--sidebar-width) - 1.1rem);
    width: 2.25rem; height: 2.25rem; border-radius: 9999px;
    border: 1px solid var(--restro-border-green); background: var(--restro-green-light);
    color: #6b7280; display: none; align-items: center; justify-content: center; z-index: 1050;
}
@media (min-width: 992px) { .pos-sidebar-toggle { display: inline-flex; } }
.pos-shell.nav-collapsed .pos-sidebar-toggle { left: calc(var(--sidebar-collapsed) - 1.1rem); }

.pos-main {
    flex: 1; min-width: 0;
    margin-left: var(--sidebar-width);
    transition: margin-left .2s ease;
}
.pos-shell.nav-collapsed .pos-main { margin-left: var(--sidebar-collapsed); }
@media (max-width: 991.98px) {
    .pos-sidebar { transform: translateX(-100%); width: min(18rem, 88vw); }
    .pos-sidebar.show { transform: translateX(0); }
    .pos-main { margin-left: 0; }
    .pos-sidebar-toggle { display: none; }
}

.pos-topbar {
    position: sticky; top: 0; z-index: 1030;
    display: flex; align-items: center; justify-content: space-between;
    gap: .75rem; padding: .75rem 1rem;
    border-bottom: 1px solid rgba(220, 231, 219, .65);
    background: rgba(247, 250, 247, .45);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
}
.pos-search-chip {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1rem; border-radius: 9999px;
    background: var(--restro-green-light); color: var(--restro-text);
    border: none; font-weight: 600; min-width: 12rem;
}
.pos-search-chip kbd {
    font-size: .7rem; background: #fff; border: 1px solid var(--restro-border-green);
    border-radius: .4rem; padding: .1rem .35rem; color: #9ca3af;
}
.pos-content { padding: 1rem 1.15rem 2rem; }
@media (min-width: 768px) { .pos-content { padding: 1.15rem 1.5rem 2.5rem; } }

.pos-card {
    background: #fff; border: 1px solid var(--restro-border-green);
    border-radius: 1.25rem; box-shadow: 0 1px 2px rgba(36, 57, 34,.04); overflow: hidden;
}
.pos-card-header {
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--restro-border-green);
    font-weight: 700; color: var(--restro-ink); font-size: .95rem;
}
.pos-card-body { padding: 1.25rem; }
.pos-stat {
    background: #fff; border: 1px solid var(--restro-border-green); border-radius: 1.25rem;
    padding: 1.25rem; height: 100%; transition: transform .15s, box-shadow .15s;
}
.pos-stat:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(36, 57, 34,.12); }
.pos-stat .label { color: var(--restro-text); font-size: .8125rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.pos-stat .value { font-size: 1.5rem; font-weight: 700; color: var(--restro-ink); margin-top: .35rem; }
.pos-stat .icon {
    width: 48px; height: 48px; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
    background: var(--restro-green-light); color: var(--restro-green); font-size: 1.25rem;
}
.pos-page-title {
    font-size: 1.5rem; /* 24px */
    font-weight: 700;
    color: var(--restro-ink);
    letter-spacing: -.02em;
    margin: 0;
    line-height: 1.2;
}
.pos-page-sub {
    color: var(--restro-text-light);
    font-size: .8125rem; /* 13px */
    font-weight: 400;
    margin-top: .2rem;
}

/* Dashboard — Appealing command-center layout */
.btn-outline-restro {
    --bs-btn-color: var(--restro-ink);
    --bs-btn-border-color: var(--restro-border-green);
    --bs-btn-hover-bg: var(--restro-button-hover);
    --bs-btn-hover-border-color: var(--restro-border-green);
    --bs-btn-hover-color: var(--restro-ink);
    background: #fff;
    border-radius: 9999px;
    font-weight: 600;
    font-size: .875rem;
}
.dash-widget {
    background: #fff;
    border: 1px solid var(--restro-border-green);
    border-radius: 1.25rem;
    padding: 1.15rem 1.25rem;
    height: 100%;
}
.dash-widget-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .85rem;
}
.dash-widget-label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--restro-text);
}
.dash-widget-drag { color: #c4c9c4; font-size: 1rem; }
.dash-chip {
    font-size: .75rem;
    font-weight: 500;
    color: var(--restro-text);
    background: var(--restro-gray);
    border-radius: 9999px;
    padding: .25rem .7rem;
}
.dash-welcome { min-height: 12rem; display: flex; flex-direction: column; }
.dash-greeting {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--restro-text);
    margin-bottom: .35rem;
}
.dash-welcome-title {
    font-size: 1.25rem; /* 20px */
    font-weight: 800;
    color: var(--restro-ink);
    margin: 0 0 .45rem;
    line-height: 1.25;
}
.dash-welcome-copy {
    color: var(--restro-text-light);
    font-weight: 400;
    font-size: .8125rem;
}

.dash-kpi {
    background: #fff;
    border: 1px solid var(--restro-border-green);
    border-radius: 1.25rem;
    padding: 1rem 1.05rem;
}
.dash-kpi-label {
    font-size: .875rem;
    font-weight: 500;
    color: var(--restro-text);
    margin-bottom: .35rem;
}
.dash-kpi-value {
    font-size: 1.5rem; /* ~24px */
    font-weight: 700;
    color: var(--restro-ink);
    line-height: 1.15;
    word-break: break-word;
}
.dash-kpi-icon {
    width: 2.35rem; height: 2.35rem; border-radius: .7rem;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dash-kpi-icon .ti { font-size: 1.1rem; }
.dash-kpi-icon.tone-green { background: #e8f5e6; color: #4e9a48; }
.dash-kpi-icon.tone-cyan { background: #e6f6fb; color: #2a9bb7; }
.dash-kpi-icon.tone-purple { background: #f0e9fb; color: #7c5cbf; }
.dash-kpi-icon.tone-orange { background: #fff0e4; color: #d97706; }

.dash-goal { display: flex; flex-direction: column; align-items: stretch; }
.dash-goal-ring {
    position: relative;
    width: 11rem; height: 11rem;
    margin: .25rem auto 1rem;
}
.dash-goal-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dash-goal-ring .track {
    fill: none; stroke: #eef2ee; stroke-width: 10;
}
.dash-goal-ring .progress {
    fill: none; stroke: var(--restro-green); stroke-width: 10;
    stroke-linecap: round; transition: stroke-dashoffset .6s ease;
}
.dash-goal-center {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; pointer-events: none;
}
.dash-goal-center strong {
    font-size: 1.5rem; font-weight: 800; color: var(--restro-green); line-height: 1.1;
}
.dash-goal-center span {
    font-size: .75rem; font-weight: 500; color: var(--restro-text); max-width: 5.5rem;
}
.dash-goal-footer {
    text-align: center; font-weight: 700; color: var(--restro-ink); font-size: .875rem;
}

.dash-trend {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .5rem;
    align-items: end;
    min-height: 10rem;
    padding: .25rem .15rem .5rem;
}
.dash-trend-col {
    display: flex; flex-direction: column; align-items: center; gap: .45rem;
    height: 100%;
}
.dash-trend-bar-wrap {
    flex: 1; width: 100%;
    display: flex; align-items: flex-end; justify-content: center;
    min-height: 7.5rem;
}
.dash-trend-bar {
    width: 58%; max-width: 2.25rem;
    background: linear-gradient(180deg, var(--restro-green) 0%, #a8d4a4 100%);
    border-radius: .55rem .55rem .35rem .35rem;
    min-height: 8%;
}
.dash-trend-col span {
    font-size: .7rem; font-weight: 600; color: var(--restro-text);
}

.dash-panel {
    background: #fff;
    border: 1px solid var(--restro-border-green);
    border-radius: 1.5rem;
    height: 24rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.dash-panel-head {
    padding: 1.15rem 1.35rem .5rem;
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    z-index: 1;
}
.dash-panel-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--restro-ink);
    text-decoration: none;
}
.dash-panel-title:hover { color: var(--restro-green); }
.dash-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: .35rem 1.35rem 1.25rem;
}
.dash-res-item {
    padding: .65rem 0;
    border-bottom: 1px solid var(--restro-border-green);
}
.dash-res-item:last-child { border-bottom: 0; }
.dash-res-item .fw-semibold { font-weight: 600 !important; color: var(--restro-ink); }
.dash-sell-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}
.dash-sell-item:last-child { margin-bottom: 0; }
.dash-sell-icon {
    width: 3rem; height: 3rem; border-radius: .75rem;
    background: var(--restro-bg-gray); color: var(--restro-text);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; flex-shrink: 0;
}
.dash-empty {
    text-align: center;
    padding: 2.5rem 1rem 1rem;
}
.dash-empty-icon {
    width: 4rem; height: 4rem; margin: 0 auto 1rem;
    border-radius: 1rem; background: var(--restro-green-light);
    color: var(--restro-green); display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
}
.dash-metric {
    background: #fff;
    border: 1px solid var(--restro-border-green);
    border-radius: 1.5rem;
    padding: 1.15rem 1.35rem;
    min-height: 6.5rem;
}
.dash-metric .label { font-weight: 700; color: var(--restro-ink); font-size: .9375rem; }
.dash-metric .value {
    font-size: 2rem; font-weight: 800; color: var(--restro-ink);
    margin-top: .35rem; line-height: 1.1;
}
.dash-reports-cta {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff;
    border: 1px solid var(--restro-border-green);
    border-radius: 1.5rem;
    padding: 1.15rem 1.35rem;
    font-weight: 600; color: var(--restro-ink); font-size: .9375rem;
    transition: background .15s, transform .15s;
}
.dash-reports-cta:hover {
    background: var(--restro-button-hover);
    color: var(--restro-ink);
}
.dash-reports-cta:active { transform: scale(.97); }

/* Login — Appealing LoginPage */
.pos-guest {
    position: relative; min-height: 100vh; overflow: hidden;
    background: var(--restro-green-light);
    display: flex; align-items: center; justify-content: center; padding: 1.5rem;
}
.pos-guest::before {
    content: ''; position: absolute; width: min(64rem, 90vw); height: min(64rem, 90vw);
    border-radius: 50%; right: -20%; bottom: -35%; pointer-events: none;
    background: radial-gradient(circle, rgba(112, 181, 106,.22) 0%, rgba(236, 241, 235,0) 70%);
}
.pos-guest-layout {
    position: relative; z-index: 1; width: 100%; max-width: 1100px;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2.5rem;
}
.pos-guest-hero h2 {
    font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 900; color: var(--restro-green-dark);
    line-height: 1.05; margin: 0; letter-spacing: -.03em;
}
.pos-guest-hero h2 span {
    display: block; color: transparent;
    -webkit-text-stroke: 1.5px var(--restro-green-dark);
}
.pos-guest-card {
    width: 100%; max-width: 24rem; background: #fff; border-radius: 1.25rem;
    border: 1px solid var(--restro-border-green); box-shadow: 0 12px 40px rgba(36, 57, 34,.12);
    padding: 2rem;
}
.pos-guest-card .title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.pos-guest-card .title-row h1 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.pos-guest-card .btn-primary { width: 100%; border-radius: .85rem; padding: .8rem 1rem; font-weight: 700; margin-top: 1.25rem; }
.pos-guest-card .btn-primary:hover { transform: scale(1.02); }

/* POS workspace */
.pos-workspace { display: grid; grid-template-columns: 1fr 22rem; gap: 1rem; min-height: calc(100vh - 8rem); }
@media (max-width: 991.98px) { .pos-workspace { grid-template-columns: 1fr; } }
.pos-menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .75rem; }
.pos-menu-item {
    border: 1px solid var(--restro-border-green); border-radius: 1rem; background: #fff;
    padding: .85rem; cursor: pointer; text-align: left; transition: transform .15s, box-shadow .15s;
}
.pos-menu-item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(36, 57, 34,.1); border-color: var(--restro-green); }
.pos-menu-item .name { font-weight: 700; color: var(--restro-green-dark); font-size: .9rem; }
.pos-menu-item .price { color: var(--restro-green); font-weight: 800; margin-top: .35rem; }
.pos-cart {
    border: 1px solid var(--restro-border-green); border-radius: 1.25rem; background: #fff;
    display: flex; flex-direction: column; overflow: hidden;
}
.pos-cart-header { padding: 1rem 1.15rem; border-bottom: 1px solid var(--restro-border-green); font-weight: 800; color: var(--restro-green-dark); }
.pos-cart-body { flex: 1; overflow-y: auto; padding: 1rem; }
.pos-cart-footer { padding: 1rem 1.15rem; border-top: 1px solid var(--restro-border-green); background: var(--restro-green-light); }
.pos-chip {
    display: inline-flex; align-items: center; gap: .35rem; padding: .4rem .85rem;
    border-radius: 9999px; background: var(--restro-green-light); border: none; font-weight: 700; color: #374151;
}
.pos-chip.active { background: var(--restro-green); color: #fff; }
.kitchen-ticket {
    border: 1px solid var(--restro-border-green); border-radius: 1.15rem; background: #fff; padding: 1rem;
}
.kitchen-ticket .ticket-no { font-weight: 800; color: var(--restro-green-dark); }
.table.pos-table thead th {
    background: var(--restro-green-light); color: var(--restro-green-dark);
    font-size: .72rem; font-weight: 800; text-transform: uppercase; border-color: var(--restro-border-green);
}
.badge-soft { border-radius: 9999px; font-weight: 700; padding: .35em .75em; }
.badge-soft-success { background: #d1e7dd; color: #0f5132; }
.badge-soft-warning { background: #fff3cd; color: #856404; }
.badge-soft-danger { background: #f8d7da; color: #842029; }
.badge-soft-info { background: #cfe2ff; color: #084298; }
.dropdown-menu { border-radius: 1rem; border: 1px solid var(--restro-border-green); padding: .5rem; }
.dropdown-item { border-radius: .65rem; font-weight: 500; }
.dropdown-item:hover { background: var(--restro-green-light); }
.alert { border-radius: 1rem; border: 1px solid var(--restro-border-green); font-weight: 600; }
.pos-backdrop { position: fixed; inset: 0; background: rgba(36, 57, 34,.35); z-index: 1035; }

/* Appealing Orders board — orders board */
.orders-page { padding-bottom: 2rem; }
.orders-page-head {
    display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.orders-page-title {
    margin: 0; font-size: 1.85rem; font-weight: 300; color: #111827; letter-spacing: -.02em;
}
.orders-refresh-btn {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .7rem; border-radius: .75rem; font-weight: 600; font-size: .9rem;
    color: var(--restro-text); background: var(--restro-gray);
    border: 1px solid var(--restro-border-green); text-decoration: none;
}
.orders-refresh-btn:hover { background: var(--restro-button-hover); color: #111; }

.orders-board {
    display: grid; gap: 1rem; align-items: start;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) { .orders-board { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .orders-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1400px) { .orders-board { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.orders-column {
    display: flex; flex-direction: column;
    padding: 1.25rem 1rem;
    border: 1px solid var(--restro-border-green);
    border-radius: 1.15rem; background: #fff;
}
.orders-column-head {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem;
    padding-bottom: .65rem; margin-bottom: .35rem;
    border-bottom: 1px dashed #e5e7eb;
}
.orders-column-title { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.orders-column-icon {
    width: 3rem; height: 3rem; border-radius: 9999px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--restro-gray); color: #374151; font-size: 1.2rem;
}
.orders-column-name {
    font-weight: 700; color: #111827; line-height: 1.25; word-break: break-word;
}
.orders-floor { display: block; font-size: .85rem; font-weight: 500; color: #6b7280; margin-top: .1rem; }

.orders-dots {
    width: 2rem; height: 2rem; border: 0; border-radius: 9999px;
    background: transparent; color: #6b7280; display: inline-flex;
    align-items: center; justify-content: center; padding: 0;
}
.orders-dots:hover, .orders-dots:focus { background: var(--restro-button-hover); color: #111; }
.orders-dropdown {
    border-radius: .85rem; border: 1px solid var(--restro-border-green);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08); min-width: 12rem;
}

.orders-ticket {
    background: #f9fafb; border-radius: .85rem; padding: .85rem .75rem;
    margin-top: .5rem;
}
.orders-ticket-top {
    display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem;
    margin-bottom: .75rem;
}
.orders-token-wrap { text-align: center; }
.orders-token-label {
    display: block; font-size: .8rem; color: #6b7280; margin-bottom: .25rem;
}
.orders-token {
    width: 3rem; height: 3rem; margin: 0 auto; border-radius: 9999px;
    display: flex; align-items: center; justify-content: center;
    background: #1f2937; color: #fff; font-weight: 800; font-size: 1.05rem;
}
.orders-ticket-meta { text-align: right; }
.orders-time { font-weight: 600; color: #111827; font-size: .95rem; }
.orders-pay {
    display: inline-flex; align-items: center; gap: .3rem;
    font-size: .82rem; font-weight: 700; margin-top: .15rem;
}
.orders-pay.is-paid { color: var(--restro-green); }
.orders-pay.is-pending { color: #f59e0b; }

.orders-lines { display: flex; flex-direction: column; }
.orders-line {
    display: flex; align-items: flex-start; gap: .45rem;
    padding: .55rem 0; border-top: 1px solid #e5e7eb;
}
.orders-line:first-child { border-top: 0; padding-top: 0; }
.orders-line-status {
    width: 1.25rem; flex-shrink: 0; padding-top: .1rem;
    color: var(--restro-green); font-size: 1.05rem;
}
.orders-line-body { flex: 1; min-width: 0; }
.orders-line-title { font-weight: 600; color: #111827; font-size: .92rem; }
.orders-line-sub { font-size: .78rem; color: #6b7280; margin-top: .1rem; }

.orders-pay-option {
    display: flex; align-items: center; gap: .65rem;
    border: 1px solid var(--restro-border-green); border-radius: .85rem;
    padding: .65rem .85rem; cursor: pointer; background: #fff;
}
.orders-pay-option:has(input:checked) {
    border-color: var(--restro-green); background: var(--restro-green-light);
}
.orders-modal { border-radius: 1.15rem; border: 1px solid var(--restro-border-green); }
.orders-empty {
    min-height: 50vh; display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: #9ca3af; gap: .75rem;
}
.orders-empty i { font-size: 3rem; }

/* Department picker + tabs */
.dept-pick-card {
    display: flex; align-items: center; gap: .85rem;
    padding: 1rem 1.1rem; border-radius: 1.15rem;
    border: 1px solid var(--restro-border-green); background: #fff;
    color: #111827; transition: background .15s, border-color .15s, transform .15s;
    height: 100%;
}
.dept-pick-card:hover {
    background: var(--restro-green-light); border-color: var(--restro-green);
    color: #111827; transform: translateY(-1px);
}
.dept-pick-icon {
    width: 2.75rem; height: 2.75rem; border-radius: 9999px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--restro-gray); color: var(--restro-green-dark); font-size: 1.15rem;
}
.dept-pick-body { flex: 1; min-width: 0; }
.dept-pick-name { font-weight: 700; line-height: 1.2; }
.dept-pick-meta { margin-top: .35rem; }
.dept-pick-chevron { color: #9ca3af; }

.dept-tabs {
    display: flex; flex-wrap: wrap; gap: .5rem;
}
.dept-tab {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .45rem .9rem; border-radius: 9999px;
    background: var(--restro-gray); border: 1px solid transparent;
    color: #374151; font-weight: 600; font-size: .9rem; text-decoration: none;
}
.dept-tab:hover { background: var(--restro-button-hover); color: #111; }
.dept-tab.active {
    background: var(--restro-green-light); border-color: var(--restro-border-green);
    color: var(--restro-green-dark);
}
.dept-tab-count {
    min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem;
    border-radius: 9999px; background: #fff; border: 1px solid var(--restro-border-green);
    font-size: .75rem; display: inline-flex; align-items: center; justify-content: center;
}

@media print {
    .pos-sidebar, .pos-topbar, .pos-sidebar-toggle, .no-print { display: none !important; }
    .pos-main { margin: 0 !important; }
}
[x-cloak] { display: none !important; }
