/* ══════════════════════════════════════════════════════════════
   GO FISH GESTÃO — APP CSS v4.3
   Logo:      Rugen Expanded
   Primários/Menu: Eras Bold ITC
   Secundários:    Space Grotesk
   Numéricos:      JetBrains Mono
══════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Rugen';
  src: url('../fonts/RugenExpanded.otf') format('opentype');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'ErasBoldITC';
  src: url('../fonts/ErasBoldITC.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { height: 100%; -webkit-tap-highlight-color: transparent; }
body.gf-app-body {
  height: 100%;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   VARIÁVEIS — light mode (default)
══════════════════════════════════════════════════════════ */
body.gf-app-body {
  --gf-primary:       #0ea5e9;
  --gf-primary-dark:  #0284c7;
  --gf-secondary:     #10b981;
  --gf-accent:        #f59e0b;
  --gf-danger:        #ef4444;
  --gf-purple:        #8b5cf6;

  /* LIGHT MODE */
  --gf-bg:            #f0f9ff;
  --gf-bg-card:       #ffffff;
  --gf-text:          #0f172a;
  --gf-text-muted:    #64748b;
  --gf-border:        #e2e8f0;
  --gf-shadow:        0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --gf-shadow-lg:     0 10px 15px -3px rgba(0,0,0,.10), 0 4px 6px -2px rgba(0,0,0,.05);
  --gf-radius:        12px;
  --gf-radius-sm:     8px;

  /* SIDEBAR LIGHT: slate-700 (visível, não branco, mas mais claro que dark) */
  --gf-sidebar-bg:    #1e293b;
  --gf-sidebar-text:  rgba(255,255,255,.65);
  --gf-sidebar-muted: rgba(255,255,255,.28);
  --gf-sidebar-hover: rgba(255,255,255,.1);
  --gf-sidebar-border:rgba(255,255,255,.08);

  background: var(--gf-bg);
  color: var(--gf-text);
}

/* ══════════════════════════════════════════════════════════
   VARIÁVEIS — dark mode
══════════════════════════════════════════════════════════ */
body.gf-app-body.gf-dark {
  --gf-primary:       #38bdf8;
  --gf-primary-dark:  #0ea5e9;
  --gf-secondary:     #34d399;
  --gf-accent:        #fbbf24;
  --gf-danger:        #f87171;
  --gf-purple:        #a78bfa;

  /* DARK MODE */
  --gf-bg:            #0f172a;
  --gf-bg-card:       #1e293b;
  --gf-text:          #f1f5f9;
  --gf-text-muted:    #94a3b8;
  --gf-border:        #334155;
  --gf-shadow:        0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --gf-shadow-lg:     0 10px 15px -3px rgba(0,0,0,.4), 0 4px 6px -2px rgba(0,0,0,.3);

  /* SIDEBAR DARK: slate-900 */
  --gf-sidebar-bg:    #0b1322;
  --gf-sidebar-text:  rgba(255,255,255,.75);
  --gf-sidebar-muted: rgba(255,255,255,.22);
  --gf-sidebar-hover: rgba(255,255,255,.08);
  --gf-sidebar-border:rgba(255,255,255,.07);

  background: var(--gf-bg);
  color: var(--gf-text);
}

/* ── PRELOADER ─────────────────────────────────────────────── */
#gf-preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: #0b1322;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity .4s ease, visibility .4s ease;
}
#gf-preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#gf-preloader .pl-logo { width: 108px; height: 108px; object-fit: contain; animation: gf-pulse 1.4s ease-in-out infinite; }
#gf-preloader .pl-logo-default {
  width: 108px; height: 108px; background: var(--gf-primary); border-radius: 24px;
  display: flex; align-items: center; justify-content: center; font-size: 3.6rem;
  animation: gf-pulse 1.4s ease-in-out infinite;
}
#gf-preloader .pl-title { font-family: 'ErasBoldITC', sans-serif; font-size: 1.6rem; color: #fff; }
#gf-preloader .pl-bar { width: 200px; height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
#gf-preloader .pl-bar-fill { height: 100%; width: 0; background: var(--gf-primary); border-radius: 2px; animation: gf-load .8s ease forwards .3s; }

@keyframes gf-load { to { width: 100%; } }
@keyframes gf-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(.92); opacity: .75; }
}
@keyframes gf-spin { to { transform: rotate(360deg); } }

