/* ==========================================================================
   Padanan Jawatan SPA - Sistem Reka Bentuk Moden (GovTech Modern UI)
   ========================================================================== */

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

:root {
  /* Palet Warna Asas Yang Lebih Cerah (Bright GovTech UI) */
  --color-primary: #1d4ed8;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #1e40af;
  --color-secondary: #d97706;
  --color-secondary-hover: #b45309;
  --color-accent: #0284c7;
  --color-accent-light: #e0f2fe;

  --color-success: #059669;
  --color-success-bg: #ecfdf5;
  --color-warning: #d97706;
  --color-warning-bg: #fffbeb;
  --color-danger: #dc2626;
  --color-danger-bg: #fef2f2;
  --color-info: #2563eb;
  --color-info-bg: #eff6ff;

  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-secondary: #f1f5f9;
  --bg-surface-tertiary: #e2e8f0;

  --border-color: #e2e8f0;
  --border-color-focus: #2563eb;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.04);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);

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

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

[data-theme="dark"] {
  --color-primary: #3b82f6;
  --color-primary-light: #60a5fa;
  --color-primary-dark: #1d4ed8;
  --color-secondary: #f59e0b;
  --color-secondary-hover: #fbbf24;
  --color-accent: #38bdf8;
  --color-accent-light: #082f49;

  --bg-body: #0b1120;
  --bg-surface: #131d31;
  --bg-surface-secondary: #1e293b;
  --bg-surface-tertiary: #334155;

  --border-color: #24344d;
  --border-color-focus: #38bdf8;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --text-inverse: #0b1120;

  --color-success-bg: #064e3b;
  --color-warning-bg: #451a03;
  --color-danger-bg: #450a0a;
  --color-info-bg: #172554;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.6);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  text-decoration: underline;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-notice-bar {
  background-color: #f1f5f9;
  color: #334155;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .top-notice-bar {
  background: #0f172a;
  color: #cbd5e1;
  border-bottom: 1px solid #1e293b;
}

.top-notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.gov-flag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-main);
}

.gov-flag-badge span {
  font-size: 1rem;
}

.official-time {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--text-muted);
  font-family: monospace;
  font-size: 0.8rem;
}

.official-time strong {
  color: var(--color-primary);
}

.site-navbar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-wrapper:hover {
  text-decoration: none;
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.25);
}

