/* ============================================================================
   App-wide foundation — applies the "Mission Control" (G) design language
   globally. Loaded AFTER cisco-theme.css so it wins; loaded BEFORE the page
   extra_css block so pages can still override.
   COSMETIC ONLY: typography, surfaces, button/card/sidebar polish.
   No display/position/width/layout changes — cannot restructure page layouts.
   ========================================================================== */

/* ---- typography: Inter app-wide (the biggest 'feel' lift) ---- */
body{
  font-family:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif !important;
  background-color:#fbfbfc;
  letter-spacing:-.006em;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5{ letter-spacing:-.02em; }
h1{ font-weight:750; }

/* ---- buttons: refined radius/weight, colors unchanged ---- */
.btn, a.btn, button.btn{
  border-radius:8px; font-weight:600; letter-spacing:-.004em;
  transition:filter .15s, background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover{ filter:brightness(.985); }
.btn-primary{ box-shadow:0 6px 16px -10px rgba(4,159,217,.7); }

/* ---- cards: hairline border + softer layered shadow + tighter radius ---- */
.card{
  border:1px solid #ececf0;
  border-radius:12px;
  box-shadow:0 1px 2px rgba(16,24,40,.04), 0 10px 28px -18px rgba(16,24,40,.20);
}
.card-header{ border-bottom-color:#f1f2f5; }
.stat-card{ border-radius:14px; box-shadow:0 1px 2px rgba(16,24,40,.04), 0 10px 28px -18px rgba(16,24,40,.18); }

/* ---- sidebar polish: rounded links, refined hover/active ---- */
.sidebar-link{ border-radius:8px; transition:background .15s, color .15s; }
.sidebar-section-title{ letter-spacing:.08em; font-size:.7rem; }

/* ---- inputs: refined radius (cosmetic) ---- */
input[type=text], input[type=email], input[type=password], input[type=number],
input[type=search], select, textarea{ border-radius:8px; }

/* ---- tables: refined header tracking ---- */
table th{ letter-spacing:.02em; }

/* ---- badges/chips: tighten ---- */
.badge{ font-weight:600; letter-spacing:.01em; }
