/* =========================================================
   FORBOZE POS, UI v2 design system
   Visual layer only. No markup, routes, forms or scripts
   depend on this file; it can be removed to roll back.
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400..800&family=Sora:wght@400..800&display=swap');

:root {
  /* Type */
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Navy service ink */
  --navy-950: #0a1322;
  --navy-900: #0f1b2d;
  --navy-800: #16253b;
  --navy-700: #213450;
  --ink: #0f1b2d;
  --ink-2: #16253b;
  --ink-3: #3b4a60;
  --muted: #5e6b7e;
  --muted-2: #8a96a8;

  /* Pearl surfaces */
  --canvas: #edf0f5;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --surface-3: #eef2f7;
  --line: #e2e7ee;
  --line-strong: #cbd3df;

  /* Brass (brand gold) */
  --brass: #e8c15a;
  --brass-deep: #a87a1c;
  --brass-soft: #fbf4e1;
  --brass-line: #eed9a2;

  /* Action blue */
  --primary: #1f6feb;
  --primary-strong: #1559c9;
  --primary-ink: #0f3e8c;
  --primary-soft: #ebf2fe;
  --primary-line: #c6dafb;
  --electric: #2e8cff;

  /* Status */
  --success: #12924f;
  --success-strong: #0c7a41;
  --success-ink: #0b5a31;
  --success-soft: #e5f5ec;
  --success-line: #b5e2c8;
  --success-bright: #3ddc84;

  --danger: #d93848;
  --danger-strong: #b8283a;
  --danger-ink: #8c1d2c;
  --danger-soft: #fcecee;
  --danger-line: #f4c5cb;
  --danger-bright: #ff7a85;

  --warning: #e9a21a;
  --warning-strong: #c78410;
  --warning-ink: #7d5200;
  --warning-soft: #fef5e1;
  --warning-line: #f5db9c;

  --orange: #ee8434;
  --orange-ink: #9c4710;
  --orange-soft: #fef0e5;
  --orange-line: #f8cfae;

  --violet: #6d55d8;
  --violet-ink: #4a35a8;
  --violet-soft: #f1eefc;

  /* Depth */
  --shadow-1: 0 1px 2px rgba(15, 27, 45, .06), 0 1px 1px rgba(15, 27, 45, .03);
  --shadow-2: 0 1px 2px rgba(15, 27, 45, .05), 0 10px 26px -14px rgba(15, 27, 45, .22);
  --shadow-3: 0 2px 6px rgba(15, 27, 45, .05), 0 28px 56px -28px rgba(15, 27, 45, .38);
  --ring: 0 0 0 4px rgba(31, 111, 235, .16);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: light;
}

/* ---------- Base ---------- */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ui);
  font-feature-settings: "cv11", "ss01";
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(232, 193, 90, .38);
  color: var(--ink);
}

h1, h2, h3,
[class*="title"]:not([class*="subtitle"]):not(input):not(select):not(textarea) {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* Scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 27, 45, .22) transparent;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-thumb {
  background: rgba(15, 27, 45, .18);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: rgba(15, 27, 45, .32);
}

*::-webkit-scrollbar-track {
  background: transparent;
}

/* ---------- Controls ---------- */

button,
input,
select,
textarea {
  font-family: inherit;
}

button,
[type="submit"],
[type="button"],
a[class*="btn"],
a[class*="button"] {
  transition:
    background-color .18s var(--ease),
    border-color .18s var(--ease),
    color .18s var(--ease),
    box-shadow .18s var(--ease),
    transform .12s var(--ease),
    scale .12s var(--ease),
    filter .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

button:active:not(:disabled),
[type="submit"]:active:not(:disabled),
[type="button"]:active:not(:disabled),
a[class*="btn"]:active,
a[class*="button"]:active {
  scale: .975;
}

button:disabled,
[type="submit"]:disabled {
  cursor: not-allowed;
  opacity: .55;
}

input,
select,
textarea {
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: var(--ring) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-2);
  opacity: 1;
}

select {
  -webkit-appearance: none;
  appearance: none;
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235e6b7e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 12px 8px !important;
  padding-right: 34px !important;
  cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primary);
}

input[type="file"] {
  font-size: 13px;
  color: var(--muted);
}

input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 650;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}

input[type="file"]::file-selector-button:hover {
  background: var(--surface-2);
  border-color: var(--muted-2);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 10px;
}

/* ---------- Motion ---------- */

@keyframes fbz-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fbz-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fbz-pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); }
}

@keyframes fbz-attention {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 162, 26, .0), var(--shadow-2); }
  50% { box-shadow: 0 0 0 7px rgba(233, 162, 26, .22), var(--shadow-2); }
}

@keyframes fbz-new-ticket {
  0% { box-shadow: 0 0 0 0 rgba(232, 193, 90, .65); }
  100% { box-shadow: 0 0 0 14px rgba(232, 193, 90, 0); }
}

@keyframes fbz-sheen {
  from { background-position: -160% 0; }
  to { background-position: 260% 0; }
}

/* One orchestrated entrance for the work area */
.page-content > *:not(style):not(script) {
  animation: fbz-rise .5s var(--ease-out) backwards;
}

.page-content > *:nth-child(2) { animation-delay: .04s; }
.page-content > *:nth-child(3) { animation-delay: .08s; }
.page-content > *:nth-child(4) { animation-delay: .12s; }
.page-content > *:nth-child(5) { animation-delay: .16s; }
.page-content > *:nth-child(6) { animation-delay: .20s; }
.page-content > *:nth-child(n+7) { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print: receipts and reports ---------- */

@media print {
  body {
    background: #fff !important;
  }

  .sidebar,
  .topbar {
    display: none !important;
  }

  .app-layout {
    display: block !important;
  }

  .page-content > * {
    animation: none !important;
  }
}
