/* =========================================================
   Modern Bento POS - Global Stylesheet
   ========================================================= */
:root {
  --bg-app: #F4F6F9;
  --surface: #FFFFFF;
  --border: #E5E9F0;
  --text: #1F2937;
  --text-muted: #6B7280;
  --primary: #10B981;
  --primary-dark: #059669;
  --primary-soft: #ECFDF5;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;
  --sidebar-bg: #0F172A;
  --sidebar-text: #CBD5E1;
  --sidebar-active: #10B981;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow-md: 0 4px 16px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.12);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

[data-bs-theme="dark"] {
  --bg-app: #0B1220;
  --surface: #111A2C;
  --border: #1E2A44;
  --text: #E5EAF1;
  --text-muted: #94A3B8;
  --primary-soft: #0F2C24;
  --shadow-md: 0 4px 16px rgba(0,0,0,.5);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.6);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}

/* ---------------- Login ---------------- */
.login-page {
  min-height: 100vh;
  min-height: 100svh;
  background: oklch(0.97 0.012 184);
}
.login-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 12% 86%, oklch(0.83 0.09 183 / .35), transparent 36%),
    radial-gradient(ellipse at 70% 8%, oklch(0.90 0.07 43 / .25), transparent 30%),
    oklch(0.97 0.012 184);
}
.login-showcase {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 5.5rem);
  overflow: hidden;
  border-inline-end: 1px solid oklch(0.72 0.035 184 / .3);
}
.login-showcase::before {
  content: "";
  position: absolute;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  inset-inline-start: 50%;
  top: 50%;
  border: 1px solid oklch(0.68 0.055 184 / .2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 42px oklch(0.68 0.055 184 / .045), 0 0 0 84px oklch(0.68 0.055 184 / .035);
  pointer-events: none;
}
.login-watermark {
  position: absolute;
  inset: 12% 3%;
  display: grid;
  place-items: center;
  perspective: 1100px;
  pointer-events: none;
}
.login-watermark img {
  display: block;
  width: min(100%, 820px);
  height: auto;
  opacity: .16;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 26px 26px oklch(0.34 0.07 195 / .12));
  transform-origin: center;
  animation: loginWatermarkDrift 18s ease-in-out infinite;
}
.login-showcase-top,
.login-showcase-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.login-showcase-top { justify-content: flex-start; gap: .8rem; }
.login-showcase-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid oklch(0.59 0.12 177 / .25);
  border-radius: 14px;
  background: oklch(0.99 0.008 184 / .75);
  color: var(--primary-dark);
  font-size: 1.1rem;
  box-shadow: 0 8px 24px oklch(0.35 0.06 190 / .08);
}
.login-showcase-name {
  color: oklch(0.28 0.035 195);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.login-showcase-bottom {
  color: oklch(0.4 0.035 195);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.login-showcase-index { display: flex; align-items: center; gap: .55rem; }
.login-showcase-index span { width: 32px; height: 1px; background: oklch(0.58 0.09 183 / .55); }
.login-wrapper {
  width: 100%;
  max-width: 560px;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  align-self: center;
  justify-self: center;
  position: relative;
  z-index: 1;
}
.login-card {
  background: var(--surface);
  border: 1px solid oklch(0.84 0.018 184);
  border-radius: 24px;
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  box-shadow: 0 28px 75px oklch(0.32 0.055 190 / .12), 0 2px 8px oklch(0.32 0.055 190 / .04);
  align-self: center;
  justify-self: center;
  width: 100%;
}
.login-brand { text-align: center; margin-bottom: 2rem; }
.login-brand h1 { font-size: 1.4rem; font-weight: 750; margin: .75rem 0 .3rem; letter-spacing: -.025em; }
.login-logo { display: block; width: 172px; max-width: 100%; height: auto; margin: 0 auto .75rem; }
.login-card .form-label { color: var(--text); font-size: .84rem; font-weight: 650; margin-bottom: .45rem; }
.login-card .input-group-text,
.login-card .form-control {
  min-height: 48px;
  border-color: oklch(0.86 0.018 184);
  background-color: oklch(0.99 0.006 184);
  color: var(--text);
}
.login-card .input-group-text {
  color: oklch(0.52 0.035 190);
  padding-inline: .9rem;
}
.login-card .input-group-text i { font-size: 1rem; }
.login-card .form-control { font-size: .92rem; }
.login-card .form-control:focus {
  border-color: oklch(0.62 0.14 174);
  box-shadow: 0 0 0 .22rem oklch(0.72 0.12 174 / .18);
  background-color: oklch(1 0 0);
}
.login-card .input-group:focus-within .input-group-text {
  border-color: oklch(0.62 0.14 174);
  color: var(--primary-dark);
}
.login-card .btn-primary {
  min-height: 48px;
  border-radius: 12px;
  font-size: .92rem;
  box-shadow: 0 8px 18px oklch(0.58 0.13 164 / .2);
  transition: transform .18s ease-out, box-shadow .18s ease-out, background-color .18s ease-out;
}
.login-card .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 11px 22px oklch(0.58 0.13 164 / .25); }
.login-card .btn-primary:active { transform: translateY(0); }
.login-card .btn-primary:focus-visible,
.login-language-switch:focus-visible { outline: 3px solid oklch(0.68 0.14 174 / .55); outline-offset: 3px; }
.login-language-switch { z-index: 3; border-radius: 10px; }
.brand-icon {
  width: 60px; height: 60px;
  display: inline-grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #34D399);
  color: #fff; font-size: 1.6rem;
  box-shadow: var(--shadow-md);
}
.login-hint code { color: var(--primary); }

@keyframes loginWatermarkDrift {
  0%, 100% { transform: rotateX(7deg) rotateY(-10deg) rotateZ(-1.5deg) translate3d(0, 0, 0); }
  50% { transform: rotateX(2deg) rotateY(8deg) rotateZ(1deg) translate3d(0, -13px, 0); }
}

/* ---------------- App shell ---------------- */
.app-layout { display: flex; min-height: 100vh; }

.sidebar {
  width: 248px;
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  padding: 1.25rem .85rem;
  position: sticky; top: 0; height: 100vh;
  flex-shrink: 0;
}
.sidebar-brand {
  display: flex; align-items: center; gap: .65rem;
  padding: .35rem .55rem 1.25rem;
  color: #fff; font-weight: 700; font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 1rem;
}
.sidebar-logo { width: 82px; height: auto; flex: 0 0 auto; border-radius: 4px; }
.sidebar-brand .brand-icon { width: 38px; height: 38px; font-size: 1.15rem; border-radius: 10px; }
.sidebar-nav { display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.sidebar-link {
  display: flex; align-items: center; gap: .7rem;
  color: var(--sidebar-text); text-decoration: none;
  padding: .62rem .75rem; border-radius: 10px;
  font-weight: 500; font-size: .93rem;
  transition: background .15s, color .15s;
}
.sidebar-link i { font-size: 1.05rem; width: 20px; text-align: center; }
.sidebar-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.sidebar-link.active { background: rgba(16,185,129,.18); color: var(--primary); }
.sidebar-footer { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-user {
  display: flex; align-items: center; gap: .55rem;
  padding: .55rem .6rem; font-size: .82rem; color: var(--sidebar-text);
}
.sidebar-user .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #34D399);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}

.main-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 1rem;
  padding: .8rem 1.5rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar h1 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.topbar .subtitle { font-size: .78rem; color: var(--text-muted); }
.topbar-actions { margin-inline-start: auto; display: flex; align-items: center; gap: .5rem; }
.language-switch { white-space: nowrap; }
.login-language-switch { position: fixed; top: 1rem; inset-inline-end: 1rem; }
.theme-toggle {
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; transition: all .15s;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }

html[dir="rtl"] body { font-family: 'Cairo', system-ui, sans-serif; }
html[dir="rtl"] .sidebar { text-align: right; }
html[dir="rtl"] .sidebar-link,
html[dir="rtl"] .sidebar-user,
html[dir="rtl"] .sidebar-brand { flex-direction: row; }
html[dir="rtl"] .pos-layout { direction: rtl; }
html[dir="rtl"] .mono,
html[dir="rtl"] .num,
html[dir="rtl"] [dir="ltr"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .bi-arrow-left,
html[dir="rtl"] .bi-arrow-right,
html[dir="rtl"] .bi-chevron-left,
html[dir="rtl"] .bi-chevron-right { transform: scaleX(-1); }

.page-body { padding: 1.5rem; flex: 1; }

/* ---------------- Cards & Bento ---------------- */
.card-bento {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-bento .card-header {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: .9rem 1.1rem;
  font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
}
.card-bento .card-body { padding: 1.1rem; }

.stat-card { padding: 1.1rem; display: flex; align-items: flex-start; gap: .9rem; }
.stat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-icon.primary { background: var(--primary-soft); color: var(--primary); }
.stat-icon.info    { background: rgba(59,130,246,.12); color: var(--info); }
.stat-icon.warning { background: rgba(245,158,11,.14); color: var(--warning); }
.stat-icon.danger  { background: rgba(239,68,68,.12);  color: var(--danger); }
.stat-value { font-size: 1.5rem; font-weight: 800; line-height: 1.15; }
.stat-label { font-size: .78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }

/* ---------------- Buttons ---------------- */
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-success { background: var(--primary); border-color: var(--primary); }
.btn-success:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* ---------------- POS screen ---------------- */
.pos-layout {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  gap: 1rem;
  height: calc(100vh - 74px);
  min-height: 560px;
}
.pos-left, .pos-right { display: flex; flex-direction: column; min-height: 0; gap: .85rem; }

.category-picture-bar { padding: .65rem; }
.category-picture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .55rem;
}
.category-picture {
  min-width: 0;
  min-height: 72px;
  border: 1px solid rgba(15, 23, 42, .10);
  background: linear-gradient(145deg, #f8fafc, #eef2f7);
  border-radius: 12px;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .3rem;
  padding: .45rem .35rem;
  box-shadow:
    0 5px 0 rgba(15, 23, 42, .12),
    0 9px 18px rgba(15, 23, 42, .08);
  transition:
    transform 150ms ease-out,
    box-shadow 150ms ease-out,
    border-color 150ms ease-out,
    background 150ms ease-out;
  text-decoration: none;
}
.category-picture i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .12);
}
.category-picture span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .01em;
}
.category-picture:nth-child(1) {
  background: linear-gradient(145deg, #ecfdf5, #d1fae5);
  color: #047857;
  border-color: rgba(5, 150, 105, .25);
}
.category-picture:nth-child(2) {
  background: linear-gradient(145deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, .25);
}
.category-picture:nth-child(3) {
  background: linear-gradient(145deg, #fff7ed, #fed7aa);
  color: #c2410c;
  border-color: rgba(234, 88, 12, .25);
}
.category-picture:nth-child(4) {
  background: linear-gradient(145deg, #fdf4ff, #f5d0fe);
  color: #a21caf;
  border-color: rgba(192, 38, 211, .25);
}
.category-picture:nth-child(5) {
  background: linear-gradient(145deg, #fefce8, #fde68a);
  color: #a16207;
  border-color: rgba(202, 138, 4, .25);
}
.category-picture:nth-child(6) {
  background: linear-gradient(145deg, #fff1f2, #fecdd3);
  color: #be123c;
  border-color: rgba(225, 29, 72, .25);
}
.category-picture:nth-child(7) {
  background: linear-gradient(145deg, #f0fdfa, #99f6e4);
  color: #0f766e;
  border-color: rgba(13, 148, 136, .25);
}
.category-picture:nth-child(8) {
  background: linear-gradient(145deg, #eef2ff, #c7d2fe);
  color: #4338ca;
  border-color: rgba(79, 70, 229, .25);
}
.category-picture:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 0 rgba(15, 23, 42, .10),
    0 13px 22px rgba(15, 23, 42, .12);
  filter: saturate(1.08);
}
.category-picture:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 rgba(15, 23, 42, .14),
    0 4px 8px rgba(15, 23, 42, .10);
}
.category-picture.active {
  border-color: currentColor;
  box-shadow:
    inset 0 0 0 2px currentColor,
    0 4px 0 rgba(15, 23, 42, .12),
    0 8px 16px rgba(15, 23, 42, .10);
  transform: translateY(-1px);
}

.scanner-bar { padding: .85rem; }
.scanner-bar .input-group-text {
  background: var(--primary-soft); color: var(--primary);
  border-color: var(--border);
}
.scanner-input { font-size: 1.15rem; font-weight: 600; height: 48px; }
.live-search {
  position: absolute; inset-inline: 0; top: calc(100% + 4px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  z-index: 40; max-height: 320px; overflow-y: auto; display: none;
}
.live-search.show { display: block; }
.live-search .item {
  padding: .55rem .85rem; cursor: pointer;
  display: flex; justify-content: space-between; gap: .75rem;
  border-bottom: 1px solid var(--border);
}
.live-search .item:last-child { border-bottom: none; }
.live-search .item:hover, .live-search .item.active { background: var(--primary-soft); }
.live-search .item .name { font-weight: 600; }
.live-search .item .meta { font-size: .75rem; color: var(--text-muted); }

.cart-wrap { flex: 1; overflow: auto; padding: 0; }
.cart-table { width: 100%; margin: 0; }
.cart-table thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--bg-app); color: var(--text-muted);
  font-size: .72rem; text-transform: uppercase; letter-spacing: .05em;
  padding: .6rem .85rem; border-bottom: 1px solid var(--border); font-weight: 700;
}
.cart-table tbody td {
  padding: .7rem .85rem; vertical-align: middle;
  border-bottom: 1px solid var(--border);
}
.cart-table tbody tr.flash { animation: rowFlash .9s ease; }
@keyframes rowFlash {
  0%   { background: rgba(16,185,129,.35); }
  100% { background: transparent; }
}
.cart-empty {
  text-align: center; color: var(--text-muted);
  padding: 3rem 1rem;
}
.cart-empty i { font-size: 2.6rem; opacity: .35; }
.qty-control { display: inline-flex; align-items: center; gap: .25rem; }
.qty-control button {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text); display: grid; place-items: center;
  font-weight: 700; line-height: 1;
}
.qty-control button:hover { border-color: var(--primary); color: var(--primary); }
.qty-control .qty-value { min-width: 30px; text-align: center; font-weight: 700; }
.btn-remove { border: none; background: transparent; color: var(--danger); padding: .15rem .35rem; }

/* Right panel */
.cat-pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .65rem; }
.cat-pill {
  border: 1px solid var(--border); background: var(--surface);
  padding: .32rem .72rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: var(--text-muted);
  cursor: pointer; transition: all .12s;
}
.cat-pill:hover { border-color: var(--primary); color: var(--primary); }
.cat-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  max-height: 260px; overflow-y: auto;
  padding: .15rem;
}
.item-tile {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: var(--radius-sm); padding: .55rem .65rem;
  text-align: start; cursor: pointer; transition: all .12s;
  display: flex; flex-direction: column; gap: .15rem;
}
.item-tile:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.item-tile .tile-name {
  font-size: .82rem; font-weight: 600; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.item-tile .tile-price { font-size: .78rem; color: var(--primary); font-weight: 700; }
.item-tile .tile-stock { font-size: .68rem; color: var(--text-muted); }

.summary-card { margin-top: auto; }
.summary-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: .28rem 0; font-size: .92rem;
}
.summary-row.total {
  border-top: 1px dashed var(--border);
  margin-top: .45rem; padding-top: .6rem;
  font-size: 1.28rem; font-weight: 800;
}
.summary-row.total .value { color: var(--primary); }
.summary-row .label { color: var(--text-muted); }
.discount-input, .cash-input {
  width: 110px; text-align: right;
  border: 1px solid var(--border); border-radius: 8px;
  padding: .28rem .5rem; background: var(--surface); color: var(--text);
}
.discount-input:focus, .cash-input:focus { outline: 2px solid var(--primary-soft); border-color: var(--primary); }
.change-row .value { color: var(--info); font-weight: 800; }
.change-row.insufficient .value { color: var(--danger); }

.btn-checkout {
  width: 100%; padding: .95rem 1rem; font-size: 1.05rem;
  font-weight: 800; letter-spacing: .02em; border-radius: 12px;
  margin-top: .65rem;
}
.btn-hold { width: 100%; margin-top: .5rem; }

/* ---------------- Tables ---------------- */
.data-table thead th {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); font-weight: 700;
  background: var(--bg-app);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.data-table td { vertical-align: middle; }
.badge-low { background: rgba(239,68,68,.12); color: var(--danger); }
.badge-ok  { background: rgba(16,185,129,.12); color: var(--primary); }

/* ---------------- Misc ---------------- */
.mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
.toast-stack { position: fixed; top: 1rem; inset-inline-end: 1rem; z-index: 9999; display: flex; flex-direction: column; gap: .5rem; }
.toast-item {
  padding: .7rem 1rem; border-radius: 10px; color: #fff; font-weight: 600;
  box-shadow: var(--shadow-md); min-width: 240px;
  animation: toastIn .2s ease;
}
.toast-item.success { background: var(--primary); }
.toast-item.error   { background: var(--danger); }
.toast-item.info    { background: var(--info); }
@keyframes toastIn { from { opacity: 0; transform: translateX(20px);} to { opacity:1; transform:none; } }

@media (max-width: 992px) {
  .pos-layout { grid-template-columns: 1fr; height: auto; }
  .sidebar { display: none; }
  .tile-grid { max-height: none; }
  .category-picture-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .login-shell { display: block; }
  .login-showcase { position: absolute; inset: 0; min-height: 100%; padding: 0; border: 0; }
  .login-showcase::before { width: min(72vw, 400px); }
  .login-showcase-top,
  .login-showcase-bottom { display: none; }
  .login-watermark { inset: 12% 2%; }
  .login-watermark img { width: min(100%, 680px); opacity: .1; }
  .login-wrapper {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    max-width: none;
    padding: 5rem 1.25rem 2rem;
  }
}

@media (max-width: 576px) {
  .category-picture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .login-wrapper { padding: 4.5rem 1rem 1.5rem; }
  .login-card { border-radius: 20px; padding: 1.5rem 1.25rem; }
  .login-brand { margin-bottom: 1.6rem; }
  .login-logo { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .login-watermark img { animation: none; }
  .login-card .btn-primary { transition: none; }
}