/* ==========================================================================
   Repertoriul Ocupațiilor din România - Human-Crafted Editorial Experience
   Balanced Whitespace, Geographic County Integration & Zero Visual Clutter
   ========================================================================== */

:root {
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;

  /* Human-Calibrated Neutral Tone Palette */
  --bg-page: #f8fafc;
  --bg-page-subtle: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f8fafc;
  --bg-surface-hover: #f1f5f9;
  --bg-input: #ffffff;

  --border-hairline: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-medium: #94a3b8;
  --border-focus: #0f172a;

  --text-headline: #090d16;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --brand-navy: #0f172a;
  --brand-navy-light: #1e293b;
  --brand-blue: #1d4ed8;

  --live-dot-color: #10b981;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Layered Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-card-hover: 0 10px 22px -4px rgba(15, 23, 42, 0.07), 0 3px 6px -2px rgba(15, 23, 42, 0.03);
  --shadow-modal: 0 24px 48px -12px rgba(15, 23, 42, 0.22), 0 12px 20px -6px rgba(15, 23, 42, 0.08);
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
}

/* ==========================================================================
   Header & Masthead
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  cursor: pointer;
}

.brand-mark {
  width: 38px;
  height: 38px;
  background-color: var(--brand-navy);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.brand-typography h1 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-headline);
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.brand-typography p {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.header-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

.pulse-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--live-dot-color);
  border-radius: 50%;
  position: relative;
}

.pulse-indicator::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.35);
  animation: radarPulse 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ==========================================================================
   Hero & Discovery Section
   ========================================================================== */
.hero-masthead {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-hairline);
  padding: 44px 0 32px;
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.hero-headline h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--text-headline);
  letter-spacing: -0.6px;
  line-height: 1.18;
}

.hero-headline h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--brand-blue);
}

.hero-headline p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 6px auto 0;
  line-height: 1.55;
}

/* Live National Stats Strip in Hero */
.hero-live-stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  margin-top: 4px;
  max-width: 860px;
  width: 100%;
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.hero-stat-top {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-stat-number {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-headline);
  letter-spacing: -0.3px;
}

.hero-stat-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.hero-stat-divider {
  width: 1px;
  height: 26px;
  background-color: var(--border-hairline);
}

@media (max-width: 768px) {
  .hero-live-stats-strip {
    border-radius: var(--radius-md);
    padding: 14px 16px;
    gap: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-stat-divider {
    display: none;
  }
}

/* Search Bar */
.search-container {
  width: 100%;
  max-width: 760px;
  margin-top: 4px;
  position: relative;
}

.search-field-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-field {
  width: 100%;
  padding: 14px 76px 14px 46px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-headline);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  outline: none;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search-input-field:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.search-input-field::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.search-leading-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-trailing-actions {
  position: absolute;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kbd-shortcut {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  user-select: none;
}

.btn-clear-input {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  border-radius: var(--radius-xs);
}
.btn-clear-input:hover {
  color: var(--text-headline);
  background-color: var(--bg-page-subtle);
}

/* ==========================================================================
   Instant Search Suggestions Dropdown & Blue-Collar Prefill
   ========================================================================== */

.instant-suggestions-card {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16), 0 6px 12px -3px rgba(15, 23, 42, 0.08);
  z-index: 100;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: suggFadeIn 0.15s ease-out;
  max-height: 520px;
}

@keyframes suggFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sugg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-page-subtle);
  border-bottom: 1px solid var(--border-hairline);
}

.sugg-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-headline);
  letter-spacing: -0.2px;
}

.sugg-header-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(29, 78, 216, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Popular Presets Grid */
.sugg-popular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  overflow-y: auto;
  max-height: 380px;
}

@media (max-width: 640px) {
  .sugg-popular-grid {
    grid-template-columns: 1fr;
  }
}

.sugg-preset-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  min-width: 0;
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  cursor: pointer;
  transition: all 0.12s ease;
  text-align: left;
  gap: 10px;
}

.sugg-preset-item:hover,
.sugg-preset-item:focus-visible,
.sugg-preset-item.active-nav {
  background: var(--bg-page-subtle);
  border-color: var(--brand-blue);
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.08);
}

