/* AGG-UAE ERP — Base styles (reset + typography) */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Outfit:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--fnt-b);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--steel); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--steel-lt); }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--fnt-h);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

h1 { font-size: 1.9rem;  letter-spacing: 0.01em; }
h2 { font-size: 1.45rem; letter-spacing: 0.02em; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0.03em; }
h4 { font-size: 0.98rem; letter-spacing: 0.04em; }

p { margin-bottom: 0.5em; }
small, .muted { color: var(--text-3); }

::selection { background: var(--steel-gl); color: var(--text); }

/* Scrollbar (subtle) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* Utility — focus ring */
*:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 2px;
  border-radius: var(--r);
}

/* Helpers */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-3); }
.text-steel  { color: var(--steel); }
.text-gold   { color: var(--gold); }
.text-success{ color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning{ color: var(--warning); }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.hidden { display: none !important; }
