:root {
  --bg: #f5f0ec;
  --surface: #ffffff;
  --surface-soft: #f4ece8;
  --surface-strong: #181215;
  --text: #1d1719;
  --muted: #7c6f73;
  --line: rgba(69, 31, 42, 0.12);
  --wine: #8f113a;
  --wine-dark: #4e0c1f;
  --teal: #0f6e78;
  --blue: #2b62d9;
  --green: #168c46;
  --amber: #c38718;
  --danger: #bf2138;
  --shadow: 0 20px 42px rgba(34, 18, 23, 0.12);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: 'Manrope', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(15, 110, 120, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(143, 17, 58, 0.1), transparent 26%),
    linear-gradient(180deg, #fbf8f6 0%, #f3ece8 100%);
}
body.modal-open {
  overflow: hidden;
}
body.drawer-open {
  overflow: hidden;
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.hidden { display: none !important; }

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
}

.login-hero {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 16%, rgba(43, 98, 217, 0.14), transparent 20%),
    radial-gradient(circle at 84% 10%, rgba(143, 17, 58, 0.14), transparent 22%),
    linear-gradient(135deg, #120d10 0%, #3b0d1a 46%, #8f113a 100%);
}

.company-shell {
  background:
    radial-gradient(circle at top left, rgba(143, 17, 58, 0.08), transparent 24%),
    radial-gradient(circle at top right, rgba(15, 110, 120, 0.06), transparent 24%),
    linear-gradient(180deg, #f8f2ef 0%, #f1e8e4 100%);
}

.login-card {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 30px 60px rgba(26, 16, 20, 0.22);
}

.login-card-wide { max-width: 760px; }
.company-login-card { max-width: 1140px; }
.company-login-shell { max-width: 1120px; }

.candidate-login-shell {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 420px);
  gap: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.candidate-login-card {
  max-width: 430px;
  padding: 0;
  border-radius: 34px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.candidate-login-panel.single-panel {
  padding: 30px 28px 26px;
  border-radius: 34px;
  background: linear-gradient(180deg, #fffdfc 0%, #fcf6f3 100%);
  border: 1px solid rgba(143, 17, 58, 0.14);
  box-shadow: 0 28px 46px rgba(61, 25, 36, 0.18);
}

.candidate-login-showcase {
  padding: 28px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(15, 110, 120, 0.2), transparent 24%),
    linear-gradient(145deg, #111111 0%, #4e0c1f 54%, #8f113a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.company-auth-card {
  width: min(520px, 100%);
  padding: 30px 24px 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbefec 0%, #f6e8e4 100%);
  border: 1px solid rgba(103, 57, 70, 0.16);
  box-shadow: 0 24px 48px rgba(48, 24, 31, 0.12);
}

.company-auth-icon-wrap {
  display: flex;
  justify-content: center;
}

.company-auth-icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #7b0f32 0%, #a40f35 100%);
  box-shadow: 0 18px 28px rgba(143, 17, 58, 0.22);
}

.company-auth-head {
  margin-top: 18px;
  text-align: center;
}

.company-auth-head h1 {
  font-size: 24px;
  line-height: 1.1;
}

.company-auth-head .muted {
  margin-top: 10px;
}

.company-auth-form {
  margin-top: 20px;
}

.company-auth-field {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(57, 41, 45, 0.22);
  box-shadow: none;
}

.company-auth-divider {
  margin: 18px 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
}

.company-auth-divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(143, 17, 58, 0.08);
}

.company-register-toggle {
  min-height: 50px;
}

.candidate-login-showcase h1 {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.02;
}

.candidate-login-copy {
  margin: 24px 0 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-size: 16px;
}

.candidate-login-highlights {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.login-highlight-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.login-highlight-card small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  margin-bottom: 6px;
}

.login-highlight-card strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.candidate-login-panel {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 50px rgba(32, 16, 22, 0.2);
}

.company-login-panel {
  border: 1px solid rgba(143, 17, 58, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 241, 237, 0.98) 100%);
}

.company-panel-head p.muted,
.company-panel-head .muted {
  margin-top: 10px;
}

.candidate-login-panel-head {
  margin-bottom: 18px;
}

.candidate-login-panel-head h2 {
  font-size: 28px;
  margin-top: 4px;
}

.candidate-login-panel.single-panel .candidate-login-panel-head {
  margin-bottom: 20px;
}

.candidate-login-panel.single-panel .candidate-login-panel-head h2 {
  font-size: 30px;
  line-height: 1.05;
}

.candidate-login-panel.single-panel .muted {
  font-size: 15px;
  color: #7a6e73;
}

.candidate-login-form {
  gap: 14px;
}

.login-field {
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f6eeea 100%);
  border: 1px solid rgba(143, 17, 58, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.login-field input {
  margin-top: 8px;
  border: 0;
  outline: none;
  width: 100%;
  background: transparent;
  font-size: 16px;
  color: var(--text);
}

.login-field span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--wine);
}

