/* ═══════════════════════════════════════════════════════════
   HireOnTheFly — Global Stylesheet
   Brand: #0B1F3B (logo navy) | #0D7377 (teal) | #E85D4A (coral)
═══════════════════════════════════════════════════════════ */

:root {
  --navy:       #0B1F3B;
  --navy2:      #1A3C5E;
  --teal:       #0D7377;
  --teal-light: #0f8f95;
  --coral:      #E85D4A;
  --coral-dark: #c94838;
  --sand:       #F5F0E8;
  --lgray:      #F2F4F6;
  --teal-bg:    rgb(157, 216, 208);
  --mgray:      #D0D5DD;
  --dgray:      #4A5568;
  --white:      #FFFFFF;
  --text:       #1A202C;
  --radius:     8px;
  --shadow:     0 2px 12px rgba(11,31,59,0.10);
  --shadow-lg:  0 8px 32px rgba(11,31,59,0.15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* ── Typography ── */
h1, h2, h3, h4 { font-family: 'Inter', Arial, sans-serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.serif { font-family: Georgia, 'Times New Roman', serif; }

/* ── Layout ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all 0.2s; text-decoration: none;
  white-space: nowrap;
}
.btn-primary   { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-light); border-color: var(--teal-light); text-decoration: none; }
.btn-coral     { background: var(--coral); color: var(--white); border-color: var(--coral); }
.btn-coral:hover { background: var(--coral-dark); border-color: var(--coral-dark); text-decoration: none; }
.btn-outline   { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); text-decoration: none; }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Utility Bar ── */
.utility-bar {
  background: var(--navy2); padding: 7px 0;
  font-size: 0.76rem; color: rgba(184,196,208,0.8);
}
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; max-width: none; margin: 0; width: 100%; padding: 0 32px; }
.utility-bar a { color: rgba(184,196,208,0.8); }
.utility-bar a:hover { color: var(--white); }

/* ── Navbar ── */
.navbar {
  background: var(--navy); padding: 0;
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 28px;
  max-width: none; margin: 0; width: 100%; padding: 0 32px;
}
.nav-logo {
  display: flex; flex-direction: row; align-items: center; gap: 11px; text-decoration: none;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-text-wrap {
  display: flex; flex-direction: column;
}

/* ── Waiter Icon ── */
.waiter-icon { flex-shrink: 0; }
.waiter-icon-nav { width: 46px; height: 46px; }
.waiter-icon-footer { width: 36px; height: 36px; }
.waiter-icon-empty { width: 80px; height: 80px; display: block; margin: 0 auto 16px; }
.waiter-icon-loading { width: 48px; height: 48px; display: block; margin: 0 auto 12px; }
@keyframes waiter-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.waiter-icon-pulse { animation: waiter-pulse 2s ease-in-out infinite; }
.nav-logo-img {
  width: 180px; height: auto; image-rendering: crisp-edges;
  display: block;
}
.nav-logo-text {
  font-family: Georgia, serif; font-size: 1.55rem; font-weight: 700;
  color: var(--white); line-height: 1;
}
.nav-logo-sub {
  font-size: 0.64rem; letter-spacing: 0.11em;
  color: #94A3B8; text-transform: uppercase; margin-top: 3px;
}
@media (max-width: 640px) {
  .nav-logo-img { width: 130px; }
  .waiter-icon-nav { width: 38px; height: 38px; }
  .nav-logo-text { font-size: 1.35rem; }
  .nav-logo-sub { font-size: 0.58rem; }
  .nav-logo { gap: 9px; }
}
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  color: #CBD5E1; font-size: 0.94rem; font-weight: 500;
  padding: 8px 14px; border-radius: 7px; transition: all 0.2s; text-decoration: none;
  letter-spacing: 0.005em;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-ctas { display: flex; align-items: center; gap: 10px; }
.nav-ctas .btn { padding: 10px 20px; font-size: 0.88rem; font-weight: 600; }
.nav-ctas .btn-nav-primary {
  background: var(--teal); color: var(--white); border-color: var(--teal);
  box-shadow: 0 2px 8px rgba(13, 115, 119, 0.3);
}
.nav-ctas .btn-nav-primary:hover {
  background: var(--teal-light); border-color: var(--teal-light);
  box-shadow: 0 4px 14px rgba(13, 115, 119, 0.4);
  transform: translateY(-1px); text-decoration: none;
}

/* ── Mobile Nav ── */
.nav-links .mobile-ctas { display: none; }
.nav-toggle { display: none; flex-direction: column; background: none; border: none; cursor: pointer; padding: 8px; width: 44px; height: 44px; align-items: center; justify-content: center; gap: 5px; position: relative; z-index: 50; overflow: visible; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; flex-shrink: 0; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #0d3557 100%);
  padding: 100px 0 80px;
  position: relative; overflow: hidden;
}
.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.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero .container { position: relative; }
.hero-content {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(13,115,119,0.2); border: 1px solid rgba(13,115,119,0.5);
  color: #5ecdd1; padding: 6px 14px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; max-width: 900px; text-align: center; font-size: clamp(2.2rem, 5.5vw, 3.6rem); }
.hero p { color: #B8C4D0; font-size: 1.1rem; margin-bottom: 32px; line-height: 1.7; max-width: 780px; text-align: center; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.hero-trust { color: #7a9ab5; font-size: 0.82rem; text-align: center; }
.hero-trust span { margin: 0 8px; opacity: 0.4; }

/* Avatars & badges */
.avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--navy2));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
}
.badge-teal   { background: #e0f5f5; color: var(--teal); }
.badge-coral  { background: #fdecea; color: var(--coral); }
.badge-navy   { background: #e8edf3; color: var(--navy2); }
.badge-green  { background: #e6f4ea; color: #2e7d32; }
.badge-orange { background: #fff3e0; color: #e65100; }
.skill-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.skill-tag { background: var(--lgray); color: var(--dgray); padding: 4px 10px; border-radius: 4px; font-size: 0.78rem; }

/* ── Stats Bar ── */
.stats-bar { background: var(--navy); padding: 24px 0; }
.stats-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 24px; }
.stat-item { text-align: center; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--teal); font-family: Georgia, serif; }
.stat-label { font-size: 0.8rem; color: #7a9ab5; margin-top: 2px; }

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block; background: #e0f5f5; color: var(--teal);
  padding: 4px 14px; border-radius: 20px; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p { color: var(--dgray); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ── How It Works ── */
.how-it-works { background: var(--lgray); }
.how-tabs { display: flex; justify-content: center; gap: 0; margin-bottom: 48px; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--mgray); max-width: 360px; margin-left: auto; margin-right: auto; }
.how-tab {
  flex: 1; padding: 12px 24px; text-align: center; cursor: pointer;
  font-weight: 600; font-size: 0.9rem; border: none; background: var(--white); color: var(--dgray); transition: all 0.2s;
}
.how-tab.active { background: var(--navy); color: var(--white); }
.how-steps { display: none; }
.how-steps.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how-step { text-align: center; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; margin: 0 auto 16px;
  font-family: Georgia, serif;
}
.how-step h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.05rem; }
.how-step p { color: var(--dgray); font-size: 0.9rem; }

/* ── Roles Grid ── */
.roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 16px; }
.role-card {
  background: var(--white); border: 2px solid var(--mgray);
  border-radius: var(--radius); padding: 24px 16px; text-align: center;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.role-card:hover { border-color: var(--teal); background: #f0fdfd; text-decoration: none; transform: translateY(-2px); }
.role-icon { font-size: 2rem; margin-bottom: 10px; }
.role-card span { font-size: 0.9rem; font-weight: 600; color: var(--navy); display: block; }
.role-card small { font-size: 0.75rem; color: var(--teal); }

/* ── Find Talent Summary (Browse by Role replacement) ── */
.find-talent-summary { text-align: center; }
.ft-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.ft-summary-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 32px 24px 28px;
  text-align: center;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.ft-summary-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(13,115,119,0.08);
}
.ft-summary-icon {
  width: 56px; height: 56px;
  background: #f0fdfd;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.ft-summary-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.ft-summary-card p {
  font-size: 0.92rem;
  color: var(--dgray);
  line-height: 1.6;
}
.ft-summary-note {
  margin-top: 28px;
  font-size: 0.88rem;
  color: var(--dgray);
  font-style: italic;
}
@media (max-width: 768px) {
  .ft-summary-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Candidate Cards ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.candidate-card {
  background: var(--white); border: 1px solid var(--mgray);
  border-radius: 12px; padding: 20px; transition: all 0.2s;
  box-shadow: var(--shadow);
}
.candidate-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-header { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.card-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: var(--white);
}
.card-name { font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.card-role { font-size: 0.85rem; color: var(--dgray); }
.card-distance { font-size: 0.78rem; color: var(--teal); margin-top: 2px; }
.card-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.card-skills { margin-bottom: 16px; }
.card-actions { display: flex; gap: 8px; }
.card-actions .btn { flex: 1; font-size: 0.82rem; padding: 8px 12px; }

/* ── Job Cards ── */
.jobs-grid { display: grid; gap: 16px; }
.job-card {
  background: var(--white); border: 1px solid var(--mgray);
  border-radius: 12px; padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; transition: all 0.2s; box-shadow: var(--shadow);
}
.job-card:hover { box-shadow: var(--shadow-lg); border-color: var(--teal); }
.job-card.featured { border-color: var(--teal); border-width: 2px; }
.job-card.urgent { border-color: var(--coral); border-width: 2px; }
.job-employer-logo {
  width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 1rem;
}
.job-info { flex: 1; }
.job-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.job-employer { color: var(--dgray); font-size: 0.9rem; margin-bottom: 8px; }
.job-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; color: var(--dgray); }
.job-meta span { display: flex; align-items: center; gap: 4px; }
.job-badges { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.job-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; flex-shrink: 0; }

/* ── Our Story Strip ── */
.our-story { background: #F2F4F6; }
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-image {
  border-radius: 16px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  height: 360px; display: flex; align-items: center; justify-content: center;
}
.story-image-placeholder { text-align: center; color: var(--white); padding: 40px; }
.story-image-placeholder p { color: #B8C4D0; font-size: 0.9rem; margin-top: 8px; }
.story-content .section-label { text-align: left; display: block; }
.story-content h2 { color: var(--navy); margin-bottom: 16px; }
.story-content p { color: var(--dgray); margin-bottom: 16px; line-height: 1.8; }
.story-mission {
  background: var(--lgray); border-left: 4px solid var(--teal);
  padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}
.story-mission p { color: var(--navy); font-weight: 600; margin: 0; }

/* ── Testimonials ── */
.testimonials { background: var(--lgray); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--white); border-radius: 12px; padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-text { color: var(--dgray); font-style: italic; margin-bottom: 20px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author .avatar { width: 40px; height: 40px; font-size: 0.9rem; }
.testimonial-name { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--dgray); }

/* ── Bottom CTA ── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 80px 0; text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p { color: #B8C4D0; font-size: 1.05rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Footer ── */
.footer {
  background: #060f1e; color: #7a9ab5;
  padding: 72px 0 28px;
  width: 100%; /* ensure full bleed */
}
.footer > .container {
  max-width: 1180px; padding: 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand .nav-logo-text { color: var(--white); font-size: 1.35rem; }
.footer-brand .nav-logo-sub { color: #7a9ab5; font-size: 0.6rem; }
.footer-brand p { font-size: 0.88rem; margin-top: 16px; line-height: 1.75; max-width: 300px; }
.footer-col h4 {
  color: var(--white); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 18px; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #7a9ab5; font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding-top: 28px; margin-top: 8px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 0.8rem;
}
.footer-bottom a { color: #7a9ab5; }

/* ── Search / Filter Bar ── */
.search-bar {
  background: var(--white); border-radius: 12px;
  padding: 20px 24px; box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end;
  margin-bottom: 32px; border: 1px solid var(--mgray);
}
.search-field { flex: 1; min-width: 180px; }
.search-field label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.search-field input, .search-field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--mgray);
  border-radius: var(--radius); font-size: 0.9rem; color: var(--text);
  background: var(--white); transition: border-color 0.2s;
}
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,115,119,0.1); }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--mgray);
  border-radius: var(--radius); font-size: 0.95rem; color: var(--text);
  background: var(--white); transition: all 0.2s;
  min-height: 44px;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.8rem; color: var(--dgray); margin-top: 6px; }

/* ── Auth Cards ── */
.auth-page { background: #E8F4F3; min-height: 100vh; padding: 60px 0; display: flex; align-items: center; }
.auth-card { background: var(--white); border-radius: 16px; padding: 40px; max-width: 520px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.auth-card h2 { color: var(--navy); margin-bottom: 6px; }
.auth-card .sub { color: var(--dgray); font-size: 0.9rem; margin-bottom: 28px; }
.auth-toggle { display: flex; gap: 0; margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--mgray); }
.auth-toggle button { flex: 1; padding: 12px; border: none; background: var(--white); cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--dgray); transition: all 0.2s; }
.auth-toggle button.active { background: var(--navy); color: var(--white); }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--dgray); font-size: 0.85rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--mgray); }

/* ── Dashboard Shell ── */
.dashboard { display: flex; min-height: calc(100vh - 76px); }

/* Sidebar */
.sidebar {
  width: 256px; background: #142137; flex-shrink: 0;
  padding: 0; display: flex; flex-direction: column;
  position: fixed; top: 76px; left: 0; bottom: 0;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.08) transparent;
  z-index: 40;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }

.sidebar-brand {
  padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 8px; flex-shrink: 0;
}
.sidebar-brand .name { color: var(--white); font-weight: 700; font-size: 0.92rem; line-height: 1.3; }
.sidebar-brand .plan {
  font-size: 0.7rem; color: #64748B; text-transform: uppercase;
  letter-spacing: 0.06em; margin-top: 4px; font-weight: 600;
}

.sidebar-nav { list-style: none; padding: 8px 12px; flex: 1; }
.sidebar-nav li { margin-bottom: 1px; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  border-radius: 8px; color: rgba(203,213,225,0.7); font-size: 0.86rem; font-weight: 500;
  transition: all 0.15s ease; text-decoration: none;
  position: relative;
}
.sidebar-nav a:hover {
  background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.95);
  text-decoration: none;
}
.sidebar-nav a.active {
  background: rgba(42,157,143,0.12); color: #5EEAD4;
  font-weight: 600;
}
.sidebar-nav a.active::before {
  content: ''; position: absolute; left: -12px; top: 6px; bottom: 6px;
  width: 3px; background: #2A9D8F; border-radius: 0 3px 3px 0;
}
.sidebar-nav .icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; opacity: 0.8; }
.sidebar-nav a.active .icon { opacity: 1; }

