/* ═══════════════════════════════════════════════════════════════
   ApproveFlow — Main Stylesheet
   Stack: Bootstrap 5 + Custom Design System
   Fonts: Syne (display) + DM Sans (body)
═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #f4f6f9;
  --surface:     #ffffff;
  --surface-2:   #f8fafc;
  --border:      #e2e8f0;
  --border-2:    #f1f5f9;
  --text:        #0f172a;
  --text-2:      #475569;
  --text-3:      #94a3b8;
  --text-inv:    #ffffff;

  --accent:      #4f46e5;
  --accent-2:    #6366f1;
  --accent-light:#eff0fe;
  --accent-dark: #3730a3;

  --green:       #10b981;
  --green-light: #d1fae5;
  --amber:       #f59e0b;
  --amber-light: #fef3c7;
  --red:         #ef4444;
  --red-light:   #fee2e2;
  --blue:        #3b82f6;
  --blue-light:  #dbeafe;
  --purple:      #8b5cf6;
  --cyan:        #06b6d4;

  --sidebar-w:   260px;
  --topbar-h:    64px;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   16px;
  --shadow:      0 1px 3px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.04);
  --shadow-md:   0 4px 12px rgba(0,0,0,.08), 0 12px 32px rgba(0,0,0,.06);
  --shadow-lg:   0 8px 24px rgba(0,0,0,.1),  0 24px 48px rgba(0,0,0,.08);

  --transition:  all .18s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

/* ═══════════════════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════════════════ */