/* ── LOGIN ─────────────────────────────────────────────────── */
#gf-login-screen {
  position: fixed; inset: 0; z-index: 9999;
  background: #0b1322;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.gf-login-box { width: 100%; max-width: 400px; animation: gf-fadein .4s ease; }
@keyframes gf-fadein {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gf-login-logo { text-align: center; margin-bottom: 32px; }
.gf-login-logo img  { width: 108px; height: 108px; object-fit: contain; margin: 0 auto 16px; display: block; }
.gf-login-logo .logo-default {
  width: 108px; height: 108px; background: var(--gf-primary); border-radius: 24px;
  display: flex; align-items: center; justify-content: center; font-size: 3.6rem; margin: 0 auto 16px;
}
.gf-login-logo h1  { font-family: 'ErasBoldITC', sans-serif; font-size: 2rem; color: #fff; margin: 0 0 5px; letter-spacing: .04em; }
.gf-login-logo p   { font-size: .85rem; color: rgba(255,255,255,.45); font-family: 'Space Grotesk', sans-serif; }
.gf-login-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 28px 24px; backdrop-filter: blur(8px);
}
.gf-login-card .gf-form-group label {
  color: rgba(255,255,255,.6) !important; font-size: .78rem !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: .07em !important;
  margin-bottom: 6px !important; display: block !important;
  font-family: 'Space Grotesk', sans-serif !important;
}
.gf-login-card input {
  background: rgba(255,255,255,.08) !important; border: 1.5px solid rgba(255,255,255,.12) !important;
  border-radius: 10px !important; color: #fff !important; font-size: 1rem !important;
  padding: 11px 14px !important; width: 100% !important;
  font-family: 'Space Grotesk', sans-serif !important; transition: border-color .2s !important;
}
.gf-login-card input:focus {
  outline: none !important; border-color: var(--gf-primary) !important;
  box-shadow: 0 0 0 3px rgba(14,165,233,.2) !important;
}
.gf-login-card input::placeholder { color: rgba(255,255,255,.3) !important; }
.gf-login-error {
  background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.3);
  border-radius: 8px; padding: 10px 14px; color: #fca5a5; font-size: .85rem;
  margin-bottom: 14px; display: none;
}
.gf-login-error.show { display: block; }
.gf-login-btn {
  width: 100%; padding: 13px; background: var(--gf-primary); color: #fff;
  border: none; border-radius: 10px; font-family: 'ErasBoldITC', sans-serif;
  font-size: 1rem; cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 4px; text-decoration: none !important; letter-spacing: .06em;
  box-shadow: 0 2px 8px rgba(14,165,233,.3);
}
.gf-login-btn:hover { background: var(--gf-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(14,165,233,.4); }
.gf-login-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.gf-login-footer { text-align: center; margin-top: 20px; font-size: .78rem; color: rgba(255,255,255,.2); font-family: 'Space Grotesk', sans-serif; }

/* ── APP SHELL ─────────────────────────────────────────────── */
#gf-app { display: flex; height: 100vh; height: 100dvh; width: 100vw; overflow: hidden; }

/* ══════════════════════════════════════════════════════════
   SIDEBAR — responde ao tema via --gf-sidebar-*
══════════════════════════════════════════════════════════ */
#gf-sidebar {
  width: 222px; min-height: 100%;
  background: var(--gf-sidebar-bg);
  display: flex; flex-direction: column; flex-shrink: 0;
  overflow-y: auto; overflow-x: hidden; z-index: 100;
  transition: transform .3s cubic-bezier(.4,0,.2,1), background .25s, border-color .25s;
}

/* Header da sidebar — SEM botão de tema */
.gf-sidebar-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--gf-sidebar-border); flex-shrink: 0;
}
.gf-sidebar-logo { width: 54px; height: 54px; object-fit: contain; flex-shrink: 0; border-radius: 10px; }
.gf-sidebar-logo-default {
  width: 54px; height: 54px; background: var(--gf-primary); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0;
}
.gf-sidebar-title { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.gf-sidebar-title h2 {
  font-family: 'ErasBoldITC', sans-serif;
  font-size: 1.68rem; font-weight: 800; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.1; letter-spacing: .03em;
}
.gf-sidebar-title span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .65rem; color: var(--gf-sidebar-muted); font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; line-height: 1;
}

