/* =====================================================================
   SupaPOS - Application Stylesheet
   A clean, modern retail-software aesthetic: deep teal/navy primary,
   amber accent for attention states, generous spacing, rounded cards.
   ===================================================================== */

/* Respect the `hidden` attribute everywhere, no matter what other display
   rules a component defines. Without this, any element that both has a
   class setting display:flex/block/etc. AND the hidden attribute will
   incorrectly stay visible, because author CSS always outranks the
   browser's built-in [hidden] rule. This was hiding-then-un-hiding the
   payment/shift modals unintentionally. */
[hidden] { display: none !important; }

:root {
    --navy: #0f2942;
    --navy-light: #16395c;
    --teal: #0d9488;
    --teal-dark: #0b7a70;
    --amber: #f59e0b;
    --red: #dc2626;
    --green: #16a34a;
    --grey-50: #f8fafc;
    --grey-100: #f1f5f9;
    --grey-200: #e2e8f0;
    --grey-400: #94a3b8;
    --grey-600: #475569;
    --grey-800: #1e293b;
    --radius: 10px;
    --shadow: 0 1px 3px rgba(15, 41, 66, 0.08), 0 1px 2px rgba(15, 41, 66, 0.06);
    --shadow-lg: 0 10px 25px rgba(15, 41, 66, 0.12);
    font-size: 15px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--grey-50);
    color: var(--grey-800);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; font-weight: 700; }
p { line-height: 1.55; }
.muted { color: var(--grey-600); }

/* ---------------- App shell ---------------- */
.app-shell { display: flex; min-height: 100vh; }

.sidebar {
    width: 255px;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    z-index: 100;
}
.sidebar-brand {
    display: flex; align-items: center; gap: 12px; padding: 0 20px 18px; min-height: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 12px;
}
.brand-mark {
    width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px; box-shadow: 0 4px 10px rgba(13,148,136,0.3);
}
.brand-mark-lg { width: 56px; height: 56px; font-size: 28px; border-radius: 14px; margin: 0 auto 10px; }
.brand-name { font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -0.02em; }

.sidebar-nav {
    list-style: none; margin: 0; padding: 0 10px; flex: 1; overflow-y: auto;
}
.sidebar-nav::-webkit-scrollbar { width: 4px; }
.sidebar-nav::-webkit-scrollbar-track { background: transparent; }
.sidebar-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 999px; }
.sidebar-nav::-webkit-scrollbar-thumb:hover { background: var(--teal); }

.nav-item { margin-bottom: 4px; }
.nav-item-cta { margin-bottom: 12px; }

