@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --blue:        #0A66C2;
  --blue-dark:   #004182;
  --blue-hover:  #0A66C2CC;
  --blue-soft:   #EBF5FB;
  --bg:          #F3F2EF;
  --white:       #FFFFFF;
  --border:      #E0DFDC;
  --border2:     #C0B9B0;
  --text:        #1D2226;
  --text2:       #666666;
  --text3:       rgba(0,0,0,.6);
  --green:       #057642;
  --green-soft:  #DCFCE7;
  --gold:        #B24020;
  --red:         #CC1016;
  --red-soft:    #FFF0F0;
  --orange:      #E06B00;
  --shadow:      0 0 0 1px rgba(0,0,0,.08), 0 4px 8px rgba(0,0,0,.06);
  --shadow2:     0 0 0 1px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.1);
  --r:           8px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  overflow-x: clip;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
input, select, textarea, button { font-family: inherit; }

/* ── TOPNAV ── */
.topnav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.topnav-inner {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  height: 52px;
  gap: 8px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: 2px;
}
.logo-pt { color: var(--blue); }
.logo-e  { color: var(--text); }
.search-box {
  position: relative;
  flex: 1;
  max-width: 260px;
}
.search-box input {
  width: 100%;
  padding: 8px 12px 8px 36px;
  background: #EEF3F8;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: .2s;
}
.search-box input:focus {
  background: var(--white);
  border-color: var(--blue);
}
.search-box .s-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text2);
}
.nav-items {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 0;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  height: 52px;
  font-size: 11.5px;
  color: var(--text2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: .15s;
  gap: 2px;
  position: relative;
  white-space: nowrap;
}
.nav-item:hover { color: var(--text); border-bottom-color: var(--text2); }
.nav-item.active { color: var(--text); border-bottom-color: var(--text); font-weight: 600; }
.nav-item svg { width: 22px; height: 22px; }
.nav-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.nav-divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  margin: 0 4px;
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
}

/* ── LAYOUT ── */
.layout {
  max-width: 1128px;
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 225px 1fr 300px;
  gap: 16px;
  align-items: start;
}
.layout-2col {
  max-width: 1128px;
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 225px 1fr;
  gap: 16px;
  align-items: start;
}
.layout-full {
  max-width: 900px;
  margin: 24px auto;
  padding: 0 16px;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.card-body { padding: 16px; }
.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}
.card-divider { height: 1px; background: var(--border); margin: 12px 0; }

/* ── PROFILE CARD (left sidebar) ── */
.profile-bg {
  height: 56px;
  background: linear-gradient(135deg, var(--blue) 0%, #0D7EC4 100%);
}
.profile-avatar-wrap {
  padding: 0 16px;
  margin-top: -28px;
}
.profile-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.profile-info { padding: 8px 16px 12px; }
.profile-name { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.profile-headline { font-size: 12px; color: var(--text2); line-height: 1.4; }
.profile-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  font-size: 12px;
  cursor: pointer;
  transition: .15s;
}
.profile-stat:hover { background: var(--bg); }
.profile-stat-label { color: var(--text2); }
.profile-stat-count { font-weight: 600; color: var(--blue); font-size: 13px; }
.premium-cta {
  padding: 12px 16px;
  background: linear-gradient(135deg, #FFF8E1, #FFF3C4);
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: #7D4E00;
}
.premium-cta a { font-weight: 600; color: #7D4E00; }

/* ── LEFT NAV ── */
.left-nav { padding: 8px 0; }
.left-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: .15s;
  border-radius: 0;
}
.left-nav-item:hover { background: var(--bg); color: var(--blue); }
.left-nav-item.active { font-weight: 600; }
.left-nav-item svg { width: 18px; height: 18px; color: var(--text2); flex-shrink: 0; }
.left-nav-item.active svg { color: var(--blue); }
.left-nav-sep {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}
.left-nav-label {
  padding: 4px 16px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ── JOB CARDS ── */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  cursor: pointer;
  transition: box-shadow .15s, border-color .15s;
  position: relative;
}
.job-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--blue);
}
.job-card-featured {
  border-left: 3px solid var(--orange);
}
.job-card-top { display: flex; gap: 12px; }
.co-logo {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text2);
  flex-shrink: 0;
  overflow: hidden;
}
.co-logo img { width: 100%; height: 100%; object-fit: cover; }
.job-info { flex: 1; min-width: 0; }
.job-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.3;
  margin-bottom: 2px;
}
.job-title:hover { text-decoration: underline; }
.job-company { font-size: 13.5px; color: var(--text); margin-bottom: 3px; }
.job-location { font-size: 13px; color: var(--text2); margin-bottom: 8px; }
.job-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pill {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}
.pill-blue   { background: var(--blue-soft); color: var(--blue); }
.pill-green  { background: var(--green-soft); color: var(--green); }
.pill-gray   { background: var(--bg); color: var(--text2); border: 1px solid var(--border); }
.pill-orange { background: #FFF3E0; color: var(--orange); }
.job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.job-time { font-size: 12px; color: var(--text2); }
.job-salary { font-size: 13px; font-weight: 600; color: var(--text); }
.job-btns { display: flex; gap: 8px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border2); }
.btn-ghost:hover { background: var(--bg); border-color: var(--text2); }
.btn-danger { background: var(--red-soft); color: var(--red); border: 1.5px solid #fca5a5; }
.btn-danger:hover { background: var(--red); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-sm { padding: 4px 12px; font-size: 13px; }
.btn-lg { padding: 10px 24px; font-size: 15px; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ── FORMS ── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.form-label small { font-weight: 400; color: var(--text2); margin-left: 6px; }
.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: .2s;
}
.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(10,102,194,.15);
}
.form-control::placeholder { color: var(--text2); }
textarea.form-control { resize: vertical; min-height: 100px; line-height: 1.5; }
.form-hint { font-size: 12px; color: var(--text2); margin-top: 4px; }
.form-row { display: grid; gap: 12px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.form-check input { width: 16px; height: 16px; accent-color: var(--blue); cursor: pointer; }

/* ── ALERTS ── */
.alert {
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success { background: var(--green-soft); color: var(--green); border: 1px solid #86EFAC; }
.alert-error   { background: var(--red-soft); color: var(--red); border: 1px solid #FCA5A5; }
.alert-info    { background: var(--blue-soft); color: var(--blue); border: 1px solid #93C5FD; }

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}
.badge-blue   { background: var(--blue-soft); color: var(--blue); }
.badge-green  { background: var(--green-soft); color: var(--green); }
.badge-gray   { background: var(--bg); color: var(--text2); border: 1px solid var(--border); }
.badge-orange { background: #FFF3E0; color: var(--orange); }
.badge-red    { background: var(--red-soft); color: var(--red); }
.badge-gold   { background: #FFF8E1; color: #7D4E00; }

/* ── FILTER BAR ── */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-pill {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border2);
  background: var(--white);
  cursor: pointer;
  transition: .15s;
  color: var(--text2);
}
.filter-pill:hover { border-color: var(--blue); color: var(--blue); }
.filter-pill.active {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 600;
}
.results-count { font-size: 13px; color: var(--text2); margin-left: auto; }

/* ── TABLE ── */
.table-wrap { overflow: hidden; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th {
  background: var(--bg);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.tbl td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--bg); }

/* ── STATS ── */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
}
.stat-num { font-size: 28px; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--text2); }
.stat-card.blue { border-top: 3px solid var(--blue); }
.stat-card.green { border-top: 3px solid var(--green); }
.stat-card.orange { border-top: 3px solid var(--orange); }
.stat-card.red { border-top: 3px solid var(--red); }

/* ── HERO ── */
.hero {
  background: linear-gradient(160deg, #0A3A6B 0%, #0A66C2 55%, #1E90D4 100%);
  padding: 72px 16px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  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%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -.04em;
}
.hero p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 32px; }
.hero-search {
  background: var(--white);
  border-radius: 12px;
  display: flex;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.22);
  max-width: 680px;
  margin: 0 auto 18px;
}
.hero-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 0 16px;
  border-right: 1px solid var(--border);
}
.hero-search-field input {
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text);
  width: 100%;
  background: transparent;
}
.hero-search-field svg { color: var(--text2); flex-shrink: 0; width: 18px; height: 18px; }
.hero-search button {
  background: #0A3A6B;
  color: #fff;
  border: none;
  padding: 0 28px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  min-height: 56px;
  transition: .15s;
  letter-spacing: .01em;
}
.hero-search button:hover { background: #072d56; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-tag {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: .15s;
  text-decoration: none;
}
.hero-tag:hover { background: rgba(255,255,255,.25); }

/* ── RIGHT SIDEBAR ── */
.right-sidebar { display: flex; flex-direction: column; gap: 8px; }
.sidebar-section { padding: 16px; }
.sidebar-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.promo-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.promo-body { padding: 14px 16px; }
.promo-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.promo-text { font-size: 13px; color: var(--text2); margin-bottom: 12px; line-height: 1.5; }

/* ── COMPANY CARD ── */
.company-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  cursor: pointer;
  transition: .15s;
}
.company-card:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.company-logo-lg {
  width: 64px;
  height: 64px;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text2);
  flex-shrink: 0;
}
.company-info { flex: 1; }
.company-name { font-size: 15px; font-weight: 600; margin-bottom: 2px; color: var(--text); }
.company-sector { font-size: 13px; color: var(--text2); margin-bottom: 6px; }
.company-jobs-count { font-size: 13px; color: var(--blue); font-weight: 600; }

