/* AppBooking — Luxury Barbershop SaaS UI */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --primary:#6366F1;--primary-dark:#4F46E5;--primary-light:#818CF8;--primary-ultra:#EEF2FF;
  --gold:#F59E0B;--gold-light:#FEF3C7;
  --accent:#06B6D4;--accent-dark:#0891B2;
  --success:#10B981;--warning:#F59E0B;--danger:#EF4444;--info:#6366F1;
  --bg:#F8F7FF;--surface:#FFFFFF;--surface-2:#F1F0FF;--surface-3:#E8E7FF;
  --border:#E5E4FF;--text:#1E1B4B;--text-2:#6B7280;--text-3:#A0A0B0;
  --sidebar-w:250px;--topbar-h:60px;
  --radius:10px;--radius-lg:16px;--radius-xl:24px;
  --shadow-sm:0 1px 3px rgba(99,102,241,.08);
  --shadow-md:0 4px 16px rgba(99,102,241,.12);
  --shadow-lg:0 12px 40px rgba(99,102,241,.18);
}

[data-dark] {
  --bg:#0A0A1A;--surface:#13131F;--surface-2:#1A1A2E;--surface-3:#1E1E35;
  --border:#2A2A45;--text:#F0EEFF;--text-2:#A0A0C0;--text-3:#606080;
  --primary-ultra:#1E1B4B;
}

* { box-sizing:border-box; margin:0; padding:0; }
body { font-family:'DM Sans',sans-serif; background:var(--bg); color:var(--text); font-size:14px; overflow-x:hidden; }
a { text-decoration:none; color:inherit; }

/* ── LAYOUT ── */
.app-layout { display:flex; min-height:100vh; }
.sidebar { width:var(--sidebar-w); background:var(--text); position:fixed; top:0; left:0; bottom:0; display:flex; flex-direction:column; z-index:200; transition:transform .25s ease; }
.sidebar-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:199; backdrop-filter:blur(4px); }
.main-content { margin-left:var(--sidebar-w); flex:1; min-height:100vh; }

