/* Merqiro theme
   Matches chefsahand.com (royal blue + cream + gold Persian ornament, Playfair Display + Inter),
   with the Turkish-teal menu Arvin chose.
   Layout: fixed, pinnable teal sidebar on the left; cream work surface on the right;
   on phones the sidebar slides in over the content. */
:root {
  --brand: #0a8a8f;          /* Turkish teal: sidebar */
  --brand-strong: #076c71;
  --brand-soft: #dcf3f3;
  --primary: #1f4fd1;        /* website royal blue: buttons, links */
  --primary-strong: #12307f;
  --primary-soft: #e6ecfb;
  --heading: #1b2a5c;        /* website navy */
  --accent: #f2b705;         /* saffron: badges, focus */
  --gold: #c9a24a;           /* ornament lines */
  --gold-dark: #9c7a2c;
  --bg: #fbf7ec;             /* website cream-2 */
  --surface: #ffffff;
  --surface-2: #f7f0dc;      /* website cream */
  --line: #ece2c8;
  --fg: #1d2433;
  --muted: #5f6b80;
  --side-fg: #e3f6f6;
  --side-muted: #a9dfe0;
  --shadow: 0 10px 30px rgba(18, 48, 127, .08);
  --ok: #1f8a4c;  --ok-bg: #e2f4ea;
  --warn: #9a6400; --warn-bg: #fdf0cf;
  --bad: #b8322a; --bad-bg: #fbe4e1;
  --info: #1f4fd1; --info-bg: #e6ecfb;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sidebar-w: 252px;
  --radius: 1rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #0d8f94; --brand-strong: #0a6f74; --brand-soft: #123638;
    --primary: #7d9bf0; --primary-strong: #a3b8f5; --primary-soft: #1b2442; --heading: #e9e3cf;
    --accent: #f2b705; --gold: #d4b25f; --gold-dark: #e0c27a;
    --bg: #11151f; --surface: #181e2b; --surface-2: #202838; --line: #2c3547;
    --fg: #e6e9f0; --muted: #9aa5ba; --side-fg: #e3f6f6; --side-muted: #a9dfe0;
    --shadow: 0 10px 30px rgba(0, 0, 0, .25);
    --ok: #4cc584; --ok-bg: #173527; --warn: #f2c14e; --warn-bg: #3a2c10;
    --bad: #ef7a6c; --bad-bg: #3d1f1b; --info: #8fabf3; --info-bg: #1b2442;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #0d8f94; --brand-strong: #0a6f74; --brand-soft: #123638;
  --primary: #7d9bf0; --primary-strong: #a3b8f5; --primary-soft: #1b2442; --heading: #e9e3cf;
  --accent: #f2b705; --gold: #d4b25f; --gold-dark: #e0c27a;
  --bg: #11151f; --surface: #181e2b; --surface-2: #202838; --line: #2c3547;
  --fg: #e6e9f0; --muted: #9aa5ba; --side-fg: #e3f6f6; --side-muted: #a9dfe0;
  --shadow: 0 10px 30px rgba(0, 0, 0, .25);
  --ok: #4cc584; --ok-bg: #173527; --warn: #f2c14e; --warn-bg: #3a2c10;
  --bad: #ef7a6c; --bad-bg: #3d1f1b; --info: #8fabf3; --info-bg: #1b2442;
  color-scheme: dark;
}

/* Bootstrap variable bridge so its components follow our tokens */
:root, [data-bs-theme] {
  --bs-body-bg: var(--bg);
  --bs-body-color: var(--fg);
  --bs-body-font-family: var(--font-body);
  --bs-border-color: var(--line);
  --bs-secondary-color: var(--muted);
  --bs-tertiary-bg: var(--surface-2);
  --bs-emphasis-color: var(--fg);
  --bs-link-color: var(--primary);
  --bs-link-hover-color: var(--primary-strong);
  --bs-link-color-rgb: 31, 79, 209;
}

