/* FinAcc Talent Admin — Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --trinity-navy: #0d1b3e;
  --trinity-gold: #f5a623;
  --trinity-gold-dark: #d97706;
  --trinity-gold-light: #fbbf24;
  --trinity-gold-50: #fffbeb;
  --trinity-gold-100: #fef3c7;
  --trinity-black: #111827;

  /* Multi-color SaaS accents */
  --accent-indigo: #4f46e5;
  --accent-indigo-dark: #4338ca;
  --accent-indigo-50: #eef2ff;
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --accent-emerald-50: #ecfdf5;
  --accent-sky: #0ea5e9;
  --accent-sky-dark: #0284c7;
  --accent-sky-50: #f0f9ff;
  --accent-rose: #f43f5e;
  --accent-rose-dark: #e11d48;
  --accent-rose-50: #fff1f2;
  --accent-violet: #8b5cf6;
  --accent-violet-dark: #7c3aed;
  --accent-violet-50: #f5f3ff;
  --accent-amber: #f59e0b;
  --accent-amber-dark: #d97706;
  --accent-amber-50: #fffbeb;

  --primary-50: var(--accent-indigo-50);
  --primary-100: #e0e7ff;
  --primary-500: var(--accent-indigo);
  --primary-600: var(--accent-indigo-dark);
  --primary-700: #3730a3;
  --primary-800: #312e81;

  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --green-500: #22c55e;
  --green-600: #16a34a;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --red-500: #ef4444;
  --amber-500: #f59e0b;
  --purple-500: #a855f7;

  --sidebar-width: 260px;
  --header-height: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --border-light: #f1f5f9;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --transition: 0.2s ease;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--slate-800);
  line-height: 1.5;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

/* ─── Login Page ─── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--slate-50) 0%, var(--primary-50) 50%, var(--slate-100) 100%);
  padding: 24px;
}

.login-container {
  width: 100%;
  max-width: 440px;
}

.login-brand {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: white;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  letter-spacing: -1px;
}

.login-logo img.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.login-brand h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--trinity-navy);
  letter-spacing: -0.5px;
}

.login-brand p {
  color: var(--slate-500);
  font-size: 0.875rem;
  margin-top: 6px;
}

.login-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.75rem;
  color: var(--slate-400);
}

/* ─── Admin Layout ─── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--surface);
  color: var(--slate-800);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform var(--transition);
  box-shadow: 1px 0 0 rgba(15, 23, 42, 0.02);
}

.sidebar-header {
  padding: 22px 18px 18px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  padding: 4px;
  border-radius: 12px;
  transition: background 0.15s ease;
}

.sidebar-brand:hover {
  background: var(--slate-50);
}

.sidebar-logo {
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, #ffffff 0%, #eef2ff 55%, #e0e7ff 100%);
  border: 2px solid #c7d2fe;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  flex-shrink: 0;
  overflow: hidden;
  letter-spacing: -1.5px;
  box-shadow:
    0 4px 14px rgba(79, 70, 229, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.sidebar-logo img.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.sidebar-brand-text {
  min-width: 0;
}

.sidebar-brand-text h2 {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--slate-900);
  margin: 0 0 2px;
  letter-spacing: -0.02em;
}

.sidebar-brand-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-indigo-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.nav-section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  padding: 12px 12px 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--slate-600);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition);
  margin-bottom: 2px;
  border: 1px solid transparent;
}

.nav-link:hover {
  background: var(--surface-muted);
  color: var(--slate-900);
}

.nav-link.active {
  font-weight: 600;
}

.nav-link[data-page="dashboard"].active {
  background: var(--accent-indigo-50);
  color: var(--accent-indigo-dark);
  border-color: #c7d2fe;
}

.nav-link[data-page="jobs"].active {
  background: var(--accent-emerald-50);
  color: var(--accent-emerald-dark);
  border-color: #a7f3d0;
}

.nav-link[data-page="applications"].active {
  background: var(--accent-sky-50);
  color: var(--accent-sky-dark);
  border-color: #bae6fd;
}

.nav-link[data-page="register"].active {
  background: var(--accent-violet-50);
  color: var(--accent-violet-dark);
  border-color: #ddd6fe;
}

.nav-link[data-page="contacts"].active {
  background: var(--accent-rose-50);
  color: var(--accent-rose-dark);
  border-color: #fecdd3;
}

.nav-link[data-page="cities"].active {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

.nav-link[data-page="skills"].active {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}

.nav-link[data-page="sliders"].active {
  background: var(--accent-amber-50);
  color: var(--accent-amber-dark);
  border-color: #fde68a;
}

.nav-link[data-page="users"].active,
.nav-link[data-page="employers"].active {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}

.nav-link[data-page="settings"].active {
  background: var(--slate-100);
  color: var(--slate-800);
  border-color: var(--slate-300);
}

.nav-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.85;
}

.sidebar-footer {
  padding: 16px;
  border-top: 1px solid var(--border-light);
}

.sidebar-user-wrap {
  position: relative;
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border-radius: var(--radius-md);
  background: var(--surface-muted);
  border: 1px solid var(--border-light);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.sidebar-user:hover,
.sidebar-user.is-open {
  background: white;
  border-color: #c7d2fe;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.sidebar-user-chevron {
  width: 16px;
  height: 16px;
  color: var(--slate-400);
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.15s ease;
}

.sidebar-user.is-open .sidebar-user-chevron {
  transform: rotate(180deg);
  color: var(--accent-indigo-dark);
}

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-violet));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.sidebar-user-info {
  flex: 1;
  min-width: 0;
}

.sidebar-user-name {
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--slate-800);
}

.sidebar-user-role {
  font-size: 0.7rem;
  color: var(--slate-400);
}

.role-switcher {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 50;
  padding: 8px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}

.role-switcher[hidden] {
  display: none;
}

.role-switcher-title {
  padding: 6px 10px 8px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
}

.role-switcher-options {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.role-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.role-option:hover {
  background: var(--slate-50);
}

.role-option.is-selected {
  background: var(--accent-indigo-50);
  border-color: #c7d2fe;
}

.role-option-check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--accent-indigo-dark);
}

.role-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.role-option-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-800);
}

.role-option-hint {
  font-size: 0.7rem;
  color: var(--slate-500);
  line-height: 1.35;
}

.role-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--slate-900);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.role-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.main-wrapper {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: calc(100% - var(--sidebar-width));
  min-width: 0;
}

.top-header {
  height: var(--header-height);
  background: var(--surface);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--slate-600);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.menu-toggle:hover {
  background: var(--slate-100);
}

.page-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--slate-800);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: white;
  color: var(--slate-600);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.header-btn:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.header-btn.danger:hover {
  color: var(--red-500);
  border-color: #fecaca;
  background: #fef2f2;
}

.main-content {
  flex: 1;
  width: 100%;
  max-width: none;
  padding: 28px 32px 40px;
  box-sizing: border-box;
}

/* ─── Page Header ─── */
.page-header {
  margin-bottom: 28px;
}

.page-header h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.3px;
}

.page-header p {
  color: var(--slate-500);
  font-size: 0.875rem;
  margin-top: 4px;
}

.page-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Stats Grid ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  transition: box-shadow var(--transition), border-color var(--transition);
  box-shadow: var(--shadow-sm);
}

.stat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.stat-change {
  font-size: 0.75rem;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-change.up { color: var(--green-600); }
.stat-change.down { color: var(--red-500); }

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.green { background: #dcfce7; color: var(--green-600); }
.stat-icon.orange { background: #ffedd5; color: var(--orange-600); }
.stat-icon.blue { background: var(--accent-sky-50); color: var(--accent-sky-dark); }
.stat-icon.purple { background: var(--accent-violet-50); color: var(--accent-violet); }
.stat-icon.indigo { background: var(--accent-indigo-50); color: var(--accent-indigo-dark); }
.stat-icon.rose { background: var(--accent-rose-50); color: var(--accent-rose-dark); }

.stat-icon svg {
  width: 24px;
  height: 24px;
}

/* ─── Cards ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-800);
}

.card-body {
  padding: 22px;
}

.card-body.no-padding {
  padding: 0;
}

/* ─── Activity List ─── */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--slate-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-100);
  transition: border-color var(--transition);
}

.activity-item:hover {
  border-color: var(--slate-200);
}

.activity-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.activity-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-sky));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.activity-item:nth-child(2) .activity-avatar {
  background: linear-gradient(135deg, var(--accent-emerald), #14b8a6);
}

.activity-item:nth-child(3) .activity-avatar {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-rose));
}

.activity-item:nth-child(4) .activity-avatar {
  background: linear-gradient(135deg, var(--accent-amber), var(--orange-500));
}

.activity-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-800);
}

.activity-detail {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.activity-detail strong {
  color: var(--slate-700);
  font-weight: 600;
}

.activity-date {
  font-size: 0.8rem;
  color: var(--slate-400);
  white-space: nowrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-indigo-dark));
  color: white;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6366f1, var(--accent-indigo));
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.32);
  transform: translateY(-1px);
}

.btn-secondary {
  background: white;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-600);
  padding: 8px 12px;
}

.btn-ghost:hover {
  background: var(--slate-100);
}

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

.btn-full {
  width: 100%;
}

/* ─── Forms ─── */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--slate-800);
  background: white;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-input::placeholder {
  color: var(--slate-400);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* ─── Custom Select ─── */
.custom-select {
  position: relative;
  min-width: 260px;
}

.custom-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: white;
  color: var(--slate-800);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.custom-select-trigger:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

.custom-select.is-open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
  background: white;
}

.custom-select-value {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-500);
  transition: transform 0.2s ease, color 0.2s ease;
}