.brand-crest svg {
  width: 26px;
  height: 26px;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.brand-title span {
  color: var(--color-primary);
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-slot-counter {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-slot-counter:hover {
  background: #fde68a;
  transform: translateY(-1px);
}

[data-theme="dark"] .btn-slot-counter {
  background: #451a03;
  border-color: #78350f;
  color: #fde68a;
}

.theme-toggle-btn {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  color: var(--text-main);
  background: var(--bg-surface-tertiary);
}

.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

.btn-spa9-portal {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 2px 4px rgba(29, 78, 216, 0.15);
}

.btn-spa9-portal:hover {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(29, 78, 216, 0.25);
}

/* ==========================================================================
   Hero Compact & Putrajaya SPA Landmark Theme
   ========================================================================== */
.hero-compact {
  background: 
    linear-gradient(90deg, rgba(248, 250, 252, 0.82) 0%, rgba(248, 250, 252, 0.42) 42%, rgba(248, 250, 252, 0.1) 75%, rgba(248, 250, 252, 0.02) 100%),
    url('../assets/putrajaya_spa.jpg') center right / cover no-repeat;
  border-bottom: 1px solid var(--border-color);
  padding: 26px 0 22px;
  position: relative;
  min-height: 140px;
}

[data-theme="dark"] .hero-compact {
  background: 
    linear-gradient(90deg, rgba(11, 17, 32, 0.88) 0%, rgba(11, 17, 32, 0.5) 42%, rgba(11, 17, 32, 0.15) 75%, rgba(11, 17, 32, 0.05) 100%),
    url('../assets/putrajaya_spa.jpg') center right / cover no-repeat;
}

.hero-compact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.hero-compact-titles {
  max-width: 580px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

[data-theme="dark"] .hero-compact-titles {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(51, 65, 85, 0.7);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #bfdbfe;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

[data-theme="dark"] .hero-location-pill {
  background: rgba(30, 41, 59, 0.9);
  border-color: #334155;
  color: #93c5fd;
}

.hero-compact-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 3px;
}

.hero-compact-title .highlight {
  color: var(--color-primary);
}

.hero-compact-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-side-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.putrajaya-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid var(--border-color);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .putrajaya-badge-chip {
  background: rgba(15, 23, 42, 0.8);
  color: #94a3b8;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-success);
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.penafian-compact {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.75rem;
  color: #92400e;
  max-width: 520px;
}

[data-theme="dark"] .penafian-compact {
  background: #451a03;
  border-color: #78350f;
  color: #fef3c7;
}

.penafian-compact a {
  color: #b45309;
  text-decoration: underline;
}

.penafian-body strong {
  color: #b45309;
}

[data-theme="dark"] .penafian-body strong {
  color: #f59e0b;
}

.penafian-link {
  color: #b45309;
  font-weight: 700;
  text-decoration: underline;
}

[data-theme="dark"] .penafian-link {
  color: #fde68a;
}

.penafian-dismiss {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.penafian-dismiss:hover {
  color: #78350f;
}

[data-theme="dark"] .penafian-dismiss:hover {
  color: #fde68a;
}

/* ==========================================================================
   Navigation Tabs (Segmented Control)
   ========================================================================== */
.tabs-navigation-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
}

.segmented-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.segmented-nav::-webkit-scrollbar {
  display: none;
}

.nav-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-tab-btn:hover {
  color: var(--text-main);
  background: var(--bg-surface-secondary);
}

.nav-tab-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 2px 6px rgba(15, 43, 72, 0.25);
}

[data-theme="dark"] .nav-tab-btn.active {
  background: var(--color-accent);
  color: #0b1a2e;
  border-color: var(--color-accent);
}

.tab-badge {
  background: rgba(255, 255, 255, 0.2);
  color: inherit;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-tab-btn.active .tab-badge {
  background: var(--color-secondary);
  color: #000000;
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.main-layout {
  padding: 18px 0 40px;
  flex: 1;
}

/* ==========================================================================
   Konsep Baharu: Panels Kompak, Kad Akademik Ringkas & Perancang 15 Pilihan
   ========================================================================== */
.concept-panel.compact-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  position: relative;
}

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

.badge-step {
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.panel-title-compact {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

/* Grid Kad Peringkat Akademik Kompak */
.academic-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.academic-card.compact-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  background: var(--bg-surface);
  cursor: pointer;
  transition: all var(--transition-fast);
  min-height: 48px;
  user-select: none;
}

.academic-card.compact-tile:hover {
  border-color: var(--color-primary-light);
  background: #f0f7ff;
  transform: translateY(-1px);
}

.academic-card.compact-tile.active {
  border-color: var(--color-primary);
  background: #eff6ff;
  box-shadow: 0 0 0 1px var(--color-primary);
}

[data-theme="dark"] .academic-card.compact-tile.active {
  background: #172554;
  border-color: var(--color-primary-light);
}

.academic-card-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.academic-tile-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.academic-card-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.academic-gred-pill {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.academic-card-check {
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--color-primary);
  display: none;
  flex-shrink: 0;
}

.academic-card.compact-tile.active .academic-card-check {
  display: block;
}

/* ==========================================================================
   Bahagian Pemilihan Bidang & Carian Mesra Calon (Friendly Filter Card)
   ========================================================================== */
.bidang-selection-box.friendly-filter-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
  margin-bottom: 18px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.bidang-selection-box.friendly-filter-card:hover {
  border-color: #cbd5e1;
}

[data-theme="dark"] .bidang-selection-box.friendly-filter-card {
  background: var(--bg-surface-secondary);
  border-color: var(--border-color);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.3);
}

.friendly-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.friendly-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.friendly-header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  flex-shrink: 0;
}

[data-theme="dark"] .friendly-header-icon {
  background: #1e293b;
  border-color: #334155;
}

.friendly-header-title strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.friendly-header-sub {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Chips Pilihan Mesra */
.popular-chips-wrap.friendly-chips-wrap {
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--border-color);
}

.chips-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip-btn.compact-chip {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
  user-select: none;
}

.chip-btn.compact-chip:hover {
  border-color: var(--color-primary-light);
  color: var(--color-primary);
  background: #eff6ff;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}

.chip-btn.compact-chip.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 3px 10px rgba(29, 78, 216, 0.28);
  font-weight: 700;
}

[data-theme="dark"] .chip-btn.compact-chip:hover {
  background: #1e3a8a;
  border-color: #60a5fa;
  color: #ffffff;
}

[data-theme="dark"] .chip-btn.compact-chip.active {
  background: var(--color-primary-light);
  color: #ffffff;
  border-color: var(--color-primary-light);
}

/* Grid Bar Carian & Dropdown */
.friendly-filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(280px, 2fr) auto;
  gap: 12px;
  align-items: flex-end;
}

@media (max-width: 900px) {
  .friendly-filter-grid {
    grid-template-columns: 1fr 1fr;
  }
  .friendly-btn-col {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .friendly-filter-grid {
    grid-template-columns: 1fr;
  }
  .friendly-btn-col {
    grid-column: span 1;
  }
}

.friendly-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.friendly-form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.friendly-select,
.friendly-input {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  font-size: 0.875rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
  height: 42px;
}

.friendly-select:focus,
.friendly-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  background: var(--bg-surface);
}

.friendly-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.friendly-search-wrap .friendly-input {
  width: 100%;
  padding-right: 36px;
}

.btn-clear-keyword {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #e2e8f0;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.btn-clear-keyword:hover {
  background: #cbd5e1;
  color: #1e293b;
}

[data-theme="dark"] .btn-clear-keyword {
  background: #334155;
  color: #94a3b8;
}

.friendly-btn {
  height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.2);
}

.friendly-hint-bar {
  margin-top: 12px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid #f1f5f9;
  font-size: 0.78125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

[data-theme="dark"] .friendly-hint-bar {
  background: #0f172a;
  border-color: #1e293b;
  color: #94a3b8;
}

/* Mod 3: Perancang 15 Pilihan SPA9 Kompak */
.planner-actions-toolbar.compact-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.planner-status-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 380px;
}

.pilihan-badge-status {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--color-primary);
  white-space: nowrap;
}

.progress-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--border-color);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #059669);
  transition: width 0.3s ease;
  border-radius: var(--radius-full);
}