html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
}
h1, h2, h3, h4, h5, .display { font-family: var(--font-display); text-wrap: balance; letter-spacing: -0.01em; }
.mono, code { font-family: var(--font-mono); font-size: 0.85em; color: inherit; }
.text-muted, .form-text { color: var(--muted) !important; }
.tabular { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Buttons and form controls */
.btn-brand { --bs-btn-color: #fff; --bs-btn-bg: #1f4fd1; --bs-btn-border-color: #1f4fd1;
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #12307f; --bs-btn-hover-border-color: #12307f;
  --bs-btn-active-bg: #12307f; --bs-btn-active-color: #fff; --bs-btn-disabled-bg: #1f4fd1; --bs-btn-disabled-border-color: #1f4fd1; --bs-btn-disabled-color: #fff; font-weight: 600; }
.btn-outline-brand { --bs-btn-color: var(--primary); --bs-btn-border-color: var(--primary); --bs-btn-hover-bg: #1f4fd1;
  --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #1f4fd1; --bs-btn-active-bg: #12307f; --bs-btn-active-color: #fff; font-weight: 600; }
.btn-ghost { --bs-btn-color: var(--muted); --bs-btn-hover-color: var(--fg); --bs-btn-hover-bg: var(--surface-2); border: 0; }
.form-control, .form-select { background-color: var(--surface); color: var(--fg); border-color: var(--line); }
.form-control:focus, .form-select:focus { background-color: var(--surface); color: var(--fg); border-color: var(--primary); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--primary) 18%, transparent); }
.form-control::placeholder { color: var(--muted); opacity: .8; }
.form-label { font-weight: 600; font-size: .85rem; }
.form-check-input:checked { background-color: #1f4fd1; border-color: #1f4fd1; }
.modal-content, .dropdown-menu { background: var(--surface); color: var(--fg); border-color: var(--line); }
.modal-header, .modal-footer { border-color: var(--line); }
.btn-close { filter: var(--close-filter, none); }
:root[data-theme="dark"] .btn-close { filter: invert(1); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-close { filter: invert(1); } }

/* ---------- App shell ---------- */
.app { display: flex; min-height: 100%; }
.sidebar {
  width: var(--sidebar-w); flex: 0 0 var(--sidebar-w);
  background: var(--brand-strong);
  background: linear-gradient(180deg, #0a8a8f 0%, #066469 100%);
  color: var(--side-fg);
  display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh;
  padding-left: env(safe-area-inset-left, 0px);
}
.sidebar .brand { display: flex; align-items: center; gap: .65rem; padding: 1.25rem 1.25rem 1rem; color: #fff; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; background: #fff; flex: 0 0 auto; box-shadow: 0 0 0 2px #c9a24a; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand-sub { font-size: .72rem; color: var(--side-muted); letter-spacing: .08em; text-transform: uppercase; }
.nav-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--side-muted); padding: 1rem 1.25rem .4rem; }
.side-nav { list-style: none; margin: 0; padding: 0 .75rem; display: flex; flex-direction: column; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: 8px;
  color: var(--side-fg); text-decoration: none; font-weight: 600; font-size: .93rem;
}
.side-nav a i { font-size: 1.1rem; opacity: .85; }
.side-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.side-nav a.active { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.side-nav .count { margin-left: auto; background: var(--accent); color: #2b1d00; font-size: .7rem; font-weight: 700; border-radius: 99px; padding: .05rem .45rem; }
.sidebar-foot { margin-top: auto; padding: 1rem 1.25rem 1.25rem; font-size: .78rem; color: var(--side-muted); border-top: 1px solid rgba(255,255,255,.1); }
.sidebar-foot a { color: var(--side-fg); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; align-items: center; gap: .75rem;
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding-block: .7rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.topbar h1 { font-size: 1.15rem; margin: 0; font-weight: 600; }
.topbar .crumb { font-size: .78rem; color: var(--muted); }
.user-chip { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--heading); border: 1px solid var(--gold); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.role-pill { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 99px; background: var(--surface-2); color: var(--gold-dark); border: 1px solid var(--gold); }
.content {
  padding-block: 1.5rem 3rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
  max-width: 1320px; width: 100%;
}
@media (min-width: 768px) { .content, .topbar { padding-left: 2rem; padding-right: 2rem; } }

.sidebar-backdrop { display: none; }
@media (max-width: 991.98px) {
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; z-index: 50; transform: translateX(-100%); transition: transform .2s ease; height: auto; padding-top: env(safe-area-inset-top, 0px); }
  .app.nav-open .sidebar { transform: none; }
  .app.nav-open .sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.4); }
}
@media (min-width: 992px) { .nav-toggle { display: none; } }
@media (prefers-reduced-motion: reduce) { .sidebar { transition: none; } }

/* ---------- Panels, stats, tables ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 1rem; margin: 0; font-weight: 600; }
.panel-body { padding: 1.25rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.toolbar .search { flex: 1 1 220px; max-width: 360px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.15rem; display: flex; flex-direction: column; gap: .25rem; }
.stat .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; display: flex; align-items: center; gap: .4rem; }
.stat .value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat .note { font-size: .8rem; color: var(--muted); }
.stat.alert-stat .value { color: var(--bad); }

.table-wrap { overflow-x: auto; }
.table { --bs-table-bg: transparent; --bs-table-color: var(--fg); --bs-table-hover-bg: var(--surface-2); --bs-table-hover-color: var(--fg); margin: 0; }
.table thead th { background: var(--surface-2); color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; border-bottom-color: var(--line); white-space: nowrap; }
.table td, .table th { border-color: var(--line); vertical-align: middle; padding: .7rem .9rem; }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--surface-2); border: 1px solid var(--line); }
.prod-cell { display: flex; align-items: center; gap: .75rem; min-width: 200px; }
.prod-cell .name { font-weight: 600; }
.empty { text-align: center; color: var(--muted); padding: 2.5rem 1rem; }

/* Status pills (state in form, not just text) */
.pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-info { background: var(--info-bg); color: var(--info); }
.pill-muted { background: var(--surface-2); color: var(--muted); }

.stock-bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; min-width: 80px; }
.stock-bar span { display: block; height: 100%; border-radius: 99px; background: var(--ok); }
.stock-bar.low span { background: var(--warn); }
.stock-bar.out span { background: var(--bad); }

.img-drop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 1rem; display: flex; align-items: center; gap: 1rem; cursor: pointer; background: var(--surface-2); }
.img-drop:hover, .img-drop.drag { border-color: var(--gold); }
.img-drop img { width: 88px; height: 88px; border-radius: 8px; object-fit: cover; background: var(--surface); }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, calc((100% - 1rem) * .4 - 10px)); gap: 1rem; }  /* reorder panel 10px narrower than 3:2 */
@media (max-width: 991.98px) { .dash-grid { grid-template-columns: minmax(0, 1fr); } }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { display: flex; align-items: center; gap: .75rem; padding: .7rem 1.25rem; border-bottom: 1px solid var(--line); }
.list-plain li:last-child { border-bottom: 0; }