.custom-select-chevron svg {
  width: 16px;
  height: 16px;
}

.custom-select.is-open .custom-select-chevron {
  transform: rotate(180deg);
  color: var(--accent-indigo-dark);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  display: none;
  padding: 6px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  max-height: 280px;
  overflow: auto;
}

.custom-select.is-open .custom-select-menu {
  display: block;
}

.custom-select-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--slate-700);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.custom-select-option:hover {
  background: var(--slate-50);
  color: var(--slate-900);
}

.custom-select-option.is-selected {
  background: var(--accent-indigo-50);
  color: var(--accent-indigo-dark);
  font-weight: 600;
}

.custom-select-option-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-check {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo-dark);
  flex-shrink: 0;
}

.custom-select-check svg {
  width: 16px;
  height: 16px;
}

.custom-select-option.is-selected .custom-select-check {
  display: flex;
}

.custom-select--header {
  min-width: 280px;
}

.custom-select--compact {
  min-width: 160px;
}

.custom-select--compact .custom-select-trigger {
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.table-toolbar .custom-select {
  flex-shrink: 0;
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--slate-400);
}

.input-with-icon .form-input {
  padding-left: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.form-row--inline {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: 100%;
}

.form-row--inline .form-group {
  flex: 1;
  min-width: 0;
  margin-bottom: 0;
  width: 100%;
}

.form-row--inline .form-input {
  width: 100%;
}

.form-row--inline .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ─── Table ─── */
.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--slate-100);
  flex-wrap: wrap;
}

.table-search {
  position: relative;
  flex: 1;
  max-width: 320px;
}

.table-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--slate-400);
}

.table-search input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}

.table-search input:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 12px 22px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slate-500);
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.data-table td {
  padding: 14px 22px;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--slate-100);
  vertical-align: middle;
}

.data-table tbody tr:hover {
  background: var(--slate-50);
}

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

.data-table .col-actions {
  width: 160px;
  text-align: right;
}

.table-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.btn-ghost-danger {
  color: #dc2626;
}

.btn-ghost-danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.table-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-500);
  white-space: nowrap;
}

.table-empty {
  padding: 48px 24px;
  text-align: center;
}

.table-empty p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate-500);
}

/* ─── Badges ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-green { background: #dcfce7; color: #15803d; }
.badge-orange { background: #ffedd5; color: #c2410c; }
.badge-blue { background: var(--accent-sky-50); color: var(--accent-sky-dark); }
.badge-indigo { background: var(--accent-indigo-50); color: var(--accent-indigo-dark); }
.badge-violet { background: var(--accent-violet-50); color: var(--accent-violet-dark); }
.badge-gray { background: var(--slate-100); color: var(--slate-600); }
.badge-red { background: #fee2e2; color: #b91c1c; }
.badge-amber { background: #fef3c7; color: #b45309; }

/* ─── Tags / Chips ─── */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--slate-100);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-700);
}

.tag-remove {
  background: none;
  border: none;
  color: var(--slate-400);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

.tag-remove:hover {
  color: var(--red-500);
}

/* ─── Sliders page — Compact 3-column grid ─── */
.slider-page {
  padding: 28px 32px;
  width: 100%;
  position: relative;
}

.slider-page .page-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.slider-page .breadcrumb {
  font-size: 13px;
  color: var(--slate-400);
  margin: 0;
}

.slider-page .breadcrumb a {
  color: var(--slate-400);
  text-decoration: none;
  transition: color 0.2s ease;
}

.slider-page .breadcrumb a:hover {
  color: var(--slate-600);
}

.slider-page .breadcrumb span {
  color: var(--accent-indigo-dark);
  font-weight: 600;
}

.slider-page h1 {
  font-size: 1.75rem;
  margin: 6px 0 0;
  color: var(--slate-900);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.slider-page .subtitle {
  color: var(--slate-500);
  margin: 6px 0 0;
  font-size: 0.9rem;
}

.slider-page .new-btn {
  background: linear-gradient(135deg, var(--accent-indigo), #6366f1);
  color: white;
  border: none;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.slider-page .new-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28);
}

.slider-page .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.slider-page .stat-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--slate-300);
}

.slider-page .stat-card.is-indigo { border-top-color: var(--accent-indigo); }
.slider-page .stat-card.is-emerald { border-top-color: var(--accent-emerald); }
.slider-page .stat-card.is-amber { border-top-color: var(--accent-amber); }
.slider-page .stat-card.is-violet { border-top-color: var(--accent-violet); }

.slider-page .stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.slider-page .stat-icon svg {
  width: 20px;
  height: 20px;
}

.slider-page .stat-card.is-indigo .stat-icon {
  background: var(--accent-indigo-50);
  color: var(--accent-indigo-dark);
}

.slider-page .stat-card.is-emerald .stat-icon {
  background: var(--accent-emerald-50);
  color: var(--accent-emerald-dark);
}

.slider-page .stat-card.is-amber .stat-icon {
  background: var(--accent-amber-50);
  color: var(--accent-amber-dark);
}

.slider-page .stat-card.is-violet .stat-icon {
  background: var(--accent-violet-50);
  color: var(--accent-violet-dark);
}

.slider-page .stat-label {
  display: block;
  color: var(--slate-400);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.slider-page .stat-card h2,
.slider-page .stat-card .stat-text {
  margin: 4px 0 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.1;
}

.slider-page .stat-card .stat-text {
  font-size: 1rem;
}

.slider-page .slider-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

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

.slider-page .slider-result-count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-500);
  white-space: nowrap;
}

.slider-page .slider-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  max-width: 360px;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 0 14px;
  height: 42px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.slider-page .slider-search:focus-within {
  border-color: #c7d2fe;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.slider-page .slider-search svg {
  width: 18px;
  height: 18px;
  color: var(--slate-400);
  flex-shrink: 0;
}

.slider-page .slider-search input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 0.875rem;
  color: var(--slate-800);
}

.slider-page .slider-search input::placeholder {
  color: var(--slate-400);
}

.slider-page .slider-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.slider-page .filter-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--surface);
  color: var(--slate-600);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.slider-page .filter-count {
  font-weight: 500;
  opacity: 0.75;
}

.slider-page .filter-chip:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

.slider-page .filter-chip.is-active {
  background: var(--accent-indigo-50);
  border-color: #c7d2fe;
  color: var(--accent-indigo-dark);
}

.slider-page .slider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}

.slider-page .slider-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
  display: flex;
  flex-direction: column;
}

.slider-page .slider-card.is-indigo { border-top: 3px solid var(--accent-indigo); }
.slider-page .slider-card.is-emerald { border-top: 3px solid var(--accent-emerald); }
.slider-page .slider-card.is-sky { border-top: 3px solid var(--accent-sky); }
.slider-page .slider-card.is-rose { border-top: 3px solid var(--accent-rose); }

.slider-page .slider-card:hover:not(.is-dragging) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate-300);
}

.slider-page .slider-card.is-inactive {
  opacity: 0.88;
}

.slider-page .slider-card.is-inactive .banner-wrap {
  filter: grayscale(0.35) brightness(0.92);
}

.slider-page .slider-card.is-dragging {
  opacity: 0.55;
  transform: scale(0.98);
  box-shadow: var(--shadow-md);
}

.slider-page .slider-card.is-drag-over {
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.slider-page .slider-card[hidden] {
  display: none;
}

.slider-page .banner-wrap {
  position: relative;
  width: 100%;
}

.slider-page .banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  min-height: 140px;
  color: white;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.slider-page .gradient1 {
  background: linear-gradient(135deg, #4f46e5 0%, #6366f1 55%, #818cf8 100%);
}

.slider-page .gradient2 {
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
}

.slider-page .gradient3 {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
}

.slider-page .gradient4 {
  background: linear-gradient(135deg, #e11d48 0%, #f43f5e 50%, #fb7185 100%);
}

.slider-page .card-bar--overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.08));
  backdrop-filter: blur(2px);
  flex-shrink: 0;
}

.slider-page .drag-handle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  letter-spacing: -2px;
  cursor: grab;
  user-select: none;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.slider-page .drag-handle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.slider-page .drag-handle:active {
  cursor: grabbing;
}

.slider-page .number {
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 2px 8px;
  border-radius: 5px;
}

.slider-page .status-badge {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 999px;
}

.slider-page .status-badge.active {
  background: rgba(34, 197, 94, 0.9);
  color: white;
}

.slider-page .status-badge.draft {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-page .sliders-toggle {
  position: relative;
  width: 34px;
  height: 18px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.slider-page .sliders-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease;
}

.slider-page .sliders-toggle.is-on {
  background: var(--green-500);
}

.slider-page .sliders-toggle.is-on::after {
  transform: translateX(16px);
}

.slider-page .banner-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px 12px 12px;
  width: 100%;
}

.slider-page .banner small {
  display: inline-block;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.55rem;
  opacity: 0.92;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 4px;
  width: fit-content;
}

