/* HiringBunch Jobs — front-end components. Theme can override the tokens below. */
:root {
	--hb-primary: #4b3bff;
	--hb-primary-dark: #3527d6;
	--hb-primary-soft: #eeecff;
	--hb-accent: #ff7a1a;
	--hb-ink: #121226;
	--hb-text: #3d3d57;
	--hb-muted: #767690;
	--hb-border: #e6e6f0;
	--hb-bg: #f6f7fb;
	--hb-card: #ffffff;
	--hb-ok: #0f9d58;
	--hb-ok-soft: #e7f6ee;
	--hb-err: #d93025;
	--hb-err-soft: #fdecea;
	--hb-radius: 16px;
	--hb-shadow: 0 1px 2px rgba(18,18,38,.04), 0 6px 24px rgba(18,18,38,.06);
}

.hb-icon { flex: none; vertical-align: -3px; }
.hb-muted { color: var(--hb-muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.hb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1.2; border: 1.5px solid transparent; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s, border-color .15s, transform .1s; font-family: inherit; white-space: nowrap; }
.hb-btn:active { transform: translateY(1px); }
.hb-btn-primary { background: var(--hb-primary); color: #fff !important; }
.hb-btn-primary:hover { background: var(--hb-primary-dark); }
.hb-btn-ghost { background: #fff; color: var(--hb-primary) !important; border-color: var(--hb-primary); }
.hb-btn-ghost:hover, .hb-btn-ghost.is-saved { background: var(--hb-primary-soft); }
.hb-btn-success { background: var(--hb-ok-soft); color: var(--hb-ok) !important; cursor: default; }
.hb-btn-disabled { background: #eee; color: #888 !important; cursor: not-allowed; }
.hb-btn-block { width: 100%; }
.hb-link-btn { background: none; border: 0; color: var(--hb-muted); cursor: pointer; padding: 4px; font: inherit; font-size: 14px; }
.hb-link-btn:hover { color: var(--hb-err); }

/* Notices */
.hb-notice { padding: 12px 16px; border-radius: 10px; margin: 0 0 16px; font-size: 15px; }
.hb-notice ul { margin: 0; padding-left: 18px; }
.hb-notice-success { background: var(--hb-ok-soft); color: #0b6b3c; }
.hb-notice-error { background: var(--hb-err-soft); color: #a3231a; }
.hb-notice-info { background: var(--hb-primary-soft); color: var(--hb-primary-dark); }

/* Cards */
.hb-card { background: var(--hb-card); border-radius: var(--hb-radius); box-shadow: var(--hb-shadow); padding: 24px; margin-bottom: 20px; }
.hb-card h2 { font-size: 20px; margin: 0 0 14px; color: var(--hb-ink); }
.hb-card h3 { font-size: 17px; margin: 0 0 12px; color: var(--hb-ink); }

/* Search form */
.hb-search { display: flex; align-items: stretch; background: #fff; border-radius: 999px; box-shadow: 0 8px 40px rgba(34,26,140,.14); padding: 8px 8px 8px 20px; gap: 0; max-width: 900px; margin: 0 auto; }
.hb-search-field { display: flex; align-items: center; gap: 8px; color: var(--hb-muted); flex: 1; min-width: 0; padding: 0 14px; border-right: 1px solid var(--hb-border); margin: 0; }
.hb-search-field:last-of-type { border-right: 0; }
.hb-search-kw { flex: 2; padding-left: 0; }
.hb-search-exp { flex: 1.1; }
.hb-search input, .hb-search select { border: 0 !important; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--hb-ink); width: 100%; padding: 10px 0; box-shadow: none !important; min-height: 0; }
.hb-search select { appearance: none; cursor: pointer; }
.hb-search .hb-btn { padding: 12px 30px; }
.hb-search-bar { box-shadow: var(--hb-shadow); max-width: none; }

/* Listing */
.hb-listing-search { margin-bottom: 24px; }
.hb-listing-body { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.hb-filter-toggle { display: none; }
.hb-filters { background: #fff; border-radius: var(--hb-radius); box-shadow: var(--hb-shadow); padding: 20px; position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; }
.hb-filter-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--hb-border); }
.hb-filter-head a { font-size: 14px; color: var(--hb-primary); }
.hb-filters fieldset { border: 0; border-bottom: 1px solid var(--hb-border); padding: 14px 0; margin: 0; }
.hb-filters fieldset:last-of-type { border-bottom: 0; }
.hb-filters legend { font-weight: 600; color: var(--hb-ink); padding: 0; margin-bottom: 8px; float: left; width: 100%; }
.hb-filters input[type=text], .hb-filters select { width: 100%; padding: 8px 10px; border: 1px solid var(--hb-border); border-radius: 8px; font: inherit; font-size: 14px; background: #fff; }
.hb-filters input[type=range] { width: 100%; accent-color: var(--hb-primary); }
.hb-range-out { font-size: 13px; color: var(--hb-muted); }
.hb-radio { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; color: var(--hb-text); cursor: pointer; }
.hb-radio input { accent-color: var(--hb-primary); }
.hb-radio small, .hb-chip small { color: var(--hb-muted); }
.hb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hb-chip input { position: absolute; opacity: 0; }
.hb-chip span { display: inline-block; padding: 5px 10px; border: 1px solid var(--hb-border); border-radius: 999px; font-size: 13px; cursor: pointer; }
.hb-chip input:checked + span { background: var(--hb-primary-soft); border-color: var(--hb-primary); color: var(--hb-primary-dark); }
.hb-results-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.hb-results-head p { margin: 0; color: var(--hb-muted); font-size: 15px; }
.hb-sort select { border: 1px solid var(--hb-border); border-radius: 8px; padding: 6px 10px; margin-left: 6px; font: inherit; font-size: 14px; background: #fff; }
.hb-job-list { display: flex; flex-direction: column; gap: 14px; }

/* Job card */
.hb-job-card { background: #fff; border-radius: var(--hb-radius); padding: 20px 22px; box-shadow: var(--hb-shadow); border: 1px solid transparent; transition: border-color .15s, box-shadow .15s; }
.hb-job-card:hover { border-color: #d6d3ff; box-shadow: 0 10px 30px rgba(34,26,140,.10); }
.hb-job-card.is-featured { border-left: 4px solid var(--hb-accent); }
.hb-job-card-head { display: flex; justify-content: space-between; gap: 16px; }
.hb-job-title { font-size: 18px; line-height: 1.3; margin: 0 0 4px; font-weight: 700; }
.hb-job-title a { color: var(--hb-ink); text-decoration: none; }
.hb-job-title a:hover { color: var(--hb-primary); }
.hb-job-company { color: var(--hb-text); font-weight: 500; font-size: 15px; text-decoration: none; }
.hb-logo { border-radius: 12px; object-fit: contain; border: 1px solid var(--hb-border); background: #fff; flex: none; }
.hb-logo-letter { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; color: hsl(var(--hb-hue), 55%, 38%); background: hsl(var(--hb-hue), 70%, 95%); border-color: hsl(var(--hb-hue), 55%, 88%); }
.hb-job-meta { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--hb-text); font-size: 14px; }
.hb-job-meta li { display: flex; align-items: center; gap: 6px; margin: 0; }
.hb-job-meta li + li { padding-left: 18px; border-left: 1px solid var(--hb-border); }
.hb-job-meta .hb-icon { color: var(--hb-muted); }
.hb-job-excerpt { color: var(--hb-muted); font-size: 14px; margin: 10px 0 0; }
.hb-skills { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13px; color: var(--hb-muted); }
.hb-skills li { margin: 0; }
.hb-skills li + li::before { content: "·"; margin: 0 8px; }
.hb-skills-lg { gap: 8px; font-size: 14px; }
.hb-skills-lg li::before { display: none; }
.hb-skills-lg a { display: inline-block; padding: 6px 14px; border: 1px solid var(--hb-border); border-radius: 999px; color: var(--hb-text); text-decoration: none; }
.hb-skills-lg a:hover { border-color: var(--hb-primary); color: var(--hb-primary); }
.hb-job-card-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--hb-muted); }
.hb-job-age { margin-right: auto; }
.hb-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #fff3e8; color: #b8520a; font-weight: 600; font-size: 12px; }
.hb-badge-ok { background: var(--hb-ok-soft); color: var(--hb-ok); }
.hb-save-form { margin: 0; display: inline; }
.hb-save { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--hb-muted); cursor: pointer; font: inherit; font-size: 13px; padding: 4px 6px; }
.hb-save:hover, .hb-save.is-saved { color: var(--hb-primary); }
.hb-save.is-saved svg { fill: currentColor; }
.hb-job-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.hb-job-card.is-compact { padding: 18px; display: flex; flex-direction: column; }
.hb-job-card.is-compact .hb-job-title { font-size: 16px; }
.hb-job-card.is-compact .hb-job-meta { font-size: 13px; }
.hb-job-card.is-compact .hb-job-card-foot { margin-top: auto; padding-top: 12px; }

/* Pagination & empty */
.hb-pagination { display: flex; gap: 6px; justify-content: center; margin: 28px 0 8px; flex-wrap: wrap; }
.hb-pagination a, .hb-pagination span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; box-shadow: var(--hb-shadow); color: var(--hb-text); text-decoration: none; font-weight: 600; }
.hb-pagination .current { background: var(--hb-primary); color: #fff; }
.hb-pagination .hb-dots { box-shadow: none; background: none; }
.hb-empty-state { text-align: center; padding: 48px 20px; background: #fff; border-radius: var(--hb-radius); box-shadow: var(--hb-shadow); color: var(--hb-muted); }
.hb-empty-state h3 { color: var(--hb-ink); margin: 12px 0 6px; }
.hb-empty { color: var(--hb-muted); }

/* Job detail */
.hb-job-detail { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.hb-job-detail > .hb-notice { grid-column: 1 / -1; }
.hb-job-hero h1.hb-job-title { font-size: 26px; }
.hb-job-meta-lg { font-size: 15px; margin-top: 16px; }
.hb-job-hero-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--hb-border); margin-top: 20px; padding-top: 16px; }
.hb-job-hero-foot .hb-muted { font-size: 14px; }
.hb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hb-prose { color: var(--hb-text); font-size: 15px; line-height: 1.7; }
.hb-prose ul { padding-left: 20px; }
.hb-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin: 20px 0; padding: 16px 0; border-top: 1px solid var(--hb-border); border-bottom: 1px solid var(--hb-border); }
.hb-facts dt { font-size: 13px; color: var(--hb-muted); }
.hb-facts dd { margin: 2px 0 0; font-weight: 600; color: var(--hb-ink); font-size: 14px; }
.hb-mini-list { list-style: none; padding: 0; margin: 0; }
.hb-mini-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--hb-border); font-size: 14px; }
.hb-mini-list li:last-child { border-bottom: 0; }
.hb-mini-list a { color: var(--hb-ink); text-decoration: none; }
.hb-mini-list a:hover { color: var(--hb-primary); }
.hb-cta-card { background: linear-gradient(135deg, var(--hb-primary), #7a5cff); color: #fff; }
.hb-cta-card h3 { color: #fff; }
.hb-cta-card .hb-btn-primary { background: #fff; color: var(--hb-primary) !important; }

/* Forms */
.hb-field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.hb-field > span { font-size: 14px; font-weight: 600; color: var(--hb-ink); }
.hb-field input, .hb-field select, .hb-field textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--hb-border); border-radius: 10px; font: inherit; font-size: 15px; background: #fff; color: var(--hb-ink); transition: border-color .15s, box-shadow .15s; box-sizing: border-box; }
.hb-field input:focus, .hb-field select:focus, .hb-field textarea:focus { outline: 0; border-color: var(--hb-primary); box-shadow: 0 0 0 3px var(--hb-primary-soft); }
.hb-field input:disabled { background: var(--hb-bg); color: var(--hb-muted); }
.hb-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
.hb-field-wide { grid-column: 1 / -1; }
.hb-field-end { justify-content: flex-end; }
.hb-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--hb-text); margin: 0 0 16px; cursor: pointer; }
.hb-check input { accent-color: var(--hb-primary); margin-top: 3px; }
.hb-choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hb-choice input { position: absolute; opacity: 0; }
.hb-choice span { display: flex; flex-direction: column; gap: 4px; border: 1.5px solid var(--hb-border); border-radius: 12px; padding: 12px 14px; cursor: pointer; height: 100%; box-sizing: border-box; }
.hb-choice small { color: var(--hb-muted); font-weight: 400; font-size: 12px; }
.hb-choice input:checked + span { border-color: var(--hb-primary); background: var(--hb-primary-soft); }
.hb-row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hb-row-between h3 { margin: 0; }
.hb-sticky-actions { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--hb-bg) 40%); padding: 20px 0 12px; text-align: right; }

/* Auth */
.hb-auth { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; max-width: 1000px; margin: 20px auto; align-items: center; }
.hb-auth-narrow { grid-template-columns: 1fr; max-width: 460px; }
.hb-auth-aside h2 { font-size: 30px; line-height: 1.2; color: var(--hb-ink); margin: 0 0 12px; }
.hb-auth-aside p { color: var(--hb-muted); font-size: 16px; }
.hb-auth-form { padding: 32px; }
.hb-auth-form h2 { margin-top: 0; }
.hb-auth-switch { text-align: center; font-size: 14px; color: var(--hb-muted); margin: 16px 0 0; }
.hb-ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.hb-ticks li { display: flex; gap: 10px; align-items: center; padding: 8px 0; color: var(--hb-text); }
.hb-ticks .hb-icon { color: var(--hb-ok); background: var(--hb-ok-soft); border-radius: 50%; padding: 4px; width: 24px; height: 24px; box-sizing: border-box; }

/* Dashboard */
.hb-dash { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.hb-dash-nav { background: #fff; border-radius: var(--hb-radius); box-shadow: var(--hb-shadow); padding: 20px 12px; position: sticky; top: 90px; }
.hb-dash-user { display: flex; gap: 12px; align-items: center; padding: 0 8px 16px; }
.hb-dash-user strong { display: block; color: var(--hb-ink); }
.hb-dash-user .hb-muted { font-size: 13px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.hb-avatar img { border-radius: 50%; width: 52px; height: 52px; display: block; }
.hb-progress { padding: 0 8px 16px; border-bottom: 1px solid var(--hb-border); margin-bottom: 8px; }
.hb-progress-bar { height: 6px; background: var(--hb-border); border-radius: 6px; overflow: hidden; }
.hb-progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--hb-accent), var(--hb-ok)); border-radius: 6px; }
.hb-progress small { font-size: 12px; color: var(--hb-muted); }
.hb-dash-nav nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--hb-text); text-decoration: none; font-size: 15px; font-weight: 500; }
.hb-dash-nav nav a:hover { background: var(--hb-bg); }
.hb-dash-nav nav a.is-active { background: var(--hb-primary-soft); color: var(--hb-primary-dark); }
.hb-dash-title { font-size: 26px; margin: 0 0 18px; color: var(--hb-ink); }
.hb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.hb-stat { background: #fff; border-radius: 14px; box-shadow: var(--hb-shadow); padding: 16px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; }
.hb-stat span { font-size: 13px; color: var(--hb-muted); }
.hb-stat strong { font-size: 28px; color: var(--hb-ink); line-height: 1; }
.hb-complete-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: linear-gradient(135deg, #fff7ef, #fff); border: 1px solid #ffe2c8; }
.hb-complete-card p { margin: 0; }
.hb-app-list { list-style: none; margin: 12px 0 0; padding: 0; }
.hb-app-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hb-border); }
.hb-app-list li:last-child { border-bottom: 0; }
.hb-app-list li > div { display: flex; flex-direction: column; }
.hb-app-list a { color: var(--hb-ink); text-decoration: none; }
.hb-app-list .hb-muted { font-size: 13px; }
.hb-app-list form { margin: 0; }
.hb-status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--hb-bg); color: var(--hb-text); }
.hb-status-applied { background: #eef2ff; color: #3730a3; }
.hb-status-viewed { background: #e0f2fe; color: #075985; }
.hb-status-shortlisted { background: #fef3c7; color: #92400e; }
.hb-status-interview { background: #ede9fe; color: #5b21b6; }
.hb-status-hired { background: var(--hb-ok-soft); color: #0b6b3c; }
.hb-status-rejected { background: #f3f4f6; color: #6b7280; }
.hb-app a { color: var(--hb-ink); text-decoration: none; font-size: 17px; }
.hb-app .hb-muted { font-size: 13px; margin-top: 2px; }
.hb-track { list-style: none; display: flex; padding: 0; margin: 20px 0 6px; counter-reset: s; }
.hb-track li { flex: 1; position: relative; text-align: center; font-size: 12px; color: var(--hb-muted); padding-top: 22px; }
.hb-track li span { position: absolute; top: 0; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 2px solid var(--hb-border); z-index: 1; box-sizing: border-box; }
.hb-track li::before { content: ""; position: absolute; top: 6px; left: -50%; width: 100%; height: 2px; background: var(--hb-border); }
.hb-track li:first-child::before { display: none; }
.hb-track li.is-done { color: var(--hb-ink); font-weight: 600; }
.hb-track li.is-done span { background: var(--hb-primary); border-color: var(--hb-primary); }
.hb-track li.is-done::before { background: var(--hb-primary); }
.hb-inline-form { margin: 8px 0 0; text-align: right; }
.hb-resume-file { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--hb-border); border-radius: 12px; margin-bottom: 18px; color: var(--hb-primary); }
.hb-resume-file > div { flex: 1; display: flex; flex-direction: column; }
.hb-resume-file strong { color: var(--hb-ink); word-break: break-all; }
.hb-resume-file .hb-muted { font-size: 13px; }
.hb-upload { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.hb-dropzone { width: 100%; box-sizing: border-box; border: 2px dashed #cfcaff; border-radius: 14px; padding: 28px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; color: var(--hb-primary); background: #fafaff; position: relative; }
.hb-dropzone:hover { background: var(--hb-primary-soft); }
.hb-dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.hb-dropzone strong { color: var(--hb-ink); }
.hb-filename { font-style: normal; color: var(--hb-ok); font-weight: 600; font-size: 14px; }

/* Categories & companies */
.hb-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.hb-cat { background: #fff; border: 1px solid var(--hb-border); border-radius: 14px; padding: 16px 18px; text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.hb-cat:hover { border-color: var(--hb-primary); box-shadow: var(--hb-shadow); transform: translateY(-2px); }
.hb-cat strong { color: var(--hb-ink); font-size: 15px; }
.hb-cat span { color: var(--hb-primary); font-size: 13px; display: flex; align-items: center; gap: 4px; }
.hb-company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.hb-company { background: #fff; border-radius: 14px; box-shadow: var(--hb-shadow); padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--hb-ink); }
.hb-company:hover { box-shadow: 0 10px 30px rgba(34,26,140,.12); }
.hb-company .hb-muted { font-size: 13px; }

/* Responsive */
@media (max-width: 960px) {
	.hb-listing-body, .hb-job-detail, .hb-dash, .hb-auth { grid-template-columns: 1fr; }
	.hb-filter-toggle { display: inline-flex; }
	.hb-filters { display: none; position: static; max-height: none; }
	.hb-filters.is-open { display: block; }
	.hb-dash-nav { position: static; }
	.hb-dash-nav nav { display: flex; overflow-x: auto; gap: 4px; }
	.hb-dash-nav nav a { white-space: nowrap; }
	.hb-stats { grid-template-columns: repeat(2, 1fr); }
	.hb-auth-aside { display: none; }
}
@media (max-width: 680px) {
	.hb-search { flex-direction: column; border-radius: 20px; padding: 12px; }
	.hb-search-field { border-right: 0; border-bottom: 1px solid var(--hb-border); padding: 4px 6px; }
	.hb-search-field:last-of-type { border-bottom: 0; }
	.hb-search .hb-btn { margin-top: 8px; }
	.hb-form-grid, .hb-facts, .hb-choice-row { grid-template-columns: 1fr; }
	.hb-job-meta li + li { padding-left: 0; border-left: 0; }
	.hb-complete-card { flex-direction: column; align-items: flex-start; }
	.hb-track li { font-size: 10px; }
	.hb-card { padding: 18px; }
}

/* Fallback page wrapper when used with a non-HiringBunch theme */
.hb-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 20px 56px; }
.hb-page-title { font-size: 30px; margin: 0 0 20px; }

/* Imported / partner jobs */
.hb-badge-partner { background: #eef1f6; color: #4a5568; }
.hb-external-note { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; border: 1px dashed var(--hb-border); }
.hb-external-note p { margin: 0; color: var(--hb-text); }

/* ---------- Employers, pricing & checkout (1.4.0) ---------- */
.hb-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hb-primary); margin-bottom: 8px; }
.hb-pricing-head { text-align: center; max-width: 720px; margin: 8px auto 32px; }
.hb-pricing-head h2 { font-size: 34px; line-height: 1.2; margin: 0 0 12px; color: var(--hb-ink); }
.hb-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-items: stretch; }
.hb-plan { position: relative; background: #fff; border: 1.5px solid var(--hb-border); border-radius: var(--hb-radius); padding: 24px 22px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--hb-shadow); }
.hb-plan h3 { margin: 0; font-size: 18px; color: var(--hb-ink); }
.hb-plan.is-highlight { border-color: var(--hb-primary); box-shadow: 0 14px 40px rgba(16,35,28,.14); }
.hb-plan.is-free { background: linear-gradient(180deg, var(--hb-ok-soft), #fff 55%); }
.hb-plan-tag { position: absolute; top: -12px; left: 22px; background: var(--hb-primary); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.hb-plan-price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 2px; }
.hb-plan-price strong { font-size: 32px; color: var(--hb-ink); line-height: 1; }
.hb-plan-price small { color: var(--hb-muted); font-size: 13px; }
.hb-plan > .hb-muted { font-size: 14px; margin: 4px 0; }
.hb-plan-list { margin: 8px 0 16px; font-size: 14px; }
.hb-plan-list li { padding: 5px 0; align-items: flex-start; }
.hb-plan-list .hb-icon { flex: none; }
.hb-plan-cta { margin-top: auto; }
.hb-plan-cta form { margin: 0; }
.hb-plans-dash { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-top: 18px; }
.hb-pricing-faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0 8px; }
.hb-pricing-faq h4 { margin: 0 0 6px; color: var(--hb-ink); font-size: 16px; }
.hb-pricing-faq p { margin: 0; font-size: 14px; }

.hb-credit-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 8px 16px; border-bottom: 1px solid var(--hb-border); margin-bottom: 8px; }
.hb-credit-strip a { display: flex; flex-direction: column; align-items: center; padding: 8px 4px; border-radius: 10px; background: var(--hb-bg); text-decoration: none; }
.hb-credit-strip strong { font-size: 18px; color: var(--hb-ink); line-height: 1.1; }
.hb-credit-strip span { font-size: 11px; color: var(--hb-muted); }
.hb-emp .hb-dash-user .hb-logo { width: 52px; height: 52px; }
.hb-dash-title-row { margin-bottom: 18px; }
.hb-dash-title-row .hb-dash-title { margin: 0; }
.hb-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hb-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--hb-muted); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--hb-border); }
.hb-table td { padding: 12px 10px; border-bottom: 1px solid var(--hb-border); vertical-align: top; }
.hb-table tr:last-child td { border-bottom: 0; }
.hb-table-wrap { overflow-x: auto; padding: 8px 14px; }
.hb-td-actions { text-align: right; white-space: nowrap; }
.hb-td-actions .hb-btn { padding: 6px 14px; font-size: 13px; }
.hb-emp-job a strong { color: var(--hb-ink); font-size: 17px; }
.hb-emp-job a { text-decoration: none; }
.hb-emp-job .hb-muted { font-size: 13px; margin-top: 2px; }
.hb-emp-job-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hb-border); }
.hb-emp-job-foot .hb-btn { padding: 7px 14px; font-size: 14px; }
.hb-emp-job-foot .hb-link-btn { color: var(--hb-primary); text-decoration: none; }
.hb-spacer { flex: 1; }
.hb-filter-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 14px; }
.hb-filter-bar input[type=text], .hb-filter-bar select { flex: 1 1 160px; padding: 9px 12px; border: 1.5px solid var(--hb-border); border-radius: 10px; font: inherit; font-size: 14px; background: #fff; min-width: 0; }
.hb-cand-job { margin: 18px 0 6px; font-size: 13px; color: var(--hb-muted); font-weight: 600; }
.hb-cand { margin-bottom: 14px; }
.hb-cand-id { display: flex; gap: 12px; align-items: center; }
.hb-cand-id strong { color: var(--hb-ink); font-size: 16px; }
.hb-cand-id .hb-muted { font-size: 13px; }
.hb-cand-facts { margin: 12px 0 0; font-size: 14px; color: var(--hb-text); }
.hb-cand-edu { font-size: 13px; margin: 8px 0 0; }
.hb-cand-contact { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 14px; font-size: 14px; }
.hb-cand-contact .hb-btn { padding: 6px 14px; font-size: 13px; }
.hb-cand-more { margin-top: 10px; font-size: 14px; }
.hb-cand-more summary { cursor: pointer; color: var(--hb-primary); }
.hb-cand-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--hb-border); }
.hb-cand-status select, .hb-cand-status input[type=text] { padding: 8px 10px; border: 1.5px solid var(--hb-border); border-radius: 10px; font: inherit; font-size: 14px; background: #fff; }
.hb-cand-status input[type=text] { flex: 1 1 220px; min-width: 0; }
.hb-cand-status > .hb-muted { flex: 1; font-size: 13px; }
.hb-cand-status .hb-btn { padding: 8px 16px; font-size: 14px; }
.hb-checkout { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.hb-totals td:last-child { text-align: right; }
.hb-total-row td { font-weight: 700; color: var(--hb-ink); font-size: 16px; border-top: 2px solid var(--hb-ink); }
.hb-pay-note { font-size: 13px; text-align: center; margin: 8px 0 0; }
.hb-or { display: flex; align-items: center; gap: 10px; color: var(--hb-muted); font-size: 13px; margin: 16px 0; }
.hb-or::before, .hb-or::after { content: ""; flex: 1; height: 1px; background: var(--hb-border); }
.hb-offline summary { cursor: pointer; font-weight: 600; color: var(--hb-ink); padding: 6px 0; }
.hb-bank { background: var(--hb-bg); border-radius: 10px; padding: 12px 14px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; white-space: normal; }
.hb-company-logo-row { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.hb-company-logo-row .hb-field { flex: 1; margin: 0; }
.hb-promoted { background: #fffbea; border: 1px solid #f4e3a1; border-radius: var(--hb-radius); padding: 12px; margin-bottom: 18px; }
.hb-promoted-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a6d00; margin: 0 0 10px 6px; }
@media (max-width: 960px) {
	.hb-checkout, .hb-pricing-faq { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.hb-pricing-head h2 { font-size: 26px; }
	.hb-td-actions { white-space: normal; }
}
/* Grid children must be allowed to shrink so the tab row scrolls instead of widening the page. */
.hb-dash > .hb-dash-nav, .hb-dash > .hb-dash-main { min-width: 0; }

/* Login: Job seeker / Employer switch */
.hb-login-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--hb-bg); border-radius: 999px; padding: 4px; margin: 0 0 22px; }
.hb-login-tabs a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 10px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--hb-muted); text-decoration: none; }
.hb-login-tabs a.is-active { background: #fff; color: var(--hb-ink); box-shadow: 0 1px 4px rgba(18,18,38,.12); }
.hb-pricing-login { font-size: 14px; margin: 0 0 8px; }

/* Privacy policy & terms */
.hb-legal { max-width: 780px; font-size: 16px; line-height: 1.7; color: var(--hb-text); }
.hb-legal h2 { font-size: 21px; margin: 32px 0 10px; color: var(--hb-ink); }
.hb-legal h3 { font-size: 17px; margin: 20px 0 6px; color: var(--hb-ink); }
.hb-legal ul { padding-left: 20px; }
.hb-legal li { margin: 6px 0; }