/* Sidebar section labels */
.sidebar-section-label {
  font-size: 0.65rem; font-weight: 600; color: rgba(255,255,255,0.25);
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 16px 12px 6px; margin: 0;
}

.sidebar-upgrade {
  padding: 14px; margin: 8px 12px 16px;
  background: rgba(232,93,74,0.1); border: 1px solid rgba(232,93,74,0.2);
  border-radius: 10px;
}
.sidebar-upgrade p { font-size: 0.76rem; color: #ffb3a9; margin-bottom: 8px; line-height: 1.5; }
.sidebar-upgrade .btn { font-size: 0.76rem; padding: 8px 14px; }

/* Main Content Area */
.dash-main {
  flex: 1; padding: 28px 32px; background: #F8FAFB;
  overflow-y: auto; margin-left: 256px; min-height: calc(100vh - 76px);
}

.dash-header { margin-bottom: 24px; }
.dash-header h1 { color: var(--navy); font-size: 1.5rem; font-weight: 700; margin-bottom: 2px; }
.dash-header p { color: var(--dgray); font-size: 0.88rem; }

.btn-create-job {
  background: #2A9D8F; color: #fff; font-weight: 600; font-size: 0.88rem;
  border: none; border-radius: 10px; padding: 10px 22px; height: 42px;
  cursor: pointer; transition: all 0.15s; white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(13,115,119,0.2);
}
.btn-create-job:hover { background: #238C80; box-shadow: 0 4px 12px rgba(13,115,119,0.3); }
@media (max-width: 600px) {
  .btn-create-job { width: 100%; }
}

/* Stats Row */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-bottom: 24px;
}
.stat-card {
  background: var(--white); border-radius: 12px; padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(11,31,59,0.06); border: 1px solid #EEF0F2;
}
.stat-card .s-label {
  font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.07em;
  color: #94A3B8; margin-bottom: 8px; font-weight: 600;
}
.stat-card .s-value { font-size: 1.75rem; font-weight: 800; color: var(--navy); font-family: Georgia, serif; }
.stat-card .s-sub { font-size: 0.76rem; color: var(--teal); margin-top: 4px; }

/* Dashboard Content Panels */
.panel {
  background: var(--white); border-radius: 14px; padding: 24px;
  box-shadow: 0 1px 4px rgba(11,31,59,0.04); border: 0.5px solid #E2E8F0;
  margin-bottom: 20px;
}
.panel-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid rgba(42,157,143,0.1);
}
.panel-header h3 { color: var(--navy); font-size: 0.95rem; font-weight: 700; }