.sugg-preset-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.sugg-preset-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: var(--bg-page-subtle);
  color: var(--brand-navy);
  flex-shrink: 0;
}

.sugg-preset-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-headline);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sugg-preset-vacancies {
  font-size: 11.5px;
  font-weight: 700;
  color: #047857;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Autocomplete suggestions list */
.sugg-list {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 400px;
}

.sugg-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  flex-shrink: 0;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-hairline);
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
  gap: 12px;
}

.sugg-item:last-child {
  border-bottom: none;
}

.sugg-item:hover,
.sugg-item.active-nav {
  background-color: var(--bg-page-subtle);
}

.sugg-item.active-nav {
  border-left: 3px solid var(--brand-blue);
  padding-left: 13px;
}

.sugg-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.sugg-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: var(--bg-page-subtle);
  color: var(--brand-navy);
  flex-shrink: 0;
}

.sugg-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sugg-item-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sugg-item-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-headline);
  line-height: 1.3;
}

.sugg-alias-badge {
  font-size: 11px;
  font-weight: 700;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 1px 6px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.sugg-item-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sugg-code-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-page-subtle);
  padding: 1px 5px;
  border-radius: var(--radius-xs);
}

.sugg-hl {
  background: #fef08a;
  color: #854d0e;
  font-weight: 700;
  border-radius: 2px;
  padding: 0 2px;
}

.sugg-item-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.sugg-vacancies-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.sugg-vacancies-badge.has-jobs {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.sugg-vacancies-badge.zero-jobs {
  background: var(--bg-page-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-hairline);
}

.sugg-item-action {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.12s ease, color 0.12s ease;
}

.sugg-item:hover .sugg-item-action,
.sugg-item.active-nav .sugg-item-action {
  color: var(--brand-blue);
  transform: translateX(2px);
}

/* Footer keyboard hints */
.sugg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-page-subtle);
  border-top: 1px solid var(--border-hairline);
  font-size: 11.5px;
  color: var(--text-muted);
}

.sugg-footer-hints {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.sugg-footer-hint kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 3px;
  padding: 1px 4px;
}

@media (max-width: 640px) {
  .sugg-item {
    align-items: flex-start;
    padding: 12px 14px;
  }
  .sugg-item-icon {
    margin-top: 2px;
  }
  .sugg-item-right {
    margin-top: 2px;
  }
  .sugg-footer-hints {
    display: none;
  }
}

/* Quick Trades Strip (Hero Fast Pick Chips for Blue Collar) */
.quick-trades-strip {
  margin-top: 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.quick-trades-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.quick-trades-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 960px;
}

.quick-trade-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--text-headline);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.quick-trade-chip svg {
  color: var(--brand-blue);
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.quick-trade-chip:hover {
  background: #f0f7ff;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(37, 99, 235, 0.1);
}

.quick-trade-chip:hover svg {
  transform: scale(1.1);
}

.quick-trade-chip.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #ffffff;
}

.quick-trade-chip.active svg {
  color: #ffffff;
}

/* Trending Searches Backward Compatibility */
.trending-searches-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.trending-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.trending-chip {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.12s ease;
}

.trending-chip:hover {
  background-color: var(--bg-page-subtle);
  color: var(--text-headline);
  border-color: var(--border-subtle);
}

/* Category Filter Pills */
.domain-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1020px;
  margin-top: 4px;
}

.domain-pill-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.domain-pill-btn:hover {
  background: var(--bg-page-subtle);
  color: var(--text-headline);
  border-color: var(--border-subtle);
}

.domain-pill-btn.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #ffffff;
}

/* ==========================================================================
   Filter Controls Toolbar (County, Education, Sort & Toggle)
   ========================================================================== */
.main-layout {
  padding: 24px 0 56px;
  flex: 1;
}

.controls-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-xs);
}

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

.toolbar-right-controls {
  display: flex;
  align-items: center;
}