.slider-page .banner h2,
.slider-page .banner h3 {
  margin: 0 0 3px;
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  line-height: 1.15;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

.slider-page .banner-highlight {
  font-style: normal;
  opacity: 0.95;
}

.slider-page .is-indigo .banner-highlight { color: #c7d2fe; }
.slider-page .is-emerald .banner-highlight { color: #a7f3d0; }
.slider-page .is-sky .banner-highlight { color: #bae6fd; }
.slider-page .is-rose .banner-highlight { color: #fecdd3; }

.slider-page .banner p {
  margin: 0 0 6px;
  font-size: 0.68rem;
  line-height: 1.35;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slider-page .banner-cta {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  background: white;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--slate-800);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: fit-content;
}

.slider-page .is-indigo .banner-cta { color: var(--accent-indigo-dark); }
.slider-page .is-emerald .banner-cta { color: var(--accent-emerald-dark); }
.slider-page .is-sky .banner-cta { color: var(--accent-sky-dark); }
.slider-page .is-rose .banner-cta { color: var(--accent-rose-dark); }

.slider-page .card-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid var(--border-light);
  background: var(--surface-muted);
}

.slider-page .card-meta {
  min-width: 0;
}

.slider-page .card-footer h3 {
  margin: 0 0 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.slider-page .card-meta-row {
  margin: 0;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.slider-page .card-url {
  font-weight: 600;
}

.slider-page .is-indigo .card-url { color: var(--accent-indigo-dark); }
.slider-page .is-emerald .card-url { color: var(--accent-emerald-dark); }
.slider-page .is-sky .card-url { color: var(--accent-sky-dark); }
.slider-page .is-rose .card-url { color: var(--accent-rose-dark); }

.slider-page .card-updated {
  color: var(--slate-400);
}

.slider-page .card-actions {
  display: flex;
  gap: 6px;
}

.slider-page .card-action {
  flex: 1;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: white;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.slider-page .card-action--edit {
  background: var(--accent-indigo-50);
  border-color: #c7d2fe;
  color: var(--accent-indigo-dark);
}

.slider-page .is-emerald .card-action--edit {
  background: var(--accent-emerald-50);
  border-color: #a7f3d0;
  color: var(--accent-emerald-dark);
}

.slider-page .is-sky .card-action--edit {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: var(--accent-sky-dark);
}

.slider-page .is-rose .card-action--edit {
  background: #fff1f2;
  border-color: #fecdd3;
  color: var(--accent-rose-dark);
}

.slider-page .card-action--preview:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.slider-page .card-action--delete:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.slider-page .slider-card--add {
  border: 2px dashed var(--slate-300);
  border-top: 2px dashed var(--slate-300);
  background: var(--surface-muted);
  box-shadow: none;
  min-height: 200px;
  cursor: pointer;
  align-self: stretch;
  padding: 0;
}

.slider-page .slider-card--add:hover {
  border-color: var(--accent-indigo);
  background: var(--accent-indigo-50);
  transform: none;
}

.slider-page .slider-card--add-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 16px;
  height: 100%;
  min-height: 200px;
}

.slider-page .slider-card--add-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-indigo-dark);
  margin-bottom: 10px;
}

.slider-page .slider-card--add-icon svg {
  width: 22px;
  height: 22px;
}

.slider-page .slider-card--add strong {
  font-size: 0.9rem;
  color: var(--slate-800);
  margin-bottom: 4px;
}

.slider-page .slider-card--add span {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.slider-page .slider-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--slate-500);
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.slider-page .slider-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-400);
}

.slider-page .slider-empty-icon svg {
  width: 24px;
  height: 24px;
}

.slider-page .slider-empty p {
  margin: 0;
}

/* Toasts */
.slider-toast-host {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  width: min(90vw, 420px);
}

.slider-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--slate-900);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: auto;
}

.slider-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.slider-toast--success {
  background: #15803d;
}

.slider-toast--error {
  background: #dc2626;
}

.slider-toast-action {
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.slider-toast-action:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Modals */
body.slider-modal-open {
  overflow: hidden;
}

.slider-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.slider-modal[hidden] {
  display: none;
}

.slider-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
}

.slider-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: white;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
  outline: none;
}

.slider-modal-panel--wide {
  max-width: 820px;
}

.slider-modal-panel--narrow {
  max-width: 420px;
}

.slider-modal-panel--preview {
  max-width: 720px;
}

.slider-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--slate-200);
}

.slider-modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--slate-900);
}

.slider-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--slate-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.slider-modal-close:hover {
  background: var(--slate-100);
  color: var(--slate-800);
}

.slider-modal-close svg {
  width: 20px;
  height: 20px;
}

.slider-modal-body {
  padding: 20px;
}

.slider-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 20px;
  border-top: 1px solid var(--slate-200);
  background: var(--slate-50);
  border-radius: 0 0 16px 16px;
}

.slider-delete-message {
  margin: 0;
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.5;
}

.slider-delete-confirm {
  background: #dc2626 !important;
}

.slider-delete-confirm:hover {
  filter: brightness(1.05);
}

/* Form modal */
.slider-form-grid {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 20px;
  align-items: start;
}

.slider-form-active {
  margin-bottom: 0;
}

.slider-form-toggle-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-700);
}

.slider-form-toggle-label input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-form-toggle-ui {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--slate-200);
  position: relative;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.slider-form-toggle-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease;
}

.slider-form-toggle-label input:checked + .slider-form-toggle-ui {
  background: var(--green-500);
}

.slider-form-toggle-label input:checked + .slider-form-toggle-ui::after {
  transform: translateX(18px);
}

.theme-picker {
  display: flex;
  gap: 8px;
  padding-top: 4px;
}