/* Nav */
.gf-sidebar-nav { flex: 1; padding: 6px; overflow-y: auto; scrollbar-width: none; }
.gf-sidebar-nav::-webkit-scrollbar { display: none; }
.gf-nav-section { margin-bottom: 2px; }
.gf-nav-section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .62rem; font-weight: 700; color: var(--gf-sidebar-muted);
  text-transform: uppercase; letter-spacing: .12em; padding: 10px 8px 3px;
}
.gf-nav-item {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 8px 10px; border: none; background: none;
  color: var(--gf-sidebar-text);
  font-family: 'ErasBoldITC', sans-serif;
  font-size: .82rem; border-radius: 7px;
  cursor: pointer; text-decoration: none !important;
  text-align: left; transition: background .15s, color .15s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: .03em;
}
.gf-nav-item .nav-icon { font-size: .9rem; flex-shrink: 0; width: 20px; text-align: center; }
.gf-nav-item:hover { background: var(--gf-sidebar-hover); color: #fff; text-decoration: none !important; }
.gf-nav-item.active { background: var(--gf-primary); color: #fff; }
.gf-nav-item.active:hover { background: var(--gf-primary-dark); }

/* Footer da sidebar — BOTÃO DE TEMA aqui */
.gf-sidebar-footer {
  padding: 8px;
  border-top: 1px solid var(--gf-sidebar-border); flex-shrink: 0;
  display: flex; flex-direction: column; gap: 3px;
}
/* Botão de tema no footer */
.gf-sidebar-theme-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 8px 10px; border: none;
  background: var(--gf-sidebar-hover);
  color: var(--gf-sidebar-text);
  font-family: 'ErasBoldITC', sans-serif; font-size: .82rem;
  border-radius: 7px; cursor: pointer;
  text-decoration: none !important; text-align: left;
  transition: all .15s; letter-spacing: .03em;
}
.gf-sidebar-theme-btn:hover { background: var(--gf-primary); color: #fff; }
.gf-sidebar-theme-btn .nav-icon { font-size: .9rem; flex-shrink: 0; width: 20px; text-align: center; }

/* ── TOPBAR MOBILE ─────────────────────────────────────────── */
#gf-topbar {
  display: none; align-items: center; gap: 12px; padding: 0 14px;
  height: 54px; background: var(--gf-bg-card); border-bottom: 1px solid var(--gf-border);
  flex-shrink: 0; z-index: 50; transition: background .25s, border-color .25s;
}
.gf-topbar-menu-btn {
  background: none; border: none; color: var(--gf-text-muted);
  cursor: pointer; padding: 6px; border-radius: 7px; font-size: 1.2rem;
  display: flex; align-items: center; flex-shrink: 0;
}
.gf-topbar-title {
  font-family: 'ErasBoldITC', sans-serif; font-size: .95rem;
  color: var(--gf-text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.gf-topbar-theme-btn {
  background: none; border: none; color: var(--gf-text-muted);
  cursor: pointer; padding: 6px; border-radius: 7px; font-size: 1rem; flex-shrink: 0;
}

/* ── MAIN ──────────────────────────────────────────────────── */
#gf-main-wrapper { flex: 1; display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
#gf-main-content {
  flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch;
  background: var(--gf-bg); transition: background .25s;
}
#gf-main-content .gofish-wrap {
  min-height: 100%; padding: 24px 28px 48px;
  font-family: 'Space Grotesk', sans-serif;
  background: var(--gf-bg); transition: background .25s, color .25s;
}

/* ── BACKDROP ──────────────────────────────────────────────── */
#gf-backdrop {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(0,0,0,.55); backdrop-filter: blur(2px);
}
#gf-backdrop.open { display: block; }

/* ── LOADING STATE ─────────────────────────────────────────── */
.gf-loading-state {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; flex-direction: column; gap: 14px;
  background: var(--gf-sidebar-bg);
}
.gf-loading-state .gf-loading-icon { font-size: 2.2rem; animation: gf-spin .8s linear infinite; display: inline-block; }
.gf-loading-state .gf-loading-text { font-family: 'Space Grotesk', sans-serif; font-size: .9rem; color: rgba(255,255,255,.5); }

