/* ============================================
   BUTTONS — Claude style: clean, bordered
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
  white-space: nowrap;
  border: 1.5px solid transparent;
  position: relative;
  letter-spacing: -0.01em;
}

/* Primary — black fill */
.btn-primary {
  background: var(--text-primary);
  color: var(--text-light);
  border-color: var(--text-primary);
}
.btn-primary:hover {
  background: #222;
  border-color: #222;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Outline — bordered */
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}
.btn-outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-secondary);
  transform: translateY(-1px);
}

/* Orange accent */
.btn-pink, .btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-pink:hover, .btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding: 9px 16px;
}
.btn-ghost:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

/* Sizes */
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: var(--radius-sm); }

/* ============================================
   BADGES / TAGS — Claude pill style
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-light);
  background: var(--bg-primary);
  color: var(--text-secondary);
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.badge:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.badge.active {
  background: var(--text-primary);
  color: var(--text-light);
  border-color: var(--text-primary);
}

.badge-accent {
  background: var(--accent-subtle);
  color: var(--accent);
  border-color: var(--accent-border);
}

.badge-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

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

/* Status badges */
.badge-green { background: rgba(34,197,94,0.08); color: #16a34a; border-color: rgba(34,197,94,0.2); }
.badge-orange { background: var(--accent-subtle); color: var(--accent); border-color: var(--accent-border); }
.badge-gray { background: var(--bg-secondary); color: var(--text-muted); border-color: var(--border-light); }

/* ============================================
   JOB CARDS — Claude card style
   ============================================ */
.job-card {
  background: var(--bg-primary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: border-color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-med);
  position: relative;
}

.job-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.job-card.featured {
  border-color: var(--accent-border);
  background: var(--bg-primary);
}

.job-card.featured:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px var(--accent-subtle), var(--shadow-md);
}

.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

/* Company logo — Claude card logo style */
.company-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
  border: 1.5px solid var(--border-light);
  letter-spacing: -0.02em;
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 1px);
}

.job-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 3px;
  letter-spacing: -0.015em;
}

.company-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.job-meta-item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.salary-range {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

.bookmark-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
  background: transparent;
  color: var(--text-muted);
  flex-shrink: 0;
}

.bookmark-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.bookmark-btn.saved {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* Skills tags on card */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.skill-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  padding: 3px 9px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-light);
  letter-spacing: 0.01em;
}

/* ============================================
   INPUTS & SEARCH — Claude input style
   ============================================ */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  pointer-events: none;
  flex-shrink: 0;
}

.input-field {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font-size: 14px;
  font-family: var(--font-primary);
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
  letter-spacing: -0.01em;
}

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

.input-field:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

/* ============================================
   SELECT DROPDOWN
   ============================================ */
.select-wrapper { position: relative; }

.select-wrapper::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
  pointer-events: none;
}

.select-field {
  width: 100%;
  padding: 11px 32px 11px 13px;
  font-size: 13px;
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition);
}

.select-field:focus {
  border-color: var(--text-primary);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

/* ============================================
   STAT NUMBERS — Big, Claude style
   ============================================ */
.stat-number {
  font-family: var(--font-primary);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 800;
  line-height: 1;
  color: var(--text-light);
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: 10px;
  letter-spacing: -0.01em;
}

/* ============================================
   FEATURE ITEMS
   ============================================ */
.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px 0;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

/* Dark bg feature icons */
.feature-icon-dark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(245,96,10,0.12);
  border: 1px solid rgba(245,96,10,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon-dark svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.feature-text h4 {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: -0.015em;
}

.feature-text p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
  background: transparent;
  color: var(--text-secondary);
}

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

.page-btn.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: white;
}

/* ============================================
   MODAL — Claude modal style
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-med);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--transition-med);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border-light);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  gap: 14px;
}

.empty-state-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.empty-state-icon svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.empty-state p {
  color: var(--text-muted);
  max-width: 300px;
  font-size: 14px;
}

/* ============================================
   LOADING SKELETON
   ============================================ */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.skeleton {
  background: var(--border-light);
  border-radius: var(--radius-xs);
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-card {
  background: var(--bg-primary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

/* ============================================
   SECTION EYEBROW — Claude style
   ============================================ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* ============================================
   CHECKBOX & FILTER ITEMS
   ============================================ */
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 0;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 4px;
}

.checkbox-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
  letter-spacing: -0.01em;
}

.checkbox-item:hover .checkbox-label { color: var(--text-primary); }

.checkbox-count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

/* ============================================
   RANGE SLIDER
   ============================================ */
.range-slider {
  width: 100%;
  accent-color: var(--accent);
  height: 4px;
  border-radius: 2px;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

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

/* ============================================
   CHAT DEMO — Bot section
   ============================================ */
.chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.chat-msg.bot { flex-direction: row-reverse; }

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.chat-avatar.user-av {
  background: var(--text-primary);
  color: white;
}

.chat-avatar.bot-av {
  background: var(--accent);
  color: white;
}

.chat-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.chat-bubble.user-bubble {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 3px;
}

.chat-bubble.bot-bubble {
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 3px;
}

.chat-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.candidate-list {
  margin-top: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.candidate-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition);
}

.candidate-item:last-child { border-bottom: none; }
.candidate-item:hover { background: rgba(255,255,255,0.04); }

.candidate-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.candidate-name {
  font-size: 13px;
  font-weight: 600;
  color: white;
  flex: 1;
  letter-spacing: -0.01em;
}

.candidate-skill {
  font-size: 10px;
  font-weight: 700;
  background: rgba(245,96,10,0.2);
  color: #ff8c42;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.candidate-actions { display: flex; gap: 5px; }

.cand-action {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition), opacity var(--transition);
}

.cand-action.accept { background: rgba(34,197,94,0.15); color: #22c55e; }
.cand-action.reject { background: rgba(239,68,68,0.15); color: #ef4444; }
.cand-action:hover { transform: scale(1.15); }

/* ============================================
   FILTER SECTION INSIDE SIDEBAR
   ============================================ */
.filter-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Filter count bubble */
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  margin-left: 4px;
}