.theme-swatch {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.theme-swatch:hover {
  transform: scale(1.08);
}

.theme-swatch.is-selected {
  box-shadow: 0 0 0 2px white, 0 0 0 4px var(--accent-indigo);
}

.theme-swatch.is-indigo { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.theme-swatch.is-emerald { background: linear-gradient(135deg, #059669, #34d399); }
.theme-swatch.is-sky { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.theme-swatch.is-rose { background: linear-gradient(135deg, #e11d48, #fb7185); }

.form-preview-wrap {
  position: sticky;
  top: 0;
}

.form-preview-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  margin-bottom: 8px;
}

.form-preview {
  border-radius: 12px;
  overflow: hidden;
  color: white;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.form-preview.is-indigo { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.form-preview.is-emerald { background: linear-gradient(135deg, #059669, #34d399); }
.form-preview.is-sky { background: linear-gradient(135deg, #0284c7, #38bdf8); }
.form-preview.is-rose { background: linear-gradient(135deg, #e11d48, #fb7185); }

.form-preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.35);
  font-size: 0.65rem;
  font-weight: 700;
}

.form-preview-order {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
}

.form-preview-status {
  margin-left: auto;
  background: rgba(34, 197, 94, 0.9);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.6rem;
  text-transform: uppercase;
}

.form-preview-content {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.form-preview-content small {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-bottom: 4px;
}

.form-preview-content h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
}

.form-preview-content p {
  margin: 0 0 8px;
  font-size: 0.68rem;
  opacity: 0.85;
}

.slider-preview-body {
  padding: 0;
}

.slider-preview-hero {
  aspect-ratio: 16 / 7;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.slider-preview-hero .banner-content {
  flex: 1;
  justify-content: center;
  padding: 32px 28px;
}

.slider-preview-hero h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.slider-preview-hero p {
  font-size: 0.95rem;
  -webkit-line-clamp: unset;
}

.slider-preview-hero .banner-cta {
  font-size: 0.85rem;
  padding: 10px 16px;
}

.slider-preview-meta {
  margin: 0;
  padding: 14px 20px;
  font-size: 0.8rem;
  color: var(--slate-500);
  border-top: 1px solid var(--slate-200);
}

@media (max-width: 1200px) {
  .slider-page .slider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .slider-page .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .slider-form-grid {
    grid-template-columns: 1fr;
  }

  .form-preview-wrap {
    position: static;
  }
}

@media (max-width: 640px) {
  .slider-page {
    padding: 16px;
  }

  .slider-page h1 {
    font-size: 1.4rem;
  }

  .slider-page .slider-grid {
    grid-template-columns: 1fr;
  }

  .slider-page .slider-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .slider-page .slider-toolbar-right {
    flex-direction: column;
    align-items: stretch;
  }

  .slider-page .slider-search {
    max-width: none;
  }

  .slider-page .stats {
    grid-template-columns: 1fr;
  }

  .slider-page .page-top {
    flex-direction: column;
  }

  .slider-page .new-btn {
    width: 100%;
  }

  .slider-page .card-actions {
    flex-direction: column;
  }

  .slider-modal {
    padding: 0;
    align-items: flex-end;
  }

  .slider-modal-panel {
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }
}

/* Legacy eyebrow for job-preview */
.slider-preview-eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ─── Settings ─── */
.settings-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
}

.settings-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid var(--slate-200);
  padding-right: 20px;
}

.settings-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: all var(--transition);
}

.settings-nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.75;
}

.settings-nav-link:hover {
  background: var(--slate-100);
  color: var(--slate-800);
}

.settings-nav-link.active {
  background: var(--accent-indigo-50);
  color: var(--accent-indigo-dark);
  font-weight: 600;
}

.settings-nav-link.active svg {
  opacity: 1;
}

.settings-panel[hidden] {
  display: none;
}

.settings-panel-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
}

.settings-save-msg {
  font-size: 0.8rem;
  font-weight: 600;
  color: #059669;
}

.settings-hint {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.settings-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.settings-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-indigo) 0%, #7c3aed 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.settings-toggle-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--slate-100);
}

.settings-toggle-row:last-child {
  border-bottom: none;
}

.settings-toggle-row strong {
  display: block;
  font-size: 0.875rem;
  color: var(--slate-800);
}

.settings-switch {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.settings-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.settings-switch-slider {
  position: absolute;
  inset: 0;
  background: var(--slate-300);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.settings-switch-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.15);
}

.settings-switch input:checked + .settings-switch-slider {
  background: var(--accent-indigo);
}

.settings-switch input:checked + .settings-switch-slider::before {
  transform: translateX(20px);
}

.settings-switch input:focus-visible + .settings-switch-slider {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.settings-panel h3,
.settings-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.settings-panel > p,
.settings-section > p {
  font-size: 0.85rem;
  color: var(--slate-500);
  margin-bottom: 24px;
}

.divider {
  height: 1px;
  background: var(--slate-200);
  margin: 24px 0;
}

/* ─── Empty State ─── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--slate-500);
}

.empty-state svg {
  width: 48px;
  height: 48px;
  color: var(--slate-300);
  margin-bottom: 16px;
}

.empty-state h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 0.875rem;
  margin-bottom: 20px;
}

/* ─── Grid Layout ─── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.dashboard-activity-grid {
  margin-top: 15px;
}

/* ─── Overlay (mobile sidebar) ─── */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 99;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-nav {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: none;
    border-bottom: 1px solid var(--slate-200);
    padding-right: 0;
    padding-bottom: 16px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-overlay.open {
    display: block;
  }

  .main-wrapper {
    margin-left: 0;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  .main-content {
    padding: 20px 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .data-table {
    display: block;
    overflow-x: auto;
  }

  .header-btn span {
    display: none;
  }
}

/* ─── Naukri-style recruiter layouts (from product video) ─── */
.page-layout-split {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
}

.filter-panel {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 0;
  position: sticky;
  top: calc(var(--header-height) + 16px);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.filter-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--slate-100);
  background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
}

.filter-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-panel-title svg {
  width: 18px;
  height: 18px;
  color: var(--accent-indigo-dark);
}

.filter-panel h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
  color: var(--slate-900);
}

.filter-clear {
  border: none;
  background: transparent;
  color: var(--accent-indigo-dark);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.filter-clear:hover {
  background: var(--accent-indigo-50);
}

.filter-group {
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-100);
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 10px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--slate-700);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.filter-check:hover {
  background: var(--slate-50);
}

.filter-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.filter-check:not(:has(.filter-check-box)) {
  padding: 0;
  gap: 8px;
}

.filter-check:not(:has(.filter-check-box)) input {
  position: static;
  opacity: 1;
  width: auto;
  height: auto;
  pointer-events: auto;
  accent-color: var(--accent-indigo);
}

.filter-panel > h3 {
  padding: 16px 18px;
  margin: 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-900);
}

.filter-check-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--slate-300);
  border-radius: 5px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.filter-check-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.15s ease;
}

.filter-check input:checked + .filter-check-box {
  background: var(--accent-indigo);
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.filter-check input:checked + .filter-check-box::after {
  transform: rotate(45deg) scale(1);
}

.filter-check input:focus-visible + .filter-check-box {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.filter-check-label {
  flex: 1;
  min-width: 0;
  line-height: 1.3;
}

.filter-check input:checked ~ .filter-check-label {
  color: var(--slate-900);
  font-weight: 600;
}

.filter-count {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--slate-500);
  background: var(--slate-100);
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.filter-check input:checked ~ .filter-count {
  background: var(--accent-indigo-50);
  color: var(--accent-indigo-dark);
}

.tabs-bar {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--slate-200);
  margin-bottom: 0;
  background: white;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  padding: 0 16px;
}

.tab-link {
  padding: 14px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-500);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}

.tab-link:hover {
  color: var(--slate-800);
}

.tab-link.active {
  color: var(--accent-indigo-dark);
  border-bottom-color: var(--accent-indigo);
}

.tab-link.active .tab-count {
  color: var(--accent-indigo-dark);
  background: rgba(79, 70, 229, 0.12);
}

.tabs-bar--pills {
  border-bottom: none;
  padding: 18px 20px 0;
  gap: 8px;
  background: transparent;
}

.tabs-bar--pills .tab-link {
  margin-bottom: 0;
  border-bottom: none;
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--slate-100);
}

.tabs-bar--pills .tab-link.active {
  background: var(--accent-indigo-50);
  box-shadow: inset 0 0 0 1px #c7d2fe;
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  margin-left: 6px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--slate-500);
  background: rgba(255, 255, 255, 0.7);
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  flex-wrap: wrap;
}

.list-toolbar-left,
.list-toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.toolbar-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-600);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
}

.toolbar-link:hover {
  color: var(--accent-indigo-dark);
}

.toolbar-link--danger:hover {
  color: #dc2626;
  border-color: #fecaca;
  background: #fef2f2;
}

.list-toolbar--jobs {
  padding: 12px 20px;
  background: white;
  border-bottom: 1px solid var(--slate-100);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.list-toolbar--jobs .toolbar-link {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: white;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.list-toolbar--jobs .toolbar-link:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.jobs-pagination {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jobs-pagination-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-600);
  white-space: nowrap;
  min-width: 88px;
  text-align: center;
}

.jobs-page-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  background: white;
  color: var(--slate-600);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.jobs-page-btn svg {
  width: 16px;
  height: 16px;
}

.jobs-page-btn:hover:not(:disabled) {
  background: var(--slate-50);
  border-color: var(--slate-300);
  color: var(--slate-900);
}

.jobs-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--accent-indigo-dark);
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.candidate-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.action-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--slate-200);
  background: white;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: all var(--transition);
}

.action-pill:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}

.action-pill.green { color: var(--green-600); border-color: #bbf7d0; background: #f0fdf4; }
.action-pill.blue { color: var(--accent-sky-dark); border-color: #bae6fd; background: var(--accent-sky-50); }
.action-pill.indigo { color: var(--accent-indigo-dark); border-color: #c7d2fe; background: var(--accent-indigo-50); }
.action-pill.violet { color: var(--accent-violet-dark); border-color: #ddd6fe; background: var(--accent-violet-50); }
.action-pill.red { color: #b91c1c; border-color: #fecaca; background: #fef2f2; }

.candidate-header {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.candidate-header-main {
  flex: 1;
  min-width: 240px;
}

.candidate-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 6px;
}

.candidate-headline {
  font-size: 0.9rem;
  color: var(--slate-600);
  margin-bottom: 12px;
}

.candidate-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.detail-item label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  margin-bottom: 4px;
}

.detail-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-800);
}

.response-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}

.response-badge .new-count {
  background: var(--accent-rose);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
}

.job-title-cell strong {
  display: block;
  font-size: 0.875rem;
  color: var(--slate-800);
  margin-bottom: 2px;
}

.job-title-cell span {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.form-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.form-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-500);
}

.form-step.active {
  background: linear-gradient(135deg, var(--accent-indigo), var(--accent-indigo-dark));
  color: white;
}

.form-step.done {
  background: #dcfce7;
  color: var(--green-600);
}

.preview-banner {
  background: linear-gradient(135deg, var(--accent-indigo), #6366f1 45%, var(--accent-sky) 100%);
  color: white;
  border-radius: var(--radius-md);
  padding: 40px;
  margin-bottom: 24px;
}

.preview-banner h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.preview-banner p {
  opacity: 0.9;
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .page-layout-split {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1600px) {
  .page-layout-split {
    grid-template-columns: 260px 1fr;
    gap: 24px;
  }
}

/* ─── Video plan: enhanced recruiter UI ─── */
.jobs-card {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.jobs-card-top {
  background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
  border-bottom: 1px solid var(--slate-100);
}

.jobs-search-bar {
  padding: 14px 20px 18px;
  border-bottom: none;
  background: transparent;
}

.jobs-search-bar input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 0.85rem;
  background: white;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.jobs-search-bar input:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.jobs-search-wrap {
  position: relative;
}

.jobs-search-wrap svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--slate-400);
}

.job-list {
  list-style: none;
}

.job-list-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 148px 112px 40px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.job-list-item > .job-select {
  align-self: center;
  justify-self: center;
}

.job-list-item > .kebab-btn {
  align-self: center;
  justify-self: center;
  flex-shrink: 0;
}

.job-list-item:hover {
  background: linear-gradient(90deg, rgba(238, 242, 255, 0.35) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.job-select,
.job-select-all {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  color: var(--slate-700);
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
}

.job-select input,
.job-select-all input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.job-check-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--slate-300);
  border-radius: 5px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.job-check-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  margin-top: -2px;
  transition: transform 0.15s ease;
}

.job-select input:checked + .job-check-box,
.job-select-all input:checked + .job-check-box {
  background: var(--accent-indigo);
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.job-select input:checked + .job-check-box::after,
.job-select-all input:checked + .job-check-box::after {
  transform: rotate(45deg) scale(1);
}

.job-list-main {
  min-width: 0;
}

.job-list-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
}

.job-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--slate-500);
}

.job-location svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.job-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-indigo-50);
  color: var(--accent-indigo-dark);
  border: 1px solid #c7d2fe;
}

.job-tag.private {
  background: var(--slate-100);
  color: var(--slate-600);
  border-color: var(--slate-200);
}

.job-list-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.job-list-ids {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--slate-500);
}

.job-id-label {
  font-weight: 600;
  color: var(--slate-400);
  margin-right: 3px;
}

.job-id-item {
  font-variant-numeric: tabular-nums;
}

.job-id-sep {
  color: var(--slate-300);
}

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

.job-responses-col {
  display: flex;
  justify-content: center;
  align-self: center;
}

.job-stat-box {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  text-align: center;
}

.job-stat-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 4px;
}

.job-stat-box .count {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.new-count {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  color: #1d4ed8;
  background: #dbeafe;
}

.job-stat-box .label {
  font-size: 0.62rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.job-stat-sub {
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--slate-500);
}

.job-posted-col {
  text-align: right;
  align-self: center;
  min-width: 0;
}

.job-posted-by {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 3px;
  white-space: nowrap;
}

.job-posted-col time {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}

/* ─── Applications card (list layout) ─── */
.applications-card {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.applications-card-top {
  background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
  border-bottom: 1px solid var(--slate-100);
}

.application-list {
  list-style: none;
}

.application-list-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1.3fr) minmax(140px, 0.9fr) auto auto 88px;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s ease;
}

