/* ═══════════════════════════════════════════════════════════════
   Report Portal — Premium UI Theme
   Dark sidebar + clean content area + glass cards
═══════════════════════════════════════════════════════════════ */

:root {
  --sidebar-width: 260px;
  --sidebar-bg: #0f1729;
  --sidebar-hover: #1a2744;
  --sidebar-active: #1e3a8a;
  --sidebar-text: #94a3b8;
  --sidebar-text-active: #ffffff;
  --sidebar-border: #1e2d4a;

  --topbar-height: 64px;
  --topbar-bg: #ffffff;
  --topbar-border: #e8edf5;

  --content-bg: #f0f4fb;
  --card-bg: #ffffff;
  --card-radius: 14px;
  --card-shadow: 0 2px 16px rgba(15,23,41,0.07);
  --card-shadow-hover: 0 8px 32px rgba(15,23,41,0.14);

  --primary: #1e3a8a;
  --primary-light: #3b5fc0;
  --primary-gradient: linear-gradient(135deg, #1e3a8a 0%, #3b5fc0 100%);
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;

  --border: #e2e8f0;
  --input-bg: #f8fafc;
  --input-border: #e2e8f0;
  --input-focus: #3b5fc0;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--content-bg);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
}

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

/* ── Layout ────────────────────────────────────────────────── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  position: fixed;
  top: 0; left: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition: width 0.3s ease;
  overflow: hidden;
}

.sidebar-brand {
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--sidebar-border);
  text-decoration: none;
  gap: 12px;
}

.sidebar-brand-icon {
  width: 36px; height: 36px;
  background: var(--primary-gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.sidebar-brand-icon i { color: #fff; font-size: 16px; }

.sidebar-brand-text {
  font-size: 16px; font-weight: 700;
  color: #fff; letter-spacing: -0.3px;
  white-space: nowrap;
}

.sidebar-brand-text span {
  color: var(--accent);
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px 0;
  scrollbar-width: thin;
  scrollbar-color: var(--sidebar-border) transparent;
}

.sidebar-section {
  padding: 16px 16px 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sidebar-text);
  opacity: 0.5;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin: 2px 8px;
  border-radius: 8px;
  color: var(--sidebar-text);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none; background: none; width: calc(100% - 16px);
  text-align: left;
}

.sidebar-item:hover {
  background: var(--sidebar-hover);
  color: #fff;
  text-decoration: none;
}

.sidebar-item.active {
  background: var(--sidebar-active);
  color: #fff;
}

.sidebar-item i {
  font-size: 15px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.sidebar-item .badge {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 20px;
}

.sidebar-submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-submenu .sidebar-item {
  padding-left: 44px;
  font-size: 13px;
  font-weight: 400;
}

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

/* ── Topbar ────────────────────────────────────────────────── */
.topbar {
  height: var(--topbar-height);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--topbar-border);
  display: flex;
  align-items: center;
  padding: 0 28px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.topbar-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.topbar-company-select {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 12px;
}

.topbar-company-select select {
  border: none; background: transparent;
  font-size: 13px; font-weight: 500;
  color: var(--text-primary);
  outline: none; cursor: pointer;
  min-width: 140px;
}

.topbar-company-select i { color: var(--primary-light); font-size: 14px; }

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 36px; height: 36px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.user-info { line-height: 1.2; }
.user-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.user-role { font-size: 11px; color: var(--text-secondary); }

.btn-logout {
  background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 14px;
  font-size: 12px; font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer; transition: all 0.15s;
}
.btn-logout:hover { border-color: var(--danger); color: var(--danger); background: #fff1f1; }

/* ── Page content ──────────────────────────────────────────── */
.page-content {
  flex: 1;
  padding: 28px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.4px;
  margin: 0;
}

.page-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 2px 0 0;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(226,232,240,0.8);
}

.card-header-custom {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}

.card-header-custom h5 { margin: 0; font-size: 15px; font-weight: 600; }

/* ── Report Cards ──────────────────────────────────────────── */
.report-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.report-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.2s;
}