/* ── Sidebar ────────────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--text);
  display: flex;
  flex-direction: column;
  z-index: 200;
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}

/* Brand */
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.brand-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(79,70,229,.4);
}
.brand-name { font-family:'Syne',sans-serif; font-weight:800; font-size:16px; color:#fff; display:block; line-height:1.1; }
.brand-tagline { font-size:11px; color:rgba(255,255,255,.4); display:block; }

/* Nav */
.sidebar-nav { flex:1; overflow-y:auto; padding: 16px 0; }
.sidebar-nav::-webkit-scrollbar { width:4px; }
.sidebar-nav::-webkit-scrollbar-thumb { background:rgba(255,255,255,.1); border-radius:4px; }

.nav-group { margin-bottom: 24px; padding: 0 12px; }
.nav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  padding: 0 8px;
  margin-bottom: 4px;
  display: block;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.6);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 1px;
  position: relative;
}
.nav-item i { font-size: 16px; flex-shrink: 0; }
.nav-item:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
.nav-item.active { background: rgba(79,70,229,.25); color: #fff; }
.nav-item.active::before {
  content:'';
  position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:3px; height:20px;
  background:var(--accent-2);
  border-radius:0 2px 2px 0;
}

.badge-pill {
  margin-left: auto;
  background: var(--amber);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1.4;
}
.badge-pill.urgent { background: var(--red); }

/* Footer */
.sidebar-footer {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.user-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.7);
  transition: var(--transition);
  min-width: 0;
}
.user-card:hover { background: rgba(255,255,255,.07); color: #fff; }
.user-avatar {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 13px;
  flex-shrink: 0;
}
.user-name { font-size:13px; font-weight:600; color:#fff; display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.user-role { font-size:11px; color:rgba(255,255,255,.4); display:block; }
.user-arrow { font-size:12px; color:rgba(255,255,255,.3); margin-left:auto; }

.logout-btn {
  width:36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.4);
  border-radius:var(--radius-sm);
  transition:var(--transition);
  flex-shrink:0;
}
.logout-btn:hover { background:rgba(239,68,68,.2); color:var(--red); }

/* ── Main Wrapper ───────────────────────────────────────────── */
.main-wrapper {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Topbar ─────────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.sidebar-toggle {
  display: none;
  background: none; border: none;
  font-size: 20px;
  color: var(--text-2);
  cursor: pointer;
  padding: 4px;
}
.topbar-breadcrumb {
  flex: 1;
  font-size: 14px;
  color: var(--text-2);
}
.topbar-breadcrumb a { color: var(--text-3); }
.topbar-breadcrumb a:hover { color: var(--accent); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-sep { width:1px; height:28px; background:var(--border); }
.topbar-user { display:flex; align-items:center; gap:8px; color:var(--text-2); font-size:14px; }
.topbar-avatar {
  width:30px; height:30px;
  background:var(--accent-light);
  color:var(--accent);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:12px;
}

/* ── Page Content ───────────────────────────────────────────── */
.page-content { flex:1; padding: 32px 28px; max-width: 1400px; width: 100%; }
.page-footer {
  padding: 16px 28px;
  font-size: 12px;
  color: var(--text-3);
  border-top: 1px solid var(--border-2);
}

/* ── Page Header ────────────────────────────────────────────── */
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.page-title { font-size: 26px; font-weight: 800; margin: 0; }
.page-subtitle { color: var(--text-2); font-size: 14px; margin-top: 4px; }

/* ── Flash Messages ─────────────────────────────────────────── */
.flash-container { padding: 12px 28px 0; }
.flash-msg {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 8px;
  animation: slideDown .2s ease;
}
@keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
.flash-success { background:var(--green-light); color:#065f46; border:1px solid #a7f3d0; }
.flash-danger  { background:var(--red-light);   color:#7f1d1d; border:1px solid #fecaca; }
.flash-warning { background:var(--amber-light); color:#78350f; border:1px solid #fde68a; }
.flash-info    { background:var(--blue-light);  color:#1e3a5f; border:1px solid #bfdbfe; }
.flash-close { margin-left:auto; background:none; border:none; cursor:pointer; opacity:.6; font-size:14px; padding:2px 4px; }
.flash-close:hover { opacity:1; }

/* ═══════════════════════════════════════════════════════════════
   COMPONENTS
═══════════════════════════════════════════════════════════════ */

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(79,70,229,.25);
}
.btn-primary-action:hover { background:var(--accent-dark); color:#fff; transform:translateY(-1px); box-shadow:0 4px 14px rgba(79,70,229,.35); }

.btn-cancel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--surface);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-cancel:hover { background:var(--bg); color:var(--text); }

.btn-new-req {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.btn-new-req:hover { background:var(--accent); color:#fff; }

/* ── Status Badges ──────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.status-pending      { background:var(--amber-light); color:#92400e; }
.status-approved     { background:var(--green-light);  color:#065f46; }
.status-rejected     { background:var(--red-light);    color:#7f1d1d; }
.status-under_review { background:var(--blue-light);   color:#1e40af; }
.status-lg { padding: 6px 14px; font-size: 13px; }

/* ── Priority ───────────────────────────────────────────────── */
.priority-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.priority-low    .priority-dot, .priority-dot.priority-low    { background:#94a3b8; }
.priority-medium .priority-dot, .priority-dot.priority-medium { background:var(--amber); }
.priority-high   .priority-dot, .priority-dot.priority-high   { background:#f97316; }
.priority-urgent .priority-dot, .priority-dot.priority-urgent { background:var(--red); }

.priority-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.priority-badge.priority-low    { background:#f1f5f9; color:#64748b; }
.priority-badge.priority-medium { background:var(--amber-light); color:#78350f; }
.priority-badge.priority-high   { background:#fff7ed; color:#c2410c; }
.priority-badge.priority-urgent { background:var(--red-light); color:#7f1d1d; }

/* ── Role Badges ────────────────────────────────────────────── */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.role-admin   { background:#fdf4ff; color:#7e22ce; border:1px solid #e9d5ff; }
.role-manager { background:var(--accent-light); color:var(--accent-dark); border:1px solid #c7d2fe; }
.role-staff   { background:var(--surface-2); color:var(--text-2); border:1px solid var(--border); }

/* ── Status Dot ─────────────────────────────────────────────── */
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}
.status-dot::before { content:''; width:7px; height:7px; border-radius:50%; display:inline-block; }
.status-dot.active::before   { background:var(--green); }
.status-dot.inactive::before { background:var(--text-3); }
.status-dot.active   { color:#065f46; }
.status-dot.inactive { color:var(--text-3); }

/* ── Cards ──────────────────────────────────────────────────── */
.dash-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.card-title i { color: var(--text-3); }
.card-action { font-size: 12px; color: var(--accent); font-weight: 600; display:flex; align-items:center; gap:4px; }
.card-action:hover { color:var(--accent-dark); }

/* ── Dashboard Stats ────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content:'';
  position:absolute; bottom:0; left:0; right:0;
  height:3px;
}
.stat-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }
.stat-total::after  { background:var(--accent); }
.stat-pending::after{ background:var(--amber); }
.stat-approved::after{ background:var(--green); }
.stat-rejected::after{ background:var(--red); }

.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.stat-total .stat-icon   { background:var(--accent-light); color:var(--accent); }
.stat-pending .stat-icon { background:var(--amber-light);  color:var(--amber);  }
.stat-approved .stat-icon{ background:var(--green-light);  color:var(--green);  }
.stat-rejected .stat-icon{ background:var(--red-light);    color:var(--red);    }

.stat-body { flex:1; }
.stat-value { font-family:'Syne',sans-serif; font-size:28px; font-weight:800; display:block; line-height:1; }
.stat-label { font-size:12px; color:var(--text-2); font-weight:500; margin-top:2px; display:block; }
.stat-trend { color:var(--green); font-size:16px; }
.stat-badge { background:var(--amber); color:#fff; font-size:10px; font-weight:700; padding:2px 8px; border-radius:20px; white-space:nowrap; }
.stat-rate { font-size:11px; color:var(--green); font-weight:600; }

/* ── Dashboard Grid ─────────────────────────────────────────── */
.dash-grid { display:grid; grid-template-columns:1fr 360px; gap:20px; align-items:start; }
.dash-main {}
.dash-side { display:flex; flex-direction:column; gap:16px; }
.chart-wrap { height:180px; }
.donut-wrap { height:140px; }
.donut-legend { display:flex; flex-direction:column; gap:6px; margin-top:12px; }
.legend-item { display:flex; align-items:center; gap:8px; font-size:13px; color:var(--text-2); }
.legend-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.legend-item strong { margin-left:auto; color:var(--text); font-weight:700; }

/* Dept bars */
.dept-list { display:flex; flex-direction:column; gap:10px; }
.dept-row { display:flex; align-items:center; gap:10px; }
.dept-name { font-size:12px; color:var(--text-2); width:100px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; flex-shrink:0; }
.dept-bar-wrap { flex:1; }
.dept-bar { height:5px; background:var(--border-2); border-radius:3px; overflow:hidden; }
.dept-bar-fill { height:100%; background:var(--accent); border-radius:3px; transition:width .5s ease; }
.dept-count { font-size:12px; font-weight:700; color:var(--text); width:24px; text-align:right; flex-shrink:0; }

/* ── Data Table ─────────────────────────────────────────────── */
.table-wrap { overflow-x:auto; }
.admin-table-card {
  background:var(--surface);
  border-radius:var(--radius);
  border:1px solid var(--border);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.data-table { width:100%; border-collapse:collapse; }
.data-table thead tr {
  background:var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.data-table th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-3);
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: 13px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-2);
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.table-row-hover { cursor:pointer; transition:background .12s; }
.table-row-hover:hover td { background:var(--bg); }

.req-title-cell {}
.req-title { display:block; font-weight:600; font-size:13px; }
.req-sub { display:block; font-size:12px; color:var(--text-3); }
.dept-tag { font-size:12px; background:var(--bg); color:var(--text-2); padding:3px 8px; border-radius:6px; }
.row-action-btn {
  width:28px; height:28px;
  border-radius:6px;
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--text-3);
  background:var(--bg);
  font-size:12px;
  transition:var(--transition);
}
.row-action-btn:hover { background:var(--accent-light); color:var(--accent); }
.empty-state-cell { padding:32px !important; }
.empty-state-sm { display:flex; align-items:center; gap:8px; color:var(--text-3); font-size:14px; justify-content:center; }
.empty-state-sm i { font-size:20px; }

/* ── Filter Bar ─────────────────────────────────────────────── */
.filter-bar { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:16px; margin-bottom:16px; box-shadow:var(--shadow); }
.filter-form { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.search-wrap { position:relative; flex:1; min-width:200px; }
.search-wrap > i { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--text-3); font-size:14px; pointer-events:none; }
.search-input {
  width:100%; padding:9px 12px 9px 36px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif;
  font-size:14px;
  background:var(--bg);
  color:var(--text);
  outline:none;
  transition:var(--transition);
}
.search-input:focus { border-color:var(--accent); background:#fff; box-shadow:0 0 0 3px var(--accent-light); }
.clear-search { position:absolute; right:8px; top:50%; transform:translateY(-50%); background:none; border:none; color:var(--text-3); cursor:pointer; font-size:14px; padding:4px; }
.filter-selects { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.filter-select {
  padding:9px 12px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif;
  font-size:13px;
  color:var(--text);
  background:var(--bg);
  cursor:pointer;
  outline:none;
  transition:var(--transition);
}
.filter-select:focus { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-light); }
.filter-clear { font-size:13px; color:var(--red); font-weight:500; display:flex; align-items:center; gap:4px; }
.filter-clear:hover { color:#b91c1c; }
.filter-btn { padding:9px 18px; background:var(--accent); color:#fff; border:none; border-radius:var(--radius-sm); font-family:'DM Sans',sans-serif; font-size:13px; font-weight:600; cursor:pointer; display:flex; align-items:center; gap:6px; transition:var(--transition); }
.filter-btn:hover { background:var(--accent-dark); }

/* Status tabs */
.status-tabs { display:flex; gap:4px; margin-bottom:20px; border-bottom:1px solid var(--border); padding-bottom:0; }
.tab-item { padding:8px 16px; font-size:13px; font-weight:500; color:var(--text-2); border-bottom:2px solid transparent; margin-bottom:-1px; transition:var(--transition); display:flex; align-items:center; gap:6px; }
.tab-item:hover { color:var(--accent); }
.tab-active { color:var(--accent); border-bottom-color:var(--accent); font-weight:700; }
.tab-badge { background:var(--red); color:#fff; font-size:10px; font-weight:700; padding:1px 6px; border-radius:20px; }

/* ── Request Cards Grid ──────────────────────────────────────── */
.requests-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; margin-bottom:24px; }
.req-card {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:20px;
  display:flex;
  flex-direction:column;
  gap:10px;
  box-shadow:var(--shadow);
  transition:var(--transition);
  color:var(--text);
  text-decoration:none;
}
.req-card:hover { transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--accent-light); color:var(--text); }
.req-card-top { display:flex; align-items:center; gap:8px; }
.req-type-dot { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.req-type-name { font-size:11px; font-weight:600; color:var(--text-3); text-transform:uppercase; letter-spacing:.05em; flex:1; }
.req-card-id { font-size:11px; color:var(--text-3); }
.req-card-title { font-size:15px; font-weight:700; line-height:1.3; margin:0; -webkit-line-clamp:2; display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; }
.req-card-desc { font-size:13px; color:var(--text-2); line-height:1.5; margin:0; -webkit-line-clamp:2; display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; }
.req-card-meta { display:flex; gap:12px; flex-wrap:wrap; }
.req-meta-dept, .req-meta-user { font-size:12px; color:var(--text-3); display:flex; align-items:center; gap:4px; }
.req-card-footer { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:auto; padding-top:10px; border-top:1px solid var(--border-2); }
.req-date { font-size:11px; color:var(--text-3); margin-left:auto; }

/* Pagination */
.pagination-bar { display:flex; align-items:center; justify-content:space-between; padding:16px 0; }
.page-info { font-size:13px; color:var(--text-2); }
.page-btns { display:flex; gap:4px; }
.page-btn {
  padding:6px 12px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  font-size:13px;
  color:var(--text-2);
  background:var(--surface);
  cursor:pointer;
  transition:var(--transition);
  display:inline-flex; align-items:center; gap:4px;
}
.page-btn:hover { border-color:var(--accent); color:var(--accent); }
.page-current { background:var(--accent); color:#fff; border-color:var(--accent); }
.page-current:hover { color:#fff; }
.page-ellipsis { cursor:default; }

/* Empty State */
.empty-state { text-align:center; padding:64px 20px; }
.empty-icon { font-size:48px; color:var(--border); margin-bottom:16px; }
.empty-state h3 { font-size:20px; color:var(--text-2); margin-bottom:8px; }
.empty-state p { color:var(--text-3); margin-bottom:20px; }

/* ── Detail Layout ──────────────────────────────────────────── */
.detail-layout { display:grid; grid-template-columns:1fr 320px; gap:24px; align-items:start; }
.detail-main { display:flex; flex-direction:column; gap:20px; }

.detail-header-card {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
}
.detail-top-row { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; flex-wrap:wrap; gap:8px; }
.detail-type-badge {
  display:inline-flex; align-items:center; gap:6px;
  padding:5px 12px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
  border:1px solid;
}
.detail-type-badge .dot { width:6px; height:6px; border-radius:50%; }
.detail-title { font-size:22px; font-weight:800; margin-bottom:16px; }
.detail-meta-row { display:flex; align-items:center; gap:16px; flex-wrap:wrap; margin-bottom:20px; }
.meta-item { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--text-2); }
.meta-item i { color:var(--text-3); }
.detail-description h4 { font-size:13px; font-weight:700; color:var(--text-3); text-transform:uppercase; letter-spacing:.06em; margin-bottom:8px; }
.detail-description p { font-size:15px; line-height:1.7; color:var(--text-2); }

/* Decision card */
.decision-card {
  border-radius:var(--radius);
  padding:20px;
  border:1px solid;
}
.decision-approved { background:var(--green-light); border-color:#a7f3d0; }
.decision-rejected { background:var(--red-light);   border-color:#fecaca; }
.decision-header { display:flex; align-items:flex-start; gap:12px; margin-bottom:12px; }
.decision-icon { font-size:20px; }
.decision-approved .decision-icon { color:var(--green); }
.decision-rejected .decision-icon { color:var(--red);   }
.decision-header h4 { font-size:15px; font-weight:700; margin:0; }
.decision-header p { font-size:13px; color:var(--text-2); margin:2px 0 0; }
.decision-comment label { font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:var(--text-3); display:block; margin-bottom:4px; }
.decision-comment p { font-size:14px; color:var(--text); background:rgba(255,255,255,.6); padding:10px 14px; border-radius:var(--radius-sm); }

/* Review form */
.review-form-card {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
}
.review-form-card h3 { font-size:16px; font-weight:700; margin-bottom:4px; display:flex; align-items:center; gap:8px; }
.review-form-hint { font-size:13px; color:var(--text-2); margin-bottom:16px; }
.review-actions { display:flex; gap:12px; margin-top:16px; }
.btn-approve {
  flex:1;
  padding:12px;
  background:var(--green);
  color:#fff;
  border:none;
  border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:8px;
  transition:var(--transition);
}
.btn-approve:hover { background:#059669; transform:translateY(-1px); }
.btn-reject {
  flex:1;
  padding:12px;
  background:var(--surface);
  color:var(--red);
  border:1px solid var(--red);
  border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:8px;
  transition:var(--transition);
}
.btn-reject:hover { background:var(--red); color:#fff; transform:translateY(-1px); }

/* Comments */
.comments-section { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:24px; box-shadow:var(--shadow); }
.comments-title { font-size:16px; font-weight:700; margin-bottom:20px; display:flex; align-items:center; gap:10px; }
.comments-count { background:var(--bg); color:var(--text-2); font-size:12px; padding:2px 8px; border-radius:20px; }

.comment-item { display:flex; gap:12px; margin-bottom:16px; padding-bottom:16px; border-bottom:1px solid var(--border-2); }
.comment-item:last-of-type { border-bottom:none; }
.comment-management { background:var(--accent-light); padding:12px; border-radius:var(--radius-sm); margin:0 0 16px; }
.comment-avatar { width:34px; height:34px; border-radius:9px; background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0; }
.comment-management .comment-avatar { background:var(--accent-dark); }
.comment-header { display:flex; align-items:center; gap:8px; margin-bottom:4px; flex-wrap:wrap; }
.comment-author { font-weight:700; font-size:13px; }
.comment-role-tag { background:var(--accent); color:#fff; font-size:10px; font-weight:700; padding:1px 7px; border-radius:20px; }
.comment-date { font-size:11px; color:var(--text-3); margin-left:auto; }
.comment-text { font-size:14px; color:var(--text-2); line-height:1.6; margin:0; }
.comments-empty { text-align:center; padding:24px; color:var(--text-3); font-size:14px; display:flex; align-items:center; justify-content:center; gap:8px; }

.comment-form { margin-top:16px; padding-top:16px; border-top:1px solid var(--border-2); }
.comment-input-row { display:flex; gap:12px; }
.comment-input-avatar { width:34px; height:34px; border-radius:9px; background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0; }
.comment-input-wrap { flex:1; display:flex; flex-direction:column; gap:8px; }
.comment-submit-btn {
  align-self:flex-end;
  padding:8px 16px;
  background:var(--accent);
  color:#fff;
  border:none;
  border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  display:flex; align-items:center; gap:6px;
  transition:var(--transition);
}
.comment-submit-btn:hover { background:var(--accent-dark); }

/* Detail sidebar */
.detail-sidebar { display:flex; flex-direction:column; gap:16px; position:sticky; top:80px; }
.sidebar-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:20px; box-shadow:var(--shadow); }
.sidebar-card-title { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--text-3); margin-bottom:14px; }
.info-list { display:flex; flex-direction:column; gap:0; }
.info-row { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 0; border-bottom:1px solid var(--border-2); font-size:13px; }
.info-row:last-child { border-bottom:none; }
.info-label { color:var(--text-3); font-weight:500; flex-shrink:0; }
.info-value { color:var(--text); font-weight:500; text-align:right; }

.requester-card { display:flex; gap:12px; align-items:flex-start; }
.requester-avatar { width:40px; height:40px; border-radius:10px; background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px; flex-shrink:0; }
.requester-name { font-weight:700; font-size:14px; }
.requester-dept { font-size:12px; color:var(--text-2); margin:2px 0; }
.requester-email { font-size:12px; color:var(--accent); display:flex; align-items:center; gap:4px; }

/* Timeline */
.timeline { display:flex; flex-direction:column; gap:0; }
.timeline-item { display:flex; gap:10px; padding-bottom:14px; position:relative; }
.timeline-item:not(:last-child)::after { content:''; position:absolute; left:7px; top:18px; bottom:0; width:1px; background:var(--border); }
.timeline-dot { width:15px; height:15px; border-radius:50%; flex-shrink:0; margin-top:2px; border:2px solid var(--surface); box-shadow:0 0 0 1px var(--border); }
.timeline-submitted { background:var(--blue); }
.timeline-approved  { background:var(--green); }
.timeline-rejected  { background:var(--red); }
.timeline-commented { background:var(--purple); }
.timeline-content { flex:1; min-width:0; }
.timeline-action { font-size:13px; margin-bottom:2px; }
.timeline-action strong { font-weight:700; }
.tl-action-label { color:var(--text-2); font-size:12px; margin-left:4px; text-transform:capitalize; }
.timeline-note { font-size:12px; color:var(--text-3); margin:2px 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.timeline-date { font-size:11px; color:var(--text-3); }

.back-link { display:flex; align-items:center; gap:6px; color:var(--text-2); font-size:13px; }
.back-link:hover { color:var(--accent); }

/* ── Form Styles ────────────────────────────────────────────── */
.form-group-modern { margin-bottom:20px; }
.form-group-modern label { display:block; font-size:13px; font-weight:600; color:var(--text); margin-bottom:6px; }
.form-input-modern, .form-select-modern {
  width:100%;
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif;
  font-size:14px;
  color:var(--text);
  background:var(--surface);
  outline:none;
  transition:var(--transition);
}
.form-input-modern:focus, .form-select-modern:focus { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-light); }
.form-textarea-modern {
  width:100%;
  padding:10px 14px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif;
  font-size:14px;
  color:var(--text);
  background:var(--surface);
  outline:none;
  transition:var(--transition);
  resize:vertical;
  min-height:80px;
}
.form-textarea-modern:focus { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent-light); }
.form-hint { font-size:12px; color:var(--text-3); margin-top:4px; display:block; }
.required-star { color:var(--red); }
.optional { font-weight:400; color:var(--text-3); }
.form-footer { display:flex; align-items:center; justify-content:flex-end; gap:12px; padding-top:20px; border-top:1px solid var(--border-2); margin-top:8px; }
.form-section { margin-bottom:24px; }
.form-section-title { font-size:14px; font-weight:700; color:var(--text); margin-bottom:20px; padding-bottom:12px; border-bottom:1px solid var(--border-2); }
.form-subsection-title { font-size:14px; font-weight:700; margin-bottom:4px; }
.form-divider { border:none; border-top:1px solid var(--border); margin:24px 0; }
.form-row-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }

/* Type Selector */
.type-selector { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:8px; }
.type-option input { display:none; }
.type-option-card {
  display:flex; align-items:center; gap:8px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  cursor:pointer;
  transition:var(--transition);
  background:var(--surface);
}
.type-option input:checked + .type-option-card { border-color:var(--accent); background:var(--accent-light); }
.type-option-card:hover { border-color:var(--accent-light); }
.type-dot { width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.type-name { font-size:13px; font-weight:500; }

/* Priority Selector */
.priority-selector { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.priority-option input { display:none; }
.priority-option-card {
  display:flex; align-items:center; justify-content:center; gap:8px;
  padding:10px;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  cursor:pointer;
  transition:var(--transition);
  font-size:13px;
  font-weight:600;
}
.priority-option input:checked + .priority-option-card.priority-low-card    { border-color:#94a3b8; background:#f8fafc; }
.priority-option input:checked + .priority-option-card.priority-medium-card  { border-color:var(--amber); background:var(--amber-light); }
.priority-option input:checked + .priority-option-card.priority-high-card    { border-color:#f97316; background:#fff7ed; }
.priority-option input:checked + .priority-option-card.priority-urgent-card  { border-color:var(--red); background:var(--red-light); }

/* ── Form Page Layout ───────────────────────────────────────── */
.form-page-layout { display:grid; grid-template-columns:1fr 280px; gap:24px; align-items:start; }
.form-main-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }
.form-help-sidebar { display:flex; flex-direction:column; gap:16px; position:sticky; top:80px; }
.help-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:18px; box-shadow:var(--shadow); }
.help-card h4 { font-size:13px; font-weight:700; margin-bottom:10px; display:flex; align-items:center; gap:8px; }
.help-card h4 i { color:var(--accent); }
.help-list { padding-left:16px; }
.help-list li { font-size:13px; color:var(--text-2); margin-bottom:4px; }
.review-times { display:flex; flex-direction:column; gap:8px; }
.rt-item { display:flex; align-items:center; gap:8px; font-size:13px; }
.rt-item span:nth-child(2) { flex:1; color:var(--text-2); }
.rt-item strong { color:var(--text); }
.process-steps { display:flex; flex-direction:column; gap:8px; }
.ps-item { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--text-2); }
.ps-num { width:22px; height:22px; border-radius:50%; background:var(--accent); color:#fff; font-size:11px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; }

/* ── Admin ──────────────────────────────────────────────────── */
.user-cell { display:flex; align-items:center; gap:10px; }
.user-cell-avatar { width:32px; height:32px; border-radius:8px; background:var(--accent); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex-shrink:0; }
.user-cell-name { font-weight:600; font-size:14px; }
.table-action-btn {
  padding:5px 12px;
  border-radius:6px;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  border:1px solid;
  display:inline-flex; align-items:center; gap:4px;
  transition:var(--transition);
  background:none;
}
.btn-deactivate { color:#b45309; border-color:#fde68a; }
.btn-deactivate:hover { background:var(--amber-light); }
.btn-activate { color:#047857; border-color:#a7f3d0; }
.btn-activate:hover { background:var(--green-light); }

.dept-cards-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:16px; }
.dept-overview-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:20px; display:flex; flex-direction:column; gap:12px; box-shadow:var(--shadow); transition:var(--transition); }
.dept-overview-card:hover { transform:translateY(-2px); box-shadow:var(--shadow-md); }
.dept-card-icon { width:42px; height:42px; background:var(--accent-light); color:var(--accent); border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:18px; }
.dept-card-body h4 { font-size:15px; font-weight:700; margin:0 0 4px; }
.dept-card-body p { font-size:13px; color:var(--text-2); margin:0; }
.dept-card-stats { display:flex; gap:20px; padding-top:12px; border-top:1px solid var(--border-2); }
.dept-stat { text-align:center; }
.dept-stat-value { font-family:'Syne',sans-serif; font-size:20px; font-weight:800; display:block; }
.dept-stat-label { font-size:11px; color:var(--text-3); }

/* ── Modal ──────────────────────────────────────────────────── */
.modern-modal { border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); }
.modern-modal-header { display:flex; align-items:center; justify-content:space-between; padding:20px 24px; border-bottom:1px solid var(--border-2); }
.modern-modal-header h5 { font-size:16px; font-weight:700; margin:0; display:flex; align-items:center; gap:8px; }
.modal-close { background:none; border:none; color:var(--text-3); cursor:pointer; font-size:16px; padding:4px; border-radius:6px; transition:var(--transition); }
.modal-close:hover { background:var(--bg); color:var(--text); }
.modal-body { padding:24px; }
.modal-footer-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-top:20px; }

/* ── Profile ────────────────────────────────────────────────── */
.profile-layout { display:grid; grid-template-columns:240px 1fr; gap:24px; align-items:start; }
.profile-sidebar-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:24px; text-align:center; box-shadow:var(--shadow); position:sticky; top:80px; }
.profile-avatar-lg { width:72px; height:72px; border-radius:20px; background:var(--accent); color:#fff; font-size:28px; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; }
.profile-name { font-size:16px; font-weight:700; margin-bottom:4px; }
.profile-email { font-size:13px; color:var(--text-2); margin-bottom:10px; }
.profile-dept { font-size:13px; color:var(--text-2); margin-top:10px; display:flex; align-items:center; justify-content:center; gap:6px; }
.profile-joined { font-size:12px; color:var(--text-3); margin-top:8px; display:flex; align-items:center; justify-content:center; gap:6px; }
.profile-main {}
.profile-form-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px; box-shadow:var(--shadow); }

/* ═══════════════════════════════════════════════════════════════
   AUTH PAGES
═══════════════════════════════════════════════════════════════ */
.auth-page {
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
}

.auth-panel-left {
  background:var(--text);
  padding:48px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
}
.auth-panel-left::before {
  content:'';
  position:absolute;
  top:-200px; right:-200px;
  width:500px; height:500px;
  background: radial-gradient(circle, rgba(79,70,229,.2) 0%, transparent 70%);
  pointer-events:none;
}
.auth-panel-left::after {
  content:'';
  position:absolute;
  bottom:-150px; left:-100px;
  width:400px; height:400px;
  background: radial-gradient(circle, rgba(16,185,129,.1) 0%, transparent 70%);
  pointer-events:none;
}

.auth-brand { display:flex; align-items:center; gap:12px; }
.auth-brand-icon {
  width:40px; height:40px;
  background:var(--accent);
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-size:18px;
  box-shadow:0 4px 14px rgba(79,70,229,.4);
}
.auth-brand-name { font-family:'Syne',sans-serif; font-weight:800; font-size:18px; color:#fff; }

.auth-hero { position:relative; z-index:1; }
.auth-hero h1 { font-family:'Syne',sans-serif; font-size:40px; font-weight:800; color:#fff; line-height:1.15; margin-bottom:16px; }
.auth-hero h1 em { font-style:normal; color:var(--accent-2); }
.auth-hero p { font-size:15px; color:rgba(255,255,255,.5); line-height:1.7; max-width:380px; }

.auth-features { display:flex; flex-direction:column; gap:16px; position:relative; z-index:1; }
.auth-feature { display:flex; align-items:flex-start; gap:14px; }
.af-icon {
  width:36px; height:36px;
  border-radius:9px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
  color:var(--accent-2); font-size:16px;
  flex-shrink:0;
}
.auth-feature strong { display:block; font-size:14px; color:#fff; font-weight:600; margin-bottom:2px; }
.auth-feature span { display:block; font-size:12px; color:rgba(255,255,255,.4); }

.auth-panel-right {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px;
  background:var(--bg);
}
.auth-form-card {
  width:100%; max-width:420px;
  background:var(--surface);
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  padding:36px;
  box-shadow:var(--shadow-lg);
}
.auth-form-header { margin-bottom:28px; }
.auth-form-header h2 { font-size:24px; font-weight:800; margin-bottom:4px; }
.auth-form-header p { font-size:14px; color:var(--text-2); }

.auth-form .form-group-modern { margin-bottom:16px; }
.input-icon-wrap { position:relative; }
.input-icon-wrap > i:first-child { position:absolute; left:12px; top:50%; transform:translateY(-50%); color:var(--text-3); font-size:15px; pointer-events:none; }
.input-icon-wrap .form-input-modern { padding-left:38px; }
.pw-toggle { position:absolute; right:10px; top:50%; transform:translateY(-50%); background:none; border:none; color:var(--text-3); cursor:pointer; padding:4px; font-size:15px; }

.btn-auth-submit {
  width:100%;
  padding:13px;
  background:var(--accent);
  color:#fff;
  border:none;
  border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:10px;
  transition:var(--transition);
  margin-top:8px;
  box-shadow:0 4px 14px rgba(79,70,229,.3);
}
.btn-auth-submit:hover { background:var(--accent-dark); transform:translateY(-1px); box-shadow:0 6px 20px rgba(79,70,229,.4); }

.auth-demo-accounts { margin-top:24px; padding-top:20px; border-top:1px solid var(--border-2); }
.demo-label { font-size:12px; color:var(--text-3); text-align:center; margin-bottom:10px; }
.demo-label span { font-style:italic; }
.demo-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; }
.demo-btn {
  padding:8px;
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  font-family:'DM Sans',sans-serif;
  font-size:12px;
  font-weight:600;
  color:var(--text-2);
  cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:5px;
  transition:var(--transition);
}
.demo-btn:hover { border-color:var(--accent); color:var(--accent); background:var(--accent-light); }

.auth-flash { padding:16px 16px 0; max-width:420px; margin:0 auto; }

/* ═══════════════════════════════════════════════════════════════
   MOBILE / RESPONSIVE
═══════════════════════════════════════════════════════════════ */
.sidebar-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:150; }

@media (max-width:1100px) {
  .dash-grid { grid-template-columns:1fr; }
  .dash-side { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); }
  .detail-layout { grid-template-columns:1fr; }
  .detail-sidebar { position:static; }
}

@media (max-width:900px) {
  .sidebar { transform:translateX(-100%); }
  .sidebar.open { transform:none; }
  .sidebar-overlay { display:block; opacity:0; pointer-events:none; transition:.25s; }
  .sidebar-overlay.open { opacity:1; pointer-events:auto; }
  .main-wrapper { margin-left:0; }
  .sidebar-toggle { display:flex; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .form-page-layout { grid-template-columns:1fr; }
  .form-help-sidebar { position:static; }
  .profile-layout { grid-template-columns:1fr; }
  .auth-page { grid-template-columns:1fr; }
  .auth-panel-left { display:none; }
  .page-content { padding:20px 16px; }
  .topbar { padding:0 16px; }
}

@media (max-width:600px) {
  .stats-grid { grid-template-columns:1fr; }
  .priority-selector { grid-template-columns:1fr 1fr; }
  .type-selector { grid-template-columns:1fr; }
  .requests-grid { grid-template-columns:1fr; }
  .form-row-2 { grid-template-columns:1fr; }
  .review-actions { flex-direction:column; }
  .dept-cards-grid { grid-template-columns:1fr; }
}