.select-control-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.custom-select {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  outline: none;
  cursor: pointer;
}
.custom-select:focus {
  border-color: var(--border-focus);
}

.switch-control-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.switch-control-label input[type="checkbox"] {
  display: none;
}

.switch-track {
  width: 34px;
  height: 18px;
  background-color: var(--border-subtle);
  border-radius: var(--radius-full);
  position: relative;
  transition: background-color 0.15s;
}

.switch-track::before {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: white;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.switch-control-label input[type="checkbox"]:checked + .switch-track {
  background-color: var(--brand-navy);
}

.switch-control-label input[type="checkbox"]:checked + .switch-track::before {
  transform: translateX(16px);
}

/* Results Meta Header */
.results-meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================================================
   Occupations Grid & Master Ledger Cards
   ========================================================================== */
.occupations-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.occupation-ledger-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
  position: relative;
}

.occupation-ledger-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.card-domain-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card-main-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.32;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}

.card-abstract-snippet {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Market Demand Box with Fine Hairline Divider & 2 Aligned Rows */
.card-market-box {
  border-top: 1px solid var(--border-hairline);
  padding-top: 9px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-market-stat-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--text-headline);
}

.card-market-vacancies {
  font-weight: 500;
  color: var(--text-secondary);
}
.card-market-vacancies strong {
  font-weight: 700;
  color: var(--text-headline);
}

.card-market-counties-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-secondary);
  padding-left: 13px; /* perfectly aligned under the vacancies text */
}

.card-market-counties-row svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.card-market-counties-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-market-counties-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--live-dot-color);
  display: inline-block;
  flex-shrink: 0;
}

.no-vacancies-text {
  font-size: 12px;
  color: var(--text-muted);
}

/* Styled Bottom Footer with Code & Edu Tags */
.card-bottom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-hairline);
  padding-top: 12px;
  margin-top: 4px;
  gap: 8px;
}

.card-tags-cluster {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  overflow: hidden;
}

.card-code-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  background: var(--bg-page-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-edu-pill {
  font-size: 10.5px;
  font-weight: 500;
  background: var(--bg-page-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 170px;
}

.card-action-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.card-action-link span {
  transition: transform 0.15s ease;
}
.occupation-ledger-card:hover .card-action-link span {
  transform: translateX(3px);
}

/* Direct Apply Fast Button on Cards */
.btn-card-fast-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #16a34a;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.2);
}

.btn-card-fast-apply:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(22, 163, 74, 0.3);
}

.btn-card-fast-apply:active {
  transform: scale(0.98);
}

.card-market-row {
  border-top: 1px solid var(--border-hairline);
  padding-top: 10px;
  margin-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-safety-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 15px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--brand-navy);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--brand-navy-light);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-hairline);
}
.btn-secondary:hover {
  background-color: var(--bg-page-subtle);
  border-color: var(--border-subtle);
}

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

/* Main Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}


/* ==========================================================================
   Full-Page Master Dossier Canvas & Company Dossier Canvas
   ========================================================================== */

.full-dossier-canvas {
  width: 100%;
  min-height: calc(100vh - 70px);
  background-color: var(--bg-page);
  display: flex;
  flex-direction: column;
  animation: dossierFadeIn 0.16s ease-out;
}

@keyframes dossierFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sticky Dossier Navigation Header */
.dossier-sticky-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dossier-sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.btn-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-headline);
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-back-nav:hover {
  background: #ffffff;
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
  transform: translateX(-2px);
}

.kbd-esc-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

.dossier-breadcrumbs-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.dossier-breadcrumbs-strip strong {
  color: var(--text-headline);
  font-weight: 600;
}

.dossier-actions-cluster {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* Dossier Main Content */
.dossier-main-content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

/* Big Hero Masthead */
.dossier-hero-masthead {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-xs);
}

.dossier-masthead-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dossier-identity-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.dossier-code-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  background: var(--brand-navy);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.3px;
}

.dossier-domain-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(37, 99, 235, 0.07);
  padding: 3px 10px;
  border-radius: var(--radius-xs);
}

.dossier-isco-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.dossier-live-demand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-headline);
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  padding: 4px 11px;
  border-radius: var(--radius-xs);
}