/* Search Candidates panel — premium treatment matching JUMP IN design language */
#search.panel {
  background: linear-gradient(180deg, rgba(29,158,117,0.03) 0%, var(--white) 100%);
  border: 0.5px solid rgba(29,158,117,0.18);
}
#search .panel-header {
  border-bottom: 1px solid rgba(29,158,117,0.1);
  padding-bottom: 16px;
}
#search .panel-header h3 { color: var(--navy); }
#search .panel-header h3 svg { stroke: #5DCAA5; }

/* Lock overlay */
.lock-overlay {
  position: relative; overflow: hidden;
}
.lock-overlay::after {
  content: '🔒  Upgrade to Pro to unlock this feature';
  position: absolute; inset: 0; background: rgba(242,244,246,0.92);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--navy); font-size: 0.9rem;
  backdrop-filter: blur(2px);
}

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; align-items: start; }
.pricing-card {
  background: var(--white); border: 2px solid var(--mgray);
  border-radius: 16px; padding: 32px; position: relative;
}
.pricing-card.featured { border-color: var(--teal); }
.pricing-card.featured::before { content: 'MOST POPULAR'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--teal); color: var(--white); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; padding: 4px 14px; border-radius: 20px; }
.pricing-plan { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--teal); margin-bottom: 8px; }
.pricing-price { font-size: 2.4rem; font-weight: 800; color: var(--navy); font-family: Georgia, serif; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--dgray); }
.pricing-price small { font-size: 0.9rem; color: var(--dgray); font-family: Arial, sans-serif; font-weight: 400; }
.pricing-year { font-size: 0.82rem; color: var(--teal); margin: 4px 0 20px; }
.pricing-features { list-style: none; margin-bottom: 28px; }
.pricing-features li { padding: 8px 0; font-size: 0.9rem; color: var(--dgray); display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid var(--lgray); }
.pricing-features li:last-child { border-bottom: none; }
.feat-check { color: var(--teal); font-weight: 700; flex-shrink: 0; }
.feat-lock { color: var(--mgray); flex-shrink: 0; }