/* ══════════════════════════════════════════════════════════
   FONTES NA v4 — Eras Bold ITC para primários
══════════════════════════════════════════════════════════ */
.gofish-wrap h1,
.gofish-wrap h2,
.gofish-wrap h3,
.gofish-wrap .gf-topbar h1,
.gofish-wrap .gf-card-title,
.gofish-wrap .gf-section-title,
.gofish-wrap .gf-kpi-label,
.gofish-wrap .gf-modal-title,
.gofish-wrap .gf-page-header h2,
.gofish-wrap .gf-empty,
.gofish-wrap .ec-label,
.gofish-wrap thead th {
  font-family: 'ErasBoldITC', sans-serif !important;
}
/* Botões */
.gofish-wrap .gf-btn, .gofish-wrap a.gf-btn,
.gofish-wrap .gf-tab, .gofish-wrap [type=submit] {
  font-family: 'ErasBoldITC', sans-serif !important;
}
/* Body / labels: Space Grotesk */
.gofish-wrap, .gofish-wrap label,
.gofish-wrap .gf-kpi-sub, .gofish-wrap .gf-summary-row,
.gofish-wrap input, .gofish-wrap select, .gofish-wrap textarea {
  font-family: 'Space Grotesk', sans-serif;
}
/* Números: JetBrains Mono (inalterado) */
.gofish-wrap .gf-kpi-value, .gofish-wrap .ec-value {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

/* ══════════════════════════════════════════════════════════
   OCULTAR botão de tema INTERNO das views v4
   (tema é controlado pelo footer da sidebar)
══════════════════════════════════════════════════════════ */
#gf-main-content .gf-theme-toggle { display: none !important; }

/* ══════════════════════════════════════════════════════════
   DARK MODE — propagar vars do body para .gofish-wrap
══════════════════════════════════════════════════════════ */
body.gf-app-body.gf-dark .gofish-wrap {
  --gf-primary: #38bdf8; --gf-primary-dark: #0ea5e9;
  --gf-secondary: #34d399; --gf-accent: #fbbf24;
  --gf-danger: #f87171; --gf-purple: #a78bfa;
  --gf-bg: #0f172a; --gf-bg-card: #1e293b;
  --gf-text: #f1f5f9; --gf-text-muted: #94a3b8;
  --gf-border: #334155;
  --gf-shadow: 0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);
  --gf-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.4), 0 4px 6px -2px rgba(0,0,0,.3);
}
body.gf-app-body.gf-dark .gofish-wrap .gf-alert.warning { background: #451a03; color: #fde68a; border-color: #78350f; }
body.gf-app-body.gf-dark .gofish-wrap .gf-alert.danger  { background: #450a0a; color: #fca5a5; border-color: #7f1d1d; }
body.gf-app-body.gf-dark .gofish-wrap .gf-alert.success { background: #022c22; color: #6ee7b7; border-color: #064e3b; }
body.gf-app-body.gf-dark .gofish-wrap .gf-alert.info    { background: #082f49; color: #7dd3fc; border-color: #0c4a6e; }
body.gf-app-body.gf-dark .gofish-wrap .gf-badge-green  { background: #022c22; color: #6ee7b7; }
body.gf-app-body.gf-dark .gofish-wrap .gf-badge-red    { background: #450a0a; color: #fca5a5; }
body.gf-app-body.gf-dark .gofish-wrap .gf-badge-blue   { background: #082f49; color: #7dd3fc; }
body.gf-app-body.gf-dark .gofish-wrap .gf-badge-amber  { background: #451a03; color: #fde68a; }
body.gf-app-body.gf-dark .gofish-wrap .gf-badge-purple { background: #2e1065; color: #c4b5fd; }

/* ══════════════════════════════════════════════════════════
   BOTÕES — v3 style
══════════════════════════════════════════════════════════ */
.gofish-wrap .gf-btn, .gofish-wrap a.gf-btn, #gf-main-content .gf-btn {
  text-decoration: none !important; display: inline-flex !important;
  align-items: center !important; gap: 6px !important;
  padding: 9px 18px !important; border-radius: 8px !important;
  font-size: .88rem !important; cursor: pointer !important;
  transition: all .2s !important; white-space: nowrap !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.15) !important; letter-spacing: .03em !important;
}
.gofish-wrap .gf-btn:hover, .gofish-wrap a.gf-btn:hover {
  text-decoration: none !important; transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.22) !important;
}
.gofish-wrap .gf-btn:active { transform: translateY(0) !important; }
.gofish-wrap .gf-btn-primary, .gofish-wrap a.gf-btn-primary {
  background: var(--gf-primary) !important; color: #fff !important; border: none !important;
}
.gofish-wrap .gf-btn-primary:hover { background: var(--gf-primary-dark) !important; }
.gofish-wrap .gf-btn-success { background: var(--gf-secondary) !important; color: #fff !important; border: none !important; }
.gofish-wrap .gf-btn-amber   { background: var(--gf-accent) !important;    color: #fff !important; border: none !important; }
.gofish-wrap .gf-btn-danger  { background: var(--gf-danger) !important;    color: #fff !important; border: none !important; }
.gofish-wrap .gf-btn-outline {
  background: transparent !important; color: var(--gf-text) !important;
  border: 1.5px solid var(--gf-border) !important; box-shadow: none !important;
}
.gofish-wrap .gf-btn-outline:hover {
  border-color: var(--gf-primary) !important; color: var(--gf-primary) !important;
  box-shadow: 0 2px 8px rgba(14,165,233,.15) !important;
}
.gofish-wrap .gf-btn-sm { padding: 5px 12px !important; font-size: .8rem !important; }
.gofish-wrap a, #gf-sidebar a, .gf-nav-item { text-decoration: none !important; }

/* ── Toast ─────────────────────────────────────────────────── */
#gf-toast { position: fixed !important; bottom: 24px !important; right: 24px !important; z-index: 99999 !important; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVO — TABLET
══════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  #gf-sidebar { width: 195px; }
  #gf-main-content .gofish-wrap { padding: 20px 18px 48px; }
  .gofish-wrap .gf-kpi-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important; }
  .gofish-wrap .gf-grid-2, .gofish-wrap .gf-grid-3 { grid-template-columns: 1fr 1fr !important; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVO — MOBILE
══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  body.gf-app-body { overflow: hidden; }
  #gf-app { flex-direction: column; height: 100vh; height: 100dvh; }
  #gf-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0; height: 100%;
    width: 82vw; max-width: 280px;
    transform: translateX(-110%); z-index: 200; box-shadow: 8px 0 32px rgba(0,0,0,.5);
  }
  #gf-sidebar.open { transform: translateX(0); }
  #gf-topbar { display: flex; }
  #gf-main-wrapper { height: calc(100vh - 54px); height: calc(100dvh - 54px); overflow: hidden; }
  #gf-main-content { height: 100%; }
  #gf-main-content .gofish-wrap { padding: 14px 13px 40px; }
  .gofish-wrap .gf-kpi-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .gofish-wrap .gf-kpi { padding: 14px !important; }
  .gofish-wrap .gf-grid-2, .gofish-wrap .gf-grid-3 { grid-template-columns: 1fr !important; }
  .gofish-wrap .gf-estoque-grid { grid-template-columns: 1fr !important; }
  .gofish-wrap .gf-topbar { flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .gofish-wrap .gf-topbar h1 { font-size: 1.2rem !important; }
  .gofish-wrap .gf-topbar-actions { flex-wrap: wrap; gap: 6px; width: 100%; }
  .gofish-wrap .gf-topbar-actions .gf-btn { font-size: .78rem !important; padding: 7px 10px !important; }
  .gofish-wrap .gf-form-grid { grid-template-columns: 1fr !important; }
  .gofish-wrap .gf-table { font-size: .8rem; }
  .gofish-wrap .gf-table th, .gofish-wrap .gf-table td { padding: 8px 10px; }
  .gofish-wrap .gf-modal {
    padding: 20px 16px 24px; max-height: 92vh;
    border-radius: 16px 16px 0 0;
    position: fixed; bottom: 0; left: 0; right: 0;
    max-width: 100% !important; margin: 0 !important;
  }
  .gofish-wrap .gf-modal-overlay.active { align-items: flex-end; }
  .gf-login-box { max-width: 100%; }
  .gf-login-logo img, .gf-login-logo .logo-default { width: 90px; height: 90px; }
}

/* ── Scrollbars ────────────────────────────────────────────── */
#gf-sidebar::-webkit-scrollbar { width: 3px; }
#gf-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }
#gf-main-content::-webkit-scrollbar { width: 5px; }
#gf-main-content::-webkit-scrollbar-thumb { background: var(--gf-border); border-radius: 3px; }
