/* Arvelor Business Portal — dashboard premium presentation layer
   (founder order, 5 Dec 2026, 20:27 GMT: "declutter it, don't look
   AI slop, easier to use, very simple but luxury dashboard,
   everything" — and every function stays present and reachable).

   PRESENTATION ONLY. Every rule is scoped to the signed-in shell
   (.portal-main, .brand-side, .glass-header) — components that do
   not exist on the sign-in page, whose premium layer
   (signin-premium.css, §11) is untouched. No behaviour, action,
   or auth flow changes: this file only restyles what the shipped
   client already renders, extending the sign-in page's visual
   language (deep navy #000F30, white, matte gold #B08D2E used
   sparingly, Poppins headings / Inter body) across the dashboard.

   What it fixes against the shipped bundle CSS:
   1. Every white card carried a gold line across its top
      (.glass-card's inset gold shadow) — gold shouted from every
      panel. Cards now sit on one soft, deep shadow; gold is gone
      from card edges entirely.
   2. Primary buttons were the same washed-out ice-blue with a
      gold border the sign-in fix removed — but only inside
      .brand-login. In the dashboard they are now the same solid
      navy button with white text.
   3. Screen titles were 40–48px extra-bold with a gold eyebrow
      and a long intro on every screen — the "AI slop" shout.
      Titles are now a calm 30px, section headings 20px, eyebrows
      small and quiet (still gold — the one sparing accent).
   4. The top bar and mobile tab bar were fenced off by a solid
      gold border line. Now a faint white hairline.
   5. The sidebar rows were 56px+ tall with two-line subtitles —
      a long, noisy menu. Rows are tighter, subtitles sit on one
      quiet line, group labels are smaller. Nothing is removed:
      every entry and its description is still there.
   6. The mobile tab bar's labels crowded and truncated
      ("Messa…"). Labels are a touch smaller and fit. */

/* ---------- Cards: soft deep shadow, no gold line ---------- */
.portal-main .glass-card,
.brand-side .glass-card {
  box-shadow:
    0 1px 2px rgba(3, 10, 30, 0.05),
    0 18px 44px -28px rgba(3, 10, 30, 0.45);
  border-color: #98c0d9;
}

/* ---------- Primary buttons: solid navy, white text ---------- */
.portal-main .btn-primary-glass,
.brand-side .btn-primary-glass,
.glass-header .btn-primary-glass,
.glass-card .btn-primary-glass {
  background: #000f30;
  color: #ffffff;
  border: 1px solid #000f30;
  box-shadow: 0 10px 22px -12px rgba(0, 15, 48, 0.55);
}
.portal-main .btn-primary-glass:hover:not(:disabled),
.brand-side .btn-primary-glass:hover:not(:disabled),
.glass-header .btn-primary-glass:hover:not(:disabled),
.glass-card .btn-primary-glass:hover:not(:disabled) {
  background: #315b7e;
  border-color: #315b7e;
  color: #ffffff;
}
.portal-main .btn-primary-glass:active:not(:disabled),
.brand-side .btn-primary-glass:active:not(:disabled),
.glass-header .btn-primary-glass:active:not(:disabled),
.glass-card .btn-primary-glass:active:not(:disabled) {
  background: #000f30;
}

/* ---------- Headings: calm sizes, less shout ---------- */
.portal-main h1.font-display {
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.portal-main h2.font-display {
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.portal-main h3.font-display {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

/* ---------- Screen head: quiet eyebrow, softer intro ---------- */
.portal-main p[class*="tracking-[0.14em]"] {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
}
.portal-main .mb-6 p[class*="arvelor-ice-100"] {
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Top bar + mobile tab bar: hairline, not gold ---------- */
.glass-header {
  --border: rgba(255, 255, 255, 0.1);
}

/* ---------- Sidebar: tighter, quieter rows ---------- */
.brand-side .nav-item {
  min-height: 47px;
  border-radius: 14px;
  gap: 12px;
}
.brand-side .nav-orb {
  width: 34px;
  height: 34px;
}
.brand-side .nav-item > span.min-w-0 > span:first-child {
  font-size: 15.5px;
}
.brand-side .nav-item > span.min-w-0 > span:last-child {
  font-size: 12.5px;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-side nav > p {
  font-size: 11px;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

/* ---------- Mobile tab bar: labels fit, nothing truncated ---------- */
nav.glass-header .tab-item span[class*="truncate"] {
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* ---------- Forms: quiet focus, same as the sign-in standard ---------- */
.portal-main input:not([type="checkbox"]):not([type="radio"]):focus,
.portal-main select:focus,
.portal-main textarea:focus {
  border-color: #315b7e;
  box-shadow: 0 0 0 4px rgba(49, 91, 126, 0.16);
  outline: none;
}

/* ---------- Keyboard focus: always visible ---------- */
.portal-main button:focus-visible,
.portal-main a:focus-visible,
.brand-side button:focus-visible,
.glass-header button:focus-visible {
  outline: 2px solid #6390af;
  outline-offset: 2px;
}

/* ---------- Small screens: titles step down once more ---------- */
@media (max-width: 639px) {
  .portal-main h1.font-display {
    font-size: 26px;
  }
  .portal-main h2.font-display {
    font-size: 19px;
  }
}