/* ── AUTH ── */
.auth-wrap {
  min-height: calc(100vh - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
}
.auth-logo {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
}
.auth-title { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.auth-sub { font-size: 14px; color: var(--text2); margin-bottom: 24px; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  font-size: 13px;
  color: var(--text2);
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.auth-footer { text-align: center; margin-top: 16px; font-size: 14px; color: var(--text2); }
.auth-footer a { color: var(--blue); font-weight: 600; }
.auth-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: .15s;
  text-decoration: none;
}
.auth-tab:hover { color: var(--blue); }
.auth-tab.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ── CRM LAYOUT (empresa) ── */
.ats-layout {
  display: flex !important;
  flex-direction: row !important;
  min-height: calc(100vh - 52px);
  width: 100%;
  max-width: 1128px;
  margin: 0 auto;
}
.ats-sidebar {
  width: 220px !important;
  min-width: 220px !important;
  max-width: 220px !important;
  flex-shrink: 0 !important;
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 16px 0;
  align-self: flex-start;
}
.ats-brand {
  padding: 0 16px 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.ats-brand-name { font-size: 15px; font-weight: 700; color: var(--text); }
.ats-brand-role { font-size: 12px; color: var(--text2); }
.ats-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: .15s;
  text-decoration: none;
}
.ats-nav-item:hover { background: var(--bg); color: var(--blue); }
.ats-nav-item.active { color: var(--blue); background: var(--blue-soft); font-weight: 600; border-right: 2px solid var(--blue); }
.ats-nav-item svg { width: 18px; height: 18px; color: var(--text2); flex-shrink: 0; }
.ats-nav-item.active svg { color: var(--blue); }
.ats-nav-sep { height: 1px; background: var(--border); margin: 8px 0; }
.ats-nav-label { padding: 4px 16px; font-size: 11px; color: var(--text2); text-transform: uppercase; font-weight: 600; letter-spacing: .05em; }
.ats-main { background: var(--bg); padding: 24px; flex: 1 !important; min-width: 0; overflow: auto; }
.ats-header { margin-bottom: 20px; }
.ats-header h1 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ats-header p { font-size: 14px; color: var(--text2); }
.ats-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.ats-user {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 4px;
  transition: .15s;
  text-decoration: none;
}
.ats-user:hover { background: var(--bg); }
.ats-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ats-user-name { font-size: 14px; font-weight: 600; color: var(--text); }
.ats-user-role { font-size: 12px; color: var(--text2); }

/* ── FOOTER ── */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 24px 16px;
  margin-top: 48px;
}
.footer-inner {
  max-width: 1128px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: flex-start;
}
.footer-logo { font-size: 18px; font-weight: 800; color: var(--blue); }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 12px;
  color: var(--text2);
}
.footer-links a:hover { color: var(--blue); text-decoration: underline; }
.footer-copy { font-size: 12px; color: var(--text2); margin-left: auto; align-self: flex-end; }

