/* ================================================================
   JalaJob — Premium UI Overhaul v2.0
   Design system elevations, mobile, animations, polish
   Applied AFTER base styles.css — overrides & additions
   ================================================================ */

/* ── Upgraded Design Tokens ─────────────────────────────────────── */
:root {
  /* Refined brand colors mapped to tokens.css */
  --brand:        var(--green-600);
  --brand-hover:  var(--green-700);
  --brand-light:  var(--green-500);
  --accent:       var(--green-500);
  
  /* Premium neutrals - slight warm tint mapped to tokens.css */
  --bg:           var(--bg-app);
  --bg-secondary: var(--bg-surface-hover);
  --bg-tertiary:  var(--neutral-200);
  --surface:      var(--bg-surface);
  --surface-2:    var(--neutral-50);
  --error:        var(--status-error);
  --warning:      var(--status-warning);
  
  /* Enhanced borders mapped to tokens.css */
  --border:       var(--border-subtle);
  --border-strong: var(--border-default);
  --border-focus: var(--border-focus);
  
  /* Typography mapped to tokens.css */
  --font:         var(--font-body);
  --font-display: var(--font-display);
  
  /* Premium shadows mapped to tokens.css */
  --shadow-xs:    var(--shadow-xs);
  --shadow-sm:    var(--shadow-sm);
  --shadow:       var(--shadow-md);
  --shadow-md:    var(--shadow-md);
  --shadow-lg:    var(--shadow-lg);
  --shadow-xl:    var(--shadow-lg);
  --shadow-green: var(--shadow-brand);

  /* Sidebar width */
  --sidebar-w: 256px;
  
  /* Transitions */
  --t:      var(--duration-fast);
  --t-slow: var(--duration-normal);
  --t-spring: var(--duration-slow);
}

/* ── Premium fonts ──────────────────────────────────────────────── */
/* Use Plus Jakarta Sans / Outfit for big headings only */
.page-title, .welcome-title, .login-form-title, .hero-title,
h1.page-title { font-family: var(--font-display); }

/* ── Global body upgrade ────────────────────────────────────────── */
body {
  background: var(--bg-app);
  font-family: var(--font-body);
  color: var(--text-primary);
}

/* ================================================================
   SIDEBAR PREMIUM UPGRADE
   ================================================================ */
.sidebar {
  background: var(--bg-sidebar);
  border-right: 1px solid rgba(255,255,255,.05);
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}


.sidebar-header {
  padding: var(--space-4) var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.sidebar-logo-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--neutral-0);
  letter-spacing: var(--tracking-tight);
}

.sidebar-logo-icon {
  background: var(--bg-brand);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-brand);
}

.sidebar-toggle { color: rgba(255,255,255,.35); }
.sidebar-toggle:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }

/* New conversation button */
.sidebar-new {
  margin: var(--space-4) var(--space-3) 0;
  background: var(--bg-brand);
  border: none;
  color: var(--text-on-brand);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  transition: all var(--duration-fast) var(--ease-out-expo);
  box-shadow: var(--shadow-brand);
}
.sidebar-new:hover {
  background: var(--bg-brand-hover);
  color: var(--text-on-brand);
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}
.sidebar-new:active {
  transform: scale(0.98);
}

/* Section titles */
.sidebar-section-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neutral-600);
  padding: 0 var(--space-2) var(--space-2);
}

.sidebar-section { padding: var(--space-4) var(--space-3) 0; }

/* Nav buttons */
.nav-btn {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-sidebar);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  gap: var(--space-3);
  transition: all var(--duration-fast) var(--ease-out-expo);
  background: transparent;
  border: none;
  border-left: 3px solid transparent;
}
.nav-btn:hover {
  background: rgba(255,255,255,.05);
  color: var(--neutral-0);
}
.nav-btn.active {
  background: var(--bg-sidebar-active);
  color: var(--text-sidebar-active);
  font-weight: var(--weight-semibold);
  box-shadow: none;
  border-left: 3px solid var(--green-400);
  padding-left: 9px;
}
.nav-btn-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

/* Sessions */
.session-btn {
  color: rgba(255,255,255,.35);
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
}
.session-btn:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); }
.session-btn.active { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.session-del:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.6); opacity: 1; }

/* Sidebar footer - user card */
.sidebar-footer {
  padding: var(--space-3);
  border-top: 1px solid rgba(255,255,255,.05);
}

.user-btn {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  width: 100%;
  transition: all var(--duration-fast) var(--ease-out-expo);
}
.user-btn:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); }
.user-name { color: var(--neutral-0); font-size: var(--text-sm); font-weight: var(--weight-semibold); }
.user-role-label { color: var(--neutral-500); font-size: var(--text-xs); }

/* User avatar */
.user-av {
  background: var(--bg-brand);
  color: var(--text-on-brand);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
}

/* Guest banner dark */
.guest-banner {
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.2);
  color: rgba(255,255,255,.6);
  border-radius: 8px;
}
.guest-banner strong { color: rgba(255,255,255,.8); }
.guest-signin-btn { background: rgba(34,197,94,.25); color: #4ade80; border: 1px solid rgba(34,197,94,.3); border-radius: 6px; font-size: .78rem; }
.guest-signin-btn:hover { background: rgba(34,197,94,.35); }

/* ── Mobile hamburger ───────────────────────────────────────────── */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 500;
  width: 38px;
  height: 38px;
  background: #0f1117;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  color: rgba(255,255,255,.8);
  flex-direction: column;
  gap: 4px;
  transition: all var(--t);
}
.mobile-menu-btn:hover { background: #1a1f2e; }
.mobile-menu-btn .bar {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: all var(--t);
}

/* ── Mobile sidebar overlay ─────────────────────────────────────── */
.mobile-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 490;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(2px);
  animation: fadeIn var(--t) ease;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }

/* ================================================================
   MAIN CONTENT AREA
   ================================================================ */
.main {
  background: var(--bg);
}

/* Non-chat pages need the main container to scroll.
   Chat page manages its own internal scroll via .chat-thread.
   We apply overflow-y: auto when the page is NOT the chat page. */
.main:not(:has(.chat-page)) {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */
}

/* Fallback for browsers without :has() support:
   .page-wrap and other page roots will scroll via their parent via JS class */
.main.page-mode {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS momentum scrolling */
  overscroll-behavior-y: contain;
}

/* Interview prep — ensure textarea is scrollable and doesn't block parent */
#interview-prep-page .form-textarea,
#interview-prep-page textarea {
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
  touch-action: manipulation;
  min-height: 120px;
}

/* Ensure interview content has enough bottom padding on mobile */
#interview-content {
  padding-bottom: 24px;
}


.page-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f1117;
  letter-spacing: -.035em;
  margin-bottom: 6px;
  line-height: 1.2;
}

.page-subtitle {
  font-size: .9375rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ================================================================
   CARDS — Premium upgrade
   ================================================================ */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--duration-normal) var(--ease-out-expo), transform var(--duration-normal) var(--ease-out-expo), border-color var(--duration-normal) var(--ease-out-expo);
}
.card.interactive:hover, .card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-default);
  transform: translateY(-1px);
}

