/* ============================================================
   SgElec — Design System CSS
   Version 2.0 — Moderne, Responsive, Dark/Light Mode
   ============================================================ */

/* ── 1. VARIABLES ─────────────────────────────────────────── */
:root {
  --clr-brand:        #032B43;
  --clr-brand-light:  #064B7A;
  --clr-accent:       #0EA5E9;
  --clr-accent-dark:  #0284C7;
  --clr-gold:         #F59E0B;
  --clr-gold-dark:    #D97706;

  --clr-success:  #10B981;
  --clr-warning:  #F59E0B;
  --clr-danger:   #EF4444;
  --clr-info:     #3B82F6;

  /* Light mode */
  --bg-page:      #F8FAFC;
  --bg-card:      #FFFFFF;
  --bg-sidebar:   #032B43;
  --bg-input:     #FFFFFF;
  --bg-hover:     #F1F5F9;

  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;
  --text-inverse:   #FFFFFF;

  --border-color: #E2E8F0;
  --border-focus: #0EA5E9;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.10), 0 4px 10px rgba(0,0,0,.06);
  --shadow-xl: 0 25px 50px rgba(0,0,0,.15);

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  --transition:      all 0.2s ease;
  --transition-slow: all 0.4s cubic-bezier(.4,0,.2,1);

  --sidebar-width: 256px;
  --header-height: 60px;
}

[data-theme="dark"] {
  --bg-page:    #0F172A;
  --bg-card:    #1E293B;
  --bg-sidebar: #020D1A;
  --bg-input:   #293548;
  --bg-hover:   #293548;

  --text-primary:   #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted:     #64748B;

  --border-color: #334155;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
  --shadow-md: 0 4px 6px rgba(0,0,0,.3), 0 2px 4px rgba(0,0,0,.2);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.4), 0 4px 10px rgba(0,0,0,.2);
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background 0.3s ease, color 0.3s ease;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--clr-accent); text-decoration: none; transition: var(--transition); }
a:hover { opacity: .85; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── 3. TYPOGRAPHY ────────────────────────────────────────── */
h1 { font-size: 2.25rem;  font-weight: 800; line-height: 1.15; color: var(--text-primary); }
h2 { font-size: 1.75rem;  font-weight: 700; line-height: 1.25; color: var(--text-primary); }
h3 { font-size: 1.375rem; font-weight: 600; line-height: 1.35; color: var(--text-primary); }
h4 { font-size: 1.125rem; font-weight: 600; color: var(--text-primary); }
h5 { font-size: 1rem;     font-weight: 600; color: var(--text-primary); }
p  { color: var(--text-secondary); }

/* ── 4. UTILITIES ─────────────────────────────────────────── */
.container    { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 680px;  margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 900px;  margin: 0 auto; padding: 0 1.5rem; }

.flex          { display: flex; }
.flex-col      { flex-direction: column; }
.items-center  { align-items: center; }
.justify-center{ justify-content: center; }
.justify-between{ justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 2rem; }
.w-full { width: 100%; }

/* ══════════════════════════════════════════════════════════
   PUBLIC LAYOUT — HEADER & FOOTER
══════════════════════════════════════════════════════════ */

/* Site Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
  transition: background 0.3s ease;
}
.site-header .nav-container {
  height: var(--header-height);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
}
.site-header .logo {
  display: flex; align-items: center; gap: .75rem; text-decoration: none;
  flex-shrink: 0;
}
.site-header .logo img  { height: 38px; width: auto; }
.site-header .logo-text { font-size: 1.125rem; font-weight: 800; color: var(--clr-brand); letter-spacing: -.02em; }
[data-theme="dark"] .site-header .logo-text { color: var(--clr-accent); }

.nav-links { display: flex; align-items: center; gap: .125rem; }
.nav-links a {
  padding: .5rem .875rem; border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: .9rem; font-weight: 500;
  transition: var(--transition); text-decoration: none;
}
.nav-links a:hover { background: var(--bg-hover); color: var(--clr-accent); opacity: 1; }
.nav-links a.active { color: var(--clr-accent); background: rgba(14,165,233,.1); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-primary); border-radius: 2px; transition: var(--transition);
}

/* Mobile nav menu */
.mobile-nav {
  display: none; flex-direction: column; gap: .25rem;
  position: absolute; top: var(--header-height); left: 0; right: 0;
  background: var(--bg-card); border-bottom: 1px solid var(--border-color);
  padding: .75rem 1rem; box-shadow: var(--shadow-md); z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: .625rem .75rem; border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: .9375rem; font-weight: 500;
}
.mobile-nav a:hover { background: var(--bg-hover); color: var(--clr-accent); opacity: 1; }

/* Theme Toggle */
.theme-toggle {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-hover); border: 1px solid var(--border-color);
  color: var(--text-secondary); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); font-size: .9375rem;
}
.theme-toggle:hover { background: var(--border-color); color: var(--text-primary); }
.theme-toggle .icon-sun  { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }

/* Site Footer */
.site-footer {
  background: var(--clr-brand);
  color: rgba(255,255,255,.65);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-col h4 {
  color: #fff; margin-bottom: 1rem; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .07em;
}
.footer-col p { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .875rem; text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: #fff; opacity: 1; }
.footer-logo { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-logo img  { height: 36px; filter: brightness(0) invert(1); opacity: .85; }
.footer-logo span { font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 0 0 1.25rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8125rem;
}
.footer-social { display: flex; gap: .625rem; }
.footer-social a {
  width: 32px; height: 32px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .875rem; transition: background .2s;
}
.footer-social a:hover { background: rgba(255,255,255,.2); color: #fff; opacity: 1; }

/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: calc(100vh - var(--header-height));
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #032B43 0%, #064B7A 55%, #032B43 100%);
  padding: 5rem 0;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(14,165,233,.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(245,158,11,.1) 0%, transparent 40%);
}
.hero-content {
  position: relative; z-index: 1; max-width: 680px;
  animation: fadeInUp .6s ease;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3);
  color: #FCD34D; padding: .375rem 1rem; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem); color: #fff;
  line-height: 1.1; margin-bottom: 1.25rem;
}
.hero h1 em { color: #FCD34D; font-style: normal; }
.hero p {
  font-size: 1.125rem; color: rgba(255,255,255,.75);
  margin-bottom: 2.5rem; line-height: 1.75; max-width: 560px;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Floating stat cards in hero */
.hero-stats {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1rem; padding-right: 2rem;
  z-index: 1; animation: slideInRight .7s .2s ease both;
}
.hero-stat {
  background: rgba(255,255,255,.07); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; min-width: 160px;
}
.hero-stat .stat-num { font-size: 2rem; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat .stat-lbl { font-size: .75rem; color: rgba(255,255,255,.6); margin-top: .25rem; }

/* ══════════════════════════════════════════════════════════
   SECTIONS (Services, About, CTA)
══════════════════════════════════════════════════════════ */
.section      { padding: 5.5rem 0; }
.section-alt  { padding: 5.5rem 0; background: var(--bg-card); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(14,165,233,.08); border: 1px solid rgba(14,165,233,.2);
  color: var(--clr-accent); padding: .3rem 1rem; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: .875rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { font-size: 1.0625rem; max-width: 520px; margin: 0 auto; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: var(--transition-slow); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--card-accent, var(--clr-accent));
  transform: scaleX(0); transition: transform .3s ease; transform-origin: left;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; margin-bottom: 1.25rem;
  background: var(--icon-bg, rgba(14,165,233,.1));
  color: var(--icon-color, var(--clr-accent));
}
.service-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.service-card p  { font-size: .9rem; margin-bottom: 1.25rem; }
.service-link {
  font-size: .875rem; font-weight: 600; color: var(--icon-color, var(--clr-accent));
  display: inline-flex; align-items: center; gap: .375rem; text-decoration: none;
  transition: gap .2s;
}
.service-link:hover { gap: .625rem; opacity: 1; }

/* About section */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-content p { margin-bottom: 1rem; line-height: 1.8; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.stat-box {
  padding: 1.25rem; background: var(--bg-page); border-radius: var(--radius-md);
  border: 1px solid var(--border-color); text-align: center;
}
.stat-box .num { font-size: 2rem; font-weight: 800; color: var(--clr-accent); line-height: 1; }
.stat-box .lbl { font-size: .8125rem; color: var(--text-secondary); margin-top: .25rem; }

/* About image placeholder */
.about-visual {
  background: linear-gradient(135deg, var(--clr-brand) 0%, var(--clr-brand-light) 100%);
  border-radius: var(--radius-lg); min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  color: rgba(255,255,255,.7); font-size: 4rem; position: relative; overflow: hidden;
}
.about-visual::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(14,165,233,.2) 0%, transparent 60%);
}

/* CTA Section */
.cta-section {
  padding: 5.5rem 0;
  background: linear-gradient(135deg, var(--clr-brand) 0%, var(--clr-brand-light) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(14,165,233,.15) 0%, transparent 70%);
}
.cta-section > .container { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,.75); margin-bottom: 2rem; font-size: 1.0625rem; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .6875rem 1.375rem; border-radius: var(--radius-md);
  font-size: .9375rem; font-weight: 600; border: none;
  transition: var(--transition); cursor: pointer; text-decoration: none;
  white-space: nowrap; line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: .4375rem .875rem; font-size: .8125rem; border-radius: var(--radius-sm); }
.btn-lg { padding: .9375rem 2rem; font-size: 1.0625rem; }

.btn-primary {
  background: var(--clr-brand); color: #fff;
  box-shadow: 0 2px 4px rgba(3,43,67,.25);
}
.btn-primary:hover { background: var(--clr-brand-light); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(3,43,67,.35); }

.btn-accent  {
  background: var(--clr-accent); color: #fff;
  box-shadow: 0 2px 4px rgba(14,165,233,.3);
}
.btn-accent:hover { background: var(--clr-accent-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(14,165,233,.4); }

.btn-gold    { background: var(--clr-gold); color: #fff; box-shadow: 0 2px 4px rgba(245,158,11,.3); }
.btn-gold:hover { background: var(--clr-gold-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border-color);
}
.btn-outline:hover { background: var(--bg-hover); border-color: var(--text-muted); }

.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }

.btn-danger  { background: var(--clr-danger); color: #fff; }
.btn-danger:hover { filter: brightness(.9); transform: translateY(-1px); }

.btn-ghost   { background: transparent; color: var(--text-secondary); border: none; }
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-primary); }

.btn-icon {
  padding: .5rem; width: 36px; height: 36px; border-radius: var(--radius-sm); font-size: .9375rem;
}

/* ══════════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: .875rem; font-weight: 600;
  color: var(--text-primary); margin-bottom: .375rem;
}
.form-group label .req { color: var(--clr-danger); margin-left: 3px; }

.form-control {
  width: 100%; padding: .6875rem .875rem;
  background: var(--bg-input); border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md); font-size: .9375rem;
  color: var(--text-primary); outline: none; transition: var(--transition);
}
.form-control:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(14,165,233,.12); }
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { min-height: 110px; resize: vertical; line-height: 1.6; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .875rem center; padding-right: 2.5rem;
}
[data-theme="dark"] select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

.input-group { position: relative; }
.input-group .form-control { padding-left: 2.75rem; }
.input-icon {
  position: absolute; left: .875rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); pointer-events: none; font-size: .9rem;
}
.input-icon-right {
  position: absolute; right: .875rem; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); background: none; border: none;
  padding: 0; font-size: .9rem; cursor: pointer; transition: color .2s;
}
.input-icon-right:hover { color: var(--text-primary); }

.form-hint  { font-size: .8125rem; color: var(--text-muted); margin-top: .3rem; }

.alert {
  padding: .875rem 1rem; border-radius: var(--radius-md);
  font-size: .9rem; display: flex; align-items: flex-start; gap: .75rem;
  margin-bottom: 1.25rem;
}
.alert i { margin-top: 2px; flex-shrink: 0; }
.alert-danger  { background: rgba(239,68,68,.1);  color: #DC2626; border: 1px solid rgba(239,68,68,.2); }
.alert-success { background: rgba(16,185,129,.1); color: #059669; border: 1px solid rgba(16,185,129,.2); }
.alert-warning { background: rgba(245,158,11,.1); color: #B45309; border: 1px solid rgba(245,158,11,.2); }
.alert-info    { background: rgba(59,130,246,.1); color: #2563EB; border: 1px solid rgba(59,130,246,.2); }

.form-divider {
  display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0;
}
.form-divider::before, .form-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.form-divider span { font-size: .8125rem; color: var(--text-muted); white-space: nowrap; }

.checkbox-wrap { display: flex; align-items: flex-start; gap: .75rem; }
.checkbox-wrap input[type="checkbox"] {
  width: 18px; height: 18px; accent-color: var(--clr-accent);
  flex-shrink: 0; margin-top: 2px; cursor: pointer;
}
.checkbox-wrap label { font-size: .875rem; color: var(--text-secondary); cursor: pointer; font-weight: 400; }

/* Toggle switch */
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border-color); border-radius: var(--radius-full); transition: .3s;
}
.toggle-slider::before {
  content: ''; position: absolute; height: 18px; width: 18px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--clr-accent); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ══════════════════════════════════════════════════════════
   AUTH PAGES
══════════════════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh; display: flex; align-items: stretch;
}
.auth-brand {
  width: 44%; background: linear-gradient(145deg, var(--clr-brand) 0%, var(--clr-brand-light) 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 3rem 2.5rem; position: relative; overflow: hidden;
}
.auth-brand::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 70%, rgba(14,165,233,.2) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(245,158,11,.1) 0%, transparent 40%);
}
.auth-brand-inner { position: relative; z-index: 1; text-align: center; width: 100%; max-width: 340px; }
.auth-brand-inner img { height: 72px; margin: 0 auto 1.5rem; }
.auth-brand-inner h2 { color: #fff; font-size: 1.5rem; margin-bottom: .5rem; }
.auth-brand-inner p  { color: rgba(255,255,255,.65); font-size: .9375rem; }
.auth-features { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .875rem; }
.auth-feature {
  display: flex; align-items: center; gap: .875rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md); padding: .875rem 1rem;
}
.auth-feature i    { font-size: 1.125rem; color: #FCD34D; flex-shrink: 0; }
.auth-feature span { font-size: .875rem; color: rgba(255,255,255,.8); text-align: left; }

.auth-form-side {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; align-items: center; padding: 3rem 2rem;
  background: var(--bg-card);
}
.auth-box { width: 100%; max-width: 440px; }
.auth-box .auth-title { font-size: 1.75rem; margin-bottom: .375rem; }
.auth-box .auth-sub   { color: var(--text-secondary); margin-bottom: 2rem; }

/* ══════════════════════════════════════════════════════════
   DASHBOARD LAYOUT (Sidebar)
══════════════════════════════════════════════════════════ */
.dashboard-wrapper { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-width); background: var(--bg-sidebar);
  display: flex; flex-direction: column;
  position: fixed; left: 0; top: 0; bottom: 0;
  z-index: 200; transition: transform .3s ease;
  overflow-y: auto; overflow-x: hidden; flex-shrink: 0;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 4px; }