.report-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-3px);
  text-decoration: none;
  border-color: var(--primary-light);
}

.report-card:hover::before { opacity: 1; }

.report-card-body {
  padding: 20px;
  flex: 1;
}

.report-card-footer {
  padding: 10px 20px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  font-size: 12px;
}

.report-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 10px;
}

.badge-tableau  { background: #e0f2fe; color: #0369a1; }
.badge-ssrs     { background: #dcfce7; color: #166534; }
.badge-powerbi  { background: #fef9c3; color: #854d0e; }
.badge-superset { background: #fee2e2; color: #991b1b; }
.badge-other    { background: #f1f5f9; color: #475569; }

.report-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.3;
}

.report-card-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Folder sidebar (dashboard) ────────────────────────────── */
.folder-sidebar {
  width: 220px;
  flex-shrink: 0;
}

.folder-nav-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  position: sticky;
  top: calc(var(--topbar-height) + 16px);
}

.folder-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  border-left: 3px solid transparent;
}

.folder-nav-item:hover {
  background: #f0f4fb;
  color: var(--primary);
  text-decoration: none;
}

.folder-nav-item.active-nav {
  background: #eff6ff;
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

.folder-nav-item i { font-size: 14px; width: 16px; }

.folder-section-label {
  padding: 10px 14px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Tables ────────────────────────────────────────────────── */
.table-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.table { margin: 0; }

.table thead th {
  background: #f8fafc;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px;
  white-space: nowrap;
}

.table tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  font-size: 13.5px;
}

.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: #f8fafc; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  color: #fff;
  box-shadow: 0 2px 8px rgba(30,58,138,0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1a3278 0%, #3350a8 100%);
  box-shadow: 0 4px 16px rgba(30,58,138,0.35);
  transform: translateY(-1px);
}

.btn-outline-secondary {
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: #fff;
}

.btn-outline-secondary:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  background: #eff6ff;
}

.btn-outline-danger:hover { transform: translateY(-1px); }

.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-icon { padding: 7px 9px; }

/* ── Form controls ─────────────────────────────────────────── */
.form-control, .form-select {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  font-size: 13.5px;
  padding: 9px 12px;
  color: var(--text-primary);
  transition: all 0.15s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px rgba(59,95,192,0.12);
  background: #fff;
  outline: none;
}

.form-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.form-text {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Badges ────────────────────────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
}

.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-active  { background: #dcfce7; color: #16a34a; }
.status-inactive{ background: #f1f5f9; color: #64748b; }
.status-admin   { background: #fef9c3; color: #a16207; }
.status-super   { background: #fee2e2; color: #dc2626; }
.status-user    { background: #eff6ff; color: #1d4ed8; }

/* ── Stats cards ───────────────────────────────────────────── */
.stat-card {
  background: var(--card-bg);
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
  padding: 20px 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-icon.blue   { background: #eff6ff; color: #1d4ed8; }
.stat-icon.green  { background: #f0fdf4; color: #16a34a; }
.stat-icon.yellow { background: #fefce8; color: #ca8a04; }
.stat-icon.red    { background: #fff1f2; color: #e11d48; }
.stat-icon.cyan   { background: #ecfeff; color: #0891b2; }

.stat-value { font-size: 24px; font-weight: 700; color: var(--text-primary); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }

/* ── Alerts ────────────────────────────────────────────────── */
.alert {
  border-radius: 10px;
  border: none;
  padding: 12px 16px;
  font-size: 13px;
  display: flex; align-items: flex-start; gap: 10px;
}

.alert-success { background: #f0fdf4; color: #166534; border-left: 4px solid #22c55e; }
.alert-danger  { background: #fff1f2; color: #9f1239; border-left: 4px solid #ef4444; }
.alert-warning { background: #fffbeb; color: #92400e; border-left: 4px solid #f59e0b; }
.alert-info    { background: #eff6ff; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ── Login page ────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f1729 0%, #1a2744 50%, #0f1729 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,95,192,0.15) 0%, transparent 70%);
  top: -200px; right: -200px;
}

.login-page::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,182,212,0.1) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}

.login-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 48px 44px;
  width: 420px;
  position: relative; z-index: 1;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.login-logo {
  width: 52px; height: 52px;
  background: var(--primary-gradient);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(30,58,138,0.4);
}

.login-logo i { color: #fff; font-size: 22px; }

.login-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.4px;
}

.login-subtitle {
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin: 0 0 32px;
}

.login-card .form-label {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

.login-card .form-control {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 10px;
}

.login-card .form-control:focus {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(6,182,212,0.15);
  color: #fff;
}

.login-card .form-control::placeholder { color: rgba(255,255,255,0.25); }

.login-card .btn-primary {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(30,58,138,0.4);
}

.login-card .form-check-label { color: rgba(255,255,255,0.6); font-size: 12px; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb-bar {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb-bar a { color: var(--text-muted); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--primary); }
.breadcrumb-bar .current { color: var(--text-primary); font-weight: 500; }

/* ── Action bar ────────────────────────────────────────────── */
.action-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}

/* ── Empty state ───────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
}
.empty-state i { font-size: 48px; display: block; margin-bottom: 16px; opacity: 0.4; }
.empty-state p { font-size: 14px; margin: 0 0 20px; }

/* ── Search input ──────────────────────────────────────────── */
.search-box {
  position: relative;
  min-width: 240px;
}
.search-box i {
  position: absolute; left: 11px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted); font-size: 13px;
}
.search-box input {
  padding-left: 34px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  width: 100%;
}

/* ── Toast notifications ───────────────────────────────────── */
.toast-container-custom {
  position: fixed; top: 80px; right: 24px; z-index: 9999;
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .page-content { padding: 16px; }
}

/* ── Utility ───────────────────────────────────────────────── */
.fw-600 { font-weight: 600; }
.text-xs { font-size: 11px; }
.text-sm { font-size: 12.5px; }
.gap-8 { gap: 8px; }
.rounded-10 { border-radius: 10px; }

/* ═══════════════════════════════════════════════════════════════
   Report Type Selector Cards + Config Panels
═══════════════════════════════════════════════════════════════ */

.type-selector {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.type-option {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #fff;
}

.type-option:hover {
  border-color: var(--primary-light);
  background: #f8fafc;
}

.type-option.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
  box-shadow: 0 2px 12px rgba(30,58,138,0.12);
}

.type-option-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-size: 18px;
}

.type-option.selected .type-option-icon {
  transform: scale(1.05);
}

.type-icon-tableau  { background: #e0f2fe; color: #0369a1; }
.type-icon-ssrs     { background: #dcfce7; color: #166534; }
.type-icon-powerbi  { background: #fef9c3; color: #854d0e; }
.type-icon-superset { background: #fee2e2; color: #991b1b; }
.type-icon-other    { background: #f1f5f9; color: #475569; }

.type-option-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Config panel — replaces the old grey box style */
.config-panel {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, #fafbfd 0%, #f5f7fb 100%);
  padding: 24px;
  margin-bottom: 20px;
}

.config-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.config-panel-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.config-panel-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.config-panel-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 1px 0 0;
}

.config-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 20px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--border);
}

.config-section-label:first-of-type { margin-top: 0; }

.info-callout {
  background: #eff6ff;
  border-left: 3px solid #3b82f6;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
  color: #1e40af;
  margin-top: 16px;
}

.info-callout code {
  background: rgba(30,64,175,0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  color: #1e40af;
}

.warn-callout {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12px;
  color: #92400e;
  margin-top: 16px;
}

.warn-callout code {
  background: rgba(146,64,14,0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* Icon-select checkboxes (folder icon picker) */
.icon-picker-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.icon-picker-item {
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: #fff;
}
.icon-picker-item:hover { border-color: var(--primary-light); }
.icon-picker-item.selected {
  border-color: var(--primary);
  background: #eff6ff;
}
.icon-picker-item i { font-size: 18px; color: #f59e0b; }

/* Two column form grid */
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid-3 { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }

@media (max-width: 640px) {
  .type-selector { grid-template-columns: repeat(2, 1fr); }
  .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
}