/* ── SIDEBAR ── */
.sidebar-brand { padding:24px 20px 18px; border-bottom:1px solid rgba(255,255,255,.08); }
.sidebar-logo { display:flex; align-items:center; gap:10px; }
.sidebar-logo-icon { width:38px; height:38px; border-radius:10px; background:linear-gradient(135deg,var(--primary),var(--accent)); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.sidebar-logo-text { font-family:'Syne',sans-serif; font-size:18px; font-weight:800; color:#fff; }
.sidebar-logo-badge { font-size:9px; color:rgba(255,255,255,.5); letter-spacing:2px; margin-top:1px; }
.sidebar-shop { margin:12px 16px; padding:10px 14px; background:rgba(255,255,255,.06); border-radius:var(--radius); border:1px solid rgba(255,255,255,.1); }
.sidebar-shop-name { color:#fff; font-weight:700; font-size:13px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sidebar-shop-plan { font-size:10px; color:rgba(255,255,255,.4); margin-top:2px; }
.sidebar-nav { flex:1; overflow-y:auto; padding:8px 0; scrollbar-width:none; }
.sidebar-nav::-webkit-scrollbar { display:none; }
.nav-section { padding:14px 12px 4px; }
.nav-section-title { font-size:9px; font-weight:700; color:rgba(255,255,255,.25); letter-spacing:2px; text-transform:uppercase; padding:0 8px; margin-bottom:4px; }
.nav-item { display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:var(--radius); color:rgba(255,255,255,.55); font-size:13px; font-weight:500; transition:all .15s; cursor:pointer; border:none; background:none; width:100%; text-align:left; }
.nav-item:hover { background:rgba(255,255,255,.07); color:rgba(255,255,255,.9); }
.nav-item.active { background:linear-gradient(135deg,var(--primary),var(--primary-light)); color:#fff; font-weight:700; box-shadow:0 4px 14px rgba(99,102,241,.4); }
.nav-icon { font-size:16px; width:22px; text-align:center; flex-shrink:0; }
.nav-badge { margin-left:auto; background:var(--danger); color:#fff; font-size:10px; font-weight:700; padding:1px 7px; border-radius:20px; }
.sidebar-bottom { padding:14px 12px; border-top:1px solid rgba(255,255,255,.08); }

/* ── TOPBAR ── */
.topbar { height:var(--topbar-h); background:var(--surface); border-bottom:1px solid var(--border); padding:0 24px; display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; z-index:50; box-shadow:var(--shadow-sm); }
.topbar-left { display:flex; align-items:center; gap:14px; }
.menu-btn { display:none; border:none; background:none; font-size:22px; cursor:pointer; color:var(--text); }
.topbar-title { font-family:'Syne',sans-serif; font-size:18px; font-weight:700; color:var(--text); }
.topbar-right { display:flex; align-items:center; gap:12px; }
.topbar-user { display:flex; align-items:center; gap:8px; padding:6px 14px; background:var(--surface-2); border-radius:var(--radius); border:1px solid var(--border); cursor:pointer; }
.topbar-avatar { width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,var(--primary),var(--accent)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:12px; flex-shrink:0; }
.topbar-name { font-size:13px; font-weight:600; }
.topbar-shop { font-size:11px; color:var(--text-2); padding:4px 10px; background:var(--surface-2); border-radius:var(--radius); border:1px solid var(--border); }

/* ── PAGE ── */
.page { padding:24px; max-width:1400px; }
.page-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:24px; gap:12px; flex-wrap:wrap; }
.page-title { font-family:'Syne',sans-serif; font-size:22px; font-weight:700; color:var(--text); }
.page-sub { font-size:13px; color:var(--text-2); margin-top:3px; }
.page-actions { display:flex; gap:8px; flex-wrap:wrap; }

/* ── CARDS ── */
.card { background:var(--surface); border-radius:var(--radius-lg); border:1px solid var(--border); box-shadow:var(--shadow-sm); }
.card-header { padding:16px 20px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.card-title { font-family:'Syne',sans-serif; font-size:15px; font-weight:700; color:var(--text); }
.card-body { padding:20px; }

/* ── STATS ── */
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:16px; margin-bottom:24px; }
.stat-card { background:var(--surface); border-radius:var(--radius-lg); border:1px solid var(--border); padding:20px; position:relative; overflow:hidden; box-shadow:var(--shadow-sm); }
.stat-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--accent-color,var(--primary)); }
.stat-icon { font-size:24px; margin-bottom:10px; display:block; }
.stat-value { font-family:'Syne',sans-serif; font-size:30px; font-weight:800; color:var(--text); line-height:1; }
.stat-label { font-size:12px; color:var(--text-2); margin-top:5px; font-weight:500; }
.stat-change { font-size:11px; margin-top:6px; display:flex; align-items:center; gap:3px; }
.stat-change.up { color:var(--success); }
.stat-change.down { color:var(--danger); }

/* ── BUTTONS ── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:6px; padding:9px 18px; border-radius:var(--radius); font-size:13px; font-weight:600; cursor:pointer; border:none; transition:all .15s; white-space:nowrap; font-family:'DM Sans',sans-serif; }
.btn-primary { background:linear-gradient(135deg,var(--primary),var(--primary-light)); color:#fff; box-shadow:0 4px 14px rgba(99,102,241,.35); }
.btn-primary:hover { box-shadow:0 6px 20px rgba(99,102,241,.5); transform:translateY(-1px); }
.btn-success { background:var(--success); color:#fff; }
.btn-danger { background:var(--danger); color:#fff; }
.btn-warning { background:var(--warning); color:#fff; }
.btn-accent { background:linear-gradient(135deg,var(--accent),var(--accent-dark)); color:#fff; }
.btn-gold { background:linear-gradient(135deg,var(--gold),#D97706); color:#fff; }
.btn-outline { background:transparent; border:1.5px solid var(--border); color:var(--text); }
.btn-outline:hover { background:var(--surface-2); }
.btn-ghost { background:transparent; color:var(--primary); }
.btn-ghost:hover { background:var(--primary-ultra); }
.btn-sm { padding:5px 12px; font-size:12px; }
.btn-lg { padding:12px 28px; font-size:15px; }
.btn-block { width:100%; }
.btn:disabled { opacity:.5; cursor:not-allowed; transform:none!important; }

/* ── CALENDAR ── */
.calendar-wrap { overflow-x:auto; }
.calendar-header { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:1px solid var(--border); }
.calendar-nav { display:flex; align-items:center; gap:12px; }
.calendar-title { font-family:'Syne',sans-serif; font-size:17px; font-weight:700; }
.calendar-grid { display:grid; min-width:700px; }
.calendar-days-header { display:grid; border-bottom:1px solid var(--border); }
.calendar-day-head { padding:10px; text-align:center; font-size:11px; font-weight:700; color:var(--text-2); letter-spacing:.5px; }
.calendar-slot-row { display:grid; border-bottom:1px solid var(--border); min-height:50px; }
.calendar-time { padding:8px 10px; font-size:11px; color:var(--text-3); font-weight:600; border-right:1px solid var(--border); min-width:60px; }
.calendar-cell { border-right:1px solid var(--border); padding:3px; position:relative; transition:background .1s; }
.calendar-cell:hover { background:var(--primary-ultra); }
.calendar-cell:last-child { border-right:none; }
.booking-chip { border-radius:6px; padding:4px 8px; font-size:11px; font-weight:600; cursor:pointer; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; transition:transform .1s; margin-bottom:2px; }
.booking-chip:hover { transform:scale(1.02); }
.booking-chip.pending   { background:#FEF3C7; color:#92400E; border-left:3px solid #F59E0B; }
.booking-chip.confirmed { background:#DBEAFE; color:#1E40AF; border-left:3px solid #3B82F6; }
.booking-chip.in_progress { background:#D1FAE5; color:#065F46; border-left:3px solid #10B981; }
.booking-chip.completed { background:#F0FDF4; color:#166534; border-left:3px solid #22C55E; }
.booking-chip.cancelled { background:#FEE2E2; color:#991B1B; border-left:3px solid #EF4444; }
.booking-chip.no_show   { background:#F3F4F6; color:#6B7280; border-left:3px solid #9CA3AF; }

/* ── BARBER CARDS ── */
.barber-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.barber-card { background:var(--surface); border-radius:var(--radius-xl); border:1px solid var(--border); overflow:hidden; box-shadow:var(--shadow-sm); transition:all .2s; }
.barber-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.barber-cover { height:80px; background:linear-gradient(135deg,var(--primary),var(--accent)); position:relative; }
.barber-avatar-wrap { position:absolute; bottom:-30px; left:20px; }
.barber-avatar { width:60px; height:60px; border-radius:50%; border:3px solid var(--surface); overflow:hidden; background:linear-gradient(135deg,var(--primary),var(--primary-light)); display:flex; align-items:center; justify-content:center; font-size:22px; font-weight:800; color:#fff; }
.barber-body { padding:40px 20px 20px; }
.barber-name { font-family:'Syne',sans-serif; font-size:15px; font-weight:700; }
.barber-specialty { font-size:12px; color:var(--text-2); margin-top:2px; }
.barber-stats { display:flex; gap:12px; margin-top:12px; padding-top:12px; border-top:1px solid var(--border); }
.barber-stat { text-align:center; flex:1; }
.barber-stat-val { font-size:16px; font-weight:700; color:var(--primary); }
.barber-stat-lbl { font-size:10px; color:var(--text-3); }

/* ── SERVICE CARDS ── */
.service-item { display:flex; align-items:center; gap:14px; padding:14px 16px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); margin-bottom:8px; transition:all .15s; }
.service-item:hover { border-color:var(--primary); background:var(--primary-ultra); }
.service-icon { width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.service-name { font-weight:700; font-size:14px; }
.service-meta { font-size:12px; color:var(--text-2); margin-top:2px; display:flex; gap:10px; }
.service-price { font-family:'Syne',sans-serif; font-size:16px; font-weight:700; color:var(--primary); margin-left:auto; white-space:nowrap; }

/* ── BOOKING STATUS ── */
.status-badge { display:inline-flex; align-items:center; gap:5px; padding:4px 12px; border-radius:20px; font-size:11px; font-weight:700; }
.status-pending   { background:#FEF3C7; color:#92400E; }
.status-confirmed { background:#DBEAFE; color:#1E40AF; }
.status-in_progress { background:#D1FAE5; color:#065F46; }
.status-completed { background:#F0FDF4; color:#166534; }
.status-cancelled { background:#FEE2E2; color:#991B1B; }
.status-no_show   { background:#F3F4F6; color:#6B7280; }

/* ── WHATSAPP ── */
.wa-preview { background:#0A3D2A; border-radius:var(--radius-lg); padding:20px; font-family:'DM Sans',sans-serif; }
.wa-bubble { background:#1F7A4E; border-radius:0 16px 16px 16px; padding:12px 16px; max-width:85%; display:inline-block; color:#fff; font-size:13px; line-height:1.6; white-space:pre-wrap; }
.wa-time { font-size:10px; color:rgba(255,255,255,.5); margin-top:6px; text-align:right; }
.wa-template-card { background:var(--surface); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:16px; margin-bottom:10px; cursor:pointer; transition:all .15s; }
.wa-template-card:hover, .wa-template-card.selected { border-color:var(--primary); background:var(--primary-ultra); }
.wa-template-type { font-size:10px; font-weight:700; color:var(--primary); letter-spacing:1.5px; margin-bottom:6px; }
.wa-template-preview { font-size:12px; color:var(--text-2); white-space:pre-wrap; max-height:60px; overflow:hidden; }

/* ── TABLE ── */
.table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
table { width:100%; border-collapse:collapse; min-width:500px; }
thead th { padding:12px 16px; text-align:left; font-size:10px; font-weight:700; color:var(--text-2); text-transform:uppercase; letter-spacing:.8px; border-bottom:2px solid var(--border); background:var(--surface-2); white-space:nowrap; font-family:'DM Sans',sans-serif; }
tbody td { padding:13px 16px; border-bottom:1px solid var(--border); font-size:13px; vertical-align:middle; }
tbody tr:hover { background:var(--primary-ultra); }
tbody tr:last-child td { border-bottom:none; }

/* ── FORMS ── */
.form-group { margin-bottom:18px; }
.form-label { display:block; font-size:10px; font-weight:700; color:var(--primary); letter-spacing:1.5px; text-transform:uppercase; margin-bottom:7px; }
.form-control { width:100%; padding:10px 14px; border:1.5px solid var(--border); border-radius:var(--radius); font-size:14px; color:var(--text); background:var(--surface); outline:none; transition:all .15s; font-family:'DM Sans',sans-serif; }
.form-control:focus { border-color:var(--primary); background:var(--primary-ultra); box-shadow:0 0 0 3px rgba(99,102,241,.12); }
.form-select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:36px; }
.form-hint { font-size:11px; color:var(--text-3); margin-top:5px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-row-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; }

/* ── MODALS ── */
.modal-overlay { position:fixed; inset:0; background:rgba(10,10,26,.65); z-index:300; display:flex; align-items:center; justify-content:center; padding:16px; opacity:0; visibility:hidden; transition:all .2s; backdrop-filter:blur(4px); }
.modal-overlay.open { opacity:1; visibility:visible; }
.modal { background:var(--surface); border-radius:var(--radius-xl); width:100%; max-width:600px; max-height:90vh; overflow-y:auto; box-shadow:0 30px 80px rgba(99,102,241,.25); transform:translateY(20px) scale(.98); transition:all .2s; border:1px solid var(--border); }
.modal-overlay.open .modal { transform:translateY(0) scale(1); }
.modal-header { padding:20px 24px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; background:var(--surface); z-index:1; }
.modal-title { font-family:'Syne',sans-serif; font-size:18px; font-weight:700; }
.modal-close { width:32px; height:32px; border-radius:50%; border:none; background:var(--surface-2); cursor:pointer; font-size:18px; display:flex; align-items:center; justify-content:center; color:var(--text-2); transition:all .15s; }
.modal-close:hover { background:var(--danger); color:#fff; }
.modal-body { padding:24px; }
.modal-footer { padding:16px 24px; border-top:1px solid var(--border); display:flex; justify-content:flex-end; gap:10px; flex-wrap:wrap; position:sticky; bottom:0; background:var(--surface); }

/* ── ALERTS ── */
.alert { padding:12px 16px; border-radius:var(--radius); margin-bottom:16px; font-size:13px; display:flex; align-items:flex-start; gap:8px; line-height:1.5; }
.alert-success { background:#D1FAE5; color:#065F46; border:1px solid #A7F3D0; }
.alert-danger   { background:#FEE2E2; color:#991B1B; border:1px solid #FCA5A5; }
.alert-warning  { background:#FEF3C7; color:#92400E; border:1px solid #FCD34D; }
.alert-info     { background:var(--primary-ultra); color:var(--primary-dark); border:1px solid #C7D2FE; }

/* ── BADGES ── */
.badge { display:inline-flex; align-items:center; gap:3px; padding:3px 10px; border-radius:20px; font-size:11px; font-weight:700; }
.badge-primary { background:var(--primary-ultra); color:var(--primary); }
.badge-success { background:#D1FAE5; color:#065F46; }
.badge-danger   { background:#FEE2E2; color:#991B1B; }
.badge-warning  { background:#FEF3C7; color:#92400E; }
.badge-gray     { background:var(--surface-2); color:var(--text-2); }
.badge-gold     { background:var(--gold-light); color:#92400E; }

/* ── TIMELINE ── */
.timeline { position:relative; padding-left:24px; }
.timeline::before { content:''; position:absolute; left:8px; top:0; bottom:0; width:2px; background:var(--border); }
.timeline-item { position:relative; padding-bottom:20px; }
.timeline-dot { width:16px; height:16px; border-radius:50%; background:var(--primary); position:absolute; left:-24px; top:2px; border:3px solid var(--surface); }
.timeline-content { font-size:13px; }
.timeline-time { font-size:11px; color:var(--text-3); margin-top:2px; }

/* ── PROGRESS ── */
.progress { height:8px; background:var(--surface-2); border-radius:4px; overflow:hidden; }
.progress-bar { height:100%; background:linear-gradient(90deg,var(--primary),var(--accent)); border-radius:4px; transition:width .4s ease; }

/* ── TABS ── */
.tabs { display:flex; border-bottom:2px solid var(--border); margin-bottom:20px; overflow-x:auto; -webkit-overflow-scrolling:touch; gap:4px; }
.tab-btn { padding:10px 20px; border:none; background:none; cursor:pointer; font-size:13px; font-weight:500; color:var(--text-2); border-bottom:3px solid transparent; margin-bottom:-2px; transition:all .15s; white-space:nowrap; font-family:'DM Sans',sans-serif; }
.tab-btn.active { color:var(--primary); border-bottom-color:var(--primary); font-weight:700; }
.tab-content { display:none; }
.tab-content.active { display:block; }

/* ── SEARCH ── */
.search-bar { display:flex; gap:10px; margin-bottom:16px; flex-wrap:wrap; }
.search-input { flex:1; min-width:160px; padding:10px 14px; border:1.5px solid var(--border); border-radius:var(--radius); font-size:14px; outline:none; background:var(--surface); color:var(--text); font-family:'DM Sans',sans-serif; }
.search-input:focus { border-color:var(--primary); }

/* ── TOAST ── */
.toast-container { position:fixed; top:20px; right:20px; z-index:1000; display:flex; flex-direction:column; gap:8px; pointer-events:none; }
.toast { background:var(--surface); border-radius:var(--radius-lg); border:1px solid var(--border); padding:14px 18px; box-shadow:var(--shadow-lg); display:flex; align-items:center; gap:10px; min-width:280px; pointer-events:all; animation:toastIn .3s cubic-bezier(.175,.885,.32,1.275); }
@keyframes toastIn { from{transform:translateX(100%) scale(.9);opacity:0} to{transform:translateX(0) scale(1);opacity:1} }

/* ── EMPTY STATE ── */
.empty-state { text-align:center; padding:60px 20px; }
.empty-icon { font-size:48px; margin-bottom:12px; display:block; }
.empty-title { font-family:'Syne',sans-serif; font-size:18px; font-weight:700; margin-bottom:6px; }
.empty-sub { font-size:13px; color:var(--text-2); }

/* ── GRID HELPERS ── */
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.grid-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; }
.flex { display:flex; } .flex-center { align-items:center; } .flex-between { justify-content:space-between; } .flex-wrap { flex-wrap:wrap; } .gap-8{gap:8px} .gap-12{gap:12px} .gap-16{gap:16px}

/* ── LOGIN ── */
.login-page { min-height:100vh; display:grid; grid-template-columns:1fr 1fr; background:var(--text); }
.login-left { display:flex; flex-direction:column; justify-content:center; padding:60px; background:linear-gradient(135deg,#0A0A1A 0%,#1a1a3e 100%); position:relative; overflow:hidden; }
.login-left::before { content:''; position:absolute; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle,rgba(99,102,241,.2),transparent); top:-100px; right:-100px; }
.login-left::after { content:''; position:absolute; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle,rgba(6,182,212,.15),transparent); bottom:-80px; left:-80px; }
.login-right { background:var(--surface); display:flex; align-items:center; justify-content:center; padding:40px; }
.login-form-wrap { width:100%; max-width:400px; }

/* ── PUBLIC BOOKING ── */
.booking-page { min-height:100vh; background:linear-gradient(135deg,#0A0A1A 0%,#13131F 100%); display:flex; align-items:center; justify-content:center; padding:20px; }
.booking-card { background:var(--surface); border-radius:var(--radius-xl); width:100%; max-width:520px; overflow:hidden; box-shadow:0 40px 100px rgba(0,0,0,.5); }
.booking-card-header { background:linear-gradient(135deg,var(--primary),var(--accent)); padding:30px; text-align:center; color:#fff; }
.booking-step { padding:28px; }

/* ── POS ── */
.pos-layout { display:grid; grid-template-columns:1fr 360px; gap:16px; }
.pos-product-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:10px; }
.pos-product { background:var(--surface); border:1.5px solid var(--border); border-radius:var(--radius-lg); padding:14px; cursor:pointer; transition:all .15s; text-align:center; }
.pos-product:hover,.pos-product.selected { border-color:var(--primary); background:var(--primary-ultra); }
.pos-cart-item { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--border); }

/* ── RESPONSIVE ── */
@media(max-width:1024px) { .pos-layout{grid-template-columns:1fr;} }
@media(max-width:900px) {
  .sidebar{transform:translateX(-100%)} .sidebar.open{transform:translateX(0)}
  .sidebar-overlay.open{display:block} .main-content{margin-left:0} .menu-btn{display:flex}
  .topbar-shop{display:none} .topbar-name{display:none}
  .login-page{grid-template-columns:1fr} .login-left{display:none}
  .form-row,.form-row-3{grid-template-columns:1fr}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px) {
  .page{padding:12px} .stats-grid{grid-template-columns:1fr}
  .topbar{padding:0 12px;height:52px} .page-header{flex-direction:column}
  .page-actions{width:100%} .btn{font-size:12px;padding:7px 12px}
}