.sidebar-brand {
  padding: 1.125rem 1rem; display: flex; align-items: center; gap: .75rem;
  border-bottom: 1px solid rgba(255,255,255,.08); flex-shrink: 0;
}
.sidebar-brand img { height: 34px; flex-shrink: 0; }
.sidebar-brand-name { font-size: .925rem; font-weight: 800; color: #fff; }
.sidebar-brand-sub  { font-size: .6875rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .08em; }

.sidebar-nav { flex: 1; padding: .875rem 0; }
.nav-section-title {
  padding: .5rem 1rem .25rem;
  font-size: .6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.25);
}
.sidebar-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .5625rem 1rem; margin: .125rem .5rem; border-radius: var(--radius-sm);
  color: rgba(255,255,255,.6); font-size: .875rem; font-weight: 500;
  transition: var(--transition); text-decoration: none; cursor: pointer;
  white-space: nowrap; overflow: hidden; position: relative;
}
.sidebar-link:hover { background: rgba(255,255,255,.08); color: #fff; opacity: 1; }
.sidebar-link.active { background: rgba(14,165,233,.15); color: var(--clr-accent); }
.sidebar-link.active::before {
  content: ''; position: absolute; left: -.5rem; top: 20%; bottom: 20%;
  width: 3px; background: var(--clr-accent); border-radius: 0 3px 3px 0;
}
.sidebar-link i { width: 18px; text-align: center; flex-shrink: 0; font-size: .95rem; }
.sidebar-link .nav-text { flex: 1; }
.nav-count {
  background: rgba(14,165,233,.25); color: var(--clr-accent);
  font-size: .6875rem; font-weight: 700; padding: .125rem .5rem;
  border-radius: var(--radius-full); min-width: 20px; text-align: center;
}

.sidebar-footer {
  padding: .75rem; border-top: 1px solid rgba(255,255,255,.08); flex-shrink: 0;
}
.sidebar-user {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem; border-radius: var(--radius-md);
  background: rgba(255,255,255,.05); margin-bottom: .625rem;
}
.avatar {
  width: 36px; height: 36px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--clr-accent) 0%, #6366F1 100%);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .875rem; font-weight: 700; flex-shrink: 0; text-transform: uppercase;
}
.avatar-lg { width: 64px; height: 64px; font-size: 1.5rem; }
.sidebar-user-name { font-size: .8125rem; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-role { font-size: .6875rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .05em; }
.sidebar-signout {
  display: flex; align-items: center; gap: .625rem;
  padding: .5rem .75rem; width: 100%; background: none; border: none;
  color: rgba(255,255,255,.45); font-size: .8125rem; font-weight: 500;
  border-radius: var(--radius-sm); transition: var(--transition); cursor: pointer;
  text-decoration: none;
}
.sidebar-signout:hover { background: rgba(239,68,68,.15); color: #FCA5A5; opacity: 1; }

/* Main content */
.dashboard-main {
  margin-left: var(--sidebar-width); flex: 1; min-width: 0;
  display: flex; flex-direction: column; min-height: 100vh;
}
.topbar {
  background: var(--bg-card); border-bottom: 1px solid var(--border-color);
  padding: 0 1.5rem; height: 56px; display: flex; align-items: center;
  justify-content: space-between; position: sticky; top: 0; z-index: 99;
  box-shadow: var(--shadow-sm);
}
.topbar-left  { display: flex; align-items: center; gap: 1rem; }
.topbar-right { display: flex; align-items: center; gap: .75rem; }
.topbar-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.menu-btn {
  display: none; background: none; border: none;
  color: var(--text-secondary); font-size: 1.25rem; padding: .25rem; cursor: pointer;
}

.dashboard-page { padding: 1.75rem 1.5rem; flex: 1; }

/* Page header inside dashboard */
.page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap;
}
.page-header h1 { font-size: 1.5rem; margin-bottom: .2rem; }
.page-header p   { font-size: .875rem; color: var(--text-secondary); }
.page-actions    { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }

/* Sidebar overlay (mobile) */
.sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.5); z-index: 199;
}
.sidebar-overlay.active { display: block; }