.application-list-item:hover {
  background: linear-gradient(90deg, rgba(238, 242, 255, 0.35) 0%, rgba(248, 250, 252, 0.9) 100%);
}

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

.app-candidate-col {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.app-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.app-avatar--violet {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
}

.app-avatar--amber {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

.app-avatar--slate {
  background: linear-gradient(135deg, #64748b 0%, #475569 100%);
  box-shadow: 0 2px 6px rgba(71, 85, 105, 0.25);
}

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

.app-candidate-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
}

.app-candidate-email {
  font-size: 0.76rem;
  color: var(--slate-500);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-job-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.app-job-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.3;
}

.app-exp-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 2px 8px;
}

.app-status-col {
  display: flex;
  justify-content: center;
}

.app-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.app-status--new {
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid #93c5fd;
}

.app-status--shortlisted {
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.app-status--reviewing {
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fcd34d;
}

.app-status--rejected {
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.app-date-col {
  text-align: right;
  min-width: 88px;
}

.app-date-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-400);
  margin-bottom: 2px;
}

.app-date-col time {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-700);
}

.app-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: white;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-indigo-dark);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.app-view-btn svg {
  width: 14px;
  height: 14px;
}

.app-view-btn:hover {
  background: var(--accent-indigo-50);
  border-color: #c7d2fe;
  box-shadow: 0 1px 3px rgba(79, 70, 229, 0.12);
}

/* ─── Register card (list layout) ─── */
.register-card {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.register-card-top {
  background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
  border-bottom: 1px solid var(--slate-100);
}

.register-list {
  list-style: none;
}

.register-list-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1.35fr) minmax(120px, 0.75fr) minmax(100px, 0.65fr) auto auto 88px;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s ease;
}

.register-list-item:hover {
  background: linear-gradient(90deg, rgba(238, 242, 255, 0.35) 0%, rgba(248, 250, 252, 0.9) 100%);
}

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

.register-candidate-col {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.register-col-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  margin-bottom: 2px;
}

.register-col-value {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  font-variant-numeric: tabular-nums;
}

.register-col-value svg {
  width: 14px;
  height: 14px;
  color: var(--slate-400);
  flex-shrink: 0;
}

.register-phone-col,
.register-location-col,
.register-date-col {
  min-width: 0;
}

.register-date-col time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
}

.register-status-col {
  display: flex;
  justify-content: center;
}

.register-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.register-status--active {
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.register-status--pending {
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fcd34d;
}

/* ─── Users card (portal accounts) ─── */
.users-card {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.users-card-top {
  background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
  border-bottom: 1px solid var(--slate-100);
}

.users-list {
  list-style: none;
  --users-grid-cols: 40px minmax(0, 1.25fr) minmax(140px, 0.95fr) 110px 100px 118px 88px;
}

.users-list-header,
.users-list-item {
  display: grid;
  grid-template-columns: var(--users-grid-cols);
  gap: 14px;
  align-items: center;
  padding: 0 20px;
}

.users-list-header {
  padding-top: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.users-list-header-cell {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  min-width: 0;
}

.users-list-header-cell--center {
  text-align: center;
}

.users-list-item {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s ease;
}

.users-list-item:hover {
  background: linear-gradient(90deg, rgba(245, 243, 255, 0.45) 0%, rgba(248, 250, 252, 0.9) 100%);
}

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

.users-list-cell {
  min-width: 0;
}

.users-list-cell--check {
  display: flex;
  align-items: center;
}

.users-list-cell--center {
  display: flex;
  justify-content: center;
}

.users-list-cell--action {
  display: flex;
  justify-content: flex-end;
}

.users-user-col {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.users-company-col {
  min-width: 0;
}

.users-company {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--slate-800);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.users-phone {
  display: block;
  font-size: 0.74rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.user-type-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.user-type-tag--employer {
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid #93c5fd;
}

.user-type-tag--recruiter {
  color: #6d28d9;
  background: #ede9fe;
  border: 1px solid #c4b5fd;
}

.users-date-col time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}

.users-status-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.user-account-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.user-account-status--verified {
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
}

.user-account-status--unverified {
  color: #b45309;
  background: #fef3c7;
  border: 1px solid #fcd34d;
}

.user-account-status--suspended {
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.user-status--suspended {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fca5a5;
}

.user-notes-input {
  width: 100%;
  min-height: 100px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.85rem;
  font-family: inherit;
  resize: vertical;
  line-height: 1.5;
}

.user-notes-input:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.suspend-modal-message {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--slate-600);
}

.suspend-modal-message strong {
  color: var(--slate-800);
}

.form-required {
  color: #dc2626;
}

.suspend-modal-error {
  margin: 8px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #dc2626;
}

.suspend-modal-field.is-invalid .form-input {
  border-color: #fca5a5;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

@media (max-width: 1024px) {
  .users-list {
    --users-grid-cols: 36px 1fr;
  }

  .users-list-header {
    display: none;
  }

  .users-list-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .users-list-cell:not(.users-list-cell--check) {
    grid-column: 2;
  }

  .users-type-col::before,
  .users-date-col::before,
  .users-company-col::before {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
    margin-bottom: 2px;
  }

  .users-company-col::before { content: 'Company'; }
  .users-type-col::before { content: 'Account Type'; }
  .users-date-col::before { content: 'Joined'; }

  .users-status-col {
    justify-content: flex-start;
  }

  .users-list-cell--action {
    justify-content: flex-start;
  }
}

/* ─── Contacts / messages card (list layout) ─── */
.contacts-card {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.contacts-card-top {
  background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
  border-bottom: 1px solid var(--slate-100);
}

.contact-list {
  list-style: none;
  --contact-grid-cols: 40px 240px 200px minmax(180px, 1fr) 96px 110px 88px;
}

.contact-list-header,
.contact-list-item {
  display: grid;
  grid-template-columns: var(--contact-grid-cols);
  gap: 14px;
  align-items: center;
  padding: 0 20px;
}

.contact-list-header {
  padding-top: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--slate-200);
  background: var(--slate-50);
}

.contact-list-header-cell {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  min-width: 0;
}

.contact-list-header-cell--center {
  text-align: center;
}

.contact-list-item {
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-100);
  transition: background 0.15s ease;
}

.contact-list-cell {
  min-width: 0;
}

.contact-list-cell--check {
  display: flex;
  align-items: center;
}

.contact-list-cell--center {
  display: flex;
  justify-content: center;
}

.contact-list-cell--action {
  display: flex;
  justify-content: flex-end;
}

.contact-list-item:hover {
  background: linear-gradient(90deg, rgba(238, 242, 255, 0.35) 0%, rgba(248, 250, 252, 0.9) 100%);
}

.contact-list-item--unread {
  background: linear-gradient(90deg, rgba(219, 234, 254, 0.25) 0%, rgba(248, 250, 252, 0.5) 100%);
}

.contact-list-item--unread:hover {
  background: linear-gradient(90deg, rgba(219, 234, 254, 0.4) 0%, rgba(248, 250, 252, 0.85) 100%);
}

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

.contact-sender-col {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
}

.contact-subject-col,
.contact-preview-col,
.contact-date-col {
  min-width: 0;
  overflow: hidden;
}

.contact-subject {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--slate-800);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-list-item--unread .contact-subject {
  color: var(--slate-900);
}

.contact-preview {
  display: block;
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-date-col time {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}

.contact-status-col {
  display: flex;
  justify-content: center;
}

.contact-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.contact-status--unread {
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid #93c5fd;
}

.contact-status--read {
  color: var(--slate-600);
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
}

.contact-list-item .app-view-btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}

.kebab-btn {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.kebab-btn svg {
  width: 18px;
  height: 18px;
}

.kebab-btn:hover {
  background: white;
  border-color: var(--slate-200);
  color: var(--slate-800);
}

.kebab-btn.is-open {
  background: var(--accent-indigo-50);
  border-color: #c7d2fe;
  color: var(--accent-indigo-dark);
}

.job-action-menu {
  position: fixed;
  z-index: 300;
  min-width: 188px;
  padding: 6px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
}

.job-action-menu[hidden] {
  display: none;
}

.job-action-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--slate-700);
  font-size: 0.84rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.job-action-item:hover {
  background: var(--slate-50);
  color: var(--slate-900);
}

.job-action-item--danger {
  color: #dc2626;
}

.job-action-item--danger:hover {
  background: #fef2f2;
  color: #b91c1c;
}

.breadcrumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.breadcrumb-nav {
  display: flex;
  gap: 8px;
}

.breadcrumb-nav .btn {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.candidate-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}

.candidate-main {
  min-width: 0;
}

.candidate-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.comment-box {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 14px;
}

.comment-box label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 8px;
}

.comment-box textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-size: 0.8rem;
  resize: vertical;
  font-family: inherit;
}

.comment-box textarea:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.jump-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  padding: 12px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--slate-200);
}

.jump-tabs span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-right: 8px;
  flex-shrink: 0;
  line-height: 1;
}

.jump-tab {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-indigo-dark);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.jump-tab:hover,
.jump-tab.active {
  background: var(--accent-indigo-50);
}

.section-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}

.section-card-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-800);
}

.section-card-body {
  padding: 16px 20px;
}

.qa-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--slate-100);
}

.qa-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.qa-item .question {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 4px;
}

.qa-item .answer {
  font-size: 0.85rem;
  color: var(--slate-600);
}

.jump-section {
  scroll-margin-top: 16px;
}