.toast-zone { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 2000; display: flex; flex-direction: column; gap: .5rem; }
.toast-msg { background: var(--fg); color: var(--bg); padding: .65rem 1rem; border-radius: 8px; font-weight: 600; font-size: .9rem; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.toast-msg.error { background: var(--bad); color: #fff; }
.mock-badge { font-size: .7rem; font-weight: 700; color: var(--warn); background: var(--warn-bg); border-radius: 6px; padding: .15rem .45rem; }

/* ---------- Login (mirrors chefsahand.com/login.html: ornament band + centered card) ---------- */
.ornament { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M40 6l9 25 25 9-25 9-9 25-9-25-25-9 25-9z'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Ccircle cx='0' cy='0' r='14'/%3E%3Ccircle cx='80' cy='0' r='14'/%3E%3Ccircle cx='0' cy='80' r='14'/%3E%3Ccircle cx='80' cy='80' r='14'/%3E%3C/g%3E%3C/svg%3E"); }
.login-page { min-height: 100%; display: flex; flex-direction: column; background: var(--bg); }
.login-band {
  background-color: #0a8a8f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M40 6l9 25 25 9-25 9-9 25-9-25-25-9 25-9z'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Ccircle cx='0' cy='0' r='14'/%3E%3Ccircle cx='80' cy='0' r='14'/%3E%3Ccircle cx='0' cy='80' r='14'/%3E%3Ccircle cx='80' cy='80' r='14'/%3E%3C/g%3E%3C/svg%3E"), radial-gradient(circle at 75% 30%, #13a7ab 0%, #0a8a8f 45%, #066469 100%);
  border-bottom: 4px solid #c9a24a; color: #fff; text-align: center;
  padding-block: 2.5rem 5.5rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.login-band img { width: 92px; height: 92px; border-radius: 50%; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.login-band h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 1rem 0 .35rem; }
.login-band p { color: rgba(255,255,255,.82); margin: 0; }
.gold-divider { display: flex; align-items: center; gap: .75rem; color: #c9a24a; justify-content: center; margin-top: .75rem; }
.gold-divider::before, .gold-divider::after { content: ""; height: 1px; flex: 0 1 70px; background: linear-gradient(90deg, transparent, #c9a24a, transparent); }
.login-body { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; margin-top: -3.5rem; padding-bottom: 2.5rem;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.login-card { width: 100%; max-width: 440px; background: var(--surface); border-radius: var(--radius); box-shadow: 0 10px 30px rgba(18,48,127,.12); padding: clamp(1.25rem, 4vw, 2.25rem); border-top: 4px solid var(--gold); }
.login-card h2 { font-size: 1.5rem; color: var(--heading); }
.login-foot { font-size: .82rem; color: var(--muted); text-align: center; }
.demo-box { font-size: .82rem; background: var(--surface-2); border: 1px dashed var(--gold); border-radius: .75rem; padding: .75rem .9rem; }
.demo-box button { font-size: .78rem; }

/* ---------- Pinned / collapsed menu (desktop) ---------- */
.side-head { display: flex; align-items: center; padding-right: .75rem; }
.side-head .brand { flex: 1; min-width: 0; }
.pin-btn { border: 0; background: transparent; color: var(--side-muted); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: 0 0 auto; }
.pin-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.pin-btn[aria-pressed="true"] { color: var(--accent); }
@media (max-width: 991.98px) { .pin-btn { display: none; } }
@media (min-width: 992px) {
  :root { --rail-w: 72px; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; height: auto; z-index: 30; padding-top: env(safe-area-inset-top, 0px); transition: width .18s ease, box-shadow .18s ease; overflow-x: hidden; overflow-y: auto; }
  .main { margin-left: calc(var(--sidebar-w) + env(safe-area-inset-left, 0px)); transition: margin-left .18s ease; }
  .side-nav a, .sidebar .brand, .nav-label { white-space: nowrap; }
  .sidebar-foot { min-width: calc(var(--sidebar-w) - 2.5rem); }
  /* Unpinned: icon rail that opens while the pointer or keyboard focus is on it */
  .app.unpinned .main { margin-left: calc(var(--rail-w) + env(safe-area-inset-left, 0px)); }
  .app.unpinned .sidebar:not(:hover):not(:focus-within) { width: var(--rail-w); flex-basis: var(--rail-w); }
  .app.unpinned .sidebar:not(:hover):not(:focus-within) .lbl,
  .app.unpinned .sidebar:not(:hover):not(:focus-within) .sidebar-foot,
  .app.unpinned .sidebar:not(:hover):not(:focus-within) .side-nav .count { display: none; }
  .app.unpinned .sidebar:not(:hover):not(:focus-within) .nav-label { visibility: hidden; height: 1.2rem; padding: .5rem 0 0; }
  .app.unpinned .sidebar:not(:hover):not(:focus-within) .sidebar .brand,
  .app.unpinned .sidebar:not(:hover):not(:focus-within) .side-head { padding-right: 0; }
  .app.unpinned .sidebar:not(:hover):not(:focus-within) .side-nav a { justify-content: center; padding-left: 0; padding-right: 0; }
  .app.unpinned .sidebar:hover, .app.unpinned .sidebar:focus-within { box-shadow: 8px 0 24px rgba(0,0,0,.18); }
}
@media (prefers-reduced-motion: reduce) { .sidebar, .main { transition: none !important; } }


/* ---------- Chef Sahand look ---------- */
h1, h2, h3, h4, h5 { color: var(--heading); font-weight: 700; letter-spacing: 0; }
.topbar h1 { font-size: 1.35rem; font-weight: 700; }
.btn { border-radius: 999px; padding-inline: 1.1rem; }
.btn-sm { padding-inline: .75rem; }
.btn-ghost { padding-inline: .5rem; }
.form-control, .form-select { border-radius: .7rem; }
.input-group > .btn, .input-group > .input-group-text { border-radius: .7rem; }
.input-group-text { background: var(--surface-2); border-color: var(--line); color: var(--muted); }
.sidebar {
  background-color: #0a8a8f;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M40 6l9 25 25 9-25 9-9 25-9-25-25-9 25-9z'/%3E%3Ccircle cx='40' cy='40' r='8'/%3E%3Ccircle cx='0' cy='0' r='14'/%3E%3Ccircle cx='80' cy='0' r='14'/%3E%3Ccircle cx='0' cy='80' r='14'/%3E%3Ccircle cx='80' cy='80' r='14'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(180deg, #0a8a8f 0%, #066469 100%);
  border-right: 3px solid #c9a24a;
}
.sidebar .brand-name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .3px; }
.side-nav a.active { background: rgba(255,255,255,.16); box-shadow: inset 3px 0 0 #f2b705; }
.side-nav .count, .mock-badge { background: #f2b705; color: #1b2a5c; }
.topbar { border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 color-mix(in srgb, var(--gold) 35%, transparent); }
.panel { border: 0; box-shadow: var(--shadow); }
.panel-head { border-bottom-color: var(--line); }
.panel-head h2 { font-size: 1.1rem; font-weight: 700; }
.stat { border: 0; border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.stat .value { color: var(--heading); font-weight: 700; }
.stat .label i { color: var(--gold-dark); }
.table thead th { background: var(--surface-2); color: var(--gold-dark); }
.thumb { border-radius: .6rem; background: var(--surface-2); }
.modal-content { border-radius: var(--radius); border: 0; border-top: 4px solid var(--gold); }
.mock-badge { color: #1b2a5c; }
.table .mono { white-space: nowrap; }

/* Login page uses the Turkish teal instead of the website blue */
.login-page { --bs-link-color: #076c71; --bs-link-hover-color: #05555a; --bs-link-color-rgb: 7, 108, 113; }
.login-page .btn-brand { --bs-btn-bg: #0a8a8f; --bs-btn-border-color: #0a8a8f; --bs-btn-hover-bg: #076c71; --bs-btn-hover-border-color: #076c71;
  --bs-btn-active-bg: #076c71; --bs-btn-disabled-bg: #0a8a8f; --bs-btn-disabled-border-color: #0a8a8f; }
.login-page .btn-outline-brand { --bs-btn-color: #076c71; --bs-btn-border-color: #0a8a8f; --bs-btn-hover-bg: #0a8a8f; --bs-btn-hover-border-color: #0a8a8f; --bs-btn-active-bg: #076c71; }
.login-page .form-control:focus { border-color: #0a8a8f; box-shadow: 0 0 0 .2rem rgba(10, 138, 143, .18); }
.login-page .form-check-input:checked { background-color: #0a8a8f; border-color: #0a8a8f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .login-page { --bs-link-color: #5fd0d3; --bs-link-hover-color: #8fe0e2; } :root:not([data-theme="light"]) .login-page .btn-outline-brand { --bs-btn-color: #5fd0d3; } }
:root[data-theme="dark"] .login-page { --bs-link-color: #5fd0d3; --bs-link-hover-color: #8fe0e2; }
:root[data-theme="dark"] .login-page .btn-outline-brand { --bs-btn-color: #5fd0d3; }