/* ══════════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden;
}
.card-header {
  padding: 1.125rem 1.5rem; border-bottom: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.card-header h3, .card-header h2 { font-size: 1rem; font-weight: 700; margin: 0; }
.card-body   { padding: 1.5rem; }
.card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border-color); background: var(--bg-page); }

/* Stat cards */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: 1.25rem;
  display: flex; align-items: flex-start; gap: 1rem;
  transition: var(--transition); cursor: default;
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.stat-card-icon {
  width: 44px; height: 44px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.125rem; flex-shrink: 0;
}
.stat-card-lbl { font-size: .7rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.stat-card-val { font-size: 1.75rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.stat-card-sub { font-size: .75rem; color: var(--text-muted); margin-top: .2rem; }

.si-blue   .stat-card-icon { background: rgba(59,130,246,.1);  color: #3B82F6; }
.si-green  .stat-card-icon { background: rgba(16,185,129,.1);  color: #10B981; }
.si-amber  .stat-card-icon { background: rgba(245,158,11,.1);  color: #F59E0B; }
.si-red    .stat-card-icon { background: rgba(239,68,68,.1);   color: #EF4444; }
.si-purple .stat-card-icon { background: rgba(139,92,246,.1);  color: #8B5CF6; }
.si-cyan   .stat-card-icon { background: rgba(6,182,212,.1);   color: #06B6D4; }
.si-pink   .stat-card-icon { background: rgba(236,72,153,.1);  color: #EC4899; }
.si-brand  .stat-card-icon { background: rgba(3,43,67,.08);    color: var(--clr-brand); }

/* ── STATUS BADGE ── */
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .25rem .625rem; border-radius: var(--radius-full);
  font-size: .75rem; font-weight: 700;
}
.badge-blue   { background: rgba(59,130,246,.12);   color: #2563EB; }
.badge-green  { background: rgba(16,185,129,.12);   color: #059669; }
.badge-amber  { background: rgba(245,158,11,.12);   color: #92400E; }
.badge-red    { background: rgba(239,68,68,.12);    color: #DC2626; }
.badge-purple { background: rgba(139,92,246,.12);   color: #7C3AED; }
.badge-indigo { background: rgba(99,102,241,.12);   color: #4338CA; }
.badge-cyan   { background: rgba(6,182,212,.12);    color: #0891B2; }
.badge-gray   { background: rgba(100,116,139,.12);  color: #475569; }
.badge-orange { background: rgba(249,115,22,.12);   color: #C2410C; }
.badge-pink   { background: rgba(236,72,153,.12);   color: #BE185D; }

/* ── TABLE ── */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-md); }
.table {
  width: 100%; border-collapse: collapse; font-size: .875rem;
}
.table th {
  padding: .6875rem 1rem; text-align: left;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-muted); background: var(--bg-page); border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}
.table td { padding: .875rem 1rem; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--bg-hover); }
.table tbody tr:last-child td { border-bottom: none; }

/* BT status rows */
.status-nouveaux           td:first-child { border-left: 3px solid #3B82F6; }
.status-pris-en-charge     td:first-child { border-left: 3px solid #8B5CF6; }
.status-bt-rendez-vous-en-cours td:first-child { border-left: 3px solid #F59E0B; }
.status-bt-proposition-acceptee td:first-child { border-left: 3px solid #10B981; }
.status-bt-rendez-vous-en-attente td:first-child { border-left: 3px solid #F97316; }
.status-bt-relance         td:first-child { border-left: 3px solid #EC4899; }
.status-bt-proposition-transmise td:first-child { border-left: 3px solid #06B6D4; }
.status-bt-terminer        td:first-child { border-left: 3px solid #94A3B8; }
.status-default            td:first-child { border-left: 3px solid var(--border-color); }
.delais-urgent td { font-weight: 600; }
.delais-urgent { background: rgba(239,68,68,.03) !important; }

.termines-toggle-row { cursor: pointer; }
.termines-toggle-row td { background: var(--bg-page); font-size: .8125rem; font-weight: 600; color: var(--text-muted); text-align: center; }
.termines-toggle-row:hover td { background: var(--bg-hover); }

/* ── SEARCH & FILTER ── */
.search-bar { position: relative; }
.search-bar input {
  width: 100%; padding: .5625rem .875rem .5625rem 2.25rem;
  background: var(--bg-page); border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full); font-size: .875rem;
  color: var(--text-primary); outline: none; transition: var(--transition);
}
.search-bar input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(14,165,233,.1); }
.search-bar i { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: .8rem; }

.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-pill {
  padding: .3125rem .875rem; border-radius: var(--radius-full); font-size: .8rem; font-weight: 600;
  border: 1.5px solid var(--border-color); background: var(--bg-card);
  color: var(--text-secondary); cursor: pointer; transition: var(--transition);
}
.filter-pill:hover  { border-color: var(--clr-accent); color: var(--clr-accent); }
.filter-pill.active { background: var(--clr-accent); color: #fff; border-color: var(--clr-accent); }

/* ── DEVIS TYPE CARDS ── */
.devis-type-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.25rem; }
.devis-type-card {
  border: 2px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; cursor: pointer; transition: var(--transition-slow);
  background: var(--bg-card); text-align: center; text-decoration: none; display: block;
}
.devis-type-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--clr-accent); opacity: 1; }
.devis-type-icon {
  width: 60px; height: 60px; border-radius: var(--radius-lg);
  margin: 0 auto .875rem; display: flex; align-items: center; justify-content: center;
  font-size: 1.625rem;
}
.devis-type-card h3 { font-size: 1rem; margin-bottom: .375rem; }
.devis-type-card p  { font-size: .8125rem; color: var(--text-secondary); margin: 0; }

/* ── DEVIS LIST CARD ── */
.devis-item {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1.25rem;
  transition: var(--transition); margin-bottom: .75rem;
}
.devis-item:hover { box-shadow: var(--shadow-md); }
.devis-item-icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.devis-item-body { flex: 1; min-width: 0; }
.devis-item-title { font-size: .9375rem; font-weight: 600; color: var(--text-primary); margin-bottom: .2rem; }
.devis-item-meta  { font-size: .8125rem; color: var(--text-muted); }
.devis-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: .375rem; flex-shrink: 0; }

/* ── IMPORT LOG (existing) ── */
.import-log-bar {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); margin-bottom: 1rem; overflow: hidden;
}
.import-log-toggle {
  width: 100%; padding: .75rem 1rem; background: none; border: none;
  text-align: left; font-size: .875rem; font-weight: 600; color: var(--text-primary);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
}
.import-log-list  { padding: 0 1rem .75rem; display: none; }
.import-log-bar.open .import-log-list { display: block; }
.import-log-list li {
  padding: .3rem .625rem; border-radius: 4px;
  font-size: .8125rem; margin-bottom: .25rem;
}
.import-log-insert { background: rgba(16,185,129,.08); color: #059669; }
.import-log-update { background: rgba(59,130,246,.08); color: #2563EB; }
.import-log-skip   { background: rgba(245,158,11,.08); color: #92400E; }
.import-log-error  { background: rgba(239,68,68,.08);  color: #DC2626; }
.import-log-info   { background: rgba(100,116,139,.08);color: #475569; }

/* XML Sync button */
.btn-import-xml {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; background: rgba(14,165,233,.08);
  color: var(--clr-accent); border: 1.5px solid rgba(14,165,233,.25);
  border-radius: var(--radius-sm); font-size: .8125rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); width: 100%; justify-content: center;
}
.btn-import-xml:hover { background: var(--clr-accent); color: #fff; }
.form-import-xml { margin: 0; }

/* Status filter group */
.status-groups { display: flex; flex-direction: column; gap: 1rem; }
.status-group-title {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted); margin-bottom: .5rem;
}
.status-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .5rem; }
.status-tile {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-md); padding: .75rem; cursor: pointer;
  transition: var(--transition); text-align: center;
}
.status-tile:hover { border-color: var(--clr-accent); transform: translateY(-1px); }
.status-tile.active { border-color: var(--clr-accent); background: rgba(14,165,233,.05); }
.status-tile p { font-size: .75rem; font-weight: 600; color: var(--text-secondary); margin-bottom: .25rem; }
.status-tile span { font-size: 1.125rem; font-weight: 800; color: var(--text-primary); }

.urgent .status-tile   { border-color: rgba(239,68,68,.4); }
.nouveaux .status-tile { border-color: rgba(59,130,246,.4); }

/* Weather widget */
.weather-widget {
  background: linear-gradient(135deg, var(--clr-brand) 0%, var(--clr-brand-light) 100%);
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  color: #fff;
}
.weather-widget .w-city { font-size: .8125rem; color: rgba(255,255,255,.65); margin-bottom: .25rem; }
.weather-widget .w-date { font-size: .75rem; color: rgba(255,255,255,.5); }
.weather-widget .w-temp { font-size: 2.25rem; font-weight: 800; line-height: 1; margin: .375rem 0; }
.weather-widget .w-desc { font-size: .875rem; color: rgba(255,255,255,.7); }
.weather-widget .w-details { display: flex; gap: 1.25rem; margin-top: .75rem; }
.weather-widget .w-detail  { font-size: .75rem; color: rgba(255,255,255,.6); display: flex; align-items: center; gap: .3rem; }
.weather-nav { display: flex; gap: .5rem; margin-bottom: 1rem; }
.weather-nav button {
  padding: .25rem .625rem; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-sm);
  color: rgba(255,255,255,.8); font-size: .75rem; cursor: pointer; transition: var(--transition);
}
.weather-nav button:hover { background: rgba(255,255,255,.2); }

/* Profile */
.profile-header {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); margin-bottom: 1.5rem;
}
.profile-header h2 { margin-bottom: .25rem; }
.profile-header p  { font-size: .875rem; color: var(--text-secondary); }

/* Empty state */
.empty-state { text-align: center; padding: 3rem 1.5rem; }
.empty-state i    { font-size: 2.5rem; color: var(--border-color); margin-bottom: 1rem; }
.empty-state h3   { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: .5rem; }
.empty-state p    { font-size: .875rem; color: var(--text-muted); }

/* Section divider */
.divider-label {
  display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0;
}
.divider-label::before, .divider-label::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }
.divider-label span { font-size: .75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }

/* ══════════════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════════════ */
@keyframes fadeIn    { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp  { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown{ from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse     { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes spin      { to { transform: rotate(360deg); } }
@keyframes shimmer   { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

.anim-fade-in    { animation: fadeIn .4s ease; }
.anim-fade-up    { animation: fadeInUp .5s ease; }
.anim-slide-right { animation: slideInRight .4s ease; }

.stagger > * { animation: fadeInUp .45s ease both; }
.stagger > *:nth-child(1)  { animation-delay: .05s; }
.stagger > *:nth-child(2)  { animation-delay: .10s; }
.stagger > *:nth-child(3)  { animation-delay: .15s; }
.stagger > *:nth-child(4)  { animation-delay: .20s; }
.stagger > *:nth-child(5)  { animation-delay: .25s; }
.stagger > *:nth-child(6)  { animation-delay: .30s; }
.stagger > *:nth-child(7)  { animation-delay: .35s; }
.stagger > *:nth-child(8)  { animation-delay: .40s; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Loading skeleton */
.skeleton { background: linear-gradient(90deg, var(--bg-hover) 25%, var(--border-color) 50%, var(--bg-hover) 75%); background-size: 400px 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius-sm); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --sidebar-width: 220px; }
  .about-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-stats  { display: none; }
}

@media (max-width: 768px) {
  .site-header .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions .btn:not(.btn-icon):not(.theme-toggle) { display: none; }

  .auth-brand    { display: none; }
  .auth-form-side { padding: 2rem 1.5rem; }

  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
  .menu-btn { display: flex; }

  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-page { padding: 1.25rem 1rem; }
  .card-body { padding: 1.125rem; }

  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  .hero { padding: 4rem 0; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .section, .section-alt, .cta-section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .devis-type-grid { grid-template-columns: 1fr 1fr; }
  .status-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .devis-type-grid { grid-template-columns: 1fr; }
  .container, .container-sm, .container-md { padding: 0 1rem; }
  .status-grid   { grid-template-columns: repeat(2, 1fr); }
}