.profile-entry {
  padding: 14px 0;
  border-bottom: 1px solid var(--slate-100);
}

.profile-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.profile-entry h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 4px;
}

.profile-entry-meta {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin: 0 0 8px;
}

.profile-entry p:last-child {
  font-size: 0.85rem;
  color: var(--slate-600);
  line-height: 1.5;
  margin: 0;
}

.lang-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lang-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-sm);
}

.lang-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-800);
}

.lang-level {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-indigo-dark);
  background: var(--accent-indigo-50);
  padding: 3px 10px;
  border-radius: 999px;
}

.resume-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

.resume-file-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: white;
  border: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-rose);
  flex-shrink: 0;
}

.resume-file-icon svg {
  width: 22px;
  height: 22px;
}

.resume-file-info {
  flex: 1;
  min-width: 0;
}

.resume-file-info strong {
  display: block;
  font-size: 0.875rem;
  color: var(--slate-900);
  margin-bottom: 2px;
}

.resume-file-info span {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.contact-message-wrap {
  margin-top: 0;
}

.contact-message-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-message-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.contact-message-body {
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--slate-700);
  white-space: pre-wrap;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
  max-height: 320px;
  overflow-y: auto;
}

/* Contact message modal */
.contact-modal-panel {
  overflow: hidden;
  border: 1px solid var(--slate-200);
}

.contact-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--slate-100);
  background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
}

.contact-modal-header-main {
  min-width: 0;
}

.contact-modal-eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-indigo-dark);
  margin-bottom: 4px;
}

.contact-modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
}

.contact-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

.contact-modal-sender {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
}

.contact-modal-avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.contact-modal-sender-info {
  flex: 1;
  min-width: 0;
}

.contact-modal-sender-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.contact-modal-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-400);
  margin-bottom: 3px;
}

.contact-modal-sender-info strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--slate-900);
}

.contact-modal-date-wrap time {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-700);
}

.contact-modal-email {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-indigo-dark);
  text-decoration: none;
}

.contact-modal-email:hover {
  text-decoration: underline;
}

.contact-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 24px;
  border-top: 1px solid var(--slate-100);
  background: linear-gradient(180deg, white 0%, var(--slate-50) 100%);
}

.contact-modal-footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}

.contact-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  border: 1px solid transparent;
}

.contact-modal-btn svg {
  width: 16px;
  height: 16px;
}

.contact-modal-btn--ghost {
  background: white;
  border-color: var(--slate-200);
  color: var(--slate-700);
}

.contact-modal-btn--ghost:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.contact-modal-btn--primary {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, #6366f1 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.contact-modal-btn--primary:hover {
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
  transform: translateY(-1px);
}

.contact-modal-meta {
  border: none;
  padding: 0;
}

.application-date {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-bottom: 16px;
}

/* ─── Candidate detail page ─── */
.candidate-detail-page {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.candidate-detail-page .breadcrumbs {
  margin-bottom: 0;
}

.candidate-detail-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  flex-wrap: wrap;
}

.candidate-detail-top .breadcrumb-sep {
  color: var(--slate-300);
}

.candidate-detail-top .breadcrumb-current {
  color: var(--slate-800);
  font-weight: 600;
}

.candidate-detail-nav {
  display: flex;
  gap: 8px;
}

.candidate-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: white;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-700);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.candidate-nav-btn svg {
  width: 14px;
  height: 14px;
}

.candidate-nav-btn:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
  color: var(--slate-900);
}

.candidate-actions-bar {
  padding: 0;
  overflow: hidden;
}

.candidate-actions-bar-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}

.candidate-action-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  flex-wrap: wrap;
}

.candidate-action-label {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
  flex-shrink: 0;
}

.candidate-action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.candidate-action-sep {
  width: 1px;
  background: var(--slate-100);
  align-self: stretch;
  min-height: 48px;
}

.candidate-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: white;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.candidate-action-btn svg {
  width: 15px;
  height: 15px;
}

.candidate-action-btn:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.candidate-action-btn--shortlist {
  color: #15803d;
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.candidate-action-btn--shortlist:hover {
  background: #dcfce7;
}

.candidate-action-btn--maybe {
  color: var(--accent-sky-dark);
  background: var(--accent-sky-50);
  border-color: #bae6fd;
}

.candidate-action-btn--maybe:hover {
  background: #e0f2fe;
}

.candidate-action-btn--reject {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.candidate-action-btn--reject:hover {
  background: #fee2e2;
}

.candidate-action-btn--whatsapp:hover {
  color: #15803d;
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.candidate-detail-page .candidate-layout {
  gap: 16px;
}

.candidate-hero {
  overflow: hidden;
  padding: 0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.candidate-hero-banner {
  position: relative;
  height: 80px;
  background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 38%, #0ea5e9 100%);
  overflow: hidden;
}

.candidate-hero-banner-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 80%, rgba(255, 255, 255, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.14) 0%, transparent 38%);
}

.candidate-hero-body {
  padding: 0 24px 0;
  margin-top: -28px;
  position: relative;
}

.candidate-hero-identity {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.candidate-hero-avatar {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(145deg, #a78bfa 0%, #7c3aed 55%, #6d28d9 100%);
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 4px solid white;
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.06),
    0 12px 28px rgba(109, 40, 217, 0.28);
}

.candidate-hero-info {
  flex: 1;
  min-width: 0;
  padding-top: 32px;
}

.candidate-hero-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.candidate-hero-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.candidate-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.candidate-hero-meta .app-status {
  min-width: auto;
  padding: 5px 12px;
}

.candidate-applied-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--slate-500);
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 5px 10px;
}

.candidate-applied-date svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--slate-400);
}

.candidate-hero-headline {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.55;
  max-width: 640px;
}

.candidate-resume-link {
  color: var(--accent-indigo-dark);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.candidate-resume-link:hover {
  text-decoration: underline;
}

.candidate-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 98px;
  margin-bottom: 20px;
}

.candidate-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--slate-700);
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.candidate-hero-tag svg {
  width: 14px;
  height: 14px;
  color: var(--slate-400);
  flex-shrink: 0;
}

.candidate-hero-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 0 18px;
  margin-top: 4px;
  border-top: 1px solid var(--slate-100);
  background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
}

.candidate-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  border: 1px solid transparent;
}

.candidate-hero-btn svg {
  width: 16px;
  height: 16px;
}

.candidate-hero-btn--ghost {
  background: white;
  border-color: var(--slate-200);
  color: var(--slate-700);
}

.candidate-hero-btn--ghost:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.candidate-hero-btn--primary {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, #6366f1 100%);
  color: white;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
}

.candidate-hero-btn--primary:hover {
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.4);
  transform: translateY(-1px);
}

.candidate-hero-btn--danger {
  background: white;
  border-color: #fca5a5;
  color: #b91c1c;
}

.candidate-hero-btn--danger:hover {
  background: #fef2f2;
  border-color: #f87171;
}

.candidate-hero-btn--success {
  background: white;
  border-color: #86efac;
  color: #15803d;
}

.candidate-hero-btn--success:hover {
  background: #f0fdf4;
  border-color: #4ade80;
}

.candidate-hero-footer .custom-select {
  min-width: 148px;
}

.candidate-info-card {
  overflow: hidden;
}

.candidate-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--slate-100);
  background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
}

.candidate-info-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
}

.candidate-info-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500);
  background: var(--slate-100);
  border-radius: 999px;
  padding: 4px 10px;
}

.candidate-info-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.candidate-info-body--compact {
  grid-template-columns: 1fr;
}

.candidate-info-group {
  padding: 20px 24px;
  border-bottom: 1px solid var(--slate-100);
}

.candidate-info-body--compact .candidate-info-group {
  border-bottom: none;
  padding: 0;
}

.candidate-info-group:last-child {
  border-bottom: none;
}

.candidate-info-group-title {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-indigo-dark);
}

.candidate-info-dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  margin: 0;
}

.candidate-info-item {
  min-width: 0;
}

.candidate-info-item--full {
  grid-column: 1 / -1;
}

.candidate-info-item dt {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 3px;
}

.candidate-info-item dd {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-800);
  line-height: 1.4;
}

.candidate-skills-section {
  padding: 18px 24px 22px;
  border-top: 1px solid var(--slate-100);
  background: var(--slate-50);
}

.candidate-skills-section .candidate-info-group-title {
  margin-bottom: 10px;
}

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

.candidate-skill-chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-indigo-dark);
  background: white;
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 5px 12px;
}

.candidate-jump-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  position: sticky;
  top: calc(var(--header-height) + 12px);
  z-index: 5;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.candidate-jump-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-400);
  margin-right: 4px;
}

.candidate-jump-nav .jump-tab {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate-600);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.candidate-jump-nav .jump-tab:hover {
  background: var(--slate-50);
  color: var(--slate-900);
}

.candidate-jump-nav .jump-tab.active {
  background: var(--accent-indigo-50);
  color: var(--accent-indigo-dark);
  border-color: #c7d2fe;
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.08);
}

.candidate-section-card {
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.candidate-section-card .section-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 14px 20px;
}

.candidate-section-card .section-card-header svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.section-card-header--indigo {
  background: linear-gradient(90deg, var(--accent-indigo-50) 0%, white 100%);
  color: var(--accent-indigo-dark);
  border-bottom-color: #e0e7ff;
}

.section-card-header--sky {
  background: linear-gradient(90deg, var(--accent-sky-50) 0%, white 100%);
  color: var(--accent-sky-dark);
  border-bottom-color: #e0f2fe;
}

.section-card-header--violet {
  background: linear-gradient(90deg, var(--accent-violet-50) 0%, white 100%);
  color: var(--accent-violet-dark);
  border-bottom-color: #ede9fe;
}