/* Page Header Premium */
.page-header-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  padding: 0 var(--space-2);
}
.page-header-left {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.page-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.page-header-icon-container {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--bg-brand-subtle);
  color: var(--text-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-xs);
}
.page-header-icon-container.ai-icon {
  background: var(--status-ai-bg);
  color: var(--status-ai);
}
.page-header-text {
  display: flex;
  flex-direction: column;
}
.page-title-premium {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
.page-subtitle-premium {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-top: var(--space-1);
}


/* ================================================================
   CHAT PAGE — Premium upgrade  
   ================================================================ */
.chat-page {
  background: var(--bg);
}

.mode-bar { padding: 18px 32px 0; gap: 8px; }
.mode-btn {
  padding: 7px 18px;
  font-size: .8125rem;
  border: 1.5px solid var(--border);
  border-radius: 9999px;
  font-weight: 500;
  color: #6b7280;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.mode-btn:hover { border-color: #d1d5db; color: #374151; background: var(--surface); }
.mode-btn.active {
  background: #0f1117;
  border-color: #0f1117;
  color: white;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* Welcome hero */
.welcome-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
  color: var(--text-primary);
}
.welcome-sub {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

.w-chip {
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-fast) var(--ease-out-expo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.w-chip:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-default);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Messages */
.msg-user .bubble {
  background: var(--neutral-900);
  border-radius: 18px 18px 4px 18px;
  box-shadow: var(--shadow-sm);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  padding: 12px 18px;
  color: white;
}
.agent-av {
  background: var(--bg-brand);
  box-shadow: var(--shadow-brand);
}

/* Chat input area */
.chat-footer {
  padding: var(--space-4) var(--space-8) var(--space-5);
  background: var(--bg-app);
}

.chat-form {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: border-color var(--duration-fast) var(--ease-out-expo), box-shadow var(--duration-fast) var(--ease-out-expo);
  overflow: hidden;
}
.chat-form:focus-within {
  border-color: var(--border-focus);
  box-shadow: var(--shadow-lg), 0 0 0 3px color-mix(in srgb, var(--green-500) 15%, transparent);
}

.chat-input {
  font-size: var(--text-sm);
  padding: 16px 20px 14px;
  background: transparent;
  color: var(--text-primary);
  caret-color: var(--green-600);
}
.chat-input::placeholder { color: var(--text-tertiary); }

.chat-send {
  width: 38px;
  height: 38px;
  background: var(--bg-brand);
  color: var(--text-on-brand);
  border-radius: var(--radius-full);
  box-shadow: none;
  margin: 0 10px 10px 0;
  transition: all var(--duration-fast) var(--ease-out-expo);
  border: none;
}
.chat-send:hover {
  background: var(--bg-brand-hover);
  transform: scale(1.05);
}
.chat-send:active { transform: scale(.97); }

.chat-hint { font-size: var(--text-xs); color: var(--text-tertiary); text-align: center; padding-top: 8px; }

/* ================================================================
   JOB CARDS — Major premium upgrade
   ================================================================ */
/* Jobs list layout */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* The actual job card */
.job-card-premium {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  cursor: pointer;
  transition: all var(--t);
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}
.job-card-premium::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background var(--t);
}
.job-card-premium:hover {
  border-color: #22c55e;
  box-shadow: 0 6px 20px rgba(0,0,0,.08), 0 1px 6px rgba(0,0,0,.04);
  transform: translateY(-2px);
}
.job-card-premium:hover::before { background: #22c55e; }

.jcp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.jcp-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f1117;
  letter-spacing: -.02em;
  line-height: 1.35;
  flex: 1;
}
.jcp-match {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.jcp-company {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.jcp-company-logo {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  color: #15803d;
  flex-shrink: 0;
  letter-spacing: -.01em;
}
.jcp-company-name { font-size: .875rem; font-weight: 600; color: #374151; }

.jcp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  align-items: center;
}
.jcp-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  color: #6b7280;
  font-weight: 500;
}
.jcp-meta-item svg { width: 13px; height: 13px; flex-shrink: 0; opacity: .7; }

.jcp-salary {
  font-size: .875rem;
  font-weight: 700;
  color: #0f1117;
}

.jcp-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; }
.jcp-tag {
  font-size: .72rem;
  font-weight: 500;
  color: #4b5563;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 3px 9px;
  border-radius: 6px;
}

.jcp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}
.jcp-date { font-size: .75rem; color: #9ca3af; }
.jcp-actions { display: flex; gap: 8px; }

/* Job type badge pill */
.jcp-type-badge {
  font-size: .72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: .01em;
}
.jcp-type-full { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.jcp-type-part { background: #f5f3ff; color: #6d28d9; border: 1px solid #ddd6fe; }
.jcp-type-remote { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.jcp-type-hybrid { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.jcp-type-contract { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ================================================================
   BUTTONS — Premium Design System Overhaul
   ================================================================ */
.btn {
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-tight);
  border-radius: var(--radius-md);
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: all var(--duration-fast) var(--ease-out-expo);
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  outline: none;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-primary {
  background: var(--bg-brand);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover:not(:disabled) {
  background: var(--bg-brand-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

/* green alias and fallback */
.btn-primary-green {
  background: var(--bg-brand);
  color: var(--text-on-brand);
  box-shadow: var(--shadow-sm);
}
.btn-primary-green:hover:not(:disabled) {
  background: var(--bg-brand-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}
.btn-primary-green:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  box-shadow: var(--shadow-xs);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--bg-surface-hover);
  border-color: var(--border-default);
  color: var(--text-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  box-shadow: none;
}
.btn-ghost:hover:not(:disabled) {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
}
.btn-ghost:active:not(:disabled) {
  transform: scale(0.98);
}

.btn-destructive {
  background: var(--status-error);
  color: var(--text-on-brand);
}
.btn-destructive:hover:not(:disabled) {
  background: var(--red-500);
}

/* ================================================================
   FORMS — Premium
   ================================================================ */
.form-input, .form-select, .form-textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  color: var(--text-primary);
  padding: 10px 14px;
  min-height: 44px;
  font-family: var(--font-body);
  transition: all var(--duration-fast) var(--ease-out-expo);
  width: 100%;
  box-sizing: border-box;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green-500) 15%, transparent);
  outline: none;
}
.form-input::placeholder {
  color: var(--text-tertiary);
}
.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--text-secondary);
  margin-bottom: var(--space-1);
  display: block;
}
.form-hint {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: var(--leading-normal);
  margin-top: var(--space-1);
}

/* ================================================================
   BADGES — Premium
   ================================================================ */
.badge {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  line-height: 1;
}
.badge-green, .badge-success {
  background: var(--status-success-bg);
  color: var(--status-success);
  border: 1px solid color-mix(in srgb, var(--status-success) 20%, transparent);
}
.badge-blue, .badge-info {
  background: var(--status-info-bg);
  color: var(--status-info);
  border: 1px solid color-mix(in srgb, var(--status-info) 20%, transparent);
}
.badge-amber, .badge-warning {
  background: var(--status-warning-bg);
  color: var(--status-warning);
  border: 1px solid color-mix(in srgb, var(--status-warning) 20%, transparent);
}
.badge-red, .badge-error {
  background: var(--status-error-bg);
  color: var(--status-error);
  border: 1px solid color-mix(in srgb, var(--status-error) 20%, transparent);
}
.badge-gray, .badge-neutral {
  background: var(--neutral-100);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.badge-purple, .badge-ai {
  background: var(--status-ai-bg);
  color: var(--status-ai);
  border: 1px solid color-mix(in srgb, var(--status-ai) 20%, transparent);
}

/* ================================================================
   TOAST NOTIFICATIONS — Premium modern
   ================================================================ */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #0f1117;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  font-size: .875rem;
  font-weight: 500;
  color: white;
  max-width: 360px;
  pointer-events: all;
  animation: toastIn .25s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
.toast::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
}
.toast.success::before { background: #22c55e; }
.toast.error::before { background: #ef4444; }
.toast.warning::before { background: #f59e0b; }
.toast.info::before { background: #3b82f6; }

.toast-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}
.toast.success .toast-icon { background: rgba(34,197,94,.2); color: #4ade80; }
.toast.error .toast-icon { background: rgba(239,68,68,.2); color: #f87171; }
.toast.warning .toast-icon { background: rgba(245,158,11,.2); color: #fbbf24; }
.toast.info .toast-icon { background: rgba(59,130,246,.2); color: #60a5fa; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(10px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(6px) scale(.97); }
}
.toast.removing { animation: toastOut .2s ease forwards; }

/* ================================================================
   MODALS — Premium
   ================================================================ */
.modal-overlay {
  background: rgba(12, 10, 9, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity var(--duration-normal) var(--ease-out-expo);
}
@keyframes modalEntrance {
  from { opacity: 0; transform: scale(0.97) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 560px;
  width: calc(100% - 32px);
  animation: modalEntrance var(--duration-normal) var(--ease-out-expo) forwards;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
}
.modal-header {
  padding: var(--space-6) var(--space-6) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}
.modal-body {
  padding: var(--space-6);
  flex: 1;
  overflow-y: auto;
}
.modal-footer {
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}
.modal-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  transition: all var(--duration-fast) var(--ease-out-expo);
}
.modal-close:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  border-color: var(--border-default);
}

/* ================================================================
   EMPTY STATES — Premium
   ================================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-6);
  text-align: center;
  gap: var(--space-4);
}
.empty-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--bg-brand-subtle);
  border: 1px solid color-mix(in srgb, var(--status-success) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  color: var(--status-success);
  margin-bottom: var(--space-2);
}
.empty-state h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}
.empty-state p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  max-width: 400px;
  line-height: var(--leading-normal);
}

/* Loading state */
.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  color: #9ca3af;
  font-size: .875rem;
  gap: 10px;
}
.loading-state::before {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid #e5e7eb;
  border-top-color: #15803d;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Error state */
.error-state {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  color: #991b1b;
  font-size: .875rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  gap: 10px;
}
.error-state::before { content: '⚠️'; font-size: 1.1rem; }

/* Success card */
.success-card {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
}
.success-card h3 { font-size: 1.125rem; font-weight: 700; color: #15803d; margin-bottom: 8px; }
.success-card p { color: #166534; font-size: .9rem; }

/* ================================================================
   SKELETON LOADING
   ================================================================ */
.skeleton {
  background: linear-gradient(
    90deg,
    #f0f0f0 25%,
    #e8e8e8 50%,
    #f0f0f0 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-text  { height: 14px; border-radius: 4px; margin-bottom: 8px; }
.skeleton-title { height: 22px; width: 60%; border-radius: 6px; margin-bottom: 12px; }
.skeleton-card  { height: 120px; border-radius: 14px; }

/* ================================================================
   ADMIN TABLES — Premium
   ================================================================ */
.admin-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.admin-table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  background: var(--neutral-50);
  border-bottom: 1px solid var(--border-subtle);
}
.admin-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: var(--bg-surface-hover); }

/* ================================================================
   NOTIFICATION BELL — Premium
   ================================================================ */
.notif-bell-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 9px;
  color: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all var(--t);
  flex-shrink: 0;
  font-size: .9rem;
}
.notif-bell-btn:hover { background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); }
.notif-bell-btn .notif-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 16px;
  height: 16px;
  background: #ef4444;
  color: white;
  border-radius: 9999px;
  font-size: .62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0f1117;
  line-height: 1;
  padding: 0 3px;
}

/* Dropdown */
.notif-dropdown {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.notif-dropdown-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.notif-dropdown-title { font-size: .875rem; font-weight: 700; color: #0f1117; }

.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background var(--t);
}
.notif-item:hover { background: #f9fafb; }
.notif-item.unread { background: #f0fdf4; border-left: 3px solid #22c55e; }
.notif-item-title { font-size: .8125rem; font-weight: 600; color: #0f1117; margin-bottom: 2px; }
.notif-item-body  { font-size: .78rem; color: #6b7280; line-height: 1.5; }
.notif-item-time  { font-size: .7rem; color: #9ca3af; margin-top: 4px; }

/* ================================================================
   PIPELINE KANBAN — Premium
   ================================================================ */
/* ================================================================
   PIPELINE KANBAN — Premium
   ================================================================ */
.pipeline-board {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  align-items: flex-start;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.pipeline-col {
  flex: 0 0 310px;
  width: 310px;
  background: var(--neutral-50);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 480px;
}
.pipeline-col-header {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.pipeline-col-count {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  background: var(--neutral-100);
  border-radius: 12px;
  color: var(--text-secondary);
}
.pipeline-cards {
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 300px;
  transition: background-color 0.15s ease;
}
.pipeline-cards.drag-over {
  background-color: rgba(16, 185, 129, 0.03);
}
.pipeline-card-premium {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px;
  cursor: grab;
  position: relative;
  transition: all 0.15s ease-out;
  box-shadow: none;
}
.pipeline-card-premium:hover {
  border-color: var(--green-500) !important;
  box-shadow: var(--shadow-sm) !important;
  transform: translateY(-1px);
}
.pipeline-card-premium:hover .card-hover-actions {
  display: flex !important;
}
.pipeline-card-premium.dragging {
  cursor: grabbing;
  opacity: 0.4;
  box-shadow: var(--shadow-md);
}

.card-hover-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: none;
  gap: 4px;
  background: var(--bg-surface);
  padding-left: 6px;
  align-items: center;
}
.card-action-btn {
  padding: 4px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  background: var(--neutral-50);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.1s;
}
.card-action-btn:hover {
  background: var(--neutral-100);
  color: var(--text-primary);
}
.card-action-btn.move:hover {
  border-color: var(--green-200);
  color: var(--green-600);
  background: var(--green-50);
}

.premium-card-dropdown {
  position: fixed;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 4px 0;
  width: 170px;
  z-index: 99999;
}

/* Empty State */
.pipeline-empty-state-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border-subtle);
  background: var(--neutral-50);
  border-radius: 8px;
  padding: 16px;
  height: 90px;
  text-align: center;
  transition: all 0.15s ease;
}
.pipeline-empty-state-compact:hover {
  background: var(--neutral-100);
  border-color: var(--border-default);
}

/* Mobile responsive selector */
.pipeline-mobile-tabs {
  display: none;
}

@media (max-width: 767px) {
  .pipeline-mobile-tabs {
    display: flex !important;
  }
  .pipeline-board {
    display: block !important;
    overflow-x: visible !important;
  }
  .pipeline-col {
    width: 100% !important;
    flex: 1 1 100% !important;
    margin-bottom: 24px;
    min-height: auto !important;
  }
  .pipeline-cards {
    min-height: auto !important;
  }
}

/* ================================================================
   STATS CARDS — Premium
   ================================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  transition: all var(--t);
}
.stat-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.stat-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #9ca3af;
  margin-bottom: 8px;
}
.stat-val {
  font-size: 2rem;
  font-weight: 900;
  color: #0f1117;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-change {
  font-size: .75rem;
  color: #6b7280;
}
.stat-change.up { color: #15803d; }
.stat-change.down { color: #dc2626; }

/* ================================================================
   PROGRESS BARS — Premium
   ================================================================ */
.progress-wrap { margin-bottom: 20px; }
.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.progress-label { font-size: .8125rem; font-weight: 600; color: #374151; }
.progress-pct { font-size: .875rem; font-weight: 700; color: #15803d; }
.progress-bar-bg {
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #22c55e, #15803d);
  transition: width .6s cubic-bezier(.4,0,.2,1);
}

/* ================================================================
   APPLICATIONS CARDS — Premium
   ================================================================ */
.app-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-xs);
  transition: all var(--t);
}
.app-card:hover { box-shadow: var(--shadow-sm); border-color: #d1d5db; }
.app-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.app-card-title { font-size: 1rem; font-weight: 700; color: #0f1117; letter-spacing: -.02em; }
.app-card-company { font-size: .875rem; color: #6b7280; margin-bottom: 8px; }

/* ================================================================
   PROFILE PAGE — Premium
   ================================================================ */
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.profile-card-header {
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--border);
}
.profile-card-title {
  font-size: .9375rem;
  font-weight: 700;
  color: #0f1117;
  letter-spacing: -.02em;
}
.profile-card-body { padding: 20px 22px; }

/* Skills tags */
.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 9999px;
  font-size: .78rem;
  font-weight: 600;
  color: #15803d;
  cursor: default;
  transition: all var(--t);
}
.skill-tag .remove-skill {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(21,128,61,.15);
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .6rem;
  cursor: pointer;
  transition: all var(--t);
}
.skill-tag .remove-skill:hover { background: #fee2e2; color: #dc2626; }

/* ================================================================
   CV PAGE — Premium
   ================================================================ */
.cv-hero {
  background: linear-gradient(135deg, #0f1117 0%, #1a1f2e 60%, #1e2a1e 100%);
  border-radius: 18px;
  padding: 36px 32px;
  color: white;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.cv-hero::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.15) 0%, transparent 70%);
  top: -80px; right: -80px;
}
.cv-hero-title { font-size: 1.625rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.03em; }
.cv-hero-sub { font-size: .9375rem; color: rgba(255,255,255,.6); line-height: 1.6; margin-bottom: 20px; }

/* Steps */
.cv-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 16px;
}
.cv-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.cv-step.done { color: #4ade80; }
.cv-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
  flex-shrink: 0;
}
.cv-step.done .cv-step-num { background: rgba(34,197,94,.25); border-color: rgba(34,197,94,.4); color: #4ade80; }

/* ================================================================
   INTERVIEW PREP — Premium
   ================================================================ */
.interview-hero {
  background: linear-gradient(135deg, #0f1117, #1a1f2e);
  border-radius: 18px;
  padding: 32px 28px;
  color: white;
  margin-bottom: 24px;
  text-align: center;
}
.interview-hero-icon { font-size: 3rem; margin-bottom: 12px; }
.interview-hero-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 8px; }
.interview-hero-sub { font-size: .9375rem; color: rgba(255,255,255,.6); line-height: 1.6; }

/* Question card */
.question-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.question-number {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #9ca3af;
  margin-bottom: 8px;
}
.question-text {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f1117;
  letter-spacing: -.02em;
  line-height: 1.5;
  margin-bottom: 14px;
}
.question-tip {
  background: #fffbeb;
  border-left: 3px solid #f59e0b;
  border-radius: 0 8px 8px 0;
  padding: 10px 14px;
  font-size: .8125rem;
  color: #92400e;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Score display */
.score-display {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  margin-bottom: 14px;
}
.score-number {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
}
.score-bar-wrap { flex: 1; }
.score-bar-bg { height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 4px; transition: width .8s cubic-bezier(.4,0,.2,1); }

/* ================================================================
   REFERRALS — Premium
   ================================================================ */
.referral-code-card {
  background: linear-gradient(135deg, #0f1117, #1a1f2e);
  border-radius: 18px;
  padding: 28px;
  color: white;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.referral-code-card::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.2) 0%, transparent 70%);
  right: -60px; bottom: -60px;
}
.referral-code-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4); margin-bottom: 12px; }
.referral-code-value {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .2em;
  font-family: 'SF Mono', 'Fira Code', monospace;
  color: #4ade80;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

/* ================================================================
   SKILLS MARKET — Premium
   ================================================================ */
.skills-summary-card {
  background: linear-gradient(135deg, #0f1117, #1e3a2f);
  border-radius: 18px;
  padding: 24px 28px;
  color: white;
  margin-bottom: 24px;
}
.skills-summary-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -.02em; }
.skills-summary-text { font-size: .9375rem; color: rgba(255,255,255,.7); line-height: 1.65; }

.skill-demand-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  transition: all var(--t);
}
.skill-demand-card:hover { border-color: #22c55e; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.skill-name { font-size: .9375rem; font-weight: 700; color: #0f1117; margin-bottom: 8px; letter-spacing: -.02em; }
.skill-meta-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.skill-gap-bar-bg { height: 6px; background: #f0f0f0; border-radius: 3px; overflow: hidden; }
.skill-gap-bar-fill { height: 100%; border-radius: 3px; transition: width .6s ease; }

/* ================================================================
   FADE IN ANIMATION
   ================================================================ */
.fade-in {
  animation: fadeInUp .25s cubic-bezier(.4,0,.2,1) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   USER MENU DROPDOWN — Premium
   ================================================================ */
.user-menu {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  min-width: 200px;
}
.user-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background var(--t);
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}
.user-menu-item:hover { background: #f9fafb; color: #0f1117; }
.user-menu-item.danger { color: #dc2626; }
.user-menu-item.danger:hover { background: #fef2f2; }
.user-menu-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ================================================================
   MOBILE — Complete responsive
   ================================================================ */
@media (max-width: 1023px) {
  html, body, #app, .app-layout {
    max-width: 100vw;
    overflow-x: hidden !important;
  }
  .sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    z-index: 495;
    transform: translateX(-100%);
    transition: transform var(--t-slow) cubic-bezier(.4,0,.2,1);
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    flex: none !important;
    overflow: hidden !important;
    opacity: 0;
    pointer-events: none;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
    box-shadow: var(--shadow-xl);
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .mobile-menu-btn { display: flex; }
  .mobile-sidebar-overlay { display: block; }
  .main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 !important;
    flex-shrink: 0 !important;
  }

  /* Admin mobile scroll support */
  .admin-layout {
    height: auto !important;
    overflow: visible !important;
  }
  .admin-content {
    height: auto !important;
    overflow: visible !important;
  }
}

@media (max-width: 767px) {
  .page-wrap { padding: 20px 16px 80px; }
  .page-title { font-size: 1.375rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .profile-layout { grid-template-columns: 1fr; }
  .pipeline-board { grid-template-columns: 1fr; }
  
  /* Jobs mobile */
  .job-card-premium { padding: 16px; }
  .jcp-title { font-size: .9375rem; }
  .jcp-actions { flex-wrap: wrap; }
  
  /* Chat mobile */
  .mode-bar { padding: 12px 16px 0; flex-wrap: wrap; }
  .chat-footer { padding: 12px 12px 16px; }
  .welcome-title { font-size: 1.75rem; }
  .chat-thread { padding: 16px 16px 0; }
  
  /* Tables mobile */
  .admin-table-wrap { overflow-x: auto; }
  
  /* Modal mobile */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-box {
    border-radius: 20px 20px 0 0 !important;
    position: relative !important;
    bottom: 0 !important; left: 0 !important; right: 0 !important;
    max-width: 100% !important; width: 100% !important;
    border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important;
    max-height: 85dvh !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--border-subtle) !important;
    border-bottom: none !important;
  }
  .modal-head {
    padding: 16px 20px 12px !important;
  }
  .modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 16px 20px !important;
    max-height: none !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .modal-foot {
    padding: 12px 20px !important;
  }
  
  /* Filters */
  .filters-bar { flex-direction: column; }
  .filters-bar .form-input, .filters-bar .form-select { width: 100%; }
  
  /* Top actions bar mobile */
  .top-actions { padding: 12px 16px; padding-left: 60px; }
}

@media (max-width: 430px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .jcp-footer { flex-direction: column; align-items: flex-start; }
  .jcp-actions { width: 100%; }
  .jcp-actions .btn { flex: 1; justify-content: center; }
  .welcome-chips { gap: 6px; }
  .w-chip { font-size: .75rem; padding: 7px 14px; }
}

/* ================================================================
   TOP ACTIONS BAR — Premium
   ================================================================ */
.top-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-shrink: 0;
}
.top-action-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 9999px;
  background: transparent;
  font-size: .8125rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
  box-shadow: var(--shadow-xs);
}
.top-action-btn:hover {
  background: var(--surface);
  border-color: #c8cdd5;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.top-action-btn.active {
  background: #0f1117;
  border-color: #0f1117;
  color: white;
}

/* ================================================================
   HEADINGS IN PAGES
   ================================================================ */
h1.section-title, .section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f1117;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: .875rem;
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ================================================================
   ADMIN LAYOUT — Premium
   ================================================================ */
.admin-layout { padding: 28px 32px; }
.admin-header { margin-bottom: 28px; }
.admin-header h1 {
  font-size: 1.625rem;
  font-weight: 800;
  color: #0f1117;
  letter-spacing: -.035em;
  margin-bottom: 4px;
}
.admin-header p { font-size: .9rem; color: #6b7280; }

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
}
.metric-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #9ca3af; margin-bottom: 8px; }
.metric-val { font-size: 2.25rem; font-weight: 900; color: #0f1117; letter-spacing: -.05em; line-height: 1; }
.metric-trend { font-size: .75rem; color: #9ca3af; margin-top: 6px; }

/* ================================================================
   SEARCH — Premium  
   ================================================================ */
.search-wrap {
  position: relative;
}
.search-wrap::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
.search-wrap .form-input {
  padding-left: 38px;
}

/* ================================================================
   MISC UTILITIES
   ================================================================ */
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.divider-v { width: 1px; background: var(--border); margin: 0 8px; align-self: stretch; }

.text-accent { color: #15803d; }
.text-muted { color: #9ca3af; }
.text-strong { font-weight: 700; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 500;
  color: #4b5563;
}

/* Thin scrollbar in dark sidebar */
.sidebar ::-webkit-scrollbar { width: 3px; }
.sidebar ::-webkit-scrollbar-track { background: transparent; }
.sidebar ::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

/* Focus visible for keyboard nav */
:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}
button:focus:not(:focus-visible),
input:focus:not(:focus-visible) { outline: none; }

/* Print */
@media print {
  .sidebar, .mobile-menu-btn, .chat-footer, .top-actions { display: none !important; }
  .main { width: 100%; }
}

/* ================================================================
   PREMIUM CHAT FORM (new cfp-* classes)
   ================================================================ */
.chat-form-premium {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  transition: border-color var(--t), box-shadow var(--t);
  overflow: hidden;
}
.chat-form-premium:focus-within {
  border-color: #22c55e;
  box-shadow: 0 4px 24px rgba(34,197,94,.1), 0 0 0 3px rgba(34,197,94,.08);
}
.cfp-top {
  padding: 14px 16px 10px;
}
.cfp-textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  resize: none;
  font-size: .9375rem;
  line-height: 1.6;
  color: #0f1117;
  font-family: inherit;
  min-height: 40px;
  max-height: 180px;
  caret-color: #15803d;
}
.cfp-textarea::placeholder { color: #9ca3af; }
.cfp-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px 10px;
  border-top: 1px solid #f3f4f6;
}
.cfp-attach {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t);
  flex-shrink: 0;
}
.cfp-attach:hover {
  border-color: #9ca3af;
  color: #374151;
  background: #f9fafb;
}
.cfp-hint {
  flex: 1;
  font-size: .72rem;
  color: #9ca3af;
  letter-spacing: .01em;
  text-align: center;
}
.cfp-send {
  width: 36px;
  height: 36px;
  background: #0f1117;
  border-radius: 10px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t);
  flex-shrink: 0;
  border: none;
}
.cfp-send:hover:not(:disabled) {
  background: #22c55e;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(34,197,94,.3);
}
.cfp-send:disabled { opacity: .35; cursor: not-allowed; }
.cfp-send:active:not(:disabled) { transform: scale(.96); }
.cfp-footer {
  font-size: .72rem;
  color: #9ca3af;
  text-align: center;
  padding-top: 8px;
}

/* ================================================================
   NOTIFICATION BELL — Premium (sidebar inline)
   ================================================================ */
.sidebar-user-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-user-row .user-btn {
  flex: 1;
  min-width: 0;
}
.notif-bell-wrap {
  position: relative;
  flex-shrink: 0;
}
.notif-bell-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t);
  position: relative;
}
.notif-bell-btn:hover {
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.2);
}
.notif-bell-btn.active {
  background: rgba(34,197,94,.15);
  border-color: rgba(34,197,94,.3);
  color: #4ade80;
}
.notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: .6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #0f1117;
  line-height: 1;
}
/* Dropdown — visual appearance only, JS sets position/coordinates */
.notif-dropdown {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(0,0,0,.14), 0 2px 16px rgba(0,0,0,.08);
  overflow: hidden;
  animation: dropUp .18s cubic-bezier(.34,1.3,.64,1);
}
@keyframes dropUp {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================================================================
   CV CARD — Premium (cvp-* classes)
   ================================================================ */
.cv-card-premium {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  transition: all var(--t);
  box-shadow: var(--shadow-xs);
}
.cv-card-premium:hover {
  border-color: #22c55e;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.cvp-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15803d;
  flex-shrink: 0;
}
.cvp-info { flex: 1; min-width: 0; }
.cvp-name {
  font-size: .9375rem;
  font-weight: 700;
  color: #0f1117;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -.02em;
}
.cvp-meta {
  font-size: .78rem;
  color: #9ca3af;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.cvp-meta svg { opacity: .6; }
.cvp-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.cvp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 9px;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
  border: none;
}
.cvp-btn-primary {
  background: #0f1117;
  color: white;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.cvp-btn-primary:hover {
  background: #22c55e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34,197,94,.3);
}
.cvp-btn-ghost {
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: #374151;
}
.cvp-btn-ghost:hover { background: #f9fafb; border-color: #d1d5db; }
.cvp-btn-danger {
  background: transparent;
  border: 1.5px solid #fecaca;
  color: #991b1b;
  padding: 7px 10px;
}
.cvp-btn-danger:hover { background: #fef2f2; border-color: #fca5a5; }

/* ================================================================
   HELP CENTER PAGE
   ================================================================ */
.help-hero {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  padding: var(--space-8) var(--space-8) var(--space-4);
  max-width: 1100px;
  margin: 0 auto;
}
.help-hero-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  background: var(--neutral-900);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.help-hero-text { flex: 1; }
.help-hero-text .page-title {
  margin-bottom: var(--space-1);
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}

.help-tabs {
  display: flex;
  gap: 4px;
  padding: 0 32px 24px;
  max-width: 1100px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.help-tab {
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: .8375rem;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t);
}
.help-tab:hover { color: #374151; background: #f3f4f6; }
.help-tab.active {
  background: #0f1117;
  color: white;
  border-color: #0f1117;
  font-weight: 600;
}

.help-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 32px 80px;
}

.help-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0f1117;
  letter-spacing: -.025em;
  margin-bottom: 20px;
}
.help-subsection-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f1117;
  letter-spacing: -.02em;
  margin: 28px 0 16px;
}
.help-section-text {
  font-size: .9375rem;
  color: #4b5563;
  line-height: 1.7;
  max-width: 680px;
}

/* Steps */
.help-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.help-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
}
.help-step-num {
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  background: #0f1117;
  color: white;
  font-size: .8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.help-step-info { flex: 1; }
.help-step-title { font-size: .9rem; font-weight: 700; color: #0f1117; margin-bottom: 4px; }
.help-step-desc { font-size: .8375rem; color: #6b7280; line-height: 1.55; }

/* Feature cards grid */
.help-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.help-feature-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  transition: all var(--t);
}
.help-feature-card:hover {
  border-color: #d1d5db;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.help-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.help-feature-text { flex: 1; min-width: 0; }
.help-feature-title { font-size: .875rem; font-weight: 700; color: #0f1117; margin-bottom: 4px; }
.help-feature-desc { font-size: .8125rem; color: #6b7280; line-height: 1.5; }

/* Tips grid */
.help-tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.help-tip-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  transition: all var(--t);
}
.help-tip-card:hover { border-color: #22c55e; box-shadow: var(--shadow-xs); }
.help-tip-icon { font-size: 1.5rem; margin-bottom: 10px; }
.help-tip-title { font-size: .875rem; font-weight: 700; color: #0f1117; margin-bottom: 6px; }
.help-tip-example { font-size: .78rem; color: #6b7280; line-height: 1.5; font-style: italic; }

/* Modes grid */
.help-modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.help-mode-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all var(--t);
}
.help-mode-card:hover { border-color: #22c55e; box-shadow: var(--shadow-sm); }
.help-mode-icon { font-size: 2rem; margin-bottom: 12px; }
.help-mode-title { font-size: 1rem; font-weight: 700; color: #0f1117; margin-bottom: 8px; }
.help-mode-desc { font-size: .8375rem; color: #6b7280; line-height: 1.55; }

/* FAQ Accordion */
.help-accordion { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.help-acc-item {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--t);
}
.help-acc-item.open { border-color: #22c55e; }
.help-acc-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  text-align: left;
  font-size: .9rem;
  font-weight: 600;
  color: #0f1117;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: background var(--t);
}
.help-acc-q:hover { background: #f9fafb; }
.help-acc-arrow {
  display: flex;
  align-items: center;
  color: #9ca3af;
  flex-shrink: 0;
  transition: transform var(--t);
}
.help-acc-item.open .help-acc-arrow { transform: rotate(180deg); }
.help-acc-body {
  padding: 0 20px 16px;
  border-top: 1px solid #f3f4f6;
}
.help-acc-body p {
  font-size: .875rem;
  color: #4b5563;
  line-height: 1.7;
  padding-top: 14px;
}

/* Contact card */
.help-contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid #86efac;
  border-radius: 16px;
  padding: 24px;
  margin-top: 8px;
}
.help-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: white;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15803d;
  flex-shrink: 0;
}
.help-contact-text { flex: 1; }
.help-contact-title { font-size: 1rem; font-weight: 700; color: #15803d; margin-bottom: 4px; }
.help-contact-desc { font-size: .8375rem; color: #166534; line-height: 1.5; }

/* Responsive help */
@media (max-width: 640px) {
  .help-hero { padding: 20px 16px 12px; gap: 14px; }
  .help-tabs { padding: 0 16px 16px; gap: 6px; }
  .help-tab { padding: 6px 14px; font-size: .78rem; }
  .help-content { padding: 20px 16px 60px; }
  .help-modes-grid { grid-template-columns: 1fr; }
  .help-features-grid { grid-template-columns: 1fr; }
  .help-tips-grid { grid-template-columns: 1fr 1fr; }
  .help-contact-card { flex-wrap: wrap; }
  .cvp-actions { flex-wrap: wrap; }
  .cv-card-premium { flex-wrap: wrap; gap: 12px; }
  .sidebar-user-row { flex-direction: row; }
}

/* ── Fixed-position bell dropdown ── */
/* NOTE: All position/top/left/width/height are set by JS inline styles.
   CSS must NOT override them. Only visual enhancement here. */
.notif-dropdown-fixed {
  box-shadow: 0 8px 40px rgba(0,0,0,.2), 0 2px 12px rgba(0,0,0,.1) !important;
}

/* ══════════════════════════════════════════════════════════════════
   Help Center — Chat Conversation Examples (visual speech bubbles)
   ══════════════════════════════════════════════════════════════════ */
.help-chat-demo {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 16px;
  margin: 12px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.help-chat-row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.help-chat-row.user {
  flex-direction: row-reverse;
}
.help-chat-row.bot {
  flex-direction: row;
}

.help-chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.help-chat-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.help-chat-bubble.user {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.help-chat-bubble.bot {
  background: var(--bg-secondary, rgba(255,255,255,0.06));
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.help-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 38px;
}
.help-chat-chip {
  background: rgba(99,102,241,0.12);
  color: #818cf8;
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.78rem;
  cursor: pointer;
}

/* ── Help subsection titles ── */
.help-subsection-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--border);
}

/* Responsive chat bubbles */
@media (max-width: 640px) {
  .help-chat-bubble { max-width: 92%; font-size: 0.84rem; }
  .help-chat-chips { padding: 0 6px; }
}

/* ================================================================
   HELP CENTER — Search Bar
   ================================================================ */
.help-search-wrap {
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 0 32px;
  position: relative;
}
.help-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 11px 16px;
  transition: border-color var(--t), box-shadow var(--t);
}
.help-search-box:focus-within {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}
.help-search-icon {
  color: #9ca3af;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.help-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: .9375rem;
  color: #0f1117;
  font-family: inherit;
}
.help-search-input::placeholder { color: #9ca3af; }
.help-search-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  background: #e5e7eb;
  border-radius: 50%;
  font-size: .75rem;
  color: #6b7280;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--t);
}
.help-search-clear:hover { background: #d1d5db; color: #374151; }

/* Search results panel */
.help-search-results {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  margin-top: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
  animation: fadeSlideDown .18s ease;
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.help-search-header {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #9ca3af;
  padding: 12px 16px 8px;
  border-bottom: 1px solid #f3f4f6;
}
.help-search-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background var(--t);
}
.help-search-card:last-child { border-bottom: none; }
.help-search-card:hover { background: #f9fafb; }
.help-search-card:focus { background: #f0fdf4; outline: none; }
.help-search-cat {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: #f3f4f6;
  color: #6b7280;
  width: fit-content;
  margin-bottom: 2px;
}
.help-cat-candidatos { background: #eff6ff; color: #1d4ed8; }
.help-cat-empresas   { background: #f0fdf4; color: #166534; }
.help-cat-tecnico    { background: #fef3c7; color: #92400e; }
.help-cat-pagos      { background: #fdf4ff; color: #7e22ce; }
.help-search-title {
  font-size: .9rem;
  font-weight: 600;
  color: #0f1117;
}
.help-search-excerpt {
  font-size: .8125rem;
  color: #6b7280;
  line-height: 1.5;
}
.help-search-empty,
.help-search-loading {
  padding: 20px 16px;
  text-align: center;
  font-size: .875rem;
  color: #9ca3af;
}

/* Article modal */
.help-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  animation: fadeIn .15s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.help-modal-box {
  background: var(--surface, #fff);
  border-radius: 18px;
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,.25);
  animation: slideUp .2s cubic-bezier(.34,1.3,.64,1);
  overflow: hidden;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.help-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border, #e5e7eb);
  flex-shrink: 0;
}
.help-modal-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f1117;
  letter-spacing: -.02em;
  margin: 0;
}
.help-modal-close {
  width: 30px;
  height: 30px;
  border: none;
  background: #f3f4f6;
  border-radius: 50%;
  font-size: .875rem;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t);
}
.help-modal-close:hover { background: #e5e7eb; color: #374151; }
.help-modal-body {
  overflow-y: auto;
  padding: 24px;
  font-size: .9rem;
  color: #374151;
  line-height: 1.75;
  flex: 1;
}

/* Responsive search */
@media (max-width: 640px) {
  .help-search-wrap { padding: 0 16px; }
  .help-modal-box { max-height: 90vh; border-radius: 14px; }
  .help-modal-head { padding: 16px 18px; }
  .help-modal-body { padding: 16px 18px; }
}

/* ================================================================
   PREMIUM CUSTOM COMPONENTS & IMPROVEMENTS — JalaJob V2.1
   ================================================================ */

/* 1. Premium Custom Select */
.premium-select-container {
  position: relative;
  display: inline-block;
  font-family: var(--font);
  user-select: none;
}

.premium-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all var(--t);
  text-align: left;
  box-shadow: var(--shadow-xs);
}

.premium-select-trigger:hover {
  border-color: var(--border-strong);
  background: var(--bg-secondary);
}

.premium-select-trigger:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15), var(--shadow-xs);
}

.premium-select-container.open .premium-select-trigger {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.premium-select-container.open .premium-select-chevron {
  transform: rotate(180deg);
}

.premium-select-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.premium-select-container.open .premium-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.premium-select-option {
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #4b5563;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  transition: all var(--t);
  width: 100%;
}

.premium-select-option:hover {
  background: var(--bg-secondary);
  color: #111827;
}

.premium-select-option.selected {
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
  font-weight: 600;
}

/* 2. Premium Integrated Filters Bar */
.filters-bar-premium {
  display: flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 8px;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  transition: border-color var(--t), box-shadow var(--t);
}

.filters-bar-premium:focus-within {
  border-color: var(--brand);
  box-shadow: var(--shadow), 0 0 0 3px rgba(22, 163, 74, 0.08);
}

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

.search-input-icon {
  position: absolute;
  left: 14px;
  color: #9ca3af;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.filters-bar-premium .form-input-premium {
  width: 100%;
  border: none;
  background: transparent;
  padding: 10px 12px 10px 42px;
  font-size: 0.9rem;
  color: #111827;
  outline: none;
}

.filters-bar-premium .form-input-premium::placeholder {
  color: #9ca3af;
}

.filter-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* En móviles, convertimos la barra en stack vertical */
@media (max-width: 768px) {
  .filters-bar-premium {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 12px;
  }
  .filter-divider {
    display: none;
  }
  .search-input-wrapper {
    flex: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
  }
  .filters-bar-premium .form-input-premium {
    padding: 8px 10px 8px 36px;
  }
}

/* 3. Global Premium Button Overrides */
.btn {
  border-radius: var(--radius-md) !important;
  font-weight: var(--weight-semibold) !important;
  transition: all var(--duration-fast) var(--ease-out-expo) !important;
  box-shadow: var(--shadow-xs) !important;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-sm) !important;
}

.btn:active:not(:disabled) {
  transform: scale(0.98) !important;
}

.btn-primary {
  background: var(--bg-brand) !important;
  color: var(--text-on-brand) !important;
  box-shadow: var(--shadow-sm) !important;
  border: none !important;
}

.btn-primary:hover:not(:disabled) {
  background: var(--bg-brand-hover) !important;
  box-shadow: var(--shadow-brand) !important;
}

.btn-secondary {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-default) !important;
  color: var(--text-secondary) !important;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-surface-hover) !important;
  border-color: var(--border-default) !important;
  color: var(--text-primary) !important;
}

/* 4. Help Center Premium Overrides */
.help-tab {
  transition: all var(--t-spring) !important;
}

.help-tab:hover {
  background: var(--bg-secondary) !important;
  color: #111827 !important;
}

.help-tab.active {
  background: rgba(21, 128, 61, 0.08) !important;
  color: #15803d !important;
  border-color: rgba(21, 128, 61, 0.2) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.help-step-num {
  background: rgba(21, 128, 61, 0.08) !important;
  color: #15803d !important;
  border: 1px solid rgba(21, 128, 61, 0.15) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-xs);
}

.help-step {
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-xs) !important;
  transition: all var(--t) !important;
}

.help-step:hover {
  border-color: var(--border-strong) !important;
  box-shadow: var(--shadow-sm) !important;
}

/* 5. Premium Admin Panel Styling */
.admin-page {
  padding: 32px 40px !important;
  max-width: 1440px !important;
  background: var(--bg-secondary) !important;
  min-height: 100vh;
}

.admin-page-title {
  font-family: 'Plus Jakarta Sans', var(--font-sans) !important;
  font-weight: 800 !important;
  font-size: 1.85rem !important;
  color: #0f172a !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 6px !important;
}

.admin-page-sub {
  color: #64748b !important;
  font-size: 0.875rem !important;
  margin-bottom: 32px !important;
}

/* Sidebar Section Titles (Group Headers) */
.sidebar-section-title {
  font-size: 0.6875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: rgba(255, 255, 255, 0.35) !important;
  padding-left: 14px !important;
  margin-bottom: 8px !important;
  margin-top: 16px !important;
  font-weight: 700 !important;
}

.sidebar.collapsed .sidebar-section-title {
  display: none !important;
}

/* Premium Stat Cards */
.admin-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 20px !important;
  margin-bottom: 32px !important;
}

.admin-stat-card {
  background: var(--surface) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.01) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.admin-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: transparent;
  transition: background 0.3s ease;
}

.admin-stat-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(34, 197, 94, 0.3) !important;
}

.admin-stat-card:hover::before {
  background: linear-gradient(90deg, var(--brand-500), var(--brand-300));
}

.admin-stat-icon {
  font-size: 1.5rem !important;
  margin-bottom: 12px !important;
  width: 42px;
  height: 42px;
  background: rgba(34, 197, 94, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-stat-label {
  font-size: 0.725rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #64748b !important;
  margin-bottom: 8px !important;
}

.admin-stat-value {
  font-family: 'Plus Jakarta Sans', var(--font-sans) !important;
  font-size: 2.15rem !important;
  font-weight: 850 !important;
  letter-spacing: -0.04em !important;
  color: #0f172a !important;
  line-height: 1.1 !important;
}

.admin-stat-value.green { color: #10b981 !important; }
.admin-stat-value.blue  { color: #3b82f6 !important; }
.admin-stat-value.purple { color: #8b5cf6 !important; }
.admin-stat-value.amber { color: #f59e0b !important; }
.admin-stat-value.red   { color: #ef4444 !important; }

.admin-stat-delta {
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: #10b981 !important;
  margin-top: 8px !important;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Premium Admin Table */
.admin-table-wrap {
  background: var(--surface) !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02) !important;
  margin-bottom: 24px !important;
}

.admin-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100% !important;
}

.admin-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.admin-table td {
  padding: 16px 20px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  color: #334155 !important;
  font-size: 0.8125rem !important;
  vertical-align: middle !important;
}

.admin-table tr {
  transition: background-color 0.2s ease !important;
}

.admin-table tr:hover td {
  background-color: #f8fafc !important;
}

.admin-table tr:last-child td {
  border-bottom: none !important;
}

/* Badges aesthetics (Soft Pastel) */
.badge {
  padding: 6px 12px !important;
  border-radius: 9999px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
  border: 1px solid transparent !important;
}

.badge-green {
  background-color: #ecfdf5 !important;
  color: #065f46 !important;
  border-color: #a7f3d0 !important;
}

.badge-blue {
  background-color: #eff6ff !important;
  color: #1e40af !important;
  border-color: #bfdbfe !important;
}

.badge-yellow {
  background-color: #fffbef !important;
  color: #854d0e !important;
  border-color: #fef08a !important;
}

.badge-red {
  background-color: #fef2f2 !important;
  color: #991b1b !important;
  border-color: #fecaca !important;
}

.badge-gray {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border-color: #cbd5e1 !important;
}

/* Premium Filter Bars & Controls */
.filter-bar {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: var(--surface) !important;
  padding: 16px 20px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.01) !important;
  margin-bottom: 24px !important;
}

.filter-select, .form-textarea, .form-input {
  border-radius: 10px !important;
  border: 1px solid #cbd5e1 !important;
  padding: 10px 16px !important;
  font-size: 0.8125rem !important;
  background: var(--surface) !important;
  transition: all 0.2s ease !important;
  color: #334155 !important;
}

.filter-select:focus, .form-textarea:focus, .form-input:focus {
  border-color: var(--brand-500) !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15) !important;
  outline: none !important;
}

/* Button & Action Overrides */
.pipeline-action-btn {
  padding: 8px 14px !important;
  border-radius: 10px !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: var(--shadow-xs) !important;
}

.pipeline-action-btn.move {
  background-color: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
}

.pipeline-action-btn.move:hover {
  background-color: #d1fae5 !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-sm) !important;
}

.pipeline-action-btn.reject {
  background-color: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
}

.pipeline-action-btn.reject:hover {
  background-color: #fee2e2 !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-sm) !important;
}

/* Sections titles */
.section-title {
  font-family: 'Plus Jakarta Sans', var(--font-sans) !important;
  font-weight: 750 !important;
  font-size: 1.15rem !important;
  color: #1e293b !important;
  letter-spacing: -0.02em !important;
  margin-top: 32px !important;
}

/* 6. Responsive Mobile Admin Styling */
@media (max-width: 768px) {
  /* Reduce container padding on small screens to maximize visible area */
  .admin-page {
    padding: 16px 12px !important;
  }

  /* Stack stats cards in a single column on mobile, or 2 columns on small tablets */
  .admin-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
  }
  
  @media (min-width: 480px) {
    .admin-stats-grid {
      grid-template-columns: repeat(2, 1fr) !important;
    }
  }

  .admin-stat-card {
    padding: 16px !important;
    border-radius: 12px !important;
  }

  .admin-stat-value {
    font-size: 1.75rem !important;
  }

  .admin-stat-label {
    font-size: 0.65rem !important;
    margin-bottom: 4px !important;
  }

  .admin-stat-icon {
    width: 36px;
    height: 36px;
    font-size: 1.25rem !important;
    margin-bottom: 8px !important;
  }

  /* Make the filter bar stack vertically and expand to full width */
  .filter-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    padding: 12px !important;
    border-radius: 12px !important;
    margin-bottom: 20px !important;
  }

  .filter-bar > * {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .admin-table-wrap, .table-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
  }

  .admin-table th, .admin-table td {
    padding: 12px 14px !important;
    white-space: nowrap !important; /* Prevents cell content from wrapping awkwardly */
  }

  /* Adjust badges and action buttons inside table cells to fit smaller screens */
  .badge {
    padding: 4px 8px !important;
    font-size: 0.65rem !important;
  }

  .pipeline-action-btn {
    padding: 6px 10px !important;
    font-size: 0.7rem !important;
  }

  /* Text size adjustments */
  .admin-page-title {
    font-size: 1.5rem !important;
  }

  .admin-page-sub {
    font-size: 0.8rem !important;
    margin-bottom: 20px !important;
  }

  .section-title {
    font-size: 1rem !important;
    margin-top: 20px !important;
  }
}

/* 7. Pricing Premium Styles */
.pricing-hero {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-8);
  color: white;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.pricing-card {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-sm) !important;
  padding: var(--space-6) !important;
  transition: all var(--duration-normal) var(--ease-out-expo) !important;
}

.pricing-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: var(--border-default) !important;
}

.pricing-card--featured {
  border: 2px solid var(--border-focus) !important;
  box-shadow: var(--shadow-lg) !important;
  position: relative;
}

.pricing-badge {
  background: var(--bg-brand) !important;
  color: var(--text-on-brand) !important;
  font-size: var(--text-xs) !important;
  font-weight: var(--weight-bold) !important;
  border-radius: var(--radius-full) !important;
  padding: 4px 12px !important;
}

.pricing-name {
  font-family: var(--font-display) !important;
  font-size: var(--text-lg) !important;
  font-weight: var(--weight-bold) !important;
  color: var(--text-primary) !important;
}

.pricing-price {
  font-family: var(--font-display) !important;
  font-size: var(--text-4xl) !important;
  font-weight: var(--weight-bold) !important;
  color: var(--text-primary) !important;
}

.pricing-period {
  font-size: var(--text-sm) !important;
  color: var(--text-tertiary) !important;
}

.pricing-features {
  list-style: none !important;
  padding: 0 !important;
  margin: var(--space-4) 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: var(--space-3) !important;
}

.pricing-feature {
  display: flex !important;
  align-items: center !important;
  gap: var(--space-3) !important;
  font-size: var(--text-sm) !important;
  color: var(--text-secondary) !important;
}

.pricing-feature--no {
  color: var(--text-tertiary) !important;
}

.pricing-feature-icon {
  width: 20px !important;
  height: 20px !important;
  border-radius: var(--radius-full) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-weight: var(--weight-bold) !important;
}

.pricing-feature:not(.pricing-feature--no) .pricing-feature-icon {
  background: var(--status-success-bg) !important;
  color: var(--status-success) !important;
  border: 1px solid color-mix(in srgb, var(--status-success) 20%, transparent) !important;
}

.pricing-feature--no .pricing-feature-icon {
  background: var(--neutral-100) !important;
  color: var(--text-tertiary) !important;
  border: 1px solid var(--border-subtle) !important;
}