.planner-btns-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.planner-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.planner-slot-card.compact-slot {
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}

.planner-slot-card.compact-slot.is-empty {
  border: 1.5px dashed var(--border-color);
  background: var(--bg-surface-secondary);
  min-height: 64px;
  justify-content: center;
}

.planner-slot-card.compact-slot.is-filled {
  border: 1px solid var(--color-primary-light);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
}

.planner-slot-top-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.planner-slot-num {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.planner-priority-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.priority-dream {
  background: #fee2e2;
  color: #b91c1c;
}

.priority-core {
  background: #dbeafe;
  color: #1e40af;
}

.priority-safety {
  background: #dcfce7;
  color: #15803d;
}

.planner-slot-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 2px;
}

.planner-slot-agency {
  font-size: 0.6875rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 6px;
}

.planner-empty-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

.planner-slot-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  border-top: 1px solid var(--border-color);
}

.planner-gred-badge {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-remove-slot {
  background: transparent;
  border: none;
  color: var(--color-danger);
  cursor: pointer;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.btn-remove-slot:hover {
  background: var(--color-danger-bg);
}

/* Modal Laluan Kerjaya Track */
.career-path-track {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-md);
}

.career-step-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-family: monospace;
}

.career-arrow {
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-weight: bold;
}

/* Filter Card Panel (Legacy / Secondary) */
.filter-card-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.filter-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label .required {
  color: var(--color-danger);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-color-focus);
  background-color: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-reset-filters {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-reset-filters:hover {
  background: var(--bg-surface-secondary);
  color: var(--text-main);
}

/* Section Header and Results Toolbar */
.section-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.section-headings h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.section-headings p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.results-count-badge {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-main);
}

.view-toggle-group {
  display: flex;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2px;
}

.btn-view-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-view-toggle.active {
  background: var(--bg-surface);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Scheme Cards Grid (Compact & Sleek)
   ========================================================================== */
.results-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.scheme-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.scheme-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-sm);
}

.scheme-card.is-saved {
  border-color: var(--color-secondary);
  background: #fffdf5;
}

[data-theme="dark"] .scheme-card.is-saved {
  background: #1c1917;
}

.card-compact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.grade-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.code-badge {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  font-family: monospace;
}

[data-theme="dark"] .code-badge {
  background: var(--color-accent);
  color: #0b1a2e;
}