.sidebar-nav .nav-link {
    display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; color: #94a3b8;
    font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s ease;
    position: relative;
}
.sidebar-nav .nav-link:hover { background: rgba(255,255,255,0.06); color: #f8fafc; }
.sidebar-nav .nav-link.active {
    background: rgba(13, 148, 136, 0.15); color: #38bdf8; font-weight: 700;
    border-left: 3px solid #0d9488; padding-left: 11px;
}

/* Glowing CTA Sales Terminal Button */
.sidebar-nav a.nav-highlight {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a; font-weight: 800; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    border-radius: 10px;
}
.sidebar-nav a.nav-highlight:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45); transform: translateY(-1px); color: #0f172a;
}
.cta-pulse {
    width: 8px; height: 8px; border-radius: 50%; background: #0f172a; margin-left: auto;
    animation: ctaPulse 2s infinite;
}
@keyframes ctaPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Accordion Dropdown Styles */
.nav-dropdown-toggle {
    width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px;
    background: none; border: none; border-radius: 10px; color: #94a3b8; font-size: 14px;
    font-weight: 600; cursor: pointer; text-align: left; transition: all 0.2s ease;
}
.nav-dropdown-toggle:hover { background: rgba(255,255,255,0.06); color: #f8fafc; }
.nav-dropdown.open .nav-dropdown-toggle { color: #f8fafc; font-weight: 700; }

.nav-icon { font-size: 16px; display: inline-flex; align-items: center; justify-content: center; width: 22px; }
.nav-label { flex: 1; }

.chevron-icon {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1); stroke: #64748b;
}
.nav-dropdown-toggle:hover .chevron-icon,
.nav-dropdown.open .chevron-icon { stroke: #cbd5e1; }
.nav-dropdown.open .chevron-icon { transform: rotate(180deg); }

.nav-dropdown-menu {
    list-style: none; margin: 0; padding: 4px 0 4px 18px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}
.nav-dropdown.open .nav-dropdown-menu {
    max-height: 400px; opacity: 1;
}
.nav-dropdown-menu li { margin: 2px 0; }
.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px;
    color: #94a3b8; font-size: 13.5px; font-weight: 500; text-decoration: none; transition: all 0.18s ease;
}
.sub-bullet {
    width: 5px; height: 5px; border-radius: 50%; background: #475569; transition: all 0.2s ease;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.05); color: #f1f5f9; }
.nav-dropdown-menu a:hover .sub-bullet { background: var(--teal); transform: scale(1.4); }
.nav-dropdown-menu a.active {
    background: rgba(13, 148, 136, 0.18); color: #2dd4bf; font-weight: 700;
}
.nav-dropdown-menu a.active .sub-bullet { background: #2dd4bf; box-shadow: 0 0 6px #2dd4bf; }

.app-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.app-content { padding: 24px 28px 60px; max-width: 1400px; }

/* ---------------- Topbar ---------------- */
.topbar {
    display: flex; align-items: center; gap: 18px; padding: 12px 24px;
    background: #fff; border-bottom: 1px solid var(--grey-200); position: sticky; top: 0; z-index: 20;
}
.topbar-spacer { flex: 1; }
.mobile-nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }
.offline-indicator {
    background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; padding: 6px 12px;
    border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.notif-bell { position: relative; cursor: pointer; font-size: 18px; }
.notif-count {
    position: absolute; top: -6px; right: -10px; background: var(--red); color: #fff;
    font-size: 10px; font-weight: 700; border-radius: 999px; padding: 1px 5px; min-width: 16px; text-align: center;
}
.notif-dropdown {
    position: absolute; right: 0; top: 30px; width: 320px; max-height: 400px; overflow-y: auto;
    background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.notif-item { padding: 12px 14px; border-bottom: 1px solid var(--grey-100); font-size: 13px; }
.notif-item.unread { background: #f0fdfa; }
.notif-item .notif-title { font-weight: 700; color: var(--navy); }

.user-menu { display: flex; align-items: center; gap: 10px; }
.user-name { font-weight: 600; font-size: 14px; }
.user-role-badge {
    background: var(--grey-100); color: var(--grey-600); font-size: 11px; font-weight: 700;
    padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: .03em;
}
.btn-link { background: none; border: none; color: var(--teal-dark); cursor: pointer; font-size: 14px; font-weight: 600; }
.inline-form { display: inline; }

/* ---------------- Alerts ---------------- */
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.alert-success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-floating { position: fixed; top: 16px; right: 16px; z-index: 999; box-shadow: var(--shadow-lg); }

/* ---------------- Cards / grid ---------------- */
.card {
    background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
    padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px;
}
.card-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 22px; }
.kpi-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.kpi-value { font-size: 26px; font-weight: 800; color: var(--navy); }
.kpi-label { font-size: 12.5px; color: var(--grey-600); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.kpi-card.warn .kpi-value { color: var(--amber); }
.kpi-card.danger .kpi-value { color: var(--red); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------------- Tables ---------------- */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--grey-100); }
th { color: var(--grey-600); font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; background: var(--grey-50); }
tr:hover td { background: #fafcfe; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--grey-200); }
.table-wrap table { margin: 0; border: none; }
.table-wrap .card-title { padding: 16px 16px 0; }

/* ---------------- Badges / status pills ---------------- */
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-red, .badge-danger { background: #fee2e2; color: #b91c1c; }
.badge-grey { background: var(--grey-100); color: var(--grey-600); }
.badge-blue { background: #dbeafe; color: #1d4ed8; }
.badge-purple { background: #ede9fe; color: #6d28d9; }

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 18px; border-radius: 8px; border: none; cursor: pointer;
    font-size: 14px; font-weight: 600; transition: transform .05s ease, opacity .15s ease;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary { background: var(--grey-100); color: var(--grey-800); }
.btn-secondary:hover { background: var(--grey-200); }
.btn-danger { background: var(--red); color: #fff; }
.btn-amber { background: var(--amber); color: #1e293b; }
.btn-warning { background: #f59e0b; color: #fff; }
.btn-warning:hover { background: #d97706; }
.btn-block { width: 100%; }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------------- Forms ---------------- */
form label { display: block; margin-bottom: 14px; font-size: 13.5px; font-weight: 600; color: var(--grey-800); }
input, select, textarea {
    width: 100%; padding: 10px 12px; margin-top: 6px; border: 1px solid var(--grey-200);
    border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,148,136,.15); }
.form-row { display: flex; gap: 16px; }
.form-row > label { flex: 1; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.checkbox-label input { width: auto; margin: 0; }

/* ---------------- Auth page ---------------- */
.auth-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, var(--navy), var(--navy-light)); }
.auth-card { background: #fff; padding: 40px 36px; border-radius: 16px; width: 380px; box-shadow: var(--shadow-lg); }
.auth-brand { text-align: center; margin-bottom: 24px; }
.auth-form label { margin-bottom: 16px; }
.auth-footer { text-align: center; margin-top: 18px; font-size: 12.5px; }

/* ---------------- Error pages ---------------- */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--grey-50); text-align: center; }
.error-box h1 { font-size: 64px; margin-bottom: 0; color: var(--teal); }

/* =====================================================================
   POS SALES TERMINAL - full screen by default, resizable
   ===================================================================== */
.pos-page { background: var(--grey-50); }
.pos-wrap {
    display: flex; height: 100vh; width: 100vw;
}
.pos-wrap.windowed {
    height: auto; min-height: 600px; width: 100%; max-width: 1400px; margin: 20px auto;
    border-radius: 16px; box-shadow: var(--shadow-lg); align-items: flex-start; position: relative;
}

.pos-catalog { flex: 1 1 65%; display: flex; flex-direction: column; background: #fafafa; min-width: 0; border-radius: 16px 0 0 16px; overflow: hidden; border-right: 1px solid #e2e8f0; }
.pos-cart {
    flex: 0 0 380px; background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%); color: #fff; display: flex; flex-direction: column;
    height: 100vh; max-height: 100vh; position: sticky; top: 0; border-radius: 0 16px 16px 0;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.15);
}
.pos-wrap.windowed .pos-cart {
    height: calc(100vh - 40px); max-height: calc(100vh - 40px); position: sticky; top: 20px; align-self: flex-start;
}

.pos-topbar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: #ffffff; border-bottom: 1px solid #e2e8f0; }
.pos-scan-input {
    flex: 1; font-size: 14.5px; padding: 10px 16px; background: #f8fafc; border: 1px solid #cbd5e1;
    border-radius: 10px; color: #0f172a; font-weight: 500; transition: all 0.18s ease; outline: none;
}
.pos-scan-input:focus {
    background: #ffffff; border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}
.pos-topbar .btn { flex-shrink: 0; border-radius: 10px; font-weight: 600; padding: 9px 16px; }

/* View Mode Switcher (Grid vs Table) */
.view-toggle-wrap {
    display: inline-flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 10px;
    gap: 2px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}
.view-toggle-btn {
    padding: 6px 14px;
    border: none;
    background: transparent;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.view-toggle-btn:hover {
    color: #0f172a;
}
.view-toggle-btn.active {
    background: #ffffff;
    color: #0d9488;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* POS Tabular Table View */
.pos-grid.is-table-view {
    display: block;
    padding: 0;
}
.pos-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.pos-table th {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 10;
    padding: 12px 16px;
    border-bottom: 2px solid #e2e8f0;
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 700;
}
.pos-table-row {
    cursor: pointer;
    transition: background 0.12s ease;
}
.pos-table-row td {
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}
.pos-table-row:hover td {
    background: #f0fdfa;
}
.pos-table-row.low td {
    background: #fffbeb;
}
.p-name-table {
    font-weight: 700;
    color: #0f172a;
    font-size: 13.5px;
}
.p-sku-table {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 1px;
}

.pos-categories {
    display: flex; gap: 8px; padding: 12px 20px; background: #ffffff; overflow-x: auto;
    border-bottom: 1px solid #e2e8f0; scrollbar-width: none;
}
.pos-categories::-webkit-scrollbar { display: none; }
.cat-chip {
    flex-shrink: 0; padding: 7px 18px; border-radius: 999px; background: #f1f5f9;
    font-size: 13px; font-weight: 600; cursor: pointer; border: 1px solid transparent; color: #475569;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-chip:hover { background: #e2e8f0; color: #0f172a; transform: translateY(-1px); }
.cat-chip.active {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%); color: #ffffff;
    font-weight: 700; box-shadow: 0 4px 14px -2px rgba(13, 148, 136, 0.35); border-color: rgba(255,255,255,0.2);
}

.pos-grid {
    flex: 1; overflow-y: auto; padding: 18px 20px; display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; align-content: start;
}

/* Figma-Grade Product Tile */
.product-tile {
    background: #ffffff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px;
    cursor: pointer; text-align: left; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column; justify-content: space-between; position: relative;
    overflow: hidden; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02); min-height: 190px;
}
.product-tile:hover {
    border-color: #0d9488; transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(13, 148, 136, 0.18);
}
.product-tile:active { transform: scale(0.97); }

/* Thumbnail Container & Fallback Generator */
.p-thumb-wrap {
    width: 100%; height: 96px; border-radius: 10px; overflow: hidden; margin-bottom: 10px;
    position: relative; background: #f8fafc; border: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: center;
}
.product-tile .p-thumb {
    width: 100%; height: 100%; object-fit: contain; padding: 4px; border-radius: 10px; transition: transform 0.25s ease;
}
.product-tile:hover .p-thumb { transform: scale(1.05); }

/* Dynamic Multi-Gradient Fallbacks for Items without images */
.product-thumb-placeholder, .p-thumb-placeholder {
    width: 100%; height: 100%; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 26px; color: #ffffff; text-shadow: 0 2px 4px rgba(0,0,0,0.18);
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}
.product-thumb-placeholder.grad-0 { background: linear-gradient(135deg, #0d9488 0%, #06b6d4 100%); }
.product-thumb-placeholder.grad-1 { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); }
.product-thumb-placeholder.grad-2 { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); }
.product-thumb-placeholder.grad-3 { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.product-thumb-placeholder.grad-4 { background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%); }
.product-thumb-placeholder.grad-5 { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }

.product-tile-sm-thumb {
    width: 36px; height: 36px; border-radius: 8px; object-fit: cover; border: 1px solid #e2e8f0;
}
.product-thumb-sm-placeholder {
    width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, #0d9488, #0284c7);
}

.product-tile .p-name {
    font-weight: 700; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; color: #0f172a; height: 35px;
}
.product-tile .p-price {
    color: #0d9488; font-weight: 800; font-size: 14px; letter-spacing: -0.01em; display: block; margin-bottom: 4px;
}
.product-tile .p-stock {
    display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: #64748b;
}
.product-tile .p-stock-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #22c55e; display: inline-block;
}
.product-tile.low .p-stock-dot { background: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.product-tile.low .p-stock { color: #d97706; font-weight: 700; }
.product-tile.out-of-stock {
    opacity: 0.55; background: #f8fafc; border-color: #cbd5e1; cursor: not-allowed; filter: grayscale(30%);
}
.product-tile.out-of-stock:hover { border-color: #cbd5e1; transform: none; box-shadow: none; }
.product-tile.out-of-stock .p-stock-dot { background: #ef4444; }
.product-tile.out-of-stock .p-stock { color: #ef4444; font-weight: 800; }
.pos-table-row.out-of-stock { opacity: 0.65; background-color: rgba(239, 68, 68, 0.05); }

/* Cart Styling */
.pos-cart-header { padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; }
.pos-cart-header h3 { color: #fff; margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.pos-cart-items { flex: 1; overflow-y: auto; padding: 12px 16px; }

.cart-line {
    display: flex; justify-content: space-between; align-items: center; padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px; margin-bottom: 8px; font-size: 13.5px; transition: all 0.15s ease;
}
.cart-line:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.15); }
.cart-line .cl-name { font-weight: 700; color: #f8fafc; font-size: 13.5px; }
.cart-line .cl-meta { color: #94a3b8; font-size: 12px; margin-top: 2px; font-weight: 500; }
.cart-line .cl-qty-controls { display: flex; align-items: center; gap: 6px; }
.cart-line .cl-qty-controls button {
    background: rgba(255,255,255,.12); border: none; color: #fff; width: 24px; height: 24px;
    border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px; transition: background 0.15s;
}
.cart-line .cl-qty-controls button:hover:not(:disabled) { background: rgba(255,255,255,.28); }
.cart-line .cl-qty-controls button:disabled { opacity: 0.35; cursor: not-allowed; }
.cart-line .cl-qty-input {
    width: 44px; height: 26px; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px; color: #fff; text-align: center; font-weight: 800; font-size: 13px; outline: none;
    -moz-appearance: textfield; appearance: textfield; transition: border-color .15s, background-color .15s;
}
.cart-line .cl-qty-input::-webkit-outer-spin-button,
.cart-line .cl-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line .cl-qty-input:focus { border-color: #2dd4bf; background: rgba(255, 255, 255, 0.28); box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35); }
.cart-line .cl-remove { background: none; border: none; color: #f87171; cursor: pointer; font-size: 16px; margin-left: 6px; padding: 2px 4px; transition: transform 0.15s; }
.cart-line .cl-remove:hover { color: #ef4444; transform: scale(1.15); }
.cart-empty { text-align: center; color: #94a3b8; padding: 40px 20px; font-size: 13.5px; }

/* Totals Hero Breakdown Card */
.pos-cart-totals { padding: 16px 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; }
.totals-row { display: flex; justify-content: space-between; padding: 4px 0; color: #94a3b8; font-weight: 500; }
.totals-row.grand {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.25) 0%, rgba(99, 102, 241, 0.25) 100%);
    border: 1px solid rgba(45, 212, 191, 0.4); border-radius: 12px; padding: 12px 16px; margin-top: 10px;
    display: flex; justify-content: space-between; align-items: center; color: #fff;
}
.totals-row.grand span:first-child { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #f8fafc; }
.totals-row.grand span:last-child { font-size: 22px; font-weight: 900; color: #2dd4bf; text-shadow: 0 0 12px rgba(45, 212, 191, 0.3); }

.pos-pay-actions { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.pos-pay-actions .btn-primary {
    background: linear-gradient(135deg, #0d9488 0%, #059669 100%); border: none; color: #ffffff;
    font-weight: 800; font-size: 15px; padding: 14px; border-radius: 12px;
    box-shadow: 0 8px 20px -4px rgba(13, 148, 136, 0.45); cursor: pointer; transition: all 0.2s ease;
}
.pos-pay-actions .btn-primary:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 12px 25px -4px rgba(13, 148, 136, 0.6); }
.pos-pay-actions .btn-primary:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.pos-pay-actions .btn-hold {
    background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%); border: none; color: #ffffff;
    font-weight: 700; font-size: 14px; padding: 12px; border-radius: 12px;
    box-shadow: 0 6px 16px -4px rgba(124, 58, 237, 0.35); cursor: pointer; transition: all 0.2s ease;
}
.pos-pay-actions .btn-hold:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 22px -4px rgba(124, 58, 237, 0.5); }
.pos-pay-actions .btn-hold:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

/* Floating Dock Controls */
.pos-utility-dock {
    position: fixed; bottom: 18px; right: 18px; z-index: 50; display: flex; gap: 8px;
    background: rgba(15, 23, 42, 0.88); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 5px 8px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.pos-utility-dock button {
    background: rgba(255, 255, 255, 0.1); border: none; color: #fff; padding: 6px 14px;
    border-radius: 999px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all 0.15s ease;
    display: inline-flex; align-items: center; gap: 5px;
}
.pos-utility-dock button:hover { background: rgba(255, 255, 255, 0.25); color: #2dd4bf; }

.fullscreen-toggle { position: fixed; bottom: 16px; right: 16px; z-index: 50; }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15,41,66,.65); display: flex; align-items: center; justify-content: center; z-index: 9999; }
.modal { background: #fff; border-radius: var(--radius); padding: 24px; width: 420px; max-width: 92vw; box-shadow: var(--shadow-lg); }
.modal h3 { margin-top: 0; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }

/* Receipt */
.receipt { width: 320px; margin: 30px auto; background: #fff; padding: 20px; font-family: 'Courier New', monospace; font-size: 12.5px; border: 1px dashed var(--grey-400); }
.receipt h2 { text-align: center; font-size: 15px; }
.receipt .r-line { display: flex; justify-content: space-between; }
.receipt hr { border: none; border-top: 1px dashed var(--grey-400); }
@media print { .no-print { display: none !important; } .receipt { border: none; margin: 0; width: 100%; } }

/* Label / barcode print */
.label-sheet { width: 260px; margin: 30px auto; text-align: center; border: 1px solid var(--grey-200); padding: 16px; border-radius: 8px; }
.label-sheet .label-codes { display: flex; justify-content: center; gap: 14px; align-items: center; margin-top: 10px; }

/* Handover snapshot */
.snapshot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin-bottom: 18px; }
.snapshot-item { background: var(--grey-50); border: 1px solid var(--grey-200); border-radius: 8px; padding: 12px; }
.snapshot-item .sv { font-size: 20px; font-weight: 800; color: var(--navy); }
.snapshot-item .sl { font-size: 11.5px; color: var(--grey-600); text-transform: uppercase; font-weight: 700; }

.query-thread { margin-top: 10px; }
.query-msg { background: var(--grey-50); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; font-size: 13px; }
.query-msg.resolved { background: #f0fdf4; }
.query-msg .qm-meta { font-size: 11px; color: var(--grey-600); margin-bottom: 4px; }

/* Responsive */
@media (max-width: 960px) {
    .sidebar { position: fixed; left: -265px; top: 0; bottom: 0; z-index: 100; transition: left 0.25s cubic-bezier(0.4,0,0.2,1); }
    .sidebar.open { left: 0; }
    .mobile-nav-toggle { display: block; }
    .pos-wrap { flex-direction: column; height: auto; }
    .pos-cart, .pos-wrap.windowed .pos-cart { flex: none; height: auto; max-height: none; position: static; border-radius: 0 0 16px 16px; }
}

/* =====================================================================
   MOBILE RESPONSIVENESS & TOUCH ENHANCEMENTS
   ===================================================================== */

/* Sidebar Overlay Backdrop */
.sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 95;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.sidebar-backdrop.open {
    display: block;
    opacity: 1;
}

.pos-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pos-mobile-bar {
    display: none;
}

/* Phone & Small Tablet Screens (< 768px) */
@media (max-width: 768px) {
    .topbar {
        padding: 10px 14px;
        gap: 10px;
    }
    .user-name {
        font-size: 13px;
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .user-role-badge {
        display: none;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .kpi-grid, .snapshot-grid, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* POS Terminal Mobile Experience */
    .pos-wrap, .pos-wrap.windowed {
        flex-direction: column;
        height: 100vh;
        width: 100vw;
        margin: 0;
        border-radius: 0;
        position: fixed;
        inset: 0;
        box-shadow: none;
        overflow: hidden;
        background: #fff;
    }
    .pos-catalog {
        flex: 1;
        width: 100%;
        height: calc(100vh - 56px);
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .pos-cart, .pos-wrap.windowed .pos-cart {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 56px;
        width: 100vw;
        height: auto;
        max-height: none;
        z-index: 30;
        border-radius: 0;
        overflow-y: auto;
        flex-direction: column;
        background: var(--navy);
    }
    .pos-wrap.show-mobile-cart .pos-catalog {
        display: none;
    }
    .pos-wrap.show-mobile-cart .pos-cart {
        display: flex;
    }

    .pos-cart-header {
        flex-shrink: 0;
        padding: 12px 14px;
        background: var(--navy-light);
    }
    .pos-cart-items {
        flex: 1 1 auto;
        min-height: 80px;
        overflow-y: auto;
        padding: 8px 12px;
    }
    .pos-cart-totals {
        flex-shrink: 0;
        padding: 10px 14px;
        font-size: 13.5px;
        background: rgba(0,0,0,0.15);
    }
    .totals-row.grand {
        font-size: 18px;
        padding-top: 6px;
        margin-top: 4px;
    }
    .pos-pay-actions {
        flex-shrink: 0;
        padding: 10px 12px 14px;
        display: flex;
        flex-direction: row;
        gap: 8px;
        background: #0f172a;
    }
    .pos-pay-actions .btn {
        flex: 1;
        padding: 12px 8px;
        font-size: 14px;
        font-weight: 700;
        margin: 0;
    }
    #checkoutBtn {
        background: var(--teal) !important;
        color: #fff !important;
        display: inline-flex !important;
        visibility: visible !important;
    }

    /* Mobile Bottom Tab Bar */
    .pos-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #0f172a;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        z-index: 40;
    }
    .pos-mobile-tab {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: transparent;
        border: none;
        color: #94a3b8;
        font-size: 13.5px;
        font-weight: 700;
        cursor: pointer;
        padding: 0 14px;
        transition: all 0.15s ease;
    }
    .pos-mobile-tab.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
        border-top: 3px solid var(--teal);
    }
    .pos-mobile-tab.is-checkout-btn {
        background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
        color: #fff;
        border-top: none;
    }

    /* Modal Backdrop Mobile Scrolling */
    .modal-backdrop {
        align-items: flex-start;
        overflow-y: auto;
        padding: 16px 8px;
    }
    .modal {
        margin: auto;
    }

    .pos-topbar {
        padding: 10px;
        gap: 8px;
        flex-wrap: wrap;
    }
    .pos-scan-input {
        font-size: 14px;
        padding: 9px 12px;
        width: 100%;
        flex: 1 1 100%;
    }
    .view-toggle-wrap {
        order: 2;
    }
    .pos-topbar .btn {
        order: 3;
        margin-left: auto;
        padding: 6px 12px;
        font-size: 13px;
    }

    .pos-categories {
        padding: 8px 10px;
        gap: 6px;
    }
    .cat-chip {
        padding: 5px 12px;
        font-size: 12px;
    }

    .pos-grid {
        padding: 10px;
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 8px;
    }
    .product-tile {
        padding: 10px;
        min-height: 105px;
    }
    .product-tile .p-name {
        font-size: 12.5px;
    }
    .product-tile .p-price {
        font-size: 13px;
    }
    .p-thumb, .p-thumb-placeholder {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .pos-modal-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile Bottom Tab Bar */
    .pos-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 56px;
        background: #0f172a;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        z-index: 40;
    }
    .pos-mobile-tab {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: transparent;
        border: none;
        color: #94a3b8;
        font-size: 13.5px;
        font-weight: 700;
        cursor: pointer;
        padding: 0 14px;
        transition: all 0.15s ease;
    }
    .pos-mobile-tab.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
        border-top: 3px solid var(--teal);
    }

    /* Hide desktop fullscreen toggles on mobile devices */
    .fullscreen-toggle {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .kpi-grid, .snapshot-grid, .grid-4 {
        grid-template-columns: 1fr;
    }

    .modal {
        width: 94vw !important;
        max-width: 94vw !important;
        padding: 16px !important;
    }
    .modal-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .modal-actions .btn {
        width: 100% !important;
        padding: 10px 14px !important;
    }
}

/* =====================================================================
   BRANDING & LOGO
   ===================================================================== */

/* Sidebar logo (replaces letter-mark when a logo is uploaded) */
.sidebar-logo {
    height: 36px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Login page logo */
.auth-logo {
    max-width: 180px;
    max-height: 90px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
    border-radius: 6px;
}

/* =====================================================================
   PRODUCT IMAGES — table thumbnail
   ===================================================================== */
.product-thumb-sm {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--grey-200);
}
.product-thumb-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--grey-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--grey-400);
    text-transform: uppercase;
    flex-shrink: 0;
}

/* =====================================================================
   PRODUCT IMAGES — form upload + preview
   ===================================================================== */
.form-section-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--grey-600);
    margin-bottom: 10px;
    padding-top: 4px;
    border-top: 1px solid var(--grey-100);
    padding-top: 12px;
}
.product-img-wrap { margin-bottom: 10px; }
.product-img-preview {
    max-width: 160px;
    max-height: 160px;
    border-radius: var(--radius);
    object-fit: cover;
    border: 1px solid var(--grey-200);
    display: block;
    margin-bottom: 8px;
    transition: opacity .2s;
}

/* =====================================================================
   PRODUCT IMAGES — POS product tile
   ===================================================================== */
.p-thumb {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin: 0 auto 8px;
    border: 1px solid var(--grey-200);
}
.p-thumb-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--grey-100), var(--grey-200));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--grey-400);
    text-transform: uppercase;
    margin: 0 auto 8px;
    flex-shrink: 0;
}
/* Adjust tile min-height when images are shown to keep grid consistent */
.product-tile { min-height: 130px; }

/* =====================================================================
   RECEIPT LOGO
   ===================================================================== */
.receipt-logo-wrap { text-align: center; margin-bottom: 8px; }
.receipt-logo {
    max-width: 130px;
    max-height: 65px;
    object-fit: contain;
    display: inline-block;
}
@media print {
    .receipt-logo { max-width: 110px; max-height: 55px; }
}

/* =====================================================================
   SETTINGS — Branding card
   ===================================================================== */
.branding-card { grid-column: 1 / -1; } /* Full width on the grid */
.logo-preview-wrap {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.settings-logo-preview {
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 8px;
    background: var(--grey-50);
    transition: opacity .2s;
}
.settings-logo-placeholder {
    width: 160px;
    height: 80px;
    border: 2px dashed var(--grey-200);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-400);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

/* =====================================================================
   HOLD / PARK SALE FEATURE
   ===================================================================== */

.btn-hold {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: #fff; border: none;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.btn-hold:hover:not(:disabled) { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); box-shadow: 0 6px 16px rgba(124,58,237,.45); }
.btn-hold:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

.held-badge-btn {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(124,58,237,.18); border: 1px solid rgba(124,58,237,.35);
    color: #c4b5fd; font-size: 12px; font-weight: 700; padding: 4px 10px;
    border-radius: 999px; cursor: pointer; transition: all 0.15s ease; white-space: nowrap;
}
.held-badge-btn:hover { background: rgba(124,58,237,.32); border-color: rgba(139,92,246,.6); color: #ddd6fe; }

.held-count-badge {
    display: inline-flex; align-items: center; justify-content: center;
    background: #ef4444; color: #fff; font-size: 10px; font-weight: 800;
    min-width: 18px; height: 18px; border-radius: 999px; padding: 0 4px;
    animation: heldBadgePop 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes heldBadgePop { 0%{transform:scale(.5);opacity:0} 100%{transform:scale(1);opacity:1} }

.held-drawer-backdrop {
    position: fixed; inset: 0; background: rgba(10,20,40,.5);
    backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
    z-index: 9990; animation: fadeInBackdrop 0.2s ease both;
}
@keyframes fadeInBackdrop { from{opacity:0} to{opacity:1} }

.held-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: 380px; max-width: 96vw;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    z-index: 9995; display: flex; flex-direction: column;
    box-shadow: -8px 0 32px rgba(0,0,0,.35);
    animation: slideInDrawer 0.28s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes slideInDrawer { from{transform:translateX(100%)} to{transform:translateX(0)} }

.held-drawer-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: 18px 18px 14px; border-bottom: 1px solid rgba(255,255,255,.1); flex-shrink: 0;
}
.held-drawer-close {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #94a3b8;
    width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 14px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.15s ease;
}
.held-drawer-close:hover { background: rgba(255,255,255,.15); color: #fff; }

.held-drawer-body { flex: 1; overflow-y: auto; padding: 12px; }
.held-drawer-body::-webkit-scrollbar { width: 4px; }
.held-drawer-body::-webkit-scrollbar-track { background: transparent; }
.held-drawer-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 999px; }

.held-sale-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; padding: 14px; margin-bottom: 10px;
    transition: border-color 0.15s, background 0.15s;
}
.held-sale-card:hover { background: rgba(255,255,255,.09); border-color: rgba(124,58,237,.5); }
.held-sale-ref { font-size: 10px; font-weight: 800; letter-spacing:.06em; text-transform: uppercase; color: #c4b5fd; margin-bottom: 4px; }
.held-sale-label { font-size: 14px; font-weight: 700; color: #f1f5f9; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.held-sale-meta { font-size: 12px; color: #64748b; margin-bottom: 12px; }
.held-sale-actions { display: flex; gap: 8px; }
.btn-recall {
    flex: 1; background: linear-gradient(135deg, #0d9488 0%, #0b7a70 100%);
    color: #fff; border: none; padding: 8px 12px; border-radius: 8px;
    font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.15s ease;
    display: flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-recall:hover { background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%); transform: translateY(-1px); }
.btn-discard-held {
    background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.25);
    color: #f87171; padding: 8px 12px; border-radius: 8px; font-size: 12px; font-weight: 600;
    cursor: pointer; transition: all 0.15s ease; display: flex; align-items: center; justify-content: center;
}
.btn-discard-held:hover { background: rgba(239,68,68,.22); border-color: rgba(239,68,68,.45); color: #ef4444; }

@media (max-width: 768px) {
    .held-drawer { width: 100vw; max-width: 100vw; }
    .pos-pay-actions .btn-hold { flex: 1; padding: 12px 8px; font-size: 13px; }
}