/* ── Alerts / Toasts ── */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--navy); color: var(--white); padding: 14px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); font-size: 0.9rem; z-index: 9999; display: none; max-width: 320px; }
.toast.show { display: block; animation: slideUp 0.3s ease; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── Step boxes ── */
.step-box { background: var(--white); border-radius: 10px; padding: 16px 20px; margin-bottom: 12px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--shadow); border-left: 4px solid var(--teal); }
.step-num-sm { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; flex-shrink: 0; }
.step-content h4 { color: var(--navy); font-size: 0.95rem; margin-bottom: 4px; }
.step-content p { color: var(--dgray); font-size: 0.85rem; }

/* ── Progress bar ── */
.progress-bar { background: var(--mgray); border-radius: 4px; height: 8px; overflow: hidden; margin: 8px 0; }
.progress-fill { background: linear-gradient(90deg, var(--teal), var(--teal-light)); height: 100%; border-radius: 4px; transition: width 0.5s ease; }

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }
td { padding: 12px 16px; border-bottom: 1px solid var(--lgray); color: var(--dgray); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--lgray); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-image { height: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer > .container { padding: 0 28px; }
  .footer { padding: 56px 0 24px; }
  .sidebar { display: none; }
  .dashboard { flex-direction: column; }
  .dash-main { padding: 20px; margin-left: 0; }
  .nav-links a { padding: 7px 10px; font-size: 0.88rem; }
  .nav-ctas .btn { padding: 9px 16px; font-size: 0.84rem; }
  .utility-bar { display: none; }
}
@media (max-width: 768px) {
  .how-steps.active { grid-template-columns: 1fr; gap: 24px; }
  .how-tabs { max-width: min(360px, 90vw); }
  .form-row { grid-template-columns: 1fr; }
  .search-bar { flex-direction: column; }
  .job-card { flex-direction: column; }
  .job-actions { align-items: flex-start; }
  .roles-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
  .hero p { font-size: 1rem; }
  .section { padding: 56px 0; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 36px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 320px; text-align: center; }
  .navbar .container { position: relative; height: 68px; padding: 0 20px; overflow: visible; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 20px 24px; gap: 2px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); z-index: 100; border-top: 1px solid rgba(255,255,255,0.06); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 1rem; border-radius: 8px; }
  .nav-ctas { display: none; }
  .nav-links .mobile-ctas { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,0.08); }
  .nav-links .mobile-ctas .btn { padding: 12px 16px; font-size: 1rem; text-align: center; border-radius: 8px; display: block; }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .footer > .container { padding: 0 20px; }
  .footer { padding: 48px 0 20px; }
  .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 420px) {
  .navbar .container { padding: 0 16px; gap: 8px; }
  .nav-logo { gap: 7px; }
  .waiter-icon-nav { width: 32px; height: 32px; }
  .nav-logo-text { font-size: 1.15rem; }
  .nav-logo-sub { font-size: 0.52rem; letter-spacing: 0.08em; }
  .nav-toggle { padding: 8px; }
}
@media (max-width: 340px) {
  .nav-logo-sub { display: none; }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-teal { color: var(--teal); }
.text-coral { color: var(--coral); }
.text-gray { color: var(--dgray); }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   Premium Polish — Subtle Animations, Spacing & Visual Hierarchy
══════════════════════════════════════════════════════════════ */

/* ── Scroll-reveal fade-in ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-header,
.pricing-card,
.how-step,
.role-card,
.testimonial-card,
.story-grid,
.numbers-item,
.stat-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger children for visual rhythm */
.pricing-card:nth-child(1) { animation-delay: 0.08s; }
.pricing-card:nth-child(2) { animation-delay: 0.18s; }
.pricing-card:nth-child(3) { animation-delay: 0.28s; }

.how-step:nth-child(1) { animation-delay: 0.06s; }
.how-step:nth-child(2) { animation-delay: 0.16s; }
.how-step:nth-child(3) { animation-delay: 0.26s; }

.testimonial-card:nth-child(1) { animation-delay: 0.06s; }
.testimonial-card:nth-child(2) { animation-delay: 0.16s; }
.testimonial-card:nth-child(3) { animation-delay: 0.26s; }

.numbers-item:nth-child(1) { animation-delay: 0.05s; }
.numbers-item:nth-child(2) { animation-delay: 0.12s; }
.numbers-item:nth-child(3) { animation-delay: 0.19s; }
.numbers-item:nth-child(4) { animation-delay: 0.26s; }

.role-card:nth-child(1) { animation-delay: 0.04s; }
.role-card:nth-child(2) { animation-delay: 0.08s; }
.role-card:nth-child(3) { animation-delay: 0.12s; }
.role-card:nth-child(4) { animation-delay: 0.16s; }
.role-card:nth-child(5) { animation-delay: 0.20s; }
.role-card:nth-child(6) { animation-delay: 0.24s; }
.role-card:nth-child(7) { animation-delay: 0.28s; }
.role-card:nth-child(8) { animation-delay: 0.32s; }

/* ── Button polish ── */
.btn {
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary:active,
.btn-coral:active {
  transform: scale(0.97);
}

.btn-primary {
  box-shadow: 0 2px 8px rgba(13, 115, 119, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(13, 115, 119, 0.35);
  transform: translateY(-1px);
}

.btn-coral {
  box-shadow: 0 2px 8px rgba(232, 93, 74, 0.25);
}

.btn-coral:hover {
  box-shadow: 0 4px 16px rgba(232, 93, 74, 0.35);
  transform: translateY(-1px);
}

.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(11, 31, 59, 0.12);
}

/* ── Card hover refinements ── */
.candidate-card,
.testimonial-card,
.job-card {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11, 31, 59, 0.12);
}

/* ── Hero entrance animation ── */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: heroFadeIn 0.7s ease forwards;
  /* flexbox layout defined above in .hero-content */
}

