/* ============================================================
   HIRE-ME.CSS — Candidate Marketplace Styles
   Qyukit "Hire Me" Feature
============================================================ */

/* ── Section Header ───────────────────────────────────────── */
.hm-hero {
  background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 50%, #2563eb 100%);
  padding: 48px 24px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hm-hero-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.hm-hero h1 { font-size: clamp(28px, 5vw, 42px); font-weight: 900; letter-spacing: -0.5px; margin-bottom: 4px; }
.hm-hero p  { font-size: 16px; opacity: 0.88; margin-bottom: 24px; }
.hm-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-post-profile {
  background: #fff;
  color: #7c3aed;
  font-weight: 800;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.btn-post-profile:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-buy-credits {
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(6px);
}
.btn-buy-credits:hover { background: rgba(255,255,255,0.25); }

/* ── Credit Badge in navbar area ─────────────────────────── */
.hm-credit-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f3e8ff;
  color: #7c3aed;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  border: 1.5px solid #c4b5fd;
}

/* ── Filter Bar ──────────────────────────────────────────── */
.hm-filters {
  background: #fff;
  border-bottom: 1px solid var(--border, #e5e7eb);
  padding: 16px 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.hm-filter-select {
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  background: #f9fafb;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.hm-filter-select:focus { border-color: #7c3aed; }
.hm-filter-input {
  flex: 1;
  min-width: 180px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13px;
  color: #374151;
  background: #f9fafb;
  outline: none;
}
.hm-filter-input:focus { border-color: #7c3aed; }
.hm-filter-btn {
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.hm-filter-btn:hover { background: #6d28d9; }

/* ── Section Labels ──────────────────────────────────────── */
.hm-section-label {
  font-size: 18px;
  font-weight: 800;
  color: #1e293b;
  padding: 20px 20px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-section-label span { font-size: 13px; font-weight: 500; color: #64748b; }

/* ── Candidate Grid ──────────────────────────────────────── */
.hm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 20px 32px;
}

/* ── Candidate Card ──────────────────────────────────────── */
.hm-card {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #e5e7eb;
  padding: 16px;
  position: relative;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hm-card:hover {
  border-color: #c4b5fd;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12);
  transform: translateY(-3px);
}
.hm-card.featured {
  border-color: #7c3aed;
  background: linear-gradient(135deg, #faf5ff 0%, #fff 60%);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.18);
}

/* Featured badge — in-flow row (100% reliable) */
.hm-featured-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
  margin-top: -2px;
}
.hm-featured-badge {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Card header: photo + name */
.hm-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.hm-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}
.hm-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.hm-name { font-size: 14px; font-weight: 800; color: #1e293b; margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-role { font-size: 12px; color: #7c3aed; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; letter-spacing: 0.5px; }

/* Card meta */
.hm-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}
.hm-card-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Structured info rows (gender / age / exp / degree) */
.hm-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 8px;
  margin-bottom: 10px;
  background: #f8fafc;
  border-radius: 8px;
  padding: 8px 10px;
}
.hm-info-row {
  display: flex; align-items: center; gap: 4px;
  min-width: 0;
}
.hm-info-full { grid-column: 1 / -1; }
.hm-info-icon { font-size: 11px; flex-shrink: 0; }
.hm-info-label {
  font-size: 9px; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: 0.2px;
  flex-shrink: 0; min-width: 36px;
}
.hm-info-val {
  font-size: 11px; font-weight: 600; color: #1e293b;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0; flex: 1;
}

/* Section block label (&#128736; Skills / &#128220; Certifications) */
.hm-card-block-label {
  font-size: 10px; font-weight: 800; color: #64748b;
  text-transform: uppercase; letter-spacing: 0.4px;
  margin-bottom: 5px; margin-top: 4px;
}

/* Skills tags */
.hm-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 8px;
}
.hm-skill-tag {
  background: #f3e8ff;
  color: #7c3aed;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  white-space: nowrap;
}
.hm-skill-tag.more {
  background: #f1f5f9;
  color: #64748b;
}

/* Gender / Age inline label */
.hm-gender-age {
  font-size: 10px; color: #94a3b8; font-weight: 600; margin-top: 2px;
}

/* Certifications row */
.hm-certs {
  display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px;
}
.hm-cert-tag {
  background: #f0fdf4; color: #166534;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 50px;
  border: 1px solid #bbf7d0;
  white-space: nowrap;
}

/* Salary expectation */
.hm-expected-salary {
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 10px;
  margin-top: 2px;
}

/* CTA */
.btn-hire-me {
  width: 100%;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;

.btn-hire-me-locked {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}
.btn-hire-me-locked:hover { opacity: 0.88; }
.hm-photo-blur {
  filter: blur(8px);
  transform: scale(1.04);
  border-radius: 50%;
  overflow: hidden;
}
.hm-name-blur {
  color: transparent;
  text-shadow: 0 0 10px rgba(124,58,237,0.5);
  user-select: none;
  letter-spacing: 4px;
}
.hm-card-locked {
  border-color: #e9d5ff;
  background: linear-gradient(135deg, #fdf4ff 0%, #fff 70%);
}
.hm-lock-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0 2px;
}
.hm-lock-icon {
  font-size: 20px;
  opacity: 0.7;
}
.btn-unlock-candidate {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 11px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}
.btn-unlock-candidate:hover { opacity: 0.88; transform: translateY(-1px); }
.hm-lock-hint {
  font-size: 10px;
  color: #94a3b8;
  margin: 0;
  text-align: center;
}
.hm-skill-more {
  background: #f1f5f9;
  color: #64748b;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 50px;
}
  letter-spacing: 0.3px;
}
.btn-hire-me:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(124,58,237,0.3); }

/* ── Contact Reveal Modal ─────────────────────────────────── */
.hm-contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.hm-contact-overlay.open { opacity: 1; pointer-events: all; }
.hm-contact-box {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transform: scale(0.9);
  transition: transform 0.25s;
}
.hm-contact-overlay.open .hm-contact-box { transform: scale(1); }
.hm-contact-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; color: #1e293b; }
.hm-contact-detail {
  background: #f3e8ff;
  border-radius: 12px;
  padding: 14px 20px;
  margin: 14px 0;
  font-size: 16px;
  font-weight: 700;
  color: #7c3aed;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hm-contact-detail a { color: inherit; text-decoration: none; }
.btn-download-resume {
  width: 100%;
  background: #15803d;
  color: #fff;
  font-weight: 700;
  padding: 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-top: 8px;
  text-decoration: none;
  display: block;
}
.btn-close-contact {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 13px;
  cursor: pointer;
  margin-top: 12px;
  text-decoration: underline;
}

/* ── Registration Form ───────────────────────────────────── */
.hm-form-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 48px;
}
.hm-form-section {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e5e7eb;
  padding: 24px;
  margin-bottom: 20px;
}
.hm-form-section-title {
  font-size: 15px;
  font-weight: 800;
  color: #7c3aed;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 580px) { .hm-form-grid { grid-template-columns: 1fr; } }
.hm-form-group { display: flex; flex-direction: column; gap: 5px; }
.hm-form-group label { font-size: 12px; font-weight: 700; color: #374151; text-transform: uppercase; letter-spacing: 0.3px; }
.hm-form-group input,
.hm-form-group select,
.hm-form-group textarea {
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: #1e293b;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.2s;
  font-family: inherit;
}
.hm-form-group input:focus,
.hm-form-group select:focus,
.hm-form-group textarea:focus { border-color: #7c3aed; background: #fff; }
.hm-form-group textarea { resize: vertical; min-height: 80px; }
.hm-form-full { grid-column: 1 / -1; }

/* Photo upload box */
.hm-photo-upload-box {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 2px dashed #c4b5fd;
  border-radius: 16px;
  padding: 28px 16px;
  cursor: pointer;
  background: #faf5ff;
  transition: all 0.22s;
  min-height: 130px;
  text-align: center;
}
.hm-photo-upload-box:hover {
  border-color: #7c3aed;
  background: #f3e8ff;
}
.hm-photo-upload-box.has-photo {
  border-style: solid;
  border-color: #7c3aed;
  background: #fff;
  padding: 16px;
}
.hm-photo-upload-box .hm-photo-thumb {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid #7c3aed;
  box-shadow: 0 4px 16px rgba(124,58,237,0.25);
  display: block; margin: 0 auto 8px;
}
.hm-photo-upload-box .hm-photo-change-hint {
  font-size: 11px; color: #7c3aed; font-weight: 700;
}

/* Skills tag input */
.hm-skills-input-wrap { position: relative; }
.hm-skill-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.hm-skill-remove {
  display: inline-flex; align-items: center; gap: 4px;
  background: #f3e8ff; color: #7c3aed; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 50px; cursor: pointer; border: none;
}
.hm-skill-remove:hover { background: #ede9fe; }

/* Featured upsell box */
.hm-featured-upsell {
  background: linear-gradient(135deg, #7c3aed11, #4f46e511);
  border: 2px solid #7c3aed;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}
.hm-featured-upsell-header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.hm-featured-check { width: 20px; height: 20px; accent-color: #7c3aed; cursor: pointer; }
.hm-featured-label { font-size: 16px; font-weight: 800; color: #1e293b; }
.hm-featured-price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hm-price-now { font-size: 28px; font-weight: 900; color: #7c3aed; }
.hm-price-old { font-size: 18px; color: #9ca3af; font-weight: 600; text-decoration: line-through; }
.hm-discount-badge {
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 50px;
}
.hm-featured-desc { font-size: 13px; color: #64748b; margin-top: 10px; line-height: 1.6; }

/* Submit button */
.btn-submit-profile {
  width: 100%;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 16px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  margin-top: 8px;
}
.btn-submit-profile:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(124,58,237,0.3); }
.btn-submit-profile:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ── Buy Credits Page ─────────────────────────────────────── */
.hm-credits-page { max-width: 860px; margin: 0 auto; padding: 32px 20px 60px; }
.hm-credits-hero { text-align: center; margin-bottom: 36px; }
.hm-credits-hero h2 { font-size: 30px; font-weight: 900; color: #1e293b; margin-bottom: 8px; }
.hm-credits-hero p { font-size: 15px; color: #64748b; }
.hm-balance-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f3e8ff; color: #7c3aed; font-weight: 800; font-size: 16px;
  padding: 10px 20px; border-radius: 50px; margin-bottom: 28px;
  border: 2px solid #c4b5fd;
}
.hm-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 640px) { .hm-packs { grid-template-columns: 1fr; } }

.hm-pack-card {
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}
.hm-pack-card:hover { border-color: #7c3aed; box-shadow: 0 8px 30px rgba(124,58,237,0.15); transform: translateY(-4px); }
.hm-pack-card.popular {
  border-color: #7c3aed;
  background: linear-gradient(135deg, #faf5ff, #fff);
}
.hm-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #7c3aed;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  white-space: nowrap;
}
.hm-pack-name { font-size: 14px; font-weight: 700; color: #64748b; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.hm-pack-price { font-size: 36px; font-weight: 900; color: #7c3aed; margin-bottom: 4px; }
.hm-pack-credits { font-size: 18px; font-weight: 800; color: #1e293b; margin-bottom: 4px; }
.hm-pack-bonus { font-size: 12px; color: #15803d; font-weight: 700; margin-bottom: 18px; background: #dcfce7; padding: 3px 10px; border-radius: 50px; display: inline-block; }
.btn-buy-pack {
  width: 100%;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 13px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-buy-pack:hover { opacity: 0.9; transform: translateY(-1px); }

.hm-credits-note {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-top: 24px;
  line-height: 1.7;
}

/* ── Empty + Loading ─────────────────────────────────────── */
.hm-empty {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}
.hm-empty-icon { font-size: 56px; margin-bottom: 14px; }
.hm-empty h3 { font-size: 20px; font-weight: 800; color: #1e293b; margin-bottom: 6px; }
.hm-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 20px 32px;
}
.hm-skeleton-card {
  background: #fff;
  border-radius: 18px;
  border: 1.5px solid #e5e7eb;
  padding: 22px;
  height: 260px;
}
.hm-shimmer {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 400px 100%;
  animation: hmShimmer 1.4s ease-in-out infinite;
  border-radius: 8px;
  height: 14px;
  margin-bottom: 10px;
}
@keyframes hmShimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .hm-hero { padding: 32px 16px 28px; }
  .hm-grid { grid-template-columns: 1fr; padding: 0 12px 24px; }
  .hm-filters { gap: 8px; padding: 12px 12px; }
  .hm-form-container { padding: 16px 12px 40px; }
  .hm-packs { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   RECENTLY HIRED CAROUSEL
   ═══════════════════════════════════════════════════════════ */
.hm-hired-section {
  background: linear-gradient(135deg, #1a0a3c 0%, #2e1065 100%);
  padding: 14px 20px 16px;
}
.hm-hired-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.hm-hired-label {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.hm-hired-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  flex: 1;
}
.hm-hired-nav { display: flex; gap: 6px; flex-shrink: 0; }
.hm-hired-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.18s; line-height: 1;
}
.hm-hired-btn:hover { background: rgba(255,255,255,0.25); }

.hm-hired-viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 97%, transparent 100%);
}
.hm-hired-track {
  display: flex;
  gap: 10px;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* Individual card */
.rhc-card {
  flex: 0 0 140px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 14px 10px 12px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: all 0.2s;
}
.rhc-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.rhc-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 17px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.25);
}
.rhc-hired-badge {
  display: inline-block;
  background: #22c55e; color: #fff;
  font-size: 9px; font-weight: 800;
  padding: 2px 8px; border-radius: 50px; margin-bottom: 6px;
}
.rhc-name {
  font-size: 12px; font-weight: 800; color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.rhc-role {
  font-size: 10px; color: rgba(255,255,255,0.65); font-weight: 600;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  margin-bottom: 4px;
}
.rhc-loc {
  font-size: 9px; color: rgba(255,255,255,0.5); font-weight: 500;
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.rhc-views { font-size: 9px; color: rgba(255,255,255,0.45); font-weight: 600; }

/* View count badge on candidate cards */
.hm-card-views {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10px; color: #94a3b8; font-weight: 600;
  background: #f1f5f9; padding: 2px 8px; border-radius: 50px;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════
   HORIZONTAL CANDIDATE CAROUSELS
   ═══════════════════════════════════════════════════════════ */

/* ── Section wrapper ── */
.hm-carousel-section {
  padding: 0 0 8px;
  overflow: hidden;
}
.hm-featured-section .hm-cs-header {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border-left: 4px solid #7c3aed;
}

/* ── Header row: title + nav arrows ── */
.hm-cs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 12px;
  gap: 12px;
}
.hm-cs-title {
  font-size: 17px;
  font-weight: 900;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hm-cs-sub {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
}
.hm-cs-nav {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.hm-cs-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #374151;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.hm-cs-btn:hover {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
  box-shadow: 0 4px 14px rgba(124,58,237,0.3);
}

/* ── Scrollable viewport (clips overflow) ── */
.hm-cs-viewport {
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 20px 18px;
  /* Fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0px, #000 20px, #000 calc(100% - 20px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0px, #000 20px, #000 calc(100% - 20px), transparent 100%);
}
.hm-cs-viewport::-webkit-scrollbar { display: none; }

/* ── Card track — horizontal flex row ── */
.hm-cs-track {
  display: flex;
  gap: 16px;
  width: max-content;
}

/* ── Cards inside carousels: fixed width, keep original card spec ── */
.hm-cs-track .hm-card {
  flex: 0 0 280px;
  width: 280px;
  min-width: 0;
  box-sizing: border-box;
}

/* ── State header inside state carousels ── */
.hm-state-carousel {
  margin-bottom: 4px;
  border-top: 1px solid #f1f5f9;
}

/* ── Auto-slide paused on hover ── */
.hm-cs-viewport:hover { scroll-behavior: smooth; }

/* ── Responsive tweaks ── */
@media (max-width: 600px) {
  .hm-cs-header { padding: 12px 14px 10px; }
  .hm-cs-title  { font-size: 15px; }
  .hm-cs-viewport { padding: 4px 14px 16px; }
  .hm-cs-track .hm-card { flex: 0 0 260px; width: 260px; }
  .hm-cs-btn { width: 30px; height: 30px; font-size: 17px; }
}