.dossier-live-demand-badge .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--live-dot-color);
}

.dossier-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.22;
  letter-spacing: -0.4px;
  margin: 2px 0 0;
}

.dossier-official-subline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

/* Dossier Segmented Tabs */
.dossier-tabs-nav {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 2px;
}

.dossier-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-bottom: -3px;
}

.dossier-tab-btn:hover {
  color: var(--text-headline);
}

.dossier-tab-btn.active {
  color: var(--brand-blue);
  border-bottom-color: var(--brand-blue);
  font-weight: 700;
}

.dossier-tab-btn .tab-count-badge {
  background-color: var(--bg-page-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-hairline);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 700;
}

.dossier-tab-btn.active .tab-count-badge {
  background-color: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
}

/* TAB 1: Dossier Layout Grid */
.dossier-pane-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.dossier-primary-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dossier-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dossier-card-block {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-xs);
}

.dossier-block-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-headline);
  letter-spacing: -0.2px;
  margin: 0;
}

.dossier-abstract-text {
  font-size: 14px;
  line-height: 1.68;
  color: var(--text-primary);
}

.dossier-duties-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dossier-duties-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-primary);
}

.dossier-duties-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  top: -1px;
  color: var(--brand-blue);
  font-size: 18px;
  font-weight: 800;
}

.dossier-skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dossier-skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.12s;
}

.dossier-skill-tag:hover {
  background: #ffffff;
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.dossier-skill-tag.essential {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.04);
  font-weight: 600;
}

/* Sidebar Cards */
.dossier-sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-xs);
}

.dossier-sidebar-card h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-headline);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin: 0;
}

.dossier-edu-badge {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-top: 2px;
}

.dossier-edu-desc {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.dossier-sidebar-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-hairline);
}

.sidebar-metric-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-metric-label {
  color: var(--text-secondary);
}

.sidebar-metric-val {
  font-weight: 700;
  color: var(--text-headline);
}

.related-occupations-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.related-occ-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s;
}

.related-occ-chip:hover {
  background: #ffffff;
  border-color: var(--border-subtle);
  color: var(--brand-blue);
}

/* TAB 2: Jobs Explorer Toolbar & Feed */
.dossier-jobs-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-xs);
}

.dossier-jobs-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  flex: 1;
  min-width: 240px;
}

.dossier-jobs-search-box input {
  border: none;
  background: none;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-primary);
  outline: none;
  width: 100%;
}

.dossier-jobs-selects {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dossier-jobs-meta-strip {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 2px 4px;
}

.dossier-postings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
}

/* Job Posting Card inside Dossier */
.job-posting-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-xs);
  transition: all 0.14s ease;
}

.job-posting-card:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.job-card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.job-company-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-logo-avatar {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--brand-navy);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-name-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.company-name-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-headline);
}

.company-tax-code-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.job-vacancies-pill {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-headline);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.job-specs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-secondary);
  padding-top: 6px;
  border-top: 1px solid var(--border-hairline);
}

.job-specs-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dossier-postings-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

/* ==========================================================================
   3. Full-Page Company Intelligence Dossier (#companyView)
   ========================================================================== */

.company-hero-masthead {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  box-shadow: var(--shadow-xs);
}

.company-large-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--brand-navy);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-masthead-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.company-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-headline);
  line-height: 1.25;
  margin: 0;
}

.company-identity-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.company-code-pill, .company-reg-pill, .company-age-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
}

.company-meta-strips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.company-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.company-legal-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--status-live);
  background-color: rgba(34, 197, 94, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.company-view-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-xs);
}

.section-headline-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section-headline-row h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-headline);
  margin: 0;
}

.section-headline-note {
  font-size: 12px;
  color: var(--text-muted);
}

.financials-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.metric-card-fin {
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-card-fin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.metric-card-fin-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-headline);
  letter-spacing: -0.3px;
}