/* ── FEED HEADER ── */
.feed-header {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feed-count { font-size: 14px; font-weight: 600; color: var(--text); }
.feed-count span { color: var(--text2); font-weight: 400; font-size: 13px; }
.feed { display: flex; flex-direction: column; gap: 8px; }

/* ── PAGINATION ── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 16px 0; }
.page-btn {
  min-width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text2);
  cursor: pointer;
  transition: .15s;
  text-decoration: none;
}
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.page-btn.disabled { opacity: .4; pointer-events: none; }

/* ── UTILS ── */
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }
.text-blue  { color: var(--blue); }
.text-muted { color: var(--text2); }
.fw-600 { font-weight: 600; }
.fs-13  { font-size: 13px; }
.fs-12  { font-size: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .layout { grid-template-columns: 200px 1fr; }
  .layout > *:last-child { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .layout, .layout-2col { grid-template-columns: 1fr; }
  .layout > *:first-child { display: none; }
  .ats-layout { flex-direction: column; }
  .ats-sidebar { display: none; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .nav-items .nav-item span { display: none; }
  .nav-item { padding: 0 8px; }
  .hero h1 { font-size: 26px; }
  .hero-search { flex-direction: column; border-radius: 8px; }
  .hero-search-field { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ══════════════════════════════════════════════════════════
   DASHBOARD LAYOUT (candidato + admin)
══════════════════════════════════════════════════════════ */
.dash-layout {
  max-width: 1128px;
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 225px 1fr;
  gap: 16px;
  align-items: start;
}
.dash-main { display: flex; flex-direction: column; gap: 12px; }
.dash-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.dash-hd h1 { font-size: 22px; font-weight: 700; color: var(--text); }
.dash-hd p  { font-size: 14px; color: var(--text2); margin-top: 2px; }

/* ── Page header (inside card) ── */
.page-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.page-hd h2 { font-size: 17px; font-weight: 700; color: var(--text); margin: 0; }

/* ══════════════════════════════════════════════════════════
   MISC UTILITIES
══════════════════════════════════════════════════════════ */
.mt-4  { margin-top: 4px; }
.mt-6  { margin-top: 6px; }
.mb-4  { margin-bottom: 4px; }
.mb-6  { margin-bottom: 6px; }
.fw-700 { font-weight: 700; }
.fs-14 { font-size: 14px; }
.fs-13 { font-size: 13px; }
.w-full { width: 100%; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.gap-4  { gap: 4px; }
.gap-6  { gap: 6px; }
.gap-10 { gap: 10px; }
.gap-14 { gap: 14px; }
.gap-20 { gap: 20px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.min-w-0 { min-width: 0; }
.text-blue  { color: var(--blue); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }
.text-muted { color: var(--text2); }
.text-sm    { font-size: 13px; }
.text-xs    { font-size: 12px; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.divider-sm { height: 1px; background: var(--border); margin: 10px 0; }

/* ── Job row (list item) ── */
.job-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: .15s;
}
.job-row:last-child { border-bottom: none; }
.job-row:hover { background: var(--bg); margin: 0 -16px; padding: 14px 16px; border-radius: 4px; }
.job-row-title { font-size: 14.5px; font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.job-row-meta  { font-size: 12.5px; color: var(--text2); }

/* ── Tag / pill variants ── */
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; padding: 3px 10px; border-radius: 12px; font-weight: 500; }
.tag-blue   { background: var(--blue-soft); color: var(--blue); }
.tag-green  { background: var(--green-soft); color: var(--green); }
.tag-gray   { background: var(--bg); color: var(--text2); border: 1px solid var(--border); }
.tag-orange { background: #FFF3E0; color: var(--orange); }
.tag-red    { background: var(--red-soft); color: var(--red); }

/* ── Filter bar ── */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 12px;
}
.filter-select {
  padding: 6px 10px;
  border: 1px solid var(--border2);
  border-radius: 16px;
  font-size: 13px;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  outline: none;
}
.filter-select:focus { border-color: var(--blue); }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 48px 16px;
}
.empty-state-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state p { color: var(--text2); font-size: 15px; }

/* ── Avatar ── */
.avatar {
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar-sm  { width: 32px; height: 32px; font-size: 12px; }
.avatar-md  { width: 44px; height: 44px; font-size: 16px; }
.avatar-lg  { width: 56px; height: 56px; font-size: 20px; }
.avatar-xl  { width: 72px; height: 72px; font-size: 26px; }

/* ══════════════════════════════════════════════════════════
   ATS — Applicant Tracking System
══════════════════════════════════════════════════════════ */

/* Kanban board */
.ats-board {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  align-items: flex-start;
  min-height: 400px;
}
.ats-board::-webkit-scrollbar { height: 6px; }
.ats-board::-webkit-scrollbar-track { background: var(--bg); border-radius: 3px; }
.ats-board::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 3px; }

.ats-col {
  min-width: 240px;
  max-width: 260px;
  flex-shrink: 0;
  background: var(--bg);
  border-radius: var(--r);
  padding: 10px;
  border: 1px solid var(--border);
}
.ats-col-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 2px;
}
.ats-col-title { font-size: 13px; font-weight: 700; color: var(--text); }
.ats-col-count {
  font-size: 12px;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text2);
  padding: 1px 7px;
  border-radius: 10px;
}
.ats-col-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 80px;
}
.ats-col-body.drag-over {
  background: var(--blue-soft);
  border-radius: 6px;
}

/* Candidate card in kanban */
.ats-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  cursor: grab;
  transition: box-shadow .15s;
  position: relative;
}
.ats-card:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.ats-card.dragging { opacity: .5; cursor: grabbing; }
.ats-card-name { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.ats-card-job  { font-size: 12px; color: var(--text2); margin-bottom: 8px; }
.ats-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ats-card-date { font-size: 11px; color: var(--text2); }
.ats-card-actions { display: flex; gap: 4px; }

/* Stage badges */
.stage { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.stage-received    { background: #F3F4F6; color: #6B7280; }
.stage-reviewing   { background: var(--blue-soft); color: var(--blue); }
.stage-shortlisted { background: #FFF3E0; color: var(--orange); }
.stage-interview   { background: #EDE9FE; color: #7C3AED; }
.stage-offer       { background: #DCFCE7; color: #15803D; }
.stage-hired       { background: var(--green-soft); color: var(--green); }
.stage-rejected    { background: var(--red-soft); color: var(--red); }

/* Rating stars */
.stars { display: inline-flex; gap: 2px; }
.star { font-size: 16px; cursor: pointer; color: var(--border2); transition: .1s; }
.star.active { color: #F59E0B; }
.star:hover { color: #F59E0B; }

/* ATS candidate profile */
.ats-profile-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: start;
}
.ats-timeline { display: flex; flex-direction: column; gap: 0; }
.ats-timeline-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.ats-timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 4px;
}
.ats-timeline-dot.green { background: var(--green); }
.ats-timeline-dot.gray  { background: var(--border2); }

/* Note */
.ats-note {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 8px;
}
.ats-note-text { font-size: 13.5px; color: var(--text); line-height: 1.5; }
.ats-note-meta { font-size: 11.5px; color: var(--text2); margin-top: 6px; }

/* ATS stats row */
.ats-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.ats-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px;
  text-align: center;
}
.ats-stat-num   { font-size: 26px; font-weight: 800; color: var(--text); line-height: 1; }
.ats-stat-label { font-size: 12px; color: var(--text2); margin-top: 4px; }
.ats-stat.blue   { border-top: 3px solid var(--blue); }
.ats-stat.green  { border-top: 3px solid var(--green); }
.ats-stat.orange { border-top: 3px solid var(--orange); }
.ats-stat.purple { border-top: 3px solid #7C3AED; }

/* ATS funil */
.ats-funnel { display: flex; gap: 4px; align-items: flex-end; height: 80px; margin: 12px 0; }
.ats-funnel-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--blue);
  transition: height .3s;
  cursor: pointer;
  position: relative;
}
.ats-funnel-bar:hover { opacity: .8; }

/* ══════════════════════════════════════════════════════════
   ADMIN layout override (uses ats-layout)
══════════════════════════════════════════════════════════ */
.admin-layout { /* same as ats-layout */ }

/* ══════════════════════════════════════════════════════════
   FORMS advanced
══════════════════════════════════════════════════════════ */
.form-section { margin-bottom: 24px; }
.form-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.input-group { display: flex; border: 1px solid var(--border2); border-radius: 4px; overflow: hidden; }
.input-group-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--bg);
  border-right: 1px solid var(--border2);
  font-size: 13.5px;
  color: var(--text2);
  white-space: nowrap;
}
.input-group .form-control { border: none; border-radius: 0; }
.input-group .form-control:focus { box-shadow: none; }
.input-group:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(10,102,194,.15); }

/* ── Job desc formatted ── */
.job-desc p  { margin-bottom: 10px; line-height: 1.75; }
.job-desc ul { padding-left: 20px; margin: 8px 0 12px; }
.job-desc li { margin-bottom: 4px; line-height: 1.6; }
.job-desc strong { font-weight: 700; }
.job-desc h3 { font-size: 16px; font-weight: 700; margin: 16px 0 8px; }

/* ══════════════════════════════════════════════════════════
   SEO / static pages
══════════════════════════════════════════════════════════ */
.static-page { max-width: 760px; margin: 40px auto; padding: 0 16px; }
.static-page h1 { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.static-page h2 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.static-page p  { font-size: 15px; line-height: 1.75; color: var(--text2); margin-bottom: 14px; }
.static-page ul { padding-left: 20px; margin-bottom: 14px; }
.static-page li { font-size: 15px; line-height: 1.75; color: var(--text2); margin-bottom: 4px; }

/* ══════════════════════════════════════════════════════════
   MOBILE — RESPONSIVE (mobile-first breakpoints)
══════════════════════════════════════════════════════════ */

/* Navbar mobile */
.nav-search { transition: opacity .2s; }
.nav-mobile-menu { display: none; }
.nav-mobile-open { display: flex !important; }

/* Hero */
.hero { background: var(--blue); padding: 60px 16px 80px; }
.hero-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-title { font-size: clamp(26px, 5vw, 46px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 10px; letter-spacing: -.02em; }
.hero-sub { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 28px; }
.hero-search { background: #fff; border-radius: 8px; display: flex; align-items: center; box-shadow: 0 8px 32px rgba(0,0,0,.18); max-width: 680px; margin: 0 auto 20px; padding: 4px 4px 4px 0; }
.hero-search-q { display: flex; align-items: center; gap: 10px; flex: 2; padding: 0 16px; }
.hero-search-loc { display: flex; align-items: center; gap: 10px; flex: 1; padding: 0 12px; }
.hero-search input { border: none; outline: none; font-size: 15px; width: 100%; padding: 12px 0; color: var(--text); background: transparent; }
.hero-search-btn { background: var(--blue); color: #fff; border: none; padding: 12px 24px; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap; border-radius: 6px; margin: 4px 4px 4px 8px; flex-shrink: 0; transition: .15s; }
.hero-search-btn:hover { background: var(--blue-dark); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hero-tag { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 13px; padding: 5px 14px; border-radius: 16px; text-decoration: none; transition: .15s; }
.hero-tag:hover { background: rgba(255,255,255,.25); }

/* Stats bar */
.stats-bar { background: var(--blue-dark); padding: 12px 16px; }
.stats-bar-inner { max-width: 1000px; margin: 0 auto; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; align-items: center; }
.stats-bar-item { text-align: center; }
.stats-bar-num { font-size: 18px; font-weight: 700; color: #fff; }
.stats-bar-label { font-size: 12px; color: rgba(255,255,255,.55); }

/* Social proof bar */
.social-proof { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 16px; }
.social-proof-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 14px; }
.social-proof-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text2); }
.social-proof-num { font-weight: 700; color: var(--text); }

/* How it works */
.how-it-works { padding: 56px 16px; background: var(--bg); }
.how-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.how-step { text-align: center; padding: 24px 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r); }
.how-step-num { width: 44px; height: 44px; background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin: 0 auto 14px; }
.how-step-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.how-step-desc { font-size: 13.5px; color: var(--text2); line-height: 1.6; }

/* Dual CTA band */
.cta-band { padding: 48px 16px; background: var(--white); border-top: 1px solid var(--border); }
.cta-band-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-card { padding: 28px; border: 1.5px solid var(--border); border-radius: 10px; text-align: center; }
.cta-card.blue { background: var(--blue); border-color: var(--blue); }
.cta-card-icon { font-size: 36px; margin-bottom: 12px; }
.cta-card-title { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.cta-card.blue .cta-card-title { color: #fff; }
.cta-card-desc { font-size: 14px; color: var(--text2); margin-bottom: 20px; line-height: 1.5; }
.cta-card.blue .cta-card-desc { color: rgba(255,255,255,.8); }

/* Layout 2col */
.layout-2col { max-width: 1100px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 1fr 300px; gap: 20px; align-items: start; }
.layout-3col { max-width: 1128px; margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 300px 1fr 280px; gap: 16px; align-items: start; }
.sticky-col { position: sticky; top: 68px; }

/* Section header */
.section-hd { text-align: center; margin-bottom: 28px; }
.section-hd h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.section-hd p { font-size: 15px; color: var(--text2); }

/* Job card */
.job-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--border); text-decoration: none; transition: background .1s; }
.job-card:hover { background: #F9FAFB; }
.job-card-logo { width: 52px; height: 52px; border-radius: 6px; object-fit: contain; border: 1px solid var(--border); background: #fff; padding: 3px; flex-shrink: 0; }
.job-card-logo-init { width: 52px; height: 52px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; }
.job-card-body { flex: 1; min-width: 0; }
.job-card-title { font-size: 15px; font-weight: 700; color: var(--blue); line-height: 1.3; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.job-card-company { font-size: 13.5px; color: var(--text); margin-bottom: 4px; }
.job-card-location { font-size: 13px; color: var(--text2); margin-bottom: 8px; }
.job-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.job-card-meta { flex-shrink: 0; text-align: right; }
.job-card-time { font-size: 12px; color: var(--text2); white-space: nowrap; }
.job-card-apps { font-size: 12px; color: var(--text2); }

/* Sticky apply button */
.sticky-apply { position: sticky; top: 68px; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); padding: 10px 16px; display: none; }
.sticky-apply.visible { display: flex; align-items: center; justify-content: space-between; }
.sticky-apply-title { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; margin-right: 12px; }

/* Featured job badge */
.featured-badge { display: inline-flex; align-items: center; gap: 4px; background: #FFF3E0; color: var(--orange); font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }

/* Company logo in co-logo divs — default */
.co-logo { background: var(--blue); color: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

/* Footer redesign */
.footer { background: #F8F9FA; color: var(--text); border-top: 1px solid var(--border); }
.footer-light { background: #F8F9FA; }
.footer-top { max-width: 1128px; margin: 0 auto; padding: 48px 16px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.footer-brand span { color: var(--blue); }
.footer-tagline { font-size: 13.5px; color: var(--text2); line-height: 1.6; margin-bottom: 16px; }
.footer-col-title { font-size: 12px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.footer-link { display: block; font-size: 13.5px; color: var(--text2); text-decoration: none; margin-bottom: 8px; transition: color .15s; }
.footer-link:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px; }
.footer-bottom-inner { max-width: 1128px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 12px; color: var(--text2); }
.footer-badges { display: flex; gap: 8px; }
.footer-badge { font-size: 11px; color: var(--text2); border: 1px solid var(--border); padding: 3px 10px; border-radius: 10px; }

/* ── MOBILE BREAKPOINTS ────────────────────────────────── */
@media (max-width: 900px) {
  .layout-2col { grid-template-columns: 1fr; }
  .layout-3col { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; gap: 12px; }
  .stats-bar-inner { gap: 24px; }
  .ats-layout { flex-direction: column !important; }
  .ats-sidebar { width: 100% !important; max-width: 100% !important; }
  .dash-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 40px 16px 56px; }
  .hero-search { flex-direction: column; border-radius: 10px; }
  .hero-search-q { border-right: none; border-bottom: 1px solid var(--border); flex: none; width: 100%; }
  .hero-search-loc { flex: none; width: 100%; }
  .hero-search-btn { padding: 14px; width: 100%; }
  .stats-bar-inner { gap: 16px; }
  .social-proof-inner { gap: 16px; }
  .nav-search { display: none; }
  .nav-items .nav-item span { display: none; }
  .nav-item { padding: 0 8px !important; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-col:nth-child(n+3) { display: none; }
  .ats-profile-layout { grid-template-columns: 1fr; }
  .ats-stats { grid-template-columns: 1fr 1fr !important; }
  .job-card-title { white-space: normal; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 26px; }
  .hero-sub { font-size: 15px; }
  .btn { padding: 8px 14px; font-size: 13px; }
  .card-body { padding: 14px; }
  .ats-board { flex-direction: column; overflow-x: visible; }
  .ats-col { min-width: auto; max-width: none; }
}

/* ── UTILITY CLASSES (replace inline styles) ───────────── */

/* Text utilities */
.txt-muted   { font-size: 13px; color: var(--text2); }
.txt-sm      { font-size: 12.5px; color: var(--text2); }
.txt-label   { font-size: 11px; color: var(--text2); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.txt-title   { font-size: 15px; font-weight: 700; }
.txt-link    { color: var(--blue); text-decoration: none; }
.txt-link:hover { text-decoration: underline; }
.txt-center  { text-align: center; }
.txt-italic  { font-style: italic; color: var(--text2); }

/* Layout utilities */
.flex-center  { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.flex-wrap    { display: flex; flex-wrap: wrap; }
.gap-4  { gap: 4px; }
.gap-6  { gap: 6px; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.p-0   { padding: 0; }

/* Page wrapper */
.page-wrap  { max-width: 900px; margin: 0 auto; padding: 0 16px; }
.page-wrap-lg { max-width: 1128px; margin: 0 auto; padding: 0 16px; }
.section    { padding: 48px 16px; }
.section-sm { padding: 32px 16px; }
.section-hd { text-align: center; margin-bottom: 32px; }
.section-hd h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.section-hd p  { color: var(--text2); font-size: 15px; }

/* Stat cards (dashboard / homepage) */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card  { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; text-align: center; }
.stat-card-num { font-size: 28px; font-weight: 800; color: var(--blue); }
.stat-card-lbl { font-size: 12.5px; color: var(--text2); margin-top: 4px; }

/* Badges */
.badge       { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; }
.badge-blue  { background: var(--blue-soft); color: var(--blue); }
.badge-green { background: rgba(5,118,66,.1); color: var(--green); }
.badge-red   { background: rgba(220,38,38,.1); color: var(--red); }
.badge-orange{ background: rgba(234,88,12,.1); color: var(--orange); }
.badge-gray  { background: var(--bg); color: var(--text2); }

/* Status dots */
.dot-green { color: var(--green); font-size: 11px; font-weight: 600; }
.dot-red   { color: var(--red); font-size: 11px; font-weight: 600; }
.dot-orange{ color: var(--orange); font-size: 11px; font-weight: 600; }

/* Page header (admin / ATS) */
.page-hd       { margin-bottom: 24px; }
.page-hd h1    { font-size: 22px; font-weight: 800; }
.page-hd p     { font-size: 13.5px; color: var(--text2); margin-top: 4px; }
.page-hd-row   { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }

/* Table */
.tbl           { width: 100%; border-collapse: collapse; }
.tbl th        { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text2); padding: 8px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.tbl td        { padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: 13.5px; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: none; }
.tbl-name      { font-weight: 600; font-size: 14px; }
.tbl-sub       { font-size: 12px; color: var(--text2); margin-top: 2px; }
.tbl-actions   { display: flex; gap: 4px; flex-wrap: wrap; padding: 8px; }

/* Logo / avatar initials */
.co-logo      { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; border: 1px solid var(--border); flex-shrink: 0; }
.co-initials  { width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.co-initials-sm { width: 32px; height: 32px; border-radius: 6px; font-size: 11px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.page-link  { padding: 6px 12px; border: 1px solid var(--border2); border-radius: 4px; font-size: 13px; color: var(--text); text-decoration: none; transition: .15s; }
.page-link:hover { border-color: var(--blue); color: var(--blue); }
.page-link.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Mobile fixes for job detail page */
.job-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; max-width: 1128px; margin: 24px auto; padding: 0 16px; align-items: start; }
.job-detail-sidebar { display: flex; flex-direction: column; gap: 16px; }
.job-detail-meta    { display: flex; flex-direction: column; gap: 8px; }
.job-detail-meta-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.job-detail-meta-row:last-child { border: none; }
.job-detail-meta-key { color: var(--text2); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }

/* Company card */
.co-card       { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--border); }
.co-card:last-child { border: none; }
.co-card-info  { flex: 1; min-width: 0; }
.co-card-name  { font-size: 14px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-card-sub   { font-size: 12.5px; color: var(--text2); margin-top: 2px; }

/* Filter bar */
.filter-bar    { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.filter-select { padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; background: var(--white); color: var(--text); }

/* Empty state */
.empty-state   { text-align: center; padding: 48px 16px; }
.empty-state-icon { font-size: 40px; margin-bottom: 12px; }
.empty-state h3   { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.empty-state p    { font-size: 14px; color: var(--text2); }

/* ── MOBILE RESPONSIVE FIXES ───────────────────────────── */
@media (max-width: 768px) {
  /* Job detail: stack sidebar below content */
  .job-detail-layout { grid-template-columns: 1fr; }
  .job-detail-sidebar { order: -1; } /* sidebar first on mobile */

  /* Stat cards: 2 columns */
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card-num { font-size: 22px; }

  /* Page headers */
  .page-hd-row { flex-direction: column; align-items: flex-start; }

  /* Tables: hide less important columns */
  .tbl .hide-mobile { display: none; }

  /* Filter bar: full width selects */
  .filter-bar { flex-direction: column; }
  .filter-bar .filter-select,
  .filter-bar input[type="text"] { width: 100%; }

  /* Companies listing */
  .companies-grid { grid-template-columns: 1fr 1fr !important; }

  /* ATS */
  .ats-main { padding: 16px !important; }
  .ats-header { flex-direction: column; align-items: flex-start !important; }

  /* Preços */
  .pricing-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .stat-cards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .job-detail-layout { padding: 0 12px; }
  .section { padding: 32px 12px; }
  .page-wrap, .page-wrap-lg { padding: 0 12px; }
  .companies-grid { grid-template-columns: 1fr !important; }

  /* Preços: all cards full width */
  .pricing-grid { grid-template-columns: 1fr !important; }
  .pricing-card { padding: 20px 16px !important; }

  /* Job cards: compact */
  .job-card { padding: 12px !important; }
  .job-card-logo, .job-card-logo-init { width: 36px !important; height: 36px !important; }

  /* Pagination: smaller */
  .page-link { padding: 5px 9px; font-size: 12px; }

  /* Forms */
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   DESIGN SYSTEM v2 — PT Emprego
   ══════════════════════════════════════════════════════════ */

/* ── Escala tipográfica ──────────────────────────────────── */
:root {
  --fs-xs:  11px;
  --fs-sm:  12.5px;
  --fs-md:  14px;
  --fs-lg:  16px;
  --fs-xl:  20px;
  --fs-2xl: 24px;
  --fs-3xl: 32px;
  --fs-4xl: 40px;
  --lh-tight: 1.15;
  --lh-base:  1.5;
  --lh-loose: 1.7;
  /* Espaçamento */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px; --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px;
  /* Radius */
  --r-sm: 6px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px; --r-full: 9999px;
  /* Shadows */
  --sh-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --sh-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --sh-lg: 0 8px 24px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.06);
  /* Extra colors */
  --orange: #E06B00;
  --orange-soft: #FEF3E2;
  --blue-light: #1E90D4;
}

/* ── Toast notifications ─────────────────────────────────── */
#toast-container {
  position: fixed; top: 20px; right: 20px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: #1D2226; color: #fff; padding: 12px 18px;
  border-radius: var(--r-lg); font-size: 13.5px; font-weight: 500;
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 10px;
  pointer-events: all; min-width: 240px; max-width: 360px;
  animation: toast-in .25s ease; transition: opacity .3s, transform .3s;
}
.toast.hide { opacity: 0; transform: translateX(20px); }
.toast-success { border-left: 4px solid var(--green); }
.toast-error   { border-left: 4px solid var(--red); }
.toast-info    { border-left: 4px solid var(--blue); }
.toast-icon { font-size: 16px; flex-shrink: 0; }
@keyframes toast-in { from { opacity:0; transform: translateX(20px); } to { opacity:1; transform: none; } }

/* ── Job card v2 ─────────────────────────────────────────── */
.job-card-v2 {
  display: flex; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--border);
  align-items: center; text-decoration: none; color: inherit;
  transition: background .15s;
}
.job-card-v2:hover { background: #F0F7FF; }
.job-card-v2:last-child { border-bottom: none; }
.jc-logo {
  width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; flex-shrink: 0; object-fit: contain;
}
.jc-body { flex: 1; min-width: 0; }
.jc-title {
  font-size: 14px; font-weight: 700; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px;
}
.jc-company { font-size: 12.5px; color: var(--text2); font-weight: 500; margin-bottom: 4px; }
.jc-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.jc-tag {
  font-size: 11.5px; padding: 2px 9px; border-radius: var(--r-full);
  background: var(--bg); color: var(--text2); font-weight: 500;
}
.jc-tag-remote { background: #E8F5EF; color: var(--green); }
.jc-tag-salary { background: #E8F5EF; color: var(--green); font-weight: 700; }
.jc-tag-new    { background: #FFFBEB; color: #854F0B; font-weight: 700; border: 1px solid #FCD34D; }
.jc-meta { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.jc-time { font-size: 12px; color: var(--text2); }
.jc-save {
  width: 30px; height: 30px; border-radius: var(--r-md); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--white); color: var(--text2); font-size: 14px;
  transition: .15s; flex-shrink: 0;
}
.jc-save:hover { border-color: var(--blue); color: var(--blue); }
.jc-save.saved { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); }

/* ── Company page v2 ─────────────────────────────────────── */
.co-hero {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: var(--sp-8) var(--sp-6);
}
.co-hero-inner { max-width: 900px; margin: 0 auto; display: flex; gap: var(--sp-6); align-items: flex-start; }
.co-hero-logo {
  width: 80px; height: 80px; border-radius: var(--r-lg); border: 1px solid var(--border);
  object-fit: contain; flex-shrink: 0; background: var(--white); padding: 4px;
}
.co-hero-initials {
  width: 80px; height: 80px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800; flex-shrink: 0;
}
.co-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 600; color: var(--blue);
  background: var(--blue-soft); padding: 2px 8px; border-radius: var(--r-full);
}
.co-stat-bar { display: flex; gap: var(--sp-8); margin-top: var(--sp-4); }
.co-stat { text-align: center; }
.co-stat-num { font-size: 20px; font-weight: 800; color: var(--text); }
.co-stat-lbl { font-size: 11.5px; color: var(--text2); margin-top: 2px; }

/* ── Modal ───────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); border-radius: var(--r-xl); padding: var(--sp-6);
  max-width: 520px; width: 100%; box-shadow: var(--sh-lg);
  transform: translateY(20px); transition: transform .2s;
}
.modal-overlay.open .modal { transform: none; }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--sp-4); padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 17px; font-weight: 800; }
.modal-close {
  width: 32px; height: 32px; border-radius: var(--r-full);
  border: 1px solid var(--border); background: transparent;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--text2); line-height: 1;
}
.modal-close:hover { background: var(--bg); }

/* ── Share buttons ───────────────────────────────────────── */
.share-bar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.share-btn {
  display: flex; align-items: center; gap: 6px; padding: 7px 14px;
  border: 1px solid var(--border); border-radius: var(--r-full);
  font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: none;
  color: var(--text); background: var(--white); transition: .15s;
}
.share-btn:hover { border-color: var(--blue); color: var(--blue); }
.share-btn-whatsapp:hover { border-color: #25D366; color: #25D366; }
.share-btn-linkedin:hover { border-color: #0A66C2; color: #0A66C2; }

/* ── ATS charts ──────────────────────────────────────────── */
.ats-chart-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--sp-5); }
.ats-chart-title { font-size: 13.5px; font-weight: 700; margin-bottom: var(--sp-4); color: var(--text); }
.ats-funnel { display: flex; flex-direction: column; gap: 8px; }
.ats-funnel-row { display: flex; align-items: center; gap: 10px; }
.ats-funnel-label { font-size: 12px; color: var(--text2); min-width: 90px; text-align: right; }
.ats-funnel-bar { flex: 1; height: 28px; border-radius: var(--r-sm); display: flex; align-items: center; padding-left: 10px; }
.ats-funnel-num { font-size: 12.5px; font-weight: 700; color: var(--white); }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text2); margin-bottom: var(--sp-4); flex-wrap: wrap; }
.breadcrumb a { color: var(--text2); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--border2); }

/* ── Tabs ────────────────────────────────────────────────── */
.tabs-bar { display: flex; border-bottom: 2px solid var(--border); margin-bottom: var(--sp-5); gap: 0; }
.tab-btn {
  padding: 10px 18px; font-size: 13.5px; font-weight: 600; color: var(--text2);
  border: none; background: transparent; cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: .15s;
}
.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ── Skeleton loader ─────────────────────────────────────── */
.skeleton { background: linear-gradient(90deg, var(--bg) 25%, var(--border) 50%, var(--bg) 75%); background-size: 200%; animation: skel 1.5s infinite; border-radius: var(--r-md); }
@keyframes skel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skel-line { height: 14px; margin-bottom: 8px; }
.skel-line-sm { height: 11px; margin-bottom: 6px; }

/* ── Mobile v2 ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .job-card-v2 { padding: 12px; gap: 10px; }
  .jc-logo { width: 40px; height: 40px; border-radius: var(--r-md); }
  .jc-title { font-size: 14px; white-space: normal; }
  .co-hero-inner { flex-direction: column; }
  .co-hero-logo, .co-hero-initials { width: 60px; height: 60px; }
  .co-stat-bar { gap: var(--sp-5); }
  .modal { padding: var(--sp-4); }
  .share-bar { gap: 6px; }
  .tabs-bar { overflow-x: auto; flex-wrap: nowrap; }
  .tab-btn { white-space: nowrap; padding: 10px 14px; }
  #toast-container { top: 12px; right: 12px; left: 12px; }
  .toast { min-width: auto; max-width: 100%; }
  .ats-chart-card + .ats-chart-card { margin-top: 12px; }
  .job-detail-layout { grid-template-columns: 1fr !important; gap: 16px !important; }
}
@media (max-width: 480px) {
  .jc-logo { width: 36px; height: 36px; font-size: 11px; }
  .jc-title { font-size: 13.5px; }
  .jc-tag { font-size: 11px; padding: 2px 7px; }
  .share-bar { flex-direction: column; align-items: flex-start; }
  .co-stat-bar { flex-wrap: wrap; gap: var(--sp-4); }
  .co-hero { padding: var(--sp-4); }
}

/* ── Semantic URL badges ─────────────────────────────────── */
.featured-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700; color: #854F0B;
  background: #FFFBEB; border: 1px solid #FCD34D;
  padding: 2px 8px; border-radius: var(--r-full);
}

/* ═══════════════════════════════════════════════════════════
   UX/DESIGN v3 — PT Emprego
   ═══════════════════════════════════════════════════════════ */

/* ── Hero live badge ──────────────────────────────────────── */
.hero-live-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px; padding: 5px 14px; margin-bottom: 20px;
  font-size: 13px; color: rgba(255,255,255,.95); font-weight: 500;
}
.hero-live-dot {
  width: 7px; height: 7px; background: #4ADE80; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,.1); }
}

/* ── Hero stats strip ─────────────────────────────────────── */
.hero-stats {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 28px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-num { font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 3px; }

/* ── Hero search field separator ─────────────────────────── */
.hero-search-sep {
  width: 1px; background: var(--border); align-self: stretch; margin: 10px 0;
}

/* ── Job card v2 improvements ────────────────────────────── */
.job-card-v2 { position: relative; }
.job-card-v2.is-featured {
  border-left: 3px solid var(--orange);
}
.jc-body { overflow: hidden; }
.jc-title:hover { color: var(--blue); }
.jc-save:focus { outline: 2px solid var(--blue); }

/* ── Company card in sidebar ─────────────────────────────── */
.sidebar-co {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border); text-decoration: none;
}
.sidebar-co:last-child { border: none; }
.sidebar-co-logo {
  width: 36px; height: 36px; border-radius: 7px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.sidebar-co-name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.sidebar-co-count { font-size: 12px; color: var(--text2); margin-top: 1px; }
.sidebar-co:hover .sidebar-co-name { color: var(--blue); }

/* ── Category grid v2 ────────────────────────────────────── */
.cat-grid-v2 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.cat-card-v2 {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 16px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  text-decoration: none; display: block;
}
.cat-card-v2:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(10,102,194,.12);
  transform: translateY(-2px);
}
.cat-card-v2-icon { font-size: 28px; margin-bottom: 10px; line-height: 1; }
.cat-card-v2-name { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.cat-card-v2-count { font-size: 12px; color: var(--text2); }

/* ── District sidebar list ───────────────────────────────── */
.dist-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid var(--border);
  font-size: 13px; text-decoration: none; color: var(--text);
  transition: color .1s;
}
.dist-row:last-child { border: none; }
.dist-row:hover { color: var(--blue); }
.dist-row-num { font-weight: 700; color: var(--blue); font-size: 13px; }

/* ── Improved filter bar ─────────────────────────────────── */
.filter-bar-v2 {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 12px 0; position: sticky; top: 52px; z-index: 100;
}
.filter-bar-inner {
  max-width: 1128px; margin: 0 auto; padding: 0 16px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.filter-chip {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--border);
  border-radius: 20px; font-size: 13px; cursor: pointer;
  background: var(--white); color: var(--text); transition: .15s;
  white-space: nowrap;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.active { background: var(--blue-soft); border-color: var(--blue); color: var(--blue); font-weight: 600; }
.filter-chip-clear { color: var(--text2); font-size: 12px; cursor: pointer; margin-left: auto; }
.filter-chip-clear:hover { color: var(--red); }

/* ── Jobs page layout ────────────────────────────────────── */
.jobs-layout {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 288px;
  gap: 20px; padding: 24px 16px;
  align-items: start;
}
.jobs-list-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--text2);
}
.jobs-list-header strong { color: var(--text); }
.jobs-sort {
  padding: 5px 10px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 13px; background: var(--white);
  color: var(--text); cursor: pointer; outline: none;
}

/* ── Job detail improvements ─────────────────────────────── */
.job-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: 5px; font-size: 12px; font-weight: 600;
}
.job-badge-type     { background: #EEF2FF; color: #3730A3; }
.job-badge-remote   { background: #DCFCE7; color: #15803D; }
.job-badge-hybrid   { background: #F0FFFE; color: #0891B2; }
.job-badge-featured { background: #FFFBEB; color: #B45309; border: 1px solid #FCD34D; }
.job-badge-new      { background: #FEF9EC; color: #854F0B; border: 1px solid #FCD34D; }

/* ── Salary display ──────────────────────────────────────── */
.salary-display {
  font-size: 20px; font-weight: 800; color: var(--green);
  margin-bottom: 4px; line-height: 1;
}
.salary-period { font-size: 12px; color: var(--text2); }

/* ── Apply button sidebar ─────────────────────────────────── */
.apply-sidebar-btn {
  display: block; width: 100%; padding: 13px;
  background: var(--blue); color: #fff; border: none;
  border-radius: 8px; font-size: 15px; font-weight: 700;
  cursor: pointer; text-align: center; text-decoration: none;
  transition: background .15s; letter-spacing: .01em;
}
.apply-sidebar-btn:hover { background: #0A3A6B; }
.apply-sidebar-btn-sec {
  display: block; width: 100%; padding: 11px;
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue); border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  text-align: center; text-decoration: none; transition: .15s;
  margin-top: 8px;
}
.apply-sidebar-btn-sec:hover { background: var(--blue-soft); }

/* ── ATS improvements ────────────────────────────────────── */
.ats-stat-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 20px;
}
.ats-stat-box-num { font-size: 28px; font-weight: 800; color: var(--text); line-height: 1; }
.ats-stat-box-lbl { font-size: 12.5px; color: var(--text2); margin-top: 5px; }
.ats-stat-box-trend { font-size: 12px; font-weight: 600; margin-top: 6px; }
.ats-stat-box-trend.up   { color: var(--green); }
.ats-stat-box-trend.down { color: var(--red); }

/* ── Empty state v2 ──────────────────────────────────────── */
.empty-v2 {
  text-align: center; padding: 56px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-v2-icon { font-size: 48px; opacity: .6; }
.empty-v2-title { font-size: 17px; font-weight: 700; color: var(--text); }
.empty-v2-sub { font-size: 14px; color: var(--text2); max-width: 320px; line-height: 1.6; }

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { padding: 48px 16px 56px; }
  .hero-stats { gap: 20px; }
  .cat-grid-v2 { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .cat-card-v2 { padding: 14px 12px; }
  .cat-card-v2-icon { font-size: 22px; margin-bottom: 8px; }
  .jobs-layout { grid-template-columns: 1fr; }
  .filter-bar-v2 { top: 52px; }
  .filter-bar-inner { gap: 6px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 18px; }
  .cat-grid-v2 { grid-template-columns: repeat(2,1fr); }
}

.hero-stat { text-align: center; }
.hero-stat-num { font-size: 22px; font-weight: 900; color: #fff; line-height: 1; }
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════
   COMPONENTES v4 — PT Emprego
   ═══════════════════════════════════════════════════════════ */

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text2); padding: 14px 0 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text2); text-decoration: none; transition: color .1s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--border2); }
.breadcrumb-current { color: var(--text); font-weight: 500; }

/* ── Pricing cards ───────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  max-width: 1100px; margin: 0 auto; padding: 0 16px;
}
.pricing-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px; position: relative;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--blue); border-width: 2px;
  box-shadow: 0 4px 24px rgba(10,102,194,.12);
}
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: 10px; white-space: nowrap;
}
.pricing-name { font-size: 14px; font-weight: 700; color: var(--text2); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .06em; }
.pricing-price { font-size: 36px; font-weight: 900; color: var(--text); line-height: 1; margin-bottom: 4px; }
.pricing-price span { font-size: 15px; font-weight: 500; color: var(--text2); }
.pricing-period { font-size: 13px; color: var(--text2); margin-bottom: 20px; }
.pricing-features { flex: 1; list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.pricing-features li.disabled { color: var(--text2); }
.pricing-features li.disabled::before { content: '–'; color: var(--border2); }
.pricing-cta { display: block; text-align: center; padding: 11px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; transition: .15s; }
.pricing-cta-primary { background: var(--blue); color: #fff; }
.pricing-cta-primary:hover { background: #0A3A6B; }
.pricing-cta-outline { border: 1.5px solid var(--border); color: var(--text); }
.pricing-cta-outline:hover { border-color: var(--blue); color: var(--blue); }

/* ── Rate limiting display ───────────────────────────────── */
.login-box { max-width: 420px; margin: 64px auto; padding: 0 16px; }

/* ── Empty state v2 ──────────────────────────────────────── */
.empty-v2 { text-align: center; padding: 56px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-v2-icon { font-size: 48px; opacity: .5; line-height: 1; }
.empty-v2-title { font-size: 17px; font-weight: 700; color: var(--text); }
.empty-v2-sub { font-size: 14px; color: var(--text2); max-width: 320px; line-height: 1.6; }
.empty-v2-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }

/* ── Rate limit ──────────────────────────────────────────── */
.rate-limit-msg {
  background: var(--red-soft); border: 1px solid var(--red);
  color: var(--red); border-radius: 8px; padding: 12px 16px;
  font-size: 13.5px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px;
}

/* ── Job stats bar ───────────────────────────────────────── */
.job-stats-bar {
  display: flex; gap: 24px; padding: 16px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin: 16px 0;
}
.job-stat-item { text-align: center; flex: 1; }
.job-stat-num { font-size: 22px; font-weight: 800; color: var(--blue); }
.job-stat-lbl { font-size: 12px; color: var(--text2); margin-top: 2px; }

/* ── Mobile pricing ──────────────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card { padding: 20px 16px; }
  .pricing-price { font-size: 30px; }
  .job-stats-bar { gap: 12px; }
  .job-stat-num { font-size: 18px; }
}

/* ══════════════════════════════════════════════════════════
   MIGRAÇÃO INLINE → CSS — PT Emprego
   Todas as classes geradas a partir de style= existentes
   ══════════════════════════════════════════════════════════ */

/* ── Search bar (jobs page) ──────────────────────────────── */
.jobs-search-bar {
  background: var(--blue);
  padding: 18px 16px;
}
.jobs-search-bar-inner {
  max-width: 1128px;
  margin: 0 auto;
}
.jobs-search-form {
  display: flex;
  gap: 8px;
}
.jobs-search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 3;
  background: #fff;
  border-radius: 4px;
  padding: 0 14px;
}
.jobs-search-field-loc {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1.2;
  background: #fff;
  border-radius: 4px;
  padding: 0 14px;
  border-left: 1px solid #eee;
}
.jobs-search-icon {
  color: #999;
  flex-shrink: 0;
}
.jobs-search-input {
  border: none;
  outline: none;
  font-size: 15px;
  width: 100%;
  padding: 12px 0;
  color: var(--text);
  background: transparent;
}
.jobs-search-submit {
  background: var(--blue-dark, #004182);
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  padding: 0 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* ── Filter pills bar ────────────────────────────────────── */
.jobs-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.jobs-filter-bar-inner {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.jobs-filter-label {
  font-size: 13px;
  color: var(--text2);
  font-weight: 600;
}
.jobs-filter-wrap {
  position: relative;
  display: inline-block;
}
.jobs-filter-select {
  appearance: none;
  padding: 6px 28px 6px 12px;
  border: 1.5px solid var(--border2);
  border-radius: 16px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  outline: none;
}
.jobs-filter-select.active {
  border-color: var(--blue);
  font-weight: 600;
  color: var(--blue);
}
.jobs-filter-caret {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.jobs-filter-clear {
  font-size: 13px;
  color: var(--text2);
  text-decoration: none;
  padding: 6px 12px;
  border: 1.5px solid var(--border2);
  border-radius: 16px;
  transition: .15s;
}
.jobs-filter-clear:hover {
  border-color: var(--red);
  color: var(--red);
}
.jobs-filter-count {
  margin-left: auto;
  font-size: 13px;
  color: var(--text2);
}
.jobs-filter-count strong { color: var(--text); }

/* ── Jobs page main layout ───────────────────────────────── */
.jobs-page-layout {
  max-width: 1128px;
  margin: 16px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 12px;
  align-items: start;
}
.jobs-sidebar {
  position: sticky;
  top: 60px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Sidebar candidate profile card ─────────────────────── */
.sb-profile-banner {
  height: 56px;
  background: linear-gradient(135deg, var(--blue) 0%, #004182 100%);
  border-radius: var(--r) var(--r) 0 0;
}
.sb-profile-body {
  padding: 0 16px 16px;
  text-align: center;
}
.sb-profile-avatar-wrap {
  margin-top: -24px;
  margin-bottom: 8px;
}
.sb-profile-avatar {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto;
}
.sb-profile-name {
  font-size: 15px;
  font-weight: 700;
}
.sb-profile-link {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--blue);
  border-radius: 16px;
  padding: 5px;
  transition: .15s;
}
.sb-profile-link:hover { background: var(--blue-soft); }
.sb-profile-stat {
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sb-profile-stat-label { font-size: 13px; color: var(--text2); }
.sb-profile-stat-val   { font-size: 13px; font-weight: 700; color: var(--blue); }

/* ── Sidebar quick links ─────────────────────────────────── */
.sb-links { padding: 8px 0; }
.sb-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: background .1s;
}
.sb-link:hover { background: var(--bg); }
.sb-link-icon { font-size: 16px; }

/* ── Sidebar guest CTA ───────────────────────────────────── */
.sb-guest-cta {
  text-align: center;
}
.sb-guest-icon { font-size: 36px; margin-bottom: 8px; }
.sb-guest-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.sb-guest-desc  { font-size: 13px; color: var(--text2); margin-bottom: 16px; line-height: 1.5; }
.btn-block-mb8  { width: 100%; justify-content: center; margin-bottom: 8px; }
.btn-block-full { width: 100%; justify-content: center; }

/* ── Sidebar companies list ──────────────────────────────── */
.sb-co-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.sb-co-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: opacity .15s;
}
.sb-co-item:last-of-type { border-bottom: none; }
.sb-co-item:hover { opacity: .7; }
.sb-co-logo {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}
.sb-co-initials {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}
.sb-co-info { flex: 1; min-width: 0; }
.sb-co-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sb-co-count { font-size: 12px; color: var(--text2); }
.sb-cos-all {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  text-align: center;
}

/* ── Jobs sort bar ───────────────────────────────────────── */
.jobs-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.jobs-sort-label { font-size: 14px; color: var(--text2); }
.jobs-sort-label strong { color: var(--text); }
.jobs-sort-select {
  padding: 5px 12px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  font-size: 13px;
  background: #fff;
  cursor: pointer;
  outline: none;
  color: var(--text);
}

/* ── Jobs list container ─────────────────────────────────── */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

/* ── Híbrido tag (inline cor) ────────────────────────────── */
.jc-tag-hybrid {
  background: #EEF2FF;
  color: #4F46E5;
}
.jc-tag-match {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}

/* ── Jobs cand count ─────────────────────────────────────── */
.jc-cand-count { font-size: 11px; }

/* ── Empty state jobs ────────────────────────────────────── */
.jobs-empty {
  text-align: center;
  padding: 60px 20px;
}
.jobs-empty-icon { font-size: 40px; margin-bottom: 12px; }
.jobs-empty-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.jobs-empty-desc { font-size: 14px; color: var(--text2); margin-bottom: 16px; }

/* ── Pagination ──────────────────────────────────────────── */
.jobs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 20px;
}
.pag-link {
  padding: 8px 14px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: .15s;
}
.pag-link:hover { border-color: var(--blue); color: var(--blue); }
.pag-link.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.pag-prev, .pag-next {
  padding: 8px 16px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: .15s;
}
.pag-prev:hover, .pag-next:hover { border-color: var(--blue); color: var(--blue); }
.pag-info {
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text2);
}

/* ── Job detail page ─────────────────────────────────────── */
.job-detail-wrap {
  max-width: 1128px;
  margin: 20px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: start;
}
.job-detail-main { display: flex; flex-direction: column; gap: 12px; }

/* Sticky bar */
.job-sticky-bar {
  display: none;
  position: fixed;
  top: 52px;
  left: 0; right: 0;
  z-index: 150;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.job-sticky-bar.visible { display: flex; }
.job-sticky-inner {
  max-width: 1128px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.job-sticky-logo-sm {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
}
.job-sticky-co-sm {
  width: 36px;
  height: 36px;
  font-size: 12px;
  flex-shrink: 0;
}
.job-sticky-info { flex: 1; min-width: 0; }
.job-sticky-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.job-sticky-sub { font-size: 12px; color: var(--text2); }
.job-sticky-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* Breadcrumb bar */
.job-breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.job-breadcrumb-inner {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Job header card */
.job-header-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.job-logo-lg {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
}
.job-co-logo-lg {
  width: 72px;
  height: 72px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  flex-shrink: 0;
}
.job-header-info { flex: 1; }
.job-header-title {
  font-size: 23px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 6px;
}
.job-header-company {
  font-size: 15px;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 6px;
}
.job-header-location {
  font-size: 13.5px;
  color: var(--text2);
  margin-bottom: 8px;
}
.job-activity-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.job-activity-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.job-activity-label { font-size: 13px; font-weight: 500; }
.job-pills-row { display: flex; flex-wrap: wrap; gap: 8px; }
.job-pill-meta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 16px;
  border: 1px solid var(--border2);
  font-size: 13px;
  color: var(--text2);
}

/* Job actions row */
.job-actions-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.job-share-group { margin-left: auto; display: flex; gap: 6px; }
.job-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  background: none;
  cursor: pointer;
  color: var(--text);
  transition: .15s;
}
.job-share-btn:hover { border-color: var(--blue); }
.job-share-btn-li { color: #0A66C2; font-size: 12px; font-weight: 800; }

/* Job description sections */
.job-section-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}
.job-section-title-sm {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text);
}
.job-desc-body {
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.75;
}

/* Similar jobs sidebar */
.similar-jobs-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}
.similar-jobs-list { display: flex; flex-direction: column; gap: 0; }
.similar-job-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: padding-left .15s;
}
.similar-job-item:last-child { border-bottom: none; }
.similar-job-item:hover { padding-left: 6px; }
.similar-job-logo-sm {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.similar-job-info { flex: 1; min-width: 0; }
.similar-job-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.similar-job-meta { font-size: 12px; color: var(--text2); }
.similar-job-time { font-size: 12px; color: var(--text2); flex-shrink: 0; }

/* form-input (settings page e outros) */
.form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border2);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: .2s;
  font-family: inherit;
}
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(10,102,194,.12);
}

/* ── Companies page ──────────────────────────────────────── */
.companies-hero {
  background: var(--blue);
  padding: 40px 16px 48px;
  text-align: center;
}
.companies-hero-title {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.companies-hero-sub { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 24px; }
.companies-hero-search {
  background: #fff;
  border-radius: 6px;
  display: flex;
  max-width: 520px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.companies-hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
}
.companies-hero-search button {
  background: var(--blue-dark, #004182);
  color: #fff;
  border: none;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.companies-page-layout {
  max-width: 1128px;
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
}
.companies-sidebar-sticky { position: sticky; top: 60px; }
.companies-filter-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.companies-filter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 4px;
  font-size: 13.5px;
  color: var(--text);
  text-decoration: none;
  transition: .1s;
}
.companies-filter-link:hover { background: var(--bg); }
.companies-filter-link.active {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 600;
}
.companies-filter-count {
  font-size: 12px;
  color: var(--text2);
  background: var(--bg);
  padding: 1px 6px;
  border-radius: 10px;
}
.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.co-card-v2 {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px;
  text-decoration: none;
  display: block;
  transition: .15s;
}
.co-card-v2:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.co-card-v2-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.co-card-v2-logo {
  width: 52px; height: 52px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
}
.co-card-v2-initials {
  width: 52px; height: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}
.co-card-v2-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.co-card-v2-sector { font-size: 12.5px; color: var(--text2); }
.co-card-v2-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.co-card-v2-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.co-card-v2-jobs { font-size: 13px; color: var(--blue); font-weight: 600; }
.co-card-v2-loc  { font-size: 12px; color: var(--text2); }
.companies-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text2);
}

/* ── Company detail page ─────────────────────────────────── */
.co-detail-layout {
  max-width: 1128px;
  margin: 24px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  align-items: start;
}
.co-detail-hero {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 12px;
}
.co-detail-cover {
  height: 120px;
  background: linear-gradient(135deg, var(--blue) 0%, #1E90D4 100%);
}
.co-detail-identity {
  padding: 0 24px 24px;
  margin-top: -36px;
}
.co-detail-logo {
  width: 72px; height: 72px;
  border-radius: 10px;
  object-fit: contain;
  border: 3px solid #fff;
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
  box-shadow: var(--shadow);
}
.co-detail-initials {
  width: 72px; height: 72px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.co-detail-name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
  margin-top: 12px;
}
.co-detail-sector { font-size: 14px; color: var(--text2); margin-bottom: 8px; }
.co-detail-stats {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.co-detail-stat { text-align: center; }
.co-detail-stat-num { font-size: 20px; font-weight: 800; color: var(--blue); }
.co-detail-stat-lbl { font-size: 12px; color: var(--text2); margin-top: 2px; }

/* ── Index / homepage ────────────────────────────────────── */
.home-stats-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  flex-wrap: wrap;
}
.home-stat { text-align: center; }
.home-stat-num { font-size: 22px; font-weight: 900; color: #fff; line-height: 1; }
.home-stat-lbl { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 4px; }
.home-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.95);
  font-weight: 500;
}
.home-live-dot {
  width: 7px;
  height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ── ATS / admin misc ────────────────────────────────────── */
.ats-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ats-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.plan-badge-free    { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--bg); color: var(--text2); }
.plan-badge-starter { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); }
.plan-badge-pro     { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--orange-soft, #FEF3E2); color: var(--orange); }
.plan-expired-label { font-size: 10px; color: var(--red); margin-left: 4px; }

/* ── Misc fixes ──────────────────────────────────────────── */
.display-inline { display: inline; }
.cursor-default { cursor: default; }
.overflow-hidden { overflow: hidden; }
.p-0-overflow { padding: 0; overflow: hidden; }
.max-w-900-center { max-width: 900px; margin: 0 auto; }
.border-bottom-border { border-bottom: 1px solid var(--border); }
.table-empty-cell { text-align: center; padding: 24px; color: var(--text2); }
.modal-bg-dark {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.5);
}
.modal-bg-dark.open { display: flex; align-items: center; justify-content: center; }

/* ── Responsive fixes ────────────────────────────────────── */
@media (max-width: 900px) {
  .jobs-page-layout  { grid-template-columns: 1fr; }
  .jobs-sidebar      { display: none; }
  .job-detail-wrap   { grid-template-columns: 1fr; }
  .companies-page-layout { grid-template-columns: 1fr; }
  .companies-grid    { grid-template-columns: 1fr 1fr; }
  .co-detail-layout  { grid-template-columns: 1fr; }
  .ats-grid-2col     { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .jobs-search-form  { flex-direction: column; }
  .jobs-search-field, .jobs-search-field-loc { flex: none; width: 100%; border-left: none; border-top: 1px solid #eee; }
  .jobs-search-submit { padding: 12px; width: 100%; }
  .companies-grid    { grid-template-columns: 1fr; }
  .co-detail-stats   { gap: 12px; flex-wrap: wrap; }
  .home-stats-bar    { gap: 16px; }
}

/* ── Job detail — sidebar empresa & stats ──────────────── */
.job-co-sidebar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.job-co-sidebar-logo {
  width: 52px; height: 52px;
  border-radius: 6px;
  object-fit: contain;
  border: 1px solid var(--border);
  background: #fff;
  padding: 3px;
  flex-shrink: 0;
}
.job-co-sidebar-initials {
  width: 52px; height: 52px;
  border-radius: 6px;
  background: rgba(10,102,194,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
}
.job-co-sidebar-name  { font-size: 14px; font-weight: 700; }
.job-co-sidebar-sector { font-size: 12px; color: var(--text2); }
.job-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  text-align: center;
}
.job-stat-box {
  padding: 10px;
  border-radius: 6px;
}
.job-stat-box.blue  { background: var(--blue-soft); }
.job-stat-box.green { background: var(--green-soft); }
.job-stat-box-num   { font-size: 20px; font-weight: 800; }
.job-stat-box-num.blue  { color: var(--blue); }
.job-stat-box-num.green { color: var(--green); }
.job-stat-box-lbl   { font-size: 11px; color: var(--text2); }
.job-stat-footer    { font-size: 12px; color: var(--text2); margin-top: 10px; text-align: center; }
.job-benchmark-row  {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--bg);
  border-radius: 6px;
  margin-top: 8px;
  font-size: 12.5px;
}
.job-benchmark-icon { font-size: 14px; }
/* applied success card */
.job-applied-card    { background: var(--green-soft); border-color: var(--green); }
.job-applied-body    { text-align: center; }
.job-applied-icon    { font-size: 24px; margin-bottom: 6px; }
.job-applied-label   { font-size: 14px; font-weight: 700; color: var(--green); }
.job-applied-link    { font-size: 12px; color: var(--text2); }
/* Modal icons */
.modal-icon-xl { font-size: 40px; margin-bottom: 12px; }
.modal-icon-2xl { font-size: 48px; margin-bottom: 12px; }
/* Modal candidate profile row */
.modal-cand-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px;
  background: var(--blue-soft);
  border-radius: 8px;
  margin-bottom: 20px;
}
.modal-cand-avatar {
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.modal-cand-info { flex: 1; min-width: 0; }
.modal-cand-name  { font-size: 14px; font-weight: 700; }
.modal-cand-title { font-size: 12px; color: var(--text2); }
.modal-cand-edit  { font-size: 12px; color: var(--blue); flex-shrink: 0; }
/* CV ok row */
.cv-ok-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--green-soft);
  border: 1px solid var(--green);
  border-radius: 6px;
  margin-bottom: 8px;
}
.cv-ok-icon  { color: var(--green); flex-shrink: 0; }
.cv-ok-label { font-size: 13px; color: var(--green); font-weight: 600; }
/* Modal form submit row */
.modal-submit-row { display: flex; gap: 10px; }
.modal-submit-row .btn-primary { flex: 1; justify-content: center; padding: 12px; }
.modal-body-pad { padding: 32px 24px; }

/* ── Visibilidade ─────────────────────────────────────────── */
.d-none          { display: none !important; }
.d-block         { display: block !important; }
.d-flex          { display: flex !important; }
.d-inline        { display: inline !important; }
.d-inline-flex   { display: inline-flex !important; }
.cursor-pointer  { cursor: pointer; }