.candidate-clean-field {
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdfc 0%, #fbf4f1 100%);
  border: 1px solid rgba(143, 17, 58, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.candidate-clean-field span {
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.candidate-clean-field input {
  margin-top: 0;
  padding: 15px 16px;
  border-radius: 18px;
  background: #e8eefc;
  color: #2a1c22;
}

.candidate-login-submit {
  min-height: 58px;
  margin-top: 4px;
  border-radius: 18px;
  font-size: 17px;
  background: linear-gradient(180deg, #c8205c 0%, #8f113a 100%);
  box-shadow: 0 18px 28px rgba(143, 17, 58, 0.24);
}

.company-forms {
  align-items: start;
}

.company-forms > form {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7efeb 100%);
  border: 1px solid rgba(143, 17, 58, 0.1);
  box-shadow: 0 16px 34px rgba(40, 18, 24, 0.08);
}

.company-forms > form h3 {
  margin-bottom: 6px;
}

.company-access-card {
  position: relative;
  overflow: hidden;
}

.company-access-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #8f113a 0%, #0f6e78 100%);
}

.company-access-head {
  margin-bottom: 6px;
}

.company-access-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.company-access-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(15, 110, 120, 0.12);
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-access-tag.register {
  background: rgba(143, 17, 58, 0.12);
  color: var(--wine);
}

.company-main-btn {
  min-height: 52px;
  font-weight: 800;
}

.brand-block {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.brand-logo {
  width: 68px;
  height: 68px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 27px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  box-shadow: 0 0 28px rgba(143, 17, 58, 0.26);
}

.brand-logo.small {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  font-size: 19px;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow.dark { color: var(--wine); }

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Sora', sans-serif;
}

.muted {
  color: var(--muted);
  line-height: 1.6;
}

.login-helper-row {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.dual-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.candidate-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
}

.side-nav {
  padding: 20px 16px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f6efeb 100%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  align-self: start;
  box-shadow: 24px 0 44px rgba(38, 18, 24, 0.08);
  z-index: 20;
}

.side-nav::after {
  content: "";
  display: block;
  min-height: 16px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.identity-card {
  padding: 14px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
    linear-gradient(145deg, #140f12 0%, #4e0c1f 56%, #8f113a 100%);
  color: #fff;
  box-shadow: 0 22px 34px rgba(78, 12, 31, 0.26);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.identity-card:hover,
.identity-card:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow: 0 26px 40px rgba(78, 12, 31, 0.3);
  outline: none;
}

.side-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.candidate-avatar-card {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.candidate-avatar-card.has-photo {
  background: rgba(255, 255, 255, 0.08);
}

.candidate-avatar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-tier-text {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

#candidateNameLabel {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  line-height: 1.1;
  color: #fff;
}

.balance-mini-card {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.balance-mini-card span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.balance-mini-card strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
  color: #fff;
}

.identity-card .soft-btn {
  margin-top: 14px;
  background: linear-gradient(135deg, #0f6a33 0%, #1e9a4f 52%, #38c172 100%);
  box-shadow: 0 18px 28px rgba(22, 140, 70, 0.26);
}

.side-links {
  display: grid;
  gap: 12px;
}

.side-link {
  border: 0;
  text-align: left;
  padding: 18px 16px;
  border-radius: 20px;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(28, 16, 20, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

#companyAppView .side-nav {
  background: linear-gradient(180deg, #fffaf8 0%, #f6ece7 100%);
}

#companyAppView .side-link {
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(69, 31, 42, 0.1);
  box-shadow: 0 12px 22px rgba(28, 16, 20, 0.08);
}

#companyAppView .side-link:hover {
  background: #fff7f8;
}

#companyAppView .side-link.active {
  color: #fff;
  background: linear-gradient(135deg, #8f113a, #cf275d);
  outline: none;
  box-shadow: 0 20px 32px rgba(143, 17, 58, 0.22);
}

#companyAppView #newJobBtn {
  background: linear-gradient(135deg, #8f113a, #cf275d);
  color: #fff;
  border: 0;
  box-shadow: 0 18px 30px rgba(143, 17, 58, 0.18);
}

#companyAppView #companyLogoutBtn {
  color: var(--text);
  background: #fff;
  border: 1px solid rgba(69, 31, 42, 0.14);
}

.side-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.side-link-jobs {
  background: linear-gradient(135deg, #0f6e78, #1d8ea3);
}

.side-link-resume {
  background: linear-gradient(135deg, #8f113a, #cf275d);
}

.side-link-applications {
  background: linear-gradient(135deg, #121212, #3b3b3b);
}

.side-link.active {
  color: #fff;
  outline: 2px solid rgba(255, 255, 255, 0.36);
  outline-offset: 2px;
  box-shadow: 0 22px 32px rgba(17, 17, 17, 0.18);
}

.dashboard-content {
  padding: 22px;
  overflow-x: hidden;
}

.mobile-app-bar {
  display: none;
  align-items: center;
  padding: 2px 0 10px;
  margin-bottom: 8px;
  position: fixed;
  top: 10px;
  left: 14px;
  right: 14px;
  z-index: 30;
  background: transparent;
  backdrop-filter: none;
}

.mobile-only {
  display: none;
}

.menu-toggle-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  font-size: 22px;
  background: linear-gradient(135deg, #111111, #4e0c1f);
  box-shadow: 0 16px 24px rgba(29, 13, 24, 0.18);
}

.dashboard-topbar {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  align-items: flex-start;
  width: 100%;
}

.topbar-inline-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 920px;
}

.mini-stat-card,
.card-panel,
.hero-banner,
.filter-card,
.job-card,
.featured-card,
.panel-card,
.company-stat,
.application-row,
.featured-offer-card,
.resume-highlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mini-stat-card,
.card-panel,
.company-stat,
.featured-offer-card,
.resume-highlight-card {
  border-radius: 20px;
}

.job-card,
.featured-card,
.panel-card,
.hero-banner,
.filter-card,
.application-row {
  border-radius: 24px;
}

.mini-stat-card {
  min-width: 0;
  padding: 16px 18px;
  color: #fff;
}

.mini-stat-card:first-child {
  background: linear-gradient(135deg, #0f6e78 0%, #126d76 48%, #1f8d98 100%);
  border-color: rgba(15, 110, 120, 0.18);
}

.mini-stat-card:last-child {
  background: linear-gradient(135deg, #2a8f44 0%, #207a39 52%, #35aa58 100%);
  border-color: rgba(22, 140, 70, 0.18);
}

.mini-stat-card:nth-child(2) {
  background: linear-gradient(135deg, #2b62d9 0%, #274aac 52%, #355fda 100%);
  border-color: rgba(43, 98, 217, 0.18);
}

.mini-stat-card:nth-child(3) {
  background: linear-gradient(135deg, #8f113a 0%, #6f0f2f 52%, #cf275d 100%);
  border-color: rgba(143, 17, 58, 0.18);
}

.mini-stat-card span,
.status-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.74);
}

.mini-stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  color: #fff;
}

.card-panel { padding: 18px; }
.side-bottom {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}

.premium-offer-box {
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(135deg, #121212 0%, #4e0c1f 54%, #8f113a 100%);
  color: #fff;
}

.premium-offer-box small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.premium-offer-box strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
}

.filter-card {
  margin-top: 8px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 14px;
}

.dashboard-section + .dashboard-section { margin-top: 18px; }

.section-head,
.panel-head,
.compact-head,
.job-head,
.featured-head,
.actions-row,
.job-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.compact-head { margin: 18px 0 12px; }

.compact-head-right {
  justify-content: flex-end;
}

.jobs-list,
.featured-list,
.stack-list {
  display: grid;
  gap: 14px;
}

.jobs-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.job-rails {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.job-rail .compact-head {
  margin-bottom: 10px;
}

.rail-list {
  margin-bottom: 2px;
}

.jobs-list::-webkit-scrollbar {
  display: none;
}

.job-card,
.featured-card,
.panel-card,
.application-row,
.featured-offer-card,
.resume-highlight-card { padding: 20px; }

.job-head,
.featured-head { align-items: flex-start; }

.company-job-editor-card {
  max-width: 820px;
}

.company-job-editor-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.company-job-editor-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.company-job-editor-form .full-span {
  grid-column: 1 / -1;
}

.company-job-editor-form input,
.company-job-editor-form textarea,
.company-job-editor-form select {
  width: 100%;
}

.job-detail-shell {
  display: grid;
  gap: 18px;
}

.job-detail-hero {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(69, 31, 42, 0.1);
  background:
    radial-gradient(circle at top right, rgba(143, 17, 58, 0.1), transparent 26%),
    linear-gradient(180deg, #fffefe 0%, #fbf3f0 100%);
  box-shadow: 0 24px 50px rgba(34, 18, 23, 0.12);
}

.job-detail-hero.lane-administrativo {
  background:
    radial-gradient(circle at top right, rgba(15, 110, 120, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3fbfb 100%);
}

.job-detail-hero.lane-vendas {
  background:
    radial-gradient(circle at top right, rgba(43, 98, 217, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.job-detail-hero.lane-primeiro-emprego {
  background:
    radial-gradient(circle at top right, rgba(22, 140, 70, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3fbf6 100%);
}

.job-detail-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.job-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.job-detail-head h3 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.06;
  margin-top: 4px;
}

.job-detail-company {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.job-detail-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.job-detail-metric {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(69, 31, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.job-detail-metric-highlight {
  background: linear-gradient(135deg, #8f113a 0%, #b5174d 100%);
  border-color: rgba(143, 17, 58, 0.18);
  box-shadow: 0 18px 28px rgba(143, 17, 58, 0.18);
}

.job-detail-metric small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.job-detail-metric strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.job-detail-metric-highlight small,
.job-detail-metric-highlight strong {
  color: #fff;
}

.job-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.job-detail-card {
  min-height: 100%;
}

.job-detail-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.7;
}

.job-detail-actions {
  display: flex;
  justify-content: flex-end;
}

.candidate-resume-shell {
  display: grid;
  gap: 18px;
}

.candidate-resume-hero {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(69, 31, 42, 0.1);
  background:
    radial-gradient(circle at top right, rgba(143, 17, 58, 0.1), transparent 26%),
    linear-gradient(180deg, #fffefe 0%, #fbf3f0 100%);
  box-shadow: 0 24px 48px rgba(31, 17, 22, 0.12);
}

.candidate-resume-hero-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.candidate-resume-head {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.candidate-resume-avatar {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #111111 0%, #8f113a 100%);
  box-shadow: 0 18px 30px rgba(143, 17, 58, 0.22);
}

.candidate-resume-head h3 {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.04;
  margin-top: 4px;
}

.candidate-resume-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.candidate-resume-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.candidate-resume-metrics {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.candidate-resume-metric {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(69, 31, 42, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.candidate-resume-metric small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.candidate-resume-metric strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.candidate-resume-metric span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.candidate-resume-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.candidate-resume-card {
  min-height: 100%;
}

.candidate-resume-body {
  margin: 0;
  color: var(--text);
  line-height: 1.75;
}

.pill-premium {
  background: linear-gradient(135deg, rgba(143, 17, 58, 0.12), rgba(195, 135, 24, 0.18));
  color: #7a1a31;
  border: 1px solid rgba(143, 17, 58, 0.12);
}

.candidate-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.candidate-info-item {
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.candidate-info-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.candidate-info-item strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  line-height: 1.45;
}

.catalog-card {
  flex: 0 0 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  scroll-snap-align: start;
  background:
    radial-gradient(circle at top right, rgba(143, 17, 58, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbf5f2 100%);
}

.catalog-badges {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.lane-pill {
  color: #fff;
  background: linear-gradient(135deg, #111111, #4e0c1f);
}

.catalog-card h3 {
  font-size: 19px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.catalog-company {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.catalog-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  margin: 0 0 14px;
}

.catalog-card.lane-administrativo {
  background:
    radial-gradient(circle at top right, rgba(15, 110, 120, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
}

.catalog-card.lane-vendas {
  background:
    radial-gradient(circle at top right, rgba(43, 98, 217, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%);
}

.catalog-card.lane-primeiro-emprego {
  background:
    radial-gradient(circle at top right, rgba(22, 140, 70, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f3fbf6 100%);
}

.catalog-card.lane-servicos-e-operacao,
.catalog-card.lane-outras-oportunidades {
  background:
    radial-gradient(circle at top right, rgba(143, 17, 58, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbf5f2 100%);
}

.job-meta,
.featured-meta,
.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.job-meta span,
.featured-meta span,
.resume-tags span,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.pill { background: rgba(143, 17, 58, 0.08); color: var(--wine); }
.muted-pill { background: rgba(17, 17, 17, 0.06); color: var(--muted); }
.pill-blue { background: rgba(43, 98, 217, 0.12); color: var(--blue); }
.pill-green { background: rgba(22, 140, 70, 0.12); color: var(--green); }
.pill-amber { background: rgba(195, 135, 24, 0.16); color: #865b00; }

.featured-head img,
.resume-avatar,
.resume-mini-avatar {
  object-fit: cover;
  background: #eee;
}

.featured-head img,
.resume-mini-avatar {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.resume-avatar {
  width: 84px;
  height: 84px;
  border-radius: 24px;
}

.primary-btn,
.ghost-btn,
.soft-btn,
.inline-btn,
.outline-btn {
  border: 0;
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 800;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.primary-btn:hover,
.ghost-btn:hover,
.soft-btn:hover,
.inline-btn:hover,
.outline-btn:hover { transform: translateY(-1px); }

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #cf275d, #8f113a);
  box-shadow: 0 16px 24px rgba(143, 17, 58, 0.22);
}

.ghost-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ghost-btn.dark {
  color: var(--text);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.soft-btn {
  color: #fff;
  background: #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 18px rgba(143, 17, 58, 0.18);
}

.outline-btn {
  color: var(--wine);
  background: transparent;
  border: 1px solid rgba(143, 17, 58, 0.22);
}

.inline-btn {
  color: var(--wine);
  background: transparent;
  padding: 0;
}

.full {
  width: 100%;
  display: inline-flex;
  justify-content: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.compact { grid-template-columns: 1fr; }
.stacked-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.spaced-form { margin-top: 16px; }

label span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  padding: 14px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

textarea { resize: vertical; }
.full-span { grid-column: 1 / -1; }
.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}
.checkbox-row input { width: auto; }

.experience-grid,
.courses-grid { display: grid; gap: 14px; }
.course-row,
.experience-row {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.course-row.compact-card,
.experience-row.compact-card {
  padding: 14px;
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.resume-summary { min-height: 220px; }
.resume-summary-grid {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.resume-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.resume-progress-shell {
  padding: 18px;
  margin-bottom: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(143, 17, 58, 0.06), rgba(43, 98, 217, 0.05));
  border: 1px solid var(--line);
}

.resume-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.resume-progress-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.resume-progress-head strong {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
}

.resume-step-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.resume-draft-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(22, 140, 70, 0.12);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.resume-progress-bar {
  width: 100%;
  height: 10px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
  overflow: hidden;
}

.resume-progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #cf275d, #2b62d9);
  transition: width 0.25s ease;
}

.resume-checklist {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.resume-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.resume-check-item::before {
  content: "•";
  font-size: 18px;
  line-height: 1;
}

.resume-check-item.pending {
  background: rgba(191, 33, 56, 0.08);
  color: #8f113a;
}

.resume-check-item.done {
  background: rgba(22, 140, 70, 0.1);
  color: var(--green);
}

.resume-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.resume-step {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
  color: var(--muted);
  font-weight: 800;
}

.resume-step.active {
  background: linear-gradient(135deg, #111111, #2d0d18);
  color: #fff;
  border-color: transparent;
}

.resume-step.done:not(.active) {
  background: linear-gradient(135deg, #eef9f1 0%, #f7fcf8 100%);
  color: var(--green);
  border-color: rgba(22, 140, 70, 0.18);
}

.resume-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.resume-nav-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.resume-final-preview {
  margin-top: 16px;
}

.resume-summary-preview {
  display: grid;
  gap: 12px;
}

.resume-summary-sheet {
  padding: 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(155, 0, 34, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #faf5f2 100%);
  border: 1px solid var(--line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 14px 34px rgba(17, 17, 17, 0.06);
}

.resume-summary-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.resume-summary-topline strong {
  color: var(--wine);
  font-family: 'Sora', sans-serif;
}

.resume-summary-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.resume-summary-avatar {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, #111111, #4e0c1f);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  overflow: hidden;
}

.resume-summary-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resume-summary-identity h4 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  color: var(--text);
}

.resume-summary-role {
  margin: 6px 0 0;
  color: var(--wine);
  font-weight: 700;
}

.resume-summary-contact,
.resume-summary-badges,
.resume-summary-inline,
.resume-summary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.resume-summary-contact {
  margin-top: 12px;
}

.resume-summary-badges {
  margin-top: 10px;
}

.resume-summary-contact span,
.resume-summary-badges span,
.resume-summary-inline span,
.resume-summary-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(155, 0, 34, 0.06);
  border: 1px solid rgba(155, 0, 34, 0.08);
  font-size: 12px;
  color: var(--text);
}

.resume-summary-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.resume-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 14px;
  margin-top: 16px;
}

.resume-summary-column,
.resume-summary-blocks,
.resume-summary-list {
  display: grid;
  gap: 10px;
}

.resume-summary-column {
  gap: 14px;
}

.resume-summary-section {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.resume-summary-section.accent {
  background: linear-gradient(180deg, rgba(155, 0, 34, 0.05), rgba(155, 0, 34, 0.02));
}

.resume-summary-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.resume-summary-section-head h5 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  color: var(--text);
}

.resume-summary-block {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.resume-summary-block strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.resume-summary-icon {
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111111, #4e0c1f);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.resume-summary-block p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.resume-summary-kpi {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.resume-summary-kpi small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
}

.resume-summary-kpi strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.resume-summary-entry {
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
}

.resume-summary-entry.empty {
  background: rgba(255, 255, 255, 0.62);
}

.resume-summary-entry h6 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  color: var(--text);
}

.resume-summary-entry small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.resume-summary-entry p {
  margin: 8px 0 0;
  color: var(--text);
  line-height: 1.55;
}

.resume-summary-inline {
  margin-top: 12px;
}

.resume-step-error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(191, 33, 56, 0.08);
  border: 1px solid rgba(191, 33, 56, 0.12);
  color: #8f113a;
  font-size: 13px;
  font-weight: 700;
}

.field-missing {
  border-color: rgba(191, 33, 56, 0.42) !important;
  box-shadow: 0 0 0 3px rgba(191, 33, 56, 0.08);
}

.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 12px;
}

.chip-option {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(143, 17, 58, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 240, 236, 0.98) 100%);
  color: #2d141c;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 10px 20px rgba(54, 18, 28, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.chip-option:hover {
  transform: translateY(-1px);
  border-color: rgba(143, 17, 58, 0.24);
  box-shadow: 0 14px 26px rgba(54, 18, 28, 0.12);
}

.chip-option input {
  display: none;
}

.chip-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100%;
}

.chip-option.active {
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 28%),
    linear-gradient(135deg, #0f6a33 0%, #1e9a4f 52%, #38c172 100%);
  box-shadow: 0 18px 28px rgba(22, 140, 70, 0.28);
}

.chip-option.active span {
  color: #fff;
  font-weight: 800;
}

.chip-option.active:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 32px rgba(22, 140, 70, 0.32);
}

.info-list,
.timeline-list {
  display: grid;
  gap: 10px;
}

.info-line {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.info-line small,
.timeline-item small {
  color: var(--muted);
  font-weight: 700;
}

.timeline-item {
  padding: 14px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.timeline-item .course-meta {
  margin-top: 6px;
  color: #8b7a80;
  font-size: 13px;
  font-weight: 700;
}

.timeline-item .course-description {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.empty-state {
  padding: 26px;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 12, 14, 0.68);
  overflow-y: auto;
  backdrop-filter: blur(5px);
}

.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf3f0 100%);
  border: 1px solid rgba(69, 31, 42, 0.12);
  box-shadow: 0 36px 80px rgba(24, 15, 18, 0.34);
  margin: auto;
}

.detail-modal-card { max-width: 760px; }
.compact-modal-card { max-width: 560px; }
.resume-modal-card { max-width: 960px; }

#jobEditorForm .actions-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  color: var(--text);
  background: var(--surface-soft);
}

.pix-image {
  width: min(280px, 100%);
  display: block;
  margin: 14px auto;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.pix-copy {
  margin-top: 12px;
  min-height: 110px;
  font-size: 13px;
}

.company-stat {
  min-width: 160px;
  padding: 16px 18px;
}
.company-stat strong { display: block; margin-top: 8px; font-size: 28px; }

.application-row {
  display: grid;
  gap: 12px;
}

.application-head,
.resume-highlight-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.resume-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  padding: 14px 16px;
  color: #fff;
  border-radius: 14px;
  background: #111;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1190;
  background: rgba(16, 10, 12, 0.42);
  backdrop-filter: blur(3px);
}

.floating-premium-btn {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 1180;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #0f6a33 0%, #1e9a4f 52%, #38c172 100%);
  box-shadow: 0 18px 28px rgba(22, 140, 70, 0.28);
}

@media (max-width: 980px) {
  .candidate-app { grid-template-columns: 1fr; }
  .mobile-app-bar { display: flex; }
  .mobile-only { display: inline-flex; }
  .side-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(88vw, 340px);
    z-index: 1200;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    transform: translateX(-104%);
    transition: transform 0.24s ease;
    overflow-y: auto;
    height: 100dvh;
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    overscroll-behavior: contain;
  }
  .side-nav.is-open {
    transform: translateX(0);
  }
  .filter-card,
  .form-grid,
  .stacked-mobile,
  .resume-columns,
  .resume-highlight-grid,
  .resume-steps,
  .job-detail-grid,
  .job-detail-metrics,
  .candidate-resume-grid,
  .candidate-resume-metrics,
  .candidate-info-grid { grid-template-columns: 1fr; }
  .filter-card {
    display: none;
  }
  .filter-card.mobile-open {
    display: grid;
  }
  .dashboard-content {
    padding-top: 84px;
  }
}

@media (max-width: 720px) {
  .login-shell,
  .dashboard-content,
  .side-nav { padding-left: 14px; padding-right: 14px; }
  .login-card,
  .modal-card { padding: 20px; }
  .candidate-login-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .candidate-login-card {
    max-width: 100%;
  }
  .candidate-login-showcase,
  .candidate-login-panel {
    padding: 22px;
  }
  .candidate-login-panel.single-panel {
    padding: 28px 22px 22px;
    border-radius: 30px;
  }
  .company-auth-card {
    padding: 24px 18px 18px;
  }
  .dashboard-topbar,
  .section-head,
  .panel-head,
  .compact-head,
  .job-head,
  .featured-head,
  .actions-row,
  .job-footer,
  .application-head,
  .resume-highlight-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .topbar-inline-cards { width: 100%; }
  .mini-stat-card,
  .company-stat { width: 100%; }
  .resume-summary-grid { grid-template-columns: 1fr; }
  .resume-progress-head,
  .resume-nav,
  .resume-nav-right { flex-direction: column; align-items: flex-start; }
  .resume-progress-side {
    align-items: flex-start;
  }
  .resume-summary-topline {
    flex-direction: column;
    align-items: flex-start;
  }
  .chips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resume-summary-kpis {
    grid-template-columns: 1fr;
  }
  .resume-summary-head {
    grid-template-columns: 1fr;
  }
  .course-row,
  .experience-row {
    padding: 14px;
  }
  .jobs-list,
  .rail-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }
  .catalog-card {
    flex-basis: auto;
    min-height: 0;
    width: 100%;
  }
  .job-detail-hero,
  .job-detail-card,
  .candidate-resume-hero,
  .candidate-resume-card {
    padding: 20px;
  }
  .topbar-inline-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}