.metric-card-fin-growth {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.growth-positive { color: #16a34a; }
.growth-neutral { color: var(--text-muted); }
.growth-negative { color: #dc2626; }

.company-recruitment-quad {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  background: var(--bg-page-subtle);
  padding: 16px 18px;
  border-radius: var(--radius-md);
}

.company-rec-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.company-rec-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.company-rec-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-headline);
}

.company-history-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
}

.company-history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.company-history-table th {
  background: var(--bg-page-subtle);
  padding: 10px 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-hairline);
}

.company-history-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-hairline);
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

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

.company-all-jobs-feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.company-job-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  transition: all 0.12s ease;
}

.company-job-item:hover {
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-xs);
}

.company-job-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-job-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-headline);
}

.company-job-meta-line {
  font-size: 12px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-open-cor-profile {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.12s;
}

.btn-open-cor-profile:hover {
  background: #ffffff;
  border-color: var(--border-subtle);
}

/* Clickable Employer in Ledger */
.job-company-identity.clickable {
  cursor: pointer;
  padding: 4px 6px;
  margin: -4px -6px;
  border-radius: var(--radius-sm);
  transition: background-color 0.12s ease;
}

.job-company-identity.clickable:hover {
  background-color: var(--bg-page-subtle);
}

.job-company-identity.clickable:hover .company-name-text {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Returning Focus Indicator on Catalog Card */
.card-last-viewed {
  animation: pulseHighlightCard 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulseHighlightCard {
  0% {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.45);
    border-color: var(--brand-blue);
  }
  70% {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    border-color: var(--brand-blue);
  }
  100% {
    box-shadow: none;
    border-color: var(--border-hairline);
  }
}

/* Toast */
.toast-portal {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-bubble {
  background: var(--brand-navy);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-modal);
  animation: toastPop 0.2s ease-out;
}

@keyframes toastPop {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 24px 0;
  background-color: var(--bg-surface);
  text-align: center;
  margin-top: auto;
}

.site-footer p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 960px) {
  .dossier-pane-grid { grid-template-columns: 1fr; }
  .controls-toolbar { flex-direction: column; align-items: flex-start; }
  .toolbar-left-controls { width: 100%; justify-content: space-between; }
  .dossier-breadcrumbs-strip { display: none; }
}

@media (max-width: 768px) {
  .hero-headline h2 { font-size: 28px; }
  .dossier-title { font-size: 24px; }
  .company-title { font-size: 22px; }
  .occupations-grid-layout { grid-template-columns: 1fr; }
  .company-hero-masthead { flex-direction: column; }
  .dossier-jobs-toolbar { flex-direction: column; align-items: stretch; }
  .dossier-jobs-selects { flex-direction: column; }
}

/* ==========================================================================
   Recruitment: Smart Fork Application Modal & Cards
   ========================================================================== */
.job-card-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-hairline);
}

.btn-apply-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-apply-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
  filter: brightness(1.05);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--text-tertiary, #94a3b8);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: #f1f5f9;
  color: var(--text-headline, #0f172a);
}

@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.apply-modal-window {
  max-width: 580px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.apply-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 14px;
}

.apply-role-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.apply-modal-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-headline);
  line-height: 1.25;
  margin: 0;
}

.apply-modal-subtitle {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 2px;
}

.apply-safety-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  margin: 14px 0 16px;
}

.micro-interview-intro, .white-collar-intro {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.apply-question-block {
  margin-bottom: 16px;
}

.apply-question-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-headline);
  margin-bottom: 8px;
}

.pill-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-option-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--text-headline);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill-option-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.pill-option-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.apply-contact-section {
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 18px 0 14px;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.form-field-group label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.apply-input-text, .apply-input-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-headline);
  outline: none;
  box-sizing: border-box;
}

.apply-input-text:focus, .apply-input-textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.apply-gdpr-notice {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 16px;
}

.btn-submit-apply {
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.3);
}

.btn-submit-apply:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.cv-dropzone {
  border: 2px dashed var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  background: var(--bg-page-subtle);
  cursor: pointer;
  margin-bottom: 14px;
  transition: all 0.15s ease;
}

.cv-dropzone:hover {
  border-color: var(--brand-blue);
  background: #f8fafc;
}

