/* ============================================================
   OPA CONNECT — CSS Variables & Global Reset
   ============================================================ */
:root {
  /* Brand Palette */
  --navy:          #0b1f3b;
  --navy-mid:      #162f55;
  --navy-hover:    #1e3d6e;
  --accent:        #1a73e8;
  --accent-dark:   #1558b0;
  --accent-light:  #e8f0fe;

  /* Semantic Colors */
  --success-bg:    #e6f4ea;
  --success-text:  #1e7e34;
  --success-border:#b7dfbd;
  --danger-bg:     #fce8e6;
  --danger-text:   #c5221f;
  --danger-border: #f5c6c6;
  --warning-bg:    #fff8e1;
  --warning-text:  #b06000;
  --info-bg:       #e8f0fe;
  --info-text:     #1a73e8;

  /* Neutral Palette */
  --border:        #e0e0e0;
  --border-focus:  #1a73e8;
  --text:          #202124;
  --text-muted:    #5f6368;
  --text-light:    #9aa0a6;
  --surface:       #ffffff;
  --surface-alt:   #f8f9fa;
  --page-bg:       #f1f3f4;

  /* Layout */
  --sidebar-width: 224px;
  --header-height: 68px;
  --radius:        8px;
  --radius-lg:     12px;
  --radius-full:   9999px;

  /* Shadows */
  --shadow-xs:     0 1px 2px rgba(0,0,0,0.06);
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.10);
  --shadow-md:     0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg:     0 10px 32px rgba(0,0,0,0.18);

  /* Typography */
  --font-body:     'Inter', 'Segoe UI', Arial, sans-serif;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

  /* Transitions */
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:      0.15s;
  --dur-mid:       0.25s;
  --dur-slow:      0.35s;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--page-bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