.section-card-header--emerald {
  background: linear-gradient(90deg, #ecfdf5 0%, white 100%);
  color: #047857;
  border-bottom-color: #d1fae5;
}

.section-card-header--slate {
  background: linear-gradient(90deg, var(--slate-50) 0%, white 100%);
  color: var(--slate-700);
}

.section-card-header--rose {
  background: linear-gradient(90deg, #fff1f2 0%, white 100%);
  color: var(--accent-rose-dark);
  border-bottom-color: #ffe4e6;
}

.candidate-detail-page .jump-section {
  scroll-margin-top: 80px;
}

.candidate-comments-card,
.candidate-quick-card {
  overflow: hidden;
}

.candidate-comments-header,
.candidate-quick-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--slate-100);
  background: linear-gradient(180deg, var(--slate-50) 0%, white 100%);
}

.candidate-comments-header h3,
.candidate-quick-header h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--slate-900);
}

.candidate-comments-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-indigo-dark);
  background: var(--accent-indigo-50);
  border: 1px solid #c7d2fe;
  border-radius: 999px;
  padding: 3px 8px;
}

.candidate-comments-body {
  padding: 16px 18px;
}

.candidate-comments-body textarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.82rem;
  font-family: inherit;
  resize: vertical;
  line-height: 1.5;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.candidate-comments-body textarea:focus {
  outline: none;
  border-color: var(--accent-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.candidate-save-comment {
  width: 100%;
  margin-top: 10px;
}

.candidate-quick-dl {
  margin: 0;
  padding: 8px 0;
}

.candidate-quick-dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--slate-50);
}

.candidate-quick-dl > div:last-child {
  border-bottom: none;
}

.candidate-quick-dl dt {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-500);
}

.candidate-quick-dl dd {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-800);
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .candidate-hero-identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .candidate-hero-info {
    padding-top: 12px;
    width: 100%;
  }

  .candidate-hero-title-row {
    justify-content: center;
  }

  .candidate-hero-meta {
    justify-content: center;
  }

  .candidate-hero-tags {
    padding-left: 0;
    justify-content: center;
  }

  .candidate-hero-footer {
    justify-content: center;
  }

  .candidate-info-body {
    grid-template-columns: 1fr;
  }

  .candidate-info-dl {
    grid-template-columns: 1fr;
  }

  .candidate-action-sep {
    width: 100%;
    height: 1px;
    min-height: 0;
  }

  .candidate-jump-nav {
    position: static;
  }
}

.welcome-banner {
  background: linear-gradient(135deg, var(--accent-indigo-50) 0%, var(--accent-sky-50) 50%, var(--accent-violet-50) 100%);
  border: 1px solid #e0e7ff;
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
}

.welcome-banner h1 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.welcome-banner p {
  color: var(--slate-500);
  font-size: 0.9rem;
}

.alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: #991b1b;
}

.alert-banner a {
  color: var(--accent-rose-dark);
  font-weight: 600;
}

.quota-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.quota-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  border-left: 4px solid var(--accent-indigo);
  box-shadow: var(--shadow-sm);
}

.quota-card.is-emerald {
  border-left-color: var(--accent-emerald);
}

.quota-card.is-sky {
  border-left-color: var(--accent-sky);
}

.quota-card.is-violet {
  border-left-color: var(--accent-violet);
}

.quota-card h4 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.quota-card .quota-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.quota-stats {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--slate-600);
}

.quota-stats strong {
  color: var(--slate-800);
}

.quota-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-indigo-dark);
}

.quota-card.is-emerald .quota-link { color: var(--accent-emerald-dark); }
.quota-card.is-sky .quota-link { color: var(--accent-sky-dark); }
.quota-card.is-violet .quota-link { color: var(--accent-violet-dark); }

.publish-success {
  text-align: center;
  padding: 48px 24px;
}

.publish-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.publish-success h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.publish-success p {
  color: var(--slate-600);
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.profile-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.profile-sidebar-card {
  overflow: hidden;
}

.profile-sidebar-card .card-body,
.profile-sidebar {
  padding: 0;
}

.profile-sidebar-header {
  position: relative;
  text-align: center;
  padding: 0 20px 20px;
}

.profile-sidebar-banner {
  height: 88px;
  margin: 0 -1px;
  background: linear-gradient(135deg, var(--accent-indigo) 0%, #7c3aed 45%, var(--accent-sky) 100%);
}

.profile-sidebar-avatar {
  width: 72px;
  height: 72px;
  margin: -36px auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-indigo-dark) 0%, #7c3aed 100%);
  color: white;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid white;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.profile-sidebar-name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--slate-900);
}

.profile-sidebar-email {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: var(--slate-500);
}

.profile-sidebar-status {
  font-size: 0.7rem;
}

.profile-completion {
  margin: 0 18px 16px;
  padding: 14px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 12px;
}

.profile-completion-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.profile-completion-top span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-600);
}

.profile-completion-top strong {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-indigo-dark);
}

.profile-progress-bar {
  width: 100%;
  height: 8px;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  overflow: hidden;
}

.profile-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-indigo), var(--accent-sky), var(--accent-emerald));
  border-radius: 999px;
}

.profile-section-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px 16px;
}

.profile-section-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
  color: var(--slate-700);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.profile-section-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.profile-section-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--slate-100);
  color: var(--slate-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.profile-section-icon svg {
  width: 16px;
  height: 16px;
}

.profile-section-link:hover {
  background: var(--slate-50);
  color: var(--slate-900);
}

.profile-section-link:hover .profile-section-icon {
  background: white;
  color: var(--accent-indigo-dark);
}

.profile-section-link.active {
  background: var(--accent-indigo-50);
  color: var(--accent-indigo-dark);
  font-weight: 600;
}

.profile-section-link.active .profile-section-icon {
  background: white;
  color: var(--accent-indigo-dark);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.12);
}

.profile-section-action {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-indigo-dark);
  background: white;
  border: 1px solid #c7d2fe;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.profile-section-link:hover .profile-section-action {
  background: var(--accent-indigo-50);
  border-color: #a5b4fc;
}

.profile-section-link.active .profile-section-action {
  background: white;
  border-color: #a5b4fc;
}

.register-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 20px;
  align-items: start;
}

.register-layout > aside.card {
  min-width: 0;
}

.register-layout > aside.profile-sidebar-card .card-body {
  padding: 0;
}

@media (max-width: 1024px) {
  .job-list-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .application-list-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .register-list-item {
    grid-template-columns: 36px 1fr;
    gap: 12px;
  }

  .contact-list {
    --contact-grid-cols: 36px 1fr;
  }

  .contact-list-header {
    display: none;
  }

  .contact-list-header,
  .contact-list-item {
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .contact-list-item {
    grid-template-columns: 36px 1fr;
  }

  .contact-list-cell:not(.contact-list-cell--check) {
    grid-column: 2;
  }

  .contact-subject-col::before,
  .contact-preview-col::before,
  .contact-date-col::before {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
    margin-bottom: 2px;
  }

  .contact-subject-col::before { content: 'Subject'; }
  .contact-preview-col::before { content: 'Preview'; }
  .contact-date-col::before { content: 'Date'; }

  .contact-status-col {
    justify-content: flex-start;
  }

  .contact-list-cell--action {
    justify-content: flex-start;
  }

  .register-phone-col,
  .register-location-col,
  .register-date-col,
  .register-status-col,
  .register-list-item .app-view-btn {
    grid-column: 2;
  }

  .register-status-col {
    justify-content: flex-start;
  }

  .app-job-col,
  .app-status-col,
  .app-date-col,
  .app-view-btn {
    grid-column: 2;
  }

  .app-status-col {
    justify-content: flex-start;
  }

  .app-date-col {
    text-align: left;
  }

  .job-responses-col,
  .job-posted-col,
  .job-list-item > .kebab-btn {
    grid-column: 2;
  }

  .job-posted-col {
    text-align: left;
  }

  .job-list-item > .kebab-btn {
    justify-self: start;
    margin-top: 4px;
  }

  .candidate-layout,
  .register-layout {
    grid-template-columns: 1fr;
  }

  .candidate-side {
    position: static;
  }

  .quota-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Phase 1 Platform Admin ─── */
.nav-badge {
  margin-left: auto;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-user--static {
  cursor: default;
}

.nav-link[data-page="employer-leads"].active,
.nav-link[data-page="categories"].active {
  background: #f5f3ff;
  color: #6d28d9;
  border-color: #ddd6fe;
}

.nav-link[data-page="candidates"].active {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.nav-link[data-page="activity-logs"].active {
  background: var(--slate-100);
  color: var(--slate-800);
  border-color: var(--slate-200);
}

.page-header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid #93c5fd;
}

.category-tag--inline {
  padding: 2px 8px;
  font-size: 0.62rem;
}

.category-tag--muted {
  color: var(--slate-500);
  background: var(--slate-100);
  border-color: var(--slate-200);
}

.quota-usage {
  font-size: 0.78rem;
  color: var(--slate-600);
}

.quota-usage strong {
  color: var(--slate-900);
}

.quota-usage--full strong {
  color: #b45309;
}

.job-employer {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-700);
}

.job-meta-sep {
  color: var(--slate-300);
}

.breakdown-list,
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.breakdown-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--slate-100);
  border-radius: 12px;
  background: var(--slate-50);
}

.breakdown-item--featured {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border-color: #bfdbfe;
}

.breakdown-item--muted {
  opacity: 0.65;
}

.breakdown-item-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1 1 160px;
  min-width: 140px;
}