.cv-upload-icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.cv-upload-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-headline);
}

.cv-upload-hint {
  font-size: 11.5px;
  color: var(--text-muted);
}

.cv-file-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
}

.cv-file-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-blue);
}

.btn-remove-cv {
  background: none;
  border: none;
  font-size: 16px;
  color: #ef4444;
  cursor: pointer;
}

.apply-success-state {
  text-align: center;
  padding: 28px 16px;
}

.success-icon-badge {
  font-size: 42px;
  margin-bottom: 8px;
}

.success-details-card {
  background: var(--bg-page-subtle);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: left;
  margin: 18px 0;
  font-size: 13.5px;
}

/* ==========================================================================
   Recruiter CRM Dashboard Modal
   ========================================================================== */
.admin-crm-window {
  max-width: 1140px;
  width: 95%;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
}

.admin-crm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.admin-crm-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-headline);
  margin: 0;
}

.admin-crm-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

.admin-metrics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.admin-metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
}

.admin-metric-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-headline);
  font-family: var(--font-mono);
}

.admin-metric-lbl {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

.admin-leads-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
}

.admin-leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  text-align: left;
}

.admin-leads-table th {
  background: var(--bg-page-subtle);
  color: var(--text-secondary);
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-hairline);
  white-space: nowrap;
}

.admin-leads-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-hairline);
  vertical-align: top;
}

.admin-leads-table tr:hover td {
  background: rgba(248, 250, 252, 0.7);
}