/* ── Hero badge pulse ── */
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(13, 115, 119, 0.3); }
  50%      { box-shadow: 0 0 0 6px rgba(13, 115, 119, 0); }
}

.hero-badge {
  animation: badgePulse 3s ease-in-out infinite;
}

/* ── Numbers bar count-up feel ── */
.numbers-num {
  transition: color 0.3s ease;
}

.numbers-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 28px 0;
}

/* ── Pricing card featured glow ── */
.pricing-card.featured {
  box-shadow: 0 8px 32px rgba(13, 115, 119, 0.14),
              0 0 0 1px rgba(13, 115, 119, 0.08);
}

.pricing-card.featured:hover {
  box-shadow: 0 16px 48px rgba(13, 115, 119, 0.2),
              0 0 0 1px rgba(13, 115, 119, 0.12);
}

/* ── Section spacing refinement ── */
.section-header h2 {
  letter-spacing: -0.02em;
}

.section-header p {
  letter-spacing: 0.005em;
}

/* ── Navbar polish ── */
.navbar {
  transition: box-shadow 0.3s ease;
  backdrop-filter: blur(8px);
}

.nav-links a {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Step number accent ── */
.step-num {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(11, 31, 59, 0.15);
}

.how-step:hover .step-num {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(11, 31, 59, 0.2);
}

/* ── How-it-works tab transitions ── */
.how-tab {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Role card icon bounce on hover ── */
.role-card:hover .role-icon {
  animation: iconBounce 0.4s ease;
}

@keyframes iconBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ── Story mission accent bar ── */
.story-mission {
  transition: border-color 0.3s ease;
}

.story-mission:hover {
  border-left-color: var(--coral);
}

/* ── Toast refinement ── */
.toast {
  border-left: 4px solid var(--teal);
  backdrop-filter: blur(12px);
}

/* ── Form focus transitions ── */
.form-group input,
.form-group select,
.form-group textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ── Auth toggle smooth switch ── */
.auth-toggle button {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Sidebar nav smooth hover ── */
.sidebar-nav a {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── CTA section subtle texture ── */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::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.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* ── Testimonial stars shimmer ── */
.testimonial-stars {
  letter-spacing: 2px;
}

/* ── Pricing feature list check polish ── */
.pricing-features li {
  transition: padding-left 0.2s ease;
}

.pricing-features li:hover {
  padding-left: 4px;
}

/* ── Footer link underline reveal ── */
.footer-col a {
  position: relative;
}

.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.25s ease;
}

.footer-col a:hover::after {
  width: 100%;
}

/* ── Search bar focus-within ── */
.search-bar {
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.search-bar:focus-within {
  box-shadow: 0 8px 32px rgba(11, 31, 59, 0.12);
  border-color: var(--teal);
}

/* ── Branded Loader ── */
.hotf-loader {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 24px; gap: 14px; color: var(--dgray);
}
.hotf-loader-icon {
  width: 48px; height: 48px; animation: hotfGlow 1.8s ease-in-out infinite;
}
.hotf-loader-icon svg { width: 100%; height: 100%; }
.hotf-loader-text {
  font-size: 0.84rem; font-weight: 500; color: #7a9ab5;
  letter-spacing: 0.02em;
}
@keyframes hotfGlow {
  0%, 100% { opacity: 0.3; filter: brightness(0.7); transform: scale(0.96); }
  50% { opacity: 1; filter: brightness(1.3); transform: scale(1); }
}

/* ── Smart Search Bar ── */
.smart-search-wrap { margin-bottom: 20px; }
.smart-search-bar {
  position: relative; display: flex; align-items: center; flex-wrap: wrap;
  background: var(--white); border: 1px solid rgba(29,158,117,0.2); border-radius: 12px;
  padding: 8px 14px; min-height: 48px; gap: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(29,158,117,0.04);
}
.smart-search-bar:focus-within {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(29,158,117,0.08);
}
.smart-search-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ss-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: #e6f7f7; color: #0D7377; font-size: 0.78rem; font-weight: 600;
  padding: 4px 10px; border-radius: 14px; white-space: nowrap;
  animation: ssTagIn 0.2s ease;
}
@keyframes ssTagIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
.ss-tag-x {
  cursor: pointer; font-size: 1rem; line-height: 1; color: #0a5c5f;
  margin-left: 2px; transition: color 0.15s;
}
.ss-tag-x:hover { color: #b91c1c; }
.smart-search-input {
  flex: 1; min-width: 160px; border: none; outline: none;
  font-size: 0.9rem; padding: 8px 4px; background: transparent; color: var(--navy);
}
.smart-search-input::placeholder { color: #9ca3af; }
.smart-search-ac {
  display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 100;
  background: var(--white); border: 1px solid var(--mgray); border-top: none;
  border-radius: 0 0 10px 10px; box-shadow: 0 8px 24px rgba(11,31,59,0.1);
  max-height: 260px; overflow-y: auto;
}
.ss-ac-item {
  padding: 10px 14px; cursor: pointer; font-size: 0.88rem; color: var(--navy);
  transition: background 0.15s;
}
.ss-ac-item:hover, .ss-ac-item.ss-ac-highlighted { background: var(--lgray); }
.ss-ac-item mark { background: none; color: var(--teal); font-weight: 700; }
.smart-search-actions {
  display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap;
  margin-top: 12px;
}
.smart-search-filters { display: flex; gap: 10px; flex: 1; }
.ss-filter {
  padding: 9px 14px; border: 1px solid rgba(29,158,117,0.18); border-radius: 10px;
  font-size: 0.85rem; color: var(--navy); background: var(--white);
  min-width: 140px; transition: border-color 0.15s;
}
.ss-filter:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 2px rgba(29,158,117,0.06); }
.smart-search-btns { display: flex; gap: 10px; align-items: center; }
.ss-gate-msg {
  display: flex; align-items: center; gap: 8px;
  background: #fef3c7; color: #92400e; font-size: 0.84rem; font-weight: 500;
  padding: 10px 16px; border-radius: 8px; margin-top: 12px;
  animation: ssTagIn 0.2s ease;
}
.ss-gate-icon { font-size: 1rem; }
.ss-gate-link {
  color: var(--teal); font-weight: 700; text-decoration: underline; margin-left: auto;
}

/* Match badge on candidate cards */
.match-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: #e6f7f7; color: #0D7377; font-size: 0.72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 10px; margin-top: 6px;
}
.match-badge-high { background: #dcfce7; color: #15803d; }

/* Job-Aware Ranking Badges */
.match-badge-best   { background: #dcfce7; color: #065F46; font-weight: 700; }
.match-badge-strong { background: #e6f7f7; color: #0D7377; font-weight: 700; }
.match-badge-good   { background: #EFF6FF; color: #1E40AF; font-weight: 600; }

/* Match reason snippet */
.match-reason {
  font-size: 0.72rem; color: #4B8A7E; margin-top: 3px;
  line-height: 1.35; max-width: 260px; font-style: italic;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Ranked card subtle left accent */
.candidate-card-ranked {
  border-left: 3px solid var(--teal);
}

/* Top Best Match card — premium dominance */
.candidate-card-top-match {
  border-left: 4px solid #065F46;
  box-shadow: 0 4px 20px rgba(6,95,70,0.12), 0 1px 4px rgba(11,31,59,0.08);
  border-color: #B2DFDB;
}
.candidate-card-top-match:hover {
  box-shadow: 0 8px 28px rgba(6,95,70,0.16), 0 2px 8px rgba(11,31,59,0.10);
}
.candidate-card-top-match .match-badge-best {
  background: #065F46; color: #fff;
  padding: 3px 10px; font-size: 0.73rem;
}
.candidate-card-top-match .match-reason {
  color: #065F46; font-style: normal; font-weight: 600;
}

/* Proof pills — explain WHY a candidate matched */
.proof-pills {
  display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; max-width: 320px;
}
.proof-pill {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.67rem; font-weight: 600; line-height: 1;
  padding: 2px 7px; border-radius: 10px; white-space: nowrap;
}
/* Primary pills: role + venue (teal family) */
.proof-pill-role,
.proof-pill-venue {
  background: #E0F5F5; color: #0D7377;
}
/* Skills pills (neutral gray) */
.proof-pill-skill {
  background: #F1F5F9; color: #475569;
}
/* Location pill (muted) */
.proof-pill-location {
  background: #F5F3FF; color: #6D28D9;
}
/* Compact pills in app inbox cards */
.app-proof-pills {
  display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px;
}
.app-proof-pills .proof-pill {
  font-size: 0.62rem; padding: 1px 6px;
}

/* Premium ranking heading above results */
.rank-heading {
  margin: 16px 0 4px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #F0FDFA 0%, #F8FFFE 100%);
  border: 1px solid #D1E9E6;
  border-radius: 10px;
}
.rank-heading-inner {
  display: flex; align-items: center; gap: 10px;
}
.rank-heading-icon {
  color: var(--teal); flex-shrink: 0; opacity: 0.85;
}
.rank-heading-title {
  font-size: 0.84rem; font-weight: 700; color: var(--navy);
  line-height: 1.2;
}
.rank-heading-sub {
  font-size: 0.74rem; color: #6B7280; margin-top: 1px;
  line-height: 1.3;
}

/* ── Pro Taxonomy Filters ── */
.ss-pro-filters {
  margin-top: 14px; padding: 20px 22px 18px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(29,158,117,0.06) 0%, rgba(29,158,117,0.02) 100%);
  border: 0.5px solid rgba(29,158,117,0.2);
  box-shadow: 0 1px 4px rgba(29,158,117,0.04);
  transition: all 0.2s;
}
.ss-pro-locked {
  background: linear-gradient(180deg, #FFFDF5 0%, #FFFBEB 100%);
  border-color: #FDE68A; opacity: 0.88;
  box-shadow: none;
}
.ss-pro-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px;
}
.ss-pro-title {
  font-size: 0.85rem; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 7px;
}
.ss-pro-upgrade {
  font-size: 0.78rem; font-weight: 700; color: var(--teal); text-decoration: none;
  padding: 4px 12px; border-radius: 6px; background: rgba(13,115,119,0.08);
  transition: background 0.15s;
}
.ss-pro-upgrade:hover { background: rgba(13,115,119,0.14); text-decoration: none; }
.ss-pro-sub {
  font-size: 0.76rem; color: #64748B; margin-bottom: 16px; margin-left: 21px;
}
.ss-pro-row {
  display: flex; gap: 12px; margin-bottom: 14px;
}
.ss-pro-group { flex: 1; min-width: 0; }
.ss-pro-group-wide { flex: 1.5; }
.ss-pro-group label {
  display: block; font-size: 0.68rem; font-weight: 700; color: #64748B;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 5px;
}
.ss-filter-pro {
  width: 100%; padding: 9px 12px; border: 1.5px solid #CBD5E1; border-radius: 8px;
  font-size: 0.84rem; color: var(--navy); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px;
}
.ss-filter-pro:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,115,119,0.10); }
.ss-filter-pro:disabled { background: #F8FAFC; color: #94A3B8; cursor: not-allowed; border-color: #E2E8F0; }
.ss-pro-extras {
  display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap;
  padding-top: 14px; border-top: 1px solid rgba(29,158,117,0.1);
}
.ss-pro-extras .ss-pro-group { flex: 0 0 auto; min-width: 140px; }
.ss-checkbox-filter {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.82rem; color: var(--navy); white-space: nowrap; cursor: pointer;
  padding-bottom: 2px;
}
.ss-checkbox-filter input { accent-color: var(--teal); cursor: pointer; }
.ss-check-disabled { opacity: 0.5; cursor: not-allowed; }
.ss-check-disabled input { cursor: not-allowed; }

/* Selected skill chips below skills dropdown */
.ss-selected-skills {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}
.ss-skill-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 12px; font-size: 0.74rem; font-weight: 600;
  background: #EDE9FE; color: #6D28D9; animation: ssTagIn 0.2s ease;
}
.ss-skill-chip-x {
  cursor: pointer; font-size: 0.92rem; line-height: 1; opacity: 0.55;
  transition: opacity 0.15s; margin-left: 1px;
}
.ss-skill-chip-x:hover { opacity: 1; }

/* Suggested skills quick-picks */
.ss-suggested-wrap {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed #E2E8F0;
}
.ss-suggested-label {
  font-size: 0.68rem; font-weight: 700; color: #94A3B8;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px;
}
.ss-suggested-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.ss-suggested-chip {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 10px; border-radius: 10px; font-size: 0.72rem; font-weight: 500;
  background: #F8FAFC; color: #475569; border: 1px solid #E2E8F0;
  cursor: pointer; transition: all 0.15s;
}
.ss-suggested-chip:hover { background: #EDE9FE; color: #6D28D9; border-color: #C4B5FD; }
.ss-suggested-chip::before { content: '+'; font-weight: 700; color: #94A3B8; font-size: 0.8rem; }
.ss-suggested-chip:hover::before { color: #6D28D9; }

/* Active filter chips bar */
.ss-active-filters {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 14px; border-top: 1.5px solid #E2E8F0;
}
.ss-active-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: #94A3B8; margin-right: 2px;
}
.ss-active-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.ss-active-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 14px; font-size: 0.76rem; font-weight: 600;
  animation: ssTagIn 0.2s ease;
}
.ss-active-chip-category { background: #E0F2FE; color: #0369A1; }
.ss-active-chip-role { background: #F0FDFA; color: #0D7377; }
.ss-active-chip-skill { background: #EDE9FE; color: #6D28D9; }
.ss-active-chip-experience { background: #FEF3C7; color: #92400E; }
.ss-active-chip-x {
  cursor: pointer; font-size: 1rem; line-height: 1; opacity: 0.6;
  transition: opacity 0.15s;
}
.ss-active-chip-x:hover { opacity: 1; }
.ss-clear-all {
  background: none; border: none; font-size: 0.76rem; font-weight: 700;
  color: #DC2626; cursor: pointer; white-space: nowrap; padding: 4px 0;
  transition: opacity 0.15s;
}
.ss-clear-all:hover { opacity: 0.7; }

/* Matched skill highlighting on cards */
.skill-tag-matched {
  background: #EDE9FE !important; color: #6D28D9 !important;
  font-weight: 600 !important; border: 1px solid #C4B5FD !important;
}

/* ── Photo Avatar ── */
.card-avatar-photo {
  background-size: cover; background-position: center;
  border: 2px solid var(--mgray);
}

/* ── Resume & Experience Badges ── */
.badge-resume {
  background: #ede9fe; color: #6d28d9; font-size: 0.72rem; font-weight: 600;
  padding: 3px 8px; border-radius: 10px;
}
.badge-exp {
  background: #e0f2fe; color: #0369a1; font-size: 0.72rem; font-weight: 600;
  padding: 3px 8px; border-radius: 10px;
}

/* ── Clickable Candidate Name ── */
.card-name-link {
  color: var(--navy); text-decoration: none; cursor: pointer;
  transition: color 0.15s, text-decoration 0.15s;
}
.card-name-link:hover { color: var(--teal); text-decoration: underline; }

/* ── Candidate Profile Slide-Over ── */
.candidate-profile-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  z-index: 2500; animation: cpFadeIn 0.2s ease;
}
.candidate-profile-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: 520px; max-width: 96vw;
  background: var(--white); box-shadow: -8px 0 32px rgba(0,0,0,0.15);
  overflow-y: auto; animation: cpSlideIn 0.25s ease;
  scrollbar-width: thin; scrollbar-color: var(--mgray) transparent;
}
.candidate-profile-panel::-webkit-scrollbar { width: 5px; }
.candidate-profile-panel::-webkit-scrollbar-thumb { background: var(--mgray); border-radius: 4px; }
@keyframes cpFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cpSlideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cp-header {
  position: sticky; top: 0; z-index: 10; background: var(--white);
  padding: 20px 28px 16px; border-bottom: 1px solid var(--mgray);
  display: flex; align-items: center; justify-content: space-between;
}
.cp-close {
  background: none; border: none; font-size: 1.6rem; color: #9CA3AF;
  cursor: pointer; padding: 4px 8px; border-radius: 6px; line-height: 1;
}
.cp-close:hover { background: var(--lgray); color: var(--navy); }
.cp-body { padding: 24px 28px 40px; }
.cp-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.cp-avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.4rem; color: var(--white);
}
.cp-avatar-photo { background-size: cover; background-position: center; border: 3px solid var(--mgray); }
.cp-name { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.cp-role { font-size: 0.92rem; color: var(--dgray); }
.cp-location { font-size: 0.82rem; color: var(--teal); margin-top: 3px; }
.cp-section { margin-bottom: 24px; }
.cp-section-title {
  font-size: 0.78rem; font-weight: 700; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px;
  padding-bottom: 6px; border-bottom: 1px solid var(--mgray);
}
.cp-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px;
}
.cp-detail-label { font-size: 0.78rem; color: #9CA3AF; margin-bottom: 2px; }
.cp-detail-value { font-size: 0.88rem; color: var(--navy); font-weight: 500; }
.cp-bio {
  font-size: 0.88rem; line-height: 1.65; color: #374151;
  background: var(--lgray); padding: 14px 18px; border-radius: 10px;
}
.cp-skills { display: flex; gap: 6px; flex-wrap: wrap; }
.cp-actions { display: flex; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--mgray); }
.cp-actions .btn { flex: 1; }
.cp-resume-box {
  background: #F5F3FF; border: 1px solid #DDD6FE; border-radius: 10px;
  padding: 16px 18px; display: flex; align-items: center; gap: 12px;
}
.cp-resume-icon {
  width: 40px; height: 40px; background: #EDE9FE; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cp-resume-info { flex: 1; }
.cp-resume-name { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.cp-resume-meta { font-size: 0.75rem; color: #9CA3AF; }
.cp-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.cp-role, .cp-location { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-bio { overflow-wrap: break-word; word-break: break-word; }
.cp-detail-value { overflow-wrap: break-word; word-break: break-word; }

/* Candidate Profile Popup — Decision-Focused Upgrade */
.cp-hero-sub { font-size: 0.82rem; color: var(--dgray); margin-top: 3px; letter-spacing: 0.01em; }

.cp-decision-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; padding: 10px 0; border-bottom: 1px solid var(--mgray); }
.cp-pill {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--lgray); color: var(--navy);
}
.cp-pill-green { background: #ECFDF5; color: #065F46; }
.cp-pill-amber { background: #FFFBEB; color: #92400E; }
.cp-pill-blue  { background: #EFF6FF; color: #1E40AF; }
.cp-pill-navy  { background: #F0F4F8; color: var(--navy); }
.cp-pill-purple { background: #F5F3FF; color: #5B21B6; }

.cp-match-insights { display: flex; flex-direction: column; gap: 8px; }
.cp-match-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.84rem; color: var(--navy); font-weight: 500;
}
.cp-match-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.cp-match-dot-blue   { background: #3B82F6; }
.cp-match-dot-teal   { background: var(--teal); }
.cp-match-dot-purple { background: #7C3AED; }
.cp-match-dot-amber  { background: #F59E0B; }
.cp-match-yes {
  font-size: 0.7rem; font-weight: 700; color: #065F46;
  background: #ECFDF5; padding: 1px 6px; border-radius: 4px; margin-left: 4px;
}

.cp-action-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  font-weight: 600;
}

.cp-resume-btn {
  font-size: 0.78rem; padding: 5px 14px; border-radius: 6px;
}

@media (max-width: 520px) {
  .cp-decision-strip { gap: 5px; }
  .cp-pill { font-size: 0.68rem; padding: 2px 8px; }
  .candidate-profile-panel { width: 100vw; max-width: 100vw; }
  .cp-header { padding: 16px 20px 12px; }
  .cp-body { padding: 20px 20px 32px; }
  .cp-avatar { width: 56px; height: 56px; font-size: 1.1rem; }
  .cp-name { font-size: 1.1rem; }
  .cp-detail-grid { grid-template-columns: 1fr; gap: 10px; }
  .cp-actions { flex-direction: column; }
  .cp-resume-box { flex-direction: column; text-align: center; }
  .cp-resume-icon { margin: 0 auto; }
}

@media (max-width: 640px) {
  .smart-search-actions { flex-direction: column; align-items: stretch; }
  .smart-search-actions > .btn { width: 100%; }
  .smart-search-filters { flex-direction: column; }
  .ss-pro-row { flex-direction: column; gap: 10px; }
  .ss-pro-group-wide { flex: 1; }
  .ss-pro-extras { flex-direction: column; gap: 10px; align-items: stretch; }
  .ss-pro-extras .ss-pro-group { min-width: 100%; }
  .ss-active-filters { flex-direction: column; gap: 8px; }
  .ss-active-chips { gap: 6px; }
}

/* ── External Apply ── */
.apply-method-toggle {
  display: flex; gap: 0; border: 1.5px solid var(--mgray); border-radius: 8px;
  overflow: hidden; margin-bottom: 12px;
}
.apply-method-toggle label {
  flex: 1; padding: 12px 16px; text-align: center; cursor: pointer;
  font-size: 0.85rem; font-weight: 600; color: var(--dgray);
  transition: all 0.2s; background: var(--white); border: none;
}
.apply-method-toggle input { display: none; }
.apply-method-toggle input:checked + label {
  background: var(--navy); color: var(--white);
}
.external-url-field {
  display: none; animation: fadeIn 0.2s ease;
}
.external-url-field.visible { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.btn-external-apply {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); color: var(--navy); border: 1.5px solid var(--navy);
  font-weight: 600; transition: all 0.2s;
}
.btn-external-apply:hover {
  background: var(--navy); color: var(--white); text-decoration: none;
}
.btn-external-apply .ext-icon { font-size: 0.8rem; opacity: 0.7; }

.external-tag {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 0.7rem; color: var(--dgray); font-weight: 500;
  font-style: italic; margin-top: 4px;
}

.interstitial-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; align-items: center; justify-content: center;
}
.interstitial-overlay.open { display: flex; }
.interstitial-box {
  background: var(--white); border-radius: 16px; padding: 36px;
  max-width: 500px; width: 90%; box-shadow: var(--shadow-lg);
  text-align: center; animation: modalIn 0.25s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.interstitial-box h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.2rem; }
.interstitial-box p { color: var(--dgray); font-size: 0.9rem; line-height: 1.6; margin-bottom: 24px; }
.interstitial-btns { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 640px) {
  .interstitial-btns .btn { width: 100%; }
}

.redirect-count {
  font-size: 0.78rem; color: var(--teal); font-weight: 600; margin-top: 4px;
}

.apply-tag-external {
  display: inline-flex; align-items: center; gap: 4px;
  background: #fef3c7; color: #92400e; font-size: 0.7rem; font-weight: 600;
  padding: 3px 8px; border-radius: 10px;
}
.apply-tag-inplatform {
  display: inline-flex; align-items: center; gap: 4px;
  background: #e6f7f7; color: #0D7377; font-size: 0.7rem; font-weight: 600;
  padding: 3px 8px; border-radius: 10px;
}

/* ── Reduce motion for accessibility ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