.breakdown-item-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breakdown-item-left .category-tag {
  width: fit-content;
  max-width: 100%;
}

.category-tag--finance {
  color: #1e40af;
  background: #dbeafe;
  border-color: #93c5fd;
}

.breakdown-launch-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #047857;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
}

.breakdown-meta {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--slate-500);
  white-space: nowrap;
}

.breakdown-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
  text-align: right;
  font-size: 0.78rem;
  color: var(--slate-600);
  flex: 0 1 auto;
  min-width: 0;
}

@media (max-width: 640px) {
  .breakdown-item {
    flex-direction: column;
    align-items: stretch;
  }

  .breakdown-stats {
    justify-content: flex-start;
    text-align: left;
  }

  .breakdown-meta {
    white-space: normal;
  }
}

.rank-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--slate-100);
}

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

.rank-num {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--accent-indigo-50);
  color: var(--accent-indigo-dark);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-900);
}

.rank-meta {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.activity-avatar--green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.activity-avatar--orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.activity-avatar--rose { background: linear-gradient(135deg, #f43f5e, #e11d48); }

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  background: white;
  color: var(--slate-700);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.quick-action-btn:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.quick-action-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
}

.company-bar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.company-bar-item {
  display: grid;
  grid-template-columns: 160px 1fr 40px;
  gap: 12px;
  align-items: center;
}

.company-bar-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.company-bar-track {
  height: 8px;
  border-radius: 999px;
  background: var(--slate-100);
  overflow: hidden;
}

.company-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-indigo), #6366f1);
}

.company-bar-fill--muted {
  background: var(--slate-300);
}

.company-bar-count {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--slate-800);
  text-align: right;
}

.categories-list,
.leads-list,
.logs-list {
  list-style: none;
}

.categories-list-header,
.categories-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 80px 100px 90px 100px 90px 40px;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
}

.categories-list-header {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}

.categories-list-item {
  border-bottom: 1px solid var(--slate-100);
}

.categories-name-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.categories-slug {
  font-size: 0.72rem;
  color: var(--slate-400);
}

.categories-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px 0;
}

.categories-card-top .jobs-search-bar {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}

.categories-list-item .kebab-btn {
  justify-self: end;
}

.category-form-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
}

.category-form-stats[hidden] {
  display: none !important;
}

.category-form-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--slate-500);
}

.category-form-stat strong {
  font-size: 1.1rem;
  color: var(--slate-900);
}

.category-form-panel {
  max-width: 520px;
}

.category-form-header {
  align-items: flex-start;
  padding: 20px 22px 16px;
}

.category-form-header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-form-eyebrow {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-indigo);
}

.category-form-body {
  padding: 0 22px 8px;
}

.category-form-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
}

.category-form-intro-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: white;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-form-intro-icon svg {
  width: 18px;
  height: 18px;
  color: #2563eb;
}

.category-form-intro p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
}

.category-form-preview {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--slate-200);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.category-form-preview-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.category-form-preview-status {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-500);
}

.category-form-preview-slug {
  display: block;
  font-size: 0.76rem;
  color: var(--slate-500);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.category-form-section {
  margin-bottom: 18px;
  padding-top: 4px;
}

.category-form-section-title {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.category-form-input {
  border-color: var(--slate-200);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.category-form-input:focus {
  border-color: #a5b4fc;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.category-slug-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.category-slug-field:focus-within {
  border-color: #a5b4fc;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.category-slug-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.8rem;
  color: var(--slate-500);
  background: var(--slate-50);
  border-right: 1px solid var(--slate-200);
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.category-slug-input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
}

.category-field-hint {
  margin: 6px 0 0;
  font-size: 0.74rem;
  color: var(--slate-400);
  line-height: 1.4;
}

.category-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.category-choice {
  position: relative;
  cursor: pointer;
}

.category-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.category-choice-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  height: 100%;
  padding: 12px 13px;
  border-radius: 12px;
  border: 1px solid var(--slate-200);
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.category-choice-body strong {
  font-size: 0.84rem;
  color: var(--slate-900);
}

.category-choice-body small {
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--slate-500);
}

.category-choice input:checked + .category-choice-body {
  border-color: #818cf8;
  background: #eef2ff;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.15);
}

.category-choice input:focus-visible + .category-choice-body {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.category-form-footer {
  padding: 14px 22px 18px;
  border-top: 1px solid var(--slate-100);
  background: var(--slate-50);
}

.category-form-panel--edit .category-form-intro {
  background: var(--slate-50);
  border-color: var(--slate-200);
  color: var(--slate-700);
}

.category-form-panel--edit .category-form-intro-icon {
  border-color: var(--slate-200);
}

.category-form-panel--edit .category-form-intro-icon svg {
  color: var(--slate-600);
}

@media (max-width: 480px) {
  .category-choice-grid {
    grid-template-columns: 1fr;
  }

  .category-slug-prefix {
    font-size: 0.72rem;
    padding: 0 8px;
  }
}

.category-confirm-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.category-confirm-warning svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.category-confirm-warning p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
}

.categories-card .empty-state {
  border-top: 1px solid var(--slate-100);
}

.leads-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.leads-list {
  list-style: none;
  min-width: 980px;
  --leads-grid-cols: minmax(200px, 1.25fr) minmax(180px, 1fr) 110px 110px 96px minmax(180px, auto);
}

.leads-list-header,
.leads-list-item {
  display: grid;
  grid-template-columns: var(--leads-grid-cols);
  gap: 16px;
  align-items: center;
  padding: 14px 20px;
}

.leads-list-header {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
}

.leads-list-header-cell {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
  min-width: 0;
}

.leads-list-header-cell--center {
  text-align: center;
}

.leads-list-item {
  border-bottom: 1px solid var(--slate-100);
}

.leads-list-cell {
  min-width: 0;
}

.leads-list-cell--center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.leads-company-col strong {
  display: block;
  font-size: 0.88rem;
  color: var(--slate-900);
}

.leads-contact-col {
  font-size: 0.82rem;
  color: var(--slate-700);
  line-height: 1.45;
}

.leads-date-col time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
}

.leads-status-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.leads-actions-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.leads-email {
  display: block;
  font-size: 0.74rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.leads-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.logs-filters {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-100);
  background: var(--slate-50);
}

.logs-search {
  flex: 1;
  position: relative;
}

.logs-search input {
  width: 100%;
  padding: 10px 14px 10px 40px;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 0.85rem;
}

.logs-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--slate-400);
}

.logs-list-header,
.logs-list-item {
  display: grid;
  grid-template-columns: 140px 180px 160px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 20px;
}

.logs-list-header {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-500);
}

.logs-list-item {
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.82rem;
}

.logs-list-item time {
  color: var(--slate-500);
  font-size: 0.78rem;
}

.log-event {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--slate-700);
}

.log-event--success {
  background: #dcfce7;
  color: #15803d;
}

.log-event--danger {
  background: #fee2e2;
  color: #b91c1c;
}

.log-event--warn {
  background: #fef3c7;
  color: #b45309;
}

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

.employer-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
  margin-top: 15px;
}

.employer-detail-main,
.employer-detail-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.employer-hero-avatar {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.employer-quota-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.employer-quota-numbers {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.employer-quota-used {
  font-size: 2rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.employer-quota-sep,
.employer-quota-max {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-500);
}

.employer-quota-label {
  margin-left: 8px;
  font-size: 0.85rem;
  color: var(--slate-500);
}

.employer-quota-pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 700;
}

.employer-quota-track {
  height: 10px;
  border-radius: 999px;
  background: var(--slate-100);
  overflow: hidden;
  margin-bottom: 10px;
}

.employer-quota-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-indigo), #6366f1);
}

.employer-quota-hint {
  margin: 0;
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.5;
}

.employer-mini-jobs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.employer-mini-job {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--slate-100);
  border-radius: 10px;
  background: var(--slate-50);
}

.employer-mini-job-meta {
  display: block;
  font-size: 0.74rem;
  color: var(--slate-500);
  margin-top: 2px;
}

.employer-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.employer-timeline-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  position: relative;
}

.employer-timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: -18px;
  width: 2px;
  background: var(--slate-200);
}

.employer-timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--slate-300);
  margin-top: 4px;
  position: relative;
  z-index: 1;
}

.employer-timeline-dot--green {
  background: #22c55e;
}

.employer-timeline-item strong {
  display: block;
  font-size: 0.84rem;
  color: var(--slate-900);
}

.employer-timeline-item p {
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--slate-600);
}

.employer-timeline-item time {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  color: var(--slate-400);
}

.employer-form-section {
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--slate-100);
}

.employer-form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.employer-form-section-title {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--slate-900);
}

.employer-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-100);
}

.employer-lead-prefill {
  padding: 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 12px;
}

.employer-lead-prefill-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.84rem;
}

.employer-lead-prefill-row:last-child {
  border-bottom: none;
}

.employer-lead-prefill-row span:first-child {
  color: var(--slate-500);
  font-weight: 600;
}

.employer-hero--blocked .employer-hero-avatar {
  background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.employer-blocked-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.employer-blocked-banner svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.employer-blocked-banner strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.employer-blocked-banner p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #b91c1c;
}

.candidate-hero-btn--primary {
  background: var(--accent-indigo);
  color: white;
  border-color: var(--accent-indigo);
}

.candidate-hero-btn--primary:hover {
  background: #4338ca;
  border-color: #4338ca;
}

@media (max-width: 1024px) {
  .employer-detail-grid {
    grid-template-columns: 1fr;
  }

  .quick-actions-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .company-bar-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .categories-list-header,
  .logs-list-header {
    display: none;
  }

  .categories-list-item,
  .logs-list-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