.lead-status-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.lead-status-badge.status-NOU { background: #dbeafe; color: #1e40af; }
.lead-status-badge.status-CONTACTAT { background: #fef3c7; color: #92400e; }
.lead-status-badge.status-PROPUS { background: #f3e8ff; color: #6b21a8; }
.lead-status-badge.status-INTERVIU { background: #fef9c3; color: #854d0e; }
.lead-status-badge.status-PLASAT { background: #dcfce7; color: #166534; }
.lead-status-badge.status-RESPINS { background: #fee2e2; color: #991b1b; }

.btn-action-call {
  background: #2563eb;
  color: #ffffff;
  border: none;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.footer-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-admin-link {
  font-size: 11.5px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-admin-link:hover {
  color: var(--text-headline);
}

/* =========================================================================
   Collective Application & Financial Safety Styling
   ========================================================================= */

/* 1. Hero Collective Apply Banner */
.dossier-hero-apply-banner {
  background: #ffffff;
  border: 1px solid var(--border-hairline);
  border-left: 4px solid var(--brand-navy);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.hero-apply-left {
  flex: 1;
}

.hero-apply-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  color: #334155;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 6px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.hero-apply-headline {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-headline);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.hero-apply-headline span {
  color: var(--brand-blue);
}

.hero-apply-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.btn-hero-collective-apply {
  background: var(--brand-navy);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.15);
  transition: all 0.15s ease;
  white-space: nowrap;
  min-width: 220px;
}

.btn-hero-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
}

.btn-hero-collective-apply small {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 3px;
  font-weight: 500;
}

.btn-hero-collective-apply:hover {
  background: #1e293b;
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.22);
}

/* 2. Tab Collective Bar */
.tab-collective-bar {
  background: #f8fafc;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.tab-collective-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tab-collective-title-row h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-headline);
  margin: 0;
}

.tab-collective-info p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 2px 0 0 0;
}

.btn-tab-collective-apply {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--brand-navy);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.12s ease;
}

.btn-tab-collective-apply:hover {
  background: #f1f5f9;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

/* 3. Financial Safety Guarantee Filter Toggle */
.filter-guarantee-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  cursor: pointer;
  user-select: none;
  height: 38px;
  white-space: nowrap;
  transition: all 0.12s ease;
}

.filter-guarantee-toggle input {
  cursor: pointer;
  accent-color: #16a34a;
  width: 14px;
  height: 14px;
}

.filter-guarantee-toggle:hover {
  border-color: #16a34a;
  background: #f0fdf4;
}

.guarantee-switch-label {
  font-size: 12px;
  font-weight: 700;
  color: #166534;
}

/* 4. Financial Trust Badges on Job Cards (Compact & Elegant) */
.financial-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11.5px;
  width: fit-content;
  margin: 4px 0 2px 0;
}

.trust-green {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.trust-yellow {
  background: #fefce8;
  border: 1px solid #fef08a;
  color: #854d0e;
}

.trust-gray {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
}

.trust-label {
  font-weight: 700;
}

.trust-metrics {
  font-size: 11px;
  color: #166534;
  font-weight: 500;
}

.job-card-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* 5. CRM Matching Targets */
.crm-collective-tag {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.crm-matching-targets-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.crm-target-item {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11.5px;
}

.target-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.target-name {
  font-weight: 700;
  color: var(--text-headline);
}

.target-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.target-badge.green { background: #dcfce7; color: #166534; }
.target-badge.yellow { background: #fef9c3; color: #854d0e; }
.target-badge.gray { background: #f1f5f9; color: #475569; }

.target-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 11px;
  margin-bottom: 6px;
}

.target-actions {
  display: flex;
  gap: 6px;
}

.btn-target-pitch {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10.5px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-headline);
}

.btn-target-pitch:hover {
  background: #e2e8f0;
}

/* =========================================================================
   6. Legal Disclaimer & Methodology Styling (ANPC & Law Compliance)
   ========================================================================= */

.footer-legal-disclaimer {
  background: #f8fafc;
  border: 1px solid var(--border-hairline);
  border-left: 3px solid var(--brand-blue);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 18px;
  text-align: left;
}

.footer-legal-disclaimer p {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.footer-legal-disclaimer strong {
  color: var(--text-headline);
  font-weight: 700;
}

.legal-disclaimer-link {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: underline;
  margin-left: 6px;
  display: inline-block;
  cursor: pointer;
  transition: color 0.12s ease;
}

.legal-disclaimer-link:hover {
  color: var(--brand-blue-hover, #1d4ed8);
}

/* Legal Disclaimer Modal */
.legal-disclaimer-window {
  max-width: 680px;
  width: 94%;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid var(--border-hairline);
}

.legal-disclaimer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-hairline);
  background: #ffffff;
}

.legal-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-modal-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-headline);
  margin: 0;
  line-height: 1.3;
}

.legal-modal-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin: 3px 0 0 0;
}

.legal-disclaimer-body {
  padding: 22px 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: #ffffff;
}

.legal-section {
  background: #f8fafc;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.legal-section h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0 0 8px 0;
}

.legal-section p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 8px 0;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section strong {
  color: var(--text-headline);
}

.legal-disclaimer-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border-hairline);
  background: #f8fafc;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* =========================================================================
   7. GDPR Visible & Exclusive Consent Box & Erasure Styles
   ========================================================================= */

.apply-consent-box {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 14px 0 16px 0;
  transition: all 0.15s ease;
}

.apply-consent-box:focus-within {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.consent-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.consent-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand-blue);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-text {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text-secondary);
}

.consent-text strong {
  color: var(--text-headline);
  font-weight: 700;
}

.consent-text a {
  color: var(--brand-blue);
  text-decoration: underline;
  font-weight: 700;
}

.consent-text a:hover {
  color: var(--brand-blue-hover, #1d4ed8);
}

.consent-box-error {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
  animation: consentShake 0.3s ease;
}

.consent-error-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #b91c1c;
  font-size: 11.5px;
  font-weight: 700;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(239, 68, 68, 0.2);
}

@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

/* Legal Center Tab Navigation */
.legal-tabs-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border-hairline);
  overflow-x: auto;
  flex-shrink: 0;
}

.legal-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.12s ease;
  white-space: nowrap;
}

.legal-tab-btn:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-headline);
}

.legal-tab-btn.active {
  background: #ffffff;
  border-color: var(--border-hairline);
  color: var(--brand-blue);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.legal-tab-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* GDPR Right to Erasure Modal */
.gdpr-erasure-window {
  max-width: 520px;
  width: 92%;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.success-gdpr-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
}