.grade-text {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.match-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-perfect {
  background-color: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-high {
  background-color: var(--color-info-bg);
  color: var(--color-info);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-moderate {
  background-color: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-low, .badge-unmatched {
  background-color: var(--color-danger-bg);
  color: var(--color-danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-open {
  background-color: var(--color-info-bg);
  color: var(--color-info);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.compact-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin: 0;
}

.compact-ministry {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.compact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}

.tag-group, .tag-license, .tag-pro, .tag-open {
  font-size: 0.6875rem;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.tag-group {
  background: var(--bg-surface-secondary);
  color: var(--text-muted);
}

.tag-license {
  background: #fef3c7;
  color: #92400e;
}

[data-theme="dark"] .tag-license {
  background: #78350f;
  color: #fde68a;
}

.tag-pro {
  background: #ede9fe;
  color: #5b21b6;
}

[data-theme="dark"] .tag-pro {
  background: #3b0764;
  color: #ddd6fe;
}

.card-fields-preview {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  background: var(--bg-surface-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.compact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

/* ==========================================================================
   Buttons System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-light);
  box-shadow: 0 4px 10px rgba(15, 43, 72, 0.25);
}

[data-theme="dark"] .btn-primary {
  background: var(--color-accent);
  color: #0b1a2e;
  border-color: var(--color-accent);
}

[data-theme="dark"] .btn-primary:hover {
  background: #7dd3fc;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--bg-surface-secondary);
  border-color: var(--text-muted);
}

.btn-saved {
  background: #fef3c7;
  color: #92400e;
  border-color: var(--color-secondary);
}

[data-theme="dark"] .btn-saved {
  background: #78350f;
  color: #fde68a;
  border-color: var(--color-secondary);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8125rem;
}

.btn-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  color: var(--text-main);
  background: var(--bg-surface-secondary);
}

/* ==========================================================================
   Table View Styles
   ========================================================================== */
.results-table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.scheme-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.scheme-table th {
  background: var(--bg-surface-secondary);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
}

.scheme-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.scheme-table tr:last-child td {
  border-bottom: none;
}

.scheme-table tr:hover {
  background-color: var(--bg-surface-secondary);
}

.table-job-title {
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.table-job-title:hover {
  color: var(--color-accent);
}

.table-job-ministry {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.code-badge-sm {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-weight: 700;
  font-size: 0.8125rem;
}

.tag-group-sm {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.match-pill-sm {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
}

.badge-mini {
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-block;
  margin-right: 4px;
}

/* ==========================================================================
   Pilihan Actions Bar (Tab 3: Senarai 15 Pilihan)
   ========================================================================== */
.pilihan-actions-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.pilihan-stats {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pilihan-badge-status {
  background: var(--color-info-bg);
  color: var(--color-info);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
}

.pilihan-badge-status.badge-full {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border-color: rgba(245, 158, 11, 0.4);
}

.pilihan-btns-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 64px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

.empty-state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--text-light);
}

.empty-state h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.empty-state p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ==========================================================================
   Modal Dialog Styles
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 23, 38, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  animation: modalEnter 0.2s ease-out;
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.modal-title-wrap h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.modal-meta {
  font-size: 0.8125rem;
  color: var(--color-secondary);
  font-weight: 600;
  margin-top: 4px;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-section h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.modal-compact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 14px;
}

.modal-section-compact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}

.modal-list {
  padding-left: 20px;
  color: var(--text-main);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.modal-list li {
  margin-bottom: 8px;
}

.fields-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-field {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--text-main);
}

.tag-field-open {
  background: var(--color-success-bg);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--color-success);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
}

.modal-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface-secondary);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-item {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  font-weight: 600;
  pointer-events: auto;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  min-width: 260px;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toast-item.toast-fade {
  opacity: 0;
  transform: translateY(10px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 24px 0 20px;
  margin-top: auto;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer-putrajaya-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.8125rem;
}

.footer-putrajaya-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-putrajaya-text strong {
  color: var(--text-main);
  font-size: 0.875rem;
}

.footer-putrajaya-badge {
  background: var(--bg-surface-secondary);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--color-primary);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8125rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   SVG Icons Utility
   ========================================================================== */
.icon-tiny {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.icon-small {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Print Stylesheet (For printing 15 Pilihan SPA9)
   ========================================================================== */
@media print {
  .top-notice-bar,
  .site-navbar,
  .hero-banner,
  .tabs-navigation-bar,
  .filter-card-panel,
  .toolbar-controls,
  .card-actions,
  .pilihan-btns-group,
  .site-footer,
  .toast-container {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .scheme-table th, .scheme-table td {
    border: 1px solid #cccccc !important;
    color: #000000 !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .results-cards-grid {
    grid-template-columns: 1fr;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .modal-salary-grid {
    grid-template-columns: 1fr;
  }

  .section-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}
