/* Final Superio-inspired theme layer. Kept separate so legacy feature styles
   remain intact while the visual language stays consistent across workspaces. */
:root {
    --bg: #f5f7fc;
    --panel: #fff;
    --panel-2: #f0f5f7;
    --text: #202124;
    --muted: #696969;
    --line: #ecedf2;
    --accent: #1967d2;
    --accent-dark: #155bb8;
    --primary-soft: #e8f0fb;
    --hero-bg: #edf3fb;
    --shadow: 0 7px 18px rgba(64, 79, 104, .05);
}

body, button, input, textarea, select {
    font-family: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.75; }
h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 500 !important; letter-spacing: 0; }
:focus-visible { outline: 3px solid rgba(25, 103, 210, .24) !important; outline-offset: 2px; }
.container { max-width: 1235px; }

.public-navbar {
    min-height: 90px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(236,237,242,.8);
    box-shadow: none;
}
.brand-mark { background: var(--accent); font-weight: 600; }
.brand-row strong, .candidate-paper-brand strong { font-weight: 500; }
.brand-row small { color: var(--muted); font-weight: 400; }

.btn, .primary-btn, .ghost-btn, .small-btn, .danger-btn, .icon-btn {
    min-height: 52px; padding: 14px 26px; border-radius: 8px; font-weight: 400;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.btn:hover, .primary-btn:hover, .small-btn:hover { transform: translateY(-1px); }
.btn-primary, .primary-btn { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn-primary:hover, .primary-btn:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
.btn-outline-secondary, .btn-outline-primary, .small-btn, .ghost-btn {
    border-color: transparent; background: var(--primary-soft); color: var(--accent);
}
.btn-outline-secondary:hover, .btn-outline-primary:hover, .small-btn:hover, .ghost-btn:hover {
    border-color: rgba(25,103,210,.14); background: #dce9fa; color: var(--accent-dark);
}

.job-home { background: #fff; }
.public-home-search {
    margin: 0; padding: 92px 0 76px; border: 0;
    background: linear-gradient(135deg, var(--hero-bg) 0%, #f7faff 100%);
}
.public-job-search-head { max-width: 720px; gap: 12px; }
.public-job-search-head span, .hero-kicker, .section-heading span {
    color: var(--accent); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.public-job-search-head h1 { max-width: 680px; font-size: clamp(40px,5vw,56px); line-height: 1.16; }
.public-job-search-head h1 em { color: var(--accent); font-style: normal; }
.public-job-search-head p { max-width: 580px; margin: 0; color: var(--muted); font-size: 16px; }
.job-search-card, .public-home-search .job-search-card {
    max-width: 1000px; margin-top: 34px; padding: 20px; border: 1px solid var(--line);
    border-radius: 10px; background: #fff; box-shadow: 0 16px 40px rgba(25,103,210,.08);
}
.job-search-card .input-group, .job-search-card .form-control, .job-search-card .input-group-text {
    min-height: 58px; background: #fff;
}
.job-search-card .input-group, .job-search-card > div:nth-child(3) .form-control {
    border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
}
.job-search-card .form-control, .job-search-card .input-group-text { border-color: transparent; box-shadow: none; }
.job-search-card .input-group-text { color: var(--accent); }
.job-search-card .btn { min-height: 58px; padding-inline: 18px; }
.search-button-label { display: none; }
.public-home-search .quick-tags::before { content: "Popular searches:"; align-self: center; color: #363636; font-size: 15px; font-weight: 500; }
.public-home-search .quick-tags a { padding: 5px 10px; border: 0; background: transparent; color: var(--muted); font-weight: 400; }
.public-home-search .quick-tags a:hover { background: var(--primary-soft); color: var(--accent); }

.home-content { padding-top: 86px; padding-bottom: 92px; }
.section-heading { align-items: center; margin-bottom: 48px; }
.section-heading h2 { margin-top: 6px; font-size: 30px; line-height: 1.2; }
.section-subtitle { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.public-home-job-results { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.public-home-job-results > .public-pagination, .public-home-job-results > .empty-state { grid-column: 1/-1; }

.public-job-card, .panel, .item-card, .metric, .auth-panel,
.candidate-job-card, .candidate-record-card, .candidate-hero-card, .profile-meta-card, .profile-score-card,
.kpi-card, .admin-metric-card, .employer-stat-card {
    border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: var(--shadow);
}
.public-job-card { min-height: 164px; padding: 28px 22px 22px 28px; transition: border-color 160ms, box-shadow 160ms, transform 160ms; }
.kpi-card { transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.public-job-card:hover, .item-card:hover, .kpi-card:hover, .candidate-job-card:hover {
    border-color: rgba(25,103,210,.28); box-shadow: 0 10px 24px rgba(64,79,104,.08); transform: translateY(-2px);
}
.kpi-card:hover {
    background: #f8fbff;
}
.public-job-card h3 { font-size: 18px; line-height: 1.45; }
.public-job-card p, .job-meta { color: var(--muted); font-weight: 400; }
.company-avatar { width: 52px; height: 52px; border-radius: 8px; background: var(--primary-soft); color: var(--accent); }
.tag, .status-pill, .badge { min-height: 26px; padding: 4px 16px; border-radius: 999px; font-size: 13px; font-weight: 400; }

input, textarea, select, .form-control, .form-select {
    border-color: #f0f5f7; border-radius: 8px; background: #f0f5f7; color: #363636; font-weight: 400;
}
input:not([type="checkbox"]):not([type="radio"]), select, .form-control, .form-select { min-height: 56px; }
input:focus, textarea:focus, select:focus, .form-control:focus, .form-select:focus {
    border-color: rgba(25,103,210,.55); background: #fff; box-shadow: 0 0 0 3px rgba(25,103,210,.14);
}

.home-hero, .login-shell, .register-shell, .auth-shell { background: var(--hero-bg); color: var(--text); }
.home-hero { padding: 96px 0; }
.hero-copy h1 { max-width: 650px; font-size: clamp(40px,5vw,56px); line-height: 1.16; }
.hero-copy p, .login-marketing-copy p, .login-benefit-item small { color: var(--muted); font-weight: 400; }
.hero-trust-row span { border-color: var(--line); background: #fff; color: var(--muted); font-weight: 400; box-shadow: var(--shadow); }
.candidate-login-card, .login-form-panel, .login-marketing-panel {
    border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); box-shadow: 0 16px 40px rgba(25,103,210,.08);
}
.login-page-grid { gap: 28px; }
.login-marketing-panel {
    justify-content: flex-start;
    gap: 34px;
    padding: 40px;
    background: linear-gradient(145deg,#fff 0%,#f5f9ff 100%);
}
.login-marketing-brand,
.login-marketing-copy,
.login-benefit-list,
.login-proof-strip {
    width: 100%;
    max-width: 680px;
}
.login-marketing-brand {
    margin: 0;
}
.login-marketing-copy {
    display: grid;
    gap: 14px;
}
.login-marketing-copy h1 {
    margin: 0;
    line-height: 1.08;
}
.login-marketing-copy p {
    max-width: 620px;
    margin: 0;
    line-height: 1.65;
}
.login-benefit-list {
    gap: 0;
}
.login-benefit-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 13px 0;
    border-top-color: var(--line);
}
.login-benefit-item:first-child {
    border-top: 0;
}
.login-benefit-item i {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    color: var(--accent);
}
.login-benefit-item span {
    display: grid;
    gap: 4px;
}
.login-benefit-item strong {
    margin: 0;
    line-height: 1.3;
}
.login-benefit-item small {
    line-height: 1.5;
}
.login-proof-strip {
    margin-top: auto;
    gap: 10px;
}
.login-proof-strip span {
    min-height: 42px;
    padding: 8px 12px;
    border-color: var(--line);
    background: #fff;
    box-shadow: 0 8px 20px rgba(25,103,210,.06);
}
.login-proof-strip strong {
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
}
.login-marketing-brand small, .login-proof-strip span, .login-role-option { color: var(--muted); }
.login-role-option.active, .login-role-option:hover { border-color: rgba(25,103,210,.25); background: var(--primary-soft); color: var(--accent); }

.portal-shell, .candidate-paper-shell, .recruiter-dashboard { background: var(--bg); }
.sectioned-sidebar { background: #fff; border-right: 1px solid var(--line); box-shadow: none; }
.sectioned-sidebar .nav-item { border-radius: 8px; color: var(--muted); font-weight: 400; }
.sectioned-sidebar .nav-item.active {
    border: 1px solid #b8d2ff;
    background: #dbeafe;
    color: #0f3fbd;
    font-weight: 780;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .08);
}
.sectioned-sidebar .nav-item.active::before {
    left: 0;
    top: 6px;
    bottom: 6px;
    width: 4px;
    border-radius: 0 999px 999px 0;
    background: #1d4ed8;
}
.sectioned-sidebar .nav-item.active svg { color: #0f3fbd; }
.candidate-paper-header { background: rgba(255,255,255,.97); border-bottom-color: var(--line); }
.candidate-top-nav-item.active, .candidate-top-nav-item:hover { background: var(--primary-soft); color: var(--accent); }
.public-footer { padding: 52px 0; border-top-color: var(--line); }

.employer-register-shell { min-height: 100vh; padding: 48px 20px 72px; background: var(--hero-bg); }
.employer-registration-card { width: min(100%, 1040px); margin: 0 auto; padding: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 16px 40px rgba(25,103,210,.08); }
.employer-registration-head { display: grid; gap: 10px; margin-bottom: 32px; }
.employer-registration-head .brand-row { margin-bottom: 22px; }
.employer-registration-head h1 { margin: 0; font-size: clamp(32px,4vw,44px); line-height: 1.2; }
.employer-registration-head p { max-width: 720px; margin: 0; color: var(--muted); }
.employer-registration-form { gap: 24px; }
.employer-registration-form fieldset { display: grid; gap: 16px; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fbfdff; }
.employer-registration-form legend { float: none; width: auto; margin: 0; padding: 0; color: var(--text); font-size: 20px; font-weight: 500; }
.employer-registration-form label { gap: 8px; color: #363636; font-size: 15px; font-weight: 500; }
.employer-registration-form textarea { min-height: 120px; }
.employer-registration-form > .primary-btn { justify-self: start; min-width: 250px; }
.employer-registration-form .form-required-guidance { display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid #cfe0fb; border-radius: 9px; background: #f3f7ff; color: #315b91; font-size: 14px; }
.employer-registration-form .form-required-guidance svg { width: 18px; height: 18px; flex: 0 0 auto; }
.employer-registration-form label > span:first-child { display: inline-flex; align-items: baseline; gap: 2px; }
.employer-registration-form .required-mark { margin: 0; color: #c5221f; font-weight: 800; }
.employer-address-dropdowns .address-select-field {
    gap: 6px;
}
.address-select-field input[type="search"] {
    min-height: 36px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.address-select-field select {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.address-select-field input[type="search"]:disabled,
.address-select-field select:disabled {
    cursor: not-allowed;
    opacity: .72;
}
.password-reveal-control { position: relative; display: block; }
.password-reveal-control input { width: 100%; padding-right: 48px; }
.password-reveal-button { position: absolute; top: 50%; right: 8px; display: grid; width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 7px; background: transparent; color: #667085; cursor: pointer; transform: translateY(-50%); }
.password-reveal-button:hover, .password-reveal-button:focus-visible, .password-reveal-button.is-revealing { background: #e8f0fe; color: var(--accent); outline: none; }
.password-reveal-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.password-reveal-button .password-eye-slash { opacity: 0; transition: opacity .16s ease; }
.password-reveal-button.is-revealing .password-eye-slash { opacity: 1; }
.password-reveal-button.is-blinking svg { animation: password-eye-blink .28s ease; }
.login-password-control { margin-top: 8px; }
@keyframes password-eye-blink { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.12); } }
@media (prefers-reduced-motion: reduce) { .password-reveal-button.is-blinking svg { animation: none; } }
.tenant-id-guidance { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; padding: 14px 16px; border: 1px solid #cfe0fb; border-radius: 10px; background: #f4f8ff; }
.tenant-id-guidance > svg { width: 19px; flex: 0 0 auto; color: var(--accent); }
.tenant-id-guidance div { display: grid; gap: 3px; }
.tenant-id-guidance strong { color: var(--text); font-size: 14px; }
.tenant-id-guidance span { color: var(--muted); font-size: 12px; line-height: 1.5; }
.admin-employer-list { display: grid; gap: 10px; }
.admin-employer-review-card { padding: 0; overflow: hidden; scroll-margin-top: 92px; }
.admin-employer-review-card > summary { list-style: none; }
.admin-employer-review-card > summary::-webkit-details-marker { display: none; }
.admin-employer-summary { display: grid; grid-template-columns: 62px minmax(280px,1fr) minmax(300px,auto) 36px; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; transition: background .16s ease; }
.admin-employer-summary:hover { background: #f8fbff; }
.admin-employer-summary:focus-visible { outline: 3px solid rgba(25,103,210,.2); outline-offset: -3px; }
.admin-employer-summary > .company-mark { width: 62px; height: 62px; justify-self: start; }
.admin-employer-identity { display: grid; gap: 3px; min-width: 0; }
.admin-employer-identity strong { color: var(--text); font-size: 18px; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-employer-identity small { color: var(--muted); font-size: 13px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-employer-summary-tags { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.employer-status-badge.account-active { background: #dcfce7; color: #166534; }
.employer-status-badge.account-pending { background: #fef3c7; color: #92400e; }
.employer-status-badge.account-suspended { background: #fee2e2; color: #991b1b; }
.employer-verification-badge.company-verified { background: #dbeafe; color: #1d4ed8; }
.employer-verification-badge.company-unverified { background: #fef3c7; color: #b45309; }
.staffing-suite-status.suite-active { background: #ccfbf1; color: #0f766e; }
.staffing-suite-status.suite-inactive { background: #fee2e2; color: #991b1b; }
.employer-scope-badge { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 750; white-space: nowrap; }
.employer-scope-badge svg { width: 14px; height: 14px; }
.employer-scope-badge .badge-help-icon { width: 13px; height: 13px; opacity: .72; }
.employer-scope-badge.tenant { background: #ede9fe; color: #5b21b6; }
.employer-scope-badge.platform { background: #f1f5f9; color: #475569; }
.admin-employer-expand { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; justify-self: end; border-radius: 8px; color: var(--accent); }
.admin-employer-expand svg { width: 20px; height: 20px; transition: transform .18s ease; }
.admin-employer-review-card[open] .admin-employer-expand svg { transform: rotate(180deg); }
.admin-employer-expanded { display: grid; gap: 20px; padding: 20px; border-top: 1px solid var(--line); background: #fbfdff; }
.admin-employer-review-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.admin-employer-review-head h4, .admin-employer-review-head p { margin: 0; }
.admin-company-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 28px; row-gap: 18px; }
.admin-company-details span { display: grid; gap: 5px; min-width: 0; padding: 0 0 12px; border: 0; border-bottom: 1px solid #e8edf4; border-radius: 0; background: transparent; }
.admin-company-details span.wide { grid-column: span 2; }
.admin-company-details small { color: #667085; font-size: 11px; font-weight: 750; line-height: 1.35; text-transform: uppercase; }
.admin-company-details strong { color: var(--text); font-size: 14px; font-weight: 750; line-height: 1.45; overflow-wrap: anywhere; }
.admin-company-details strong:empty::after { content: "Not provided"; color: #98a2b3; font-weight: 650; }
.apply-resume-modal .modal-content { border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px rgba(25,103,210,.12); }
.apply-resume-modal .modal-header, .apply-resume-modal .modal-body, .apply-resume-modal .modal-footer { padding: 22px 24px; border-color: var(--line); }
.apply-resume-modal .modal-header { align-items: flex-start; }
.apply-resume-modal .modal-header h2 { margin: 4px 0; font-size: 26px; }
.apply-resume-modal .modal-header p { margin: 0; color: var(--muted); font-size: 14px; }
.apply-job-summary { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 8px; background: var(--hero-bg); }
.apply-job-summary > svg { color: var(--accent); }
.apply-job-summary div { display: grid; }
.apply-job-summary span { color: var(--muted); font-size: 14px; }
.apply-resume-note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--accent); font-size: 14px; }
.apply-resume-note svg { width: 18px; height: 18px; }

.admin-user-card {
    display: grid;
    gap: 10px;
    padding: 18px;
}
.admin-user-card + .admin-user-card {
    margin-top: 12px;
}
.admin-user-card h4 {
    line-height: 1.25;
}
.admin-user-card p {
    line-height: 1.35;
}
.admin-user-card .tag-row {
    gap: 8px;
}
.admin-user-status-form {
    grid-template-columns: minmax(220px, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}
.admin-user-status-form label {
    gap: 0;
}
.admin-user-status-form select {
    height: 42px;
    min-height: 42px;
    padding: 0 38px 0 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 20px;
}
.admin-user-status-form .small-btn {
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 8px;
}

.staffing-list-page .panel { padding: 18px 20px; }
.staffing-list-page .panel-head { margin-bottom: 12px; }
.staffing-list-page .table-tools { align-items: end; gap: 10px; margin-bottom: 10px; }
.staffing-list-page .table-tools label { width: min(320px, 100%); gap: 6px; }
.staffing-list-page .table-tools input {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    font-size: 14px;
}
.staffing-list-page .table-export-actions .small-btn,
.staffing-list-page .table-wrap .small-btn {
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.2;
}
.staffing-list-page .table-wrap {
    height: auto;
    min-height: 0;
}
.staffing-list-page table {
    height: auto;
}
.staffing-list-page th,
.staffing-list-page td {
    padding: 10px 16px;
    line-height: 1.35;
}
.staffing-list-page th {
    height: 44px;
}
.staffing-list-page td {
    height: auto;
    min-height: 0;
}
.staffing-list-page td > strong {
    display: inline-block;
    margin-bottom: 2px;
    line-height: 1.25;
}
.staffing-list-page .muted {
    line-height: 1.35;
}
.staffing-list-page .status-pill,
.staffing-list-page .status,
.staffing-list-page .badge {
    min-height: 24px;
    padding: 4px 12px;
    line-height: 1.2;
    white-space: nowrap;
}
.staffing-list-page .compact-actions {
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    gap: 8px;
}
.staffing-list-page .compact-actions .small-btn {
    white-space: nowrap;
}

@media (max-width: 991px) {
    .public-home-search { padding: 68px 0 58px; }
    .public-home-job-results { grid-template-columns: 1fr; }
    .home-content { padding-top: 64px; padding-bottom: 72px; }
    .login-marketing-panel { padding: 30px; }
}
@media (max-width: 767px) {
    .public-navbar { min-height: 70px; }
    .public-home-search { padding: 48px 0; }
    .public-job-search-head h1 { font-size: 36px; line-height: 1.22; }
    .job-search-card, .public-home-search .job-search-card { padding: 18px; }
    .job-search-card .btn { width: 100%; gap: 8px; }
    .search-button-label { display: inline; }
    .section-heading { align-items: flex-start; margin-bottom: 30px; }
    .public-job-card { min-height: 0; padding: 22px; }
    .home-content { padding-top: 52px; padding-bottom: 56px; }
    .home-hero { padding: 56px 0; }
    .login-marketing-panel { gap: 24px; padding: 22px 18px; }
    .login-benefit-item { grid-template-columns: 24px minmax(0,1fr); gap: 12px; }
    .login-proof-strip span { flex: 1 1 150px; }
    .employer-register-shell { padding: 20px 12px 40px; }
    .employer-registration-card { padding: 22px 16px; }
    .employer-registration-form fieldset { padding: 18px 14px; }
    .employer-registration-form .two-col, .admin-company-details { grid-template-columns: 1fr; }
    .employer-registration-form > .primary-btn { width: 100%; min-width: 0; }
    .admin-employer-review-head { flex-direction: column; }
    .admin-employer-summary { grid-template-columns: 46px minmax(0,1fr) auto; padding: 14px; }
    .admin-employer-summary > .company-mark { width: 46px; height: 46px; font-size: 18px; }
    .admin-employer-summary-tags { grid-column: 1 / -1; justify-content: flex-start; }
    .admin-employer-expanded { padding: 14px; }
    .admin-company-details span.wide { grid-column: auto; }
}

/* Candidate login polish */
.auth-public-header {
    position: sticky;
    top: 0;
    z-index: 60;
    min-height: 70px;
    border-bottom: 1px solid #eef1f7;
    background: #fff;
    box-shadow: 0 1px 0 rgba(17, 24, 39, .02);
}

.auth-public-header-inner {
    width: min(100% - 48px, 1100px);
    min-height: 70px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 32px;
    margin: 0 auto;
}

.auth-public-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    color: #2557f6;
}

.auth-public-brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 65% 25%, #fff 0 8%, transparent 9%),
        linear-gradient(145deg, #2f6df6 0%, #184ce8 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.auth-public-brand-text {
    color: #2557f6;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.auth-public-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    min-width: 0;
}

.auth-public-nav a,
.auth-header-employer {
    color: #17213b;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.auth-public-nav a:hover,
.auth-public-nav a.active,
.auth-header-employer:hover,
.auth-header-employer.active {
    color: #2557f6;
}

.auth-public-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: max-content;
}

.auth-header-login,
.auth-header-register {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.auth-header-login {
    border: 1px solid #2f63f4;
    background: #fff;
    color: #2454e8;
}

.auth-header-login:hover,
.auth-header-login.active {
    background: #f4f7ff;
    color: #1d4ed8;
}

.auth-header-register {
    border: 1px solid #ff5a3f;
    background: #ff5a3f;
    color: #fff;
}

.auth-header-register:hover,
.auth-header-register.active {
    border-color: #ec472d;
    background: #ec472d;
    color: #fff;
}

.auth-header-login:hover,
.auth-header-register:hover {
    transform: translateY(-1px);
}

.auth-header-employer {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding-left: 12px;
}

.auth-header-employer svg {
    width: 14px;
    height: 14px;
}

.auth-public-footer {
    border-top: 1px solid #e8edf5;
    background:
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.auth-public-footer-inner {
    width: min(100% - 48px, 1100px);
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(0, 1.35fr);
    gap: 48px;
    margin: 0 auto;
    padding: 38px 0 30px;
}

.auth-footer-brand {
    display: grid;
    align-content: start;
    gap: 14px;
}

.auth-footer-brand .auth-public-brand {
    width: fit-content;
}

.auth-footer-brand .auth-public-brand-mark {
    width: 36px;
    height: 36px;
    font-size: 12px;
}

.auth-footer-brand .auth-public-brand-text {
    font-size: 26px;
}

.auth-footer-brand p {
    max-width: 360px;
    margin: 0;
    color: #657286;
    font-size: 14px;
    line-height: 1.65;
}

.auth-footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.auth-footer-links div {
    display: grid;
    align-content: start;
    gap: 9px;
}

.auth-footer-links strong {
    margin-bottom: 3px;
    color: #17213b;
    font-size: 14px;
    font-weight: 700;
}

.auth-footer-links a {
    width: fit-content;
    color: #647085;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.auth-footer-links a:hover {
    color: #2557f6;
}

.auth-public-footer-bottom {
    width: min(100% - 48px, 1100px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 auto;
    padding: 16px 0 22px;
    border-top: 1px solid #edf1f7;
    color: #7a8799;
    font-size: 13px;
    font-weight: 500;
}

.public-site-footer {
    margin-top: 28px;
}

.public-page-toast {
    width: min(100% - 48px, 1100px);
    margin: 18px auto 0;
}

.employer-public-home {
    background: #fff;
}

.employer-public-home .employer-hire-hero {
    padding: clamp(56px, 7vw, 92px) 0;
    background:
        radial-gradient(circle at 16% 18%, rgba(25,103,210,.12), transparent 32%),
        linear-gradient(135deg, #edf4fd 0%, #f8fbff 58%, #eff8f5 100%);
}

.employer-public-home .candidate-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 430px);
    gap: clamp(34px, 5vw, 72px);
    align-items: center;
}

.employer-public-home .hero-copy {
    min-width: 0;
}

.employer-public-home .hero-copy h1 {
    max-width: 720px;
    color: #202124;
    font-size: clamp(42px, 4.4vw, 60px);
    line-height: 1.12;
    font-weight: 600 !important;
}

.employer-public-home .hero-copy p {
    max-width: 650px;
    color: #526175;
    font-size: 17px;
}

.employer-public-home .hero-trust-row span {
    border-color: #e3ebf6;
    background: #fff;
    color: #526175;
    box-shadow: none;
}

.employer-public-home .hero-trust-row svg {
    color: var(--accent);
}

.employer-public-home .candidate-login-card {
    width: min(100%, 430px);
    justify-self: end;
    padding: 30px;
    border-color: #e2eaf5;
    border-radius: 8px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 22px 60px rgba(33,56,99,.12);
}

.employer-public-home .candidate-login-head h2 {
    color: #202124;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 600 !important;
}

.employer-public-home .candidate-login-head p {
    color: #596678;
    font-size: 15px;
}

.employer-public-home .candidate-hero-login label {
    color: #4f5f73;
    font-weight: 600;
}

.employer-public-home .candidate-hero-login input {
    min-height: 56px;
    border-color: #dfe7f1;
    background: #f7fafc;
}

.employer-public-home .candidate-hero-login input:hover,
.employer-public-home .candidate-hero-login input:focus {
    background: #fff;
}

.employer-public-home .candidate-hero-login .primary-btn {
    min-height: 58px;
    border-radius: 8px;
    font-weight: 600;
}

.employer-public-home .resume-upload-cta {
    border-color: #d9e7f8;
    background: #f7fbff;
}

.employer-public-home .resume-upload-cta .small-btn {
    width: 100%;
    min-height: 48px;
}

.login-shell {
    min-height: calc(100vh - 70px);
    padding: clamp(24px, 4vw, 48px);
    background:
        radial-gradient(circle at 16% 14%, rgba(25,103,210,.11), transparent 30%),
        radial-gradient(circle at 88% 82%, rgba(20,125,90,.10), transparent 30%),
        linear-gradient(135deg, #edf4fd 0%, #f8fbff 52%, #eff8f5 100%);
}

.login-page-grid {
    width: min(1180px, calc(100% - 28px));
    grid-template-columns: minmax(0, 1.04fr) minmax(460px, .8fr);
    gap: 30px;
    align-items: center;
}

.login-marketing-panel,
.login-form-panel {
    border-color: #e2eaf5;
    border-radius: 8px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 22px 60px rgba(33,56,99,.12);
}

.login-marketing-panel {
    min-height: 640px;
    padding: 34px 36px 30px;
    gap: 30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.98) 0%, rgba(247,251,255,.96) 58%, rgba(239,248,245,.96) 100%);
}

.login-marketing-brand {
    align-items: center;
}

.login-marketing-brand .brand-mark {
    width: 44px;
    height: 44px;
}

.login-marketing-copy {
    max-width: 590px;
}

.login-marketing-copy .hero-kicker {
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
}

.login-marketing-copy h1 {
    margin: 14px 0 14px;
    max-width: 620px;
    font-size: clamp(40px, 4.5vw, 52px);
    line-height: 1.08;
    font-weight: 600 !important;
}

.login-marketing-copy p {
    max-width: 570px;
    color: #526175;
    font-size: 17px;
    line-height: 1.7;
}

.login-benefit-list {
    gap: 12px;
}

.login-benefit-item {
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #edf2f8;
    border-radius: 8px;
    background: #fff;
}

.login-benefit-item i {
    width: 34px;
    height: 34px;
    padding: 8px;
    border-radius: 8px;
    background: #eef5ff;
    color: var(--accent);
}

.login-benefit-item strong {
    margin-bottom: 3px;
    color: #202124;
    font-size: 15px;
    font-weight: 600;
}

.login-benefit-item small {
    color: #647085;
    font-size: 14px;
    line-height: 1.45;
}

.login-proof-strip {
    gap: 10px;
}

.login-proof-strip span {
    min-height: 48px;
    border-color: #e3ebf6;
    background: #fff;
    color: #526175;
    box-shadow: none;
}

.login-proof-strip strong {
    color: var(--accent);
    font-size: 17px;
    font-weight: 600;
}

.login-form-panel {
    width: min(100%, 490px);
    justify-self: end;
    padding: 38px 30px 30px;
}

.login-form-panel .eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

.login-form-panel h2 {
    margin: 10px 0 8px;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 600 !important;
}

.login-form-panel p {
    color: #596678;
    font-size: 15px;
    line-height: 1.55;
}

.login-form {
    gap: 14px;
    margin-top: 26px;
}

.login-form label {
    gap: 9px;
    color: #4f5f73;
    font-size: 12px;
    font-weight: 600;
}

.login-form input {
    min-height: 56px;
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    background: #f7fafc;
    color: #202124;
    font-weight: 500;
    padding: 13px 15px;
}

.login-form input:hover {
    border-color: #cbd8e8;
    background: #fff;
}

.login-form input:focus {
    border-color: rgba(25,103,210,.62);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(25,103,210,.14);
}

.login-password-control {
    margin-top: 9px;
}

.login-password-help {
    margin-top: -3px;
}

.login-password-help a {
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

.login-form .primary-btn {
    min-height: 58px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(25,103,210,.18);
}

.social-login-panel {
    gap: 12px;
    margin-top: 16px;
}

.login-form-panel:not(.register-form-panel) .social-login-panel {
    margin-top: 18px;
    padding-top: 2px;
}

.social-login-divider {
    gap: 12px;
    color: #718096;
    font-size: 11px;
    font-weight: 600;
}

.social-login-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.login-form-panel:not(.register-form-panel) .social-login-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.social-login-btn {
    min-height: 52px;
    justify-content: flex-start;
    gap: 9px;
    padding: 8px 12px;
    border-color: #dde6f1;
    box-shadow: none;
}

.social-login-btn > svg {
    display: none;
}

.social-login-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    font-weight: 600;
}

.social-login-label {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

.login-form-panel:not(.register-form-panel) .social-login-label {
    font-size: 12px;
}

.social-login-btn.unavailable {
    opacity: .78;
    filter: none;
}

.registration-otp-panel {
    width: min(100%, 520px);
    justify-self: center;
}

.registration-otp-panel .registration-status-alert {
    margin: 2px 0 4px;
}

.registration-status-alert.success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.registration-status-alert.success strong {
    color: #166534;
}

.registration-otp-dev-code {
    display: grid;
    gap: 5px;
    padding: 16px;
    border: 1px dashed #9bbcf7;
    border-radius: 8px;
    background: #f5f9ff;
    color: #315b91;
}

.registration-otp-dev-code span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.registration-otp-dev-code strong {
    color: #174ea6;
    font-size: 30px;
    line-height: 1;
    letter-spacing: .18em;
}

.registration-otp-dev-code small {
    color: #526175;
}

.registration-otp-form input[name="code"] {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .2em;
    text-align: center;
}

.registration-otp-resend {
    margin-top: 10px;
}

.registration-otp-resend .small-btn {
    width: 100%;
    min-height: 46px;
}

.login-form-actions {
    gap: 14px;
    margin-top: 14px;
    justify-content: flex-end;
}

.login-form-actions .small-btn {
    min-height: 48px;
    padding: 11px 18px;
    border-color: #d9e7f8;
    background: #eef5ff;
    color: var(--accent-dark);
    font-weight: 500;
}

@media (max-width: 1100px) {
    .auth-public-header-inner {
        width: min(100% - 32px, 900px);
        gap: 24px;
    }

    .auth-public-nav {
        gap: 22px;
    }

    .auth-public-brand-text {
        font-size: 26px;
    }

    .auth-public-footer-inner {
        width: min(100% - 32px, 900px);
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .auth-public-footer-bottom {
        width: min(100% - 32px, 900px);
    }

    .employer-public-home .candidate-hero-grid {
        width: min(760px, calc(100% - 32px));
        grid-template-columns: 1fr;
        margin: 0 auto;
    }

    .employer-public-home .hero-copy h1 {
        max-width: 720px;
    }

    .employer-public-home .candidate-login-card {
        width: 100%;
        justify-self: stretch;
    }

    .login-page-grid {
        width: min(720px, 100%);
        grid-template-columns: 1fr;
    }

    .login-marketing-panel {
        min-height: auto;
    }

    .login-form-panel {
        width: 100%;
        justify-self: stretch;
    }
}

@media (max-width: 767px) {
    .auth-public-header {
        position: static;
        min-height: 0;
    }

    .auth-public-header-inner {
        width: 100%;
        min-height: 0;
        grid-template-columns: 1fr auto;
        gap: 12px;
        padding: 12px 14px;
    }

    .auth-public-brand-mark {
        width: 34px;
        height: 34px;
        font-size: 11px;
    }

    .auth-public-brand-text {
        font-size: 22px;
    }

    .auth-public-nav {
        grid-column: 1 / -1;
        order: 3;
        justify-content: flex-start;
        gap: 18px;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .auth-public-nav a,
    .auth-header-employer {
        font-size: 14px;
    }

    .auth-public-actions {
        gap: 7px;
    }

    .auth-header-login,
    .auth-header-register {
        min-height: 34px;
        padding: 8px 13px;
        border-radius: 7px;
        font-size: 13px;
    }

    .auth-header-employer {
        display: none;
    }

    .auth-public-footer-inner {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 14px 22px;
    }

    .auth-footer-links {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .auth-public-footer-bottom {
        width: calc(100% - 28px);
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        padding: 14px 0 20px;
    }

    .public-page-toast {
        width: calc(100% - 28px);
    }

    .employer-public-home .employer-hire-hero {
        padding: 34px 0;
    }

    .employer-public-home .candidate-hero-grid {
        width: 100%;
        gap: 18px;
        padding: 0 14px;
    }

    .employer-public-home .hero-copy h1 {
        font-size: 36px;
    }

    .employer-public-home .hero-copy p {
        font-size: 15px;
    }

    .employer-public-home .candidate-login-card {
        padding: 22px 18px;
    }

    .login-shell {
        min-height: auto;
        padding: 14px;
    }

    .login-page-grid {
        width: 100%;
        gap: 14px;
    }

    .login-marketing-panel {
        padding: 24px 18px;
        gap: 22px;
    }

    .login-marketing-copy h1 {
        font-size: 36px;
    }

    .login-marketing-copy p {
        font-size: 15px;
    }

    .login-benefit-item {
        align-items: flex-start;
        padding: 13px;
    }

    .login-form-panel {
        padding: 26px 18px 20px;
    }

    .social-login-grid {
        grid-template-columns: 1fr;
    }

    .login-form-panel:not(.register-form-panel) .social-login-grid {
        grid-template-columns: 1fr;
    }

    .login-form-actions {
        flex-direction: column;
    }

    .login-form-actions .small-btn {
        width: 100%;
    }
}

/* Bootstrap-standard compact sizing pass.
   Anchored to Bootstrap's 1rem base, .375rem control padding, and 1rem spacer scale. */
:root {
    --app-font-size-base: 1rem;
    --app-font-size-sm: .875rem;
    --app-font-size-xs: .75rem;
    --app-line-height-base: 1.5;
    --app-spacer: 1rem;
    --app-spacer-1: .25rem;
    --app-spacer-2: .5rem;
    --app-spacer-3: 1rem;
    --app-spacer-4: 1.5rem;
    --app-control-padding-y: .375rem;
    --app-control-padding-x: .75rem;
    --app-control-height: calc(1.5em + .75rem + 2px);
    --app-control-height-sm: calc(1.5em + .5rem + 2px);
    --app-radius: .375rem;
    --app-radius-sm: .25rem;
    --app-radius-lg: .5rem;
    --shadow: 0 .125rem .5rem rgba(33, 56, 99, .06);
    --bs-body-font-size: var(--app-font-size-base);
    --bs-body-line-height: var(--app-line-height-base);
    --bs-border-radius: var(--app-radius);
    --bs-border-radius-sm: var(--app-radius-sm);
    --bs-border-radius-lg: var(--app-radius-lg);
}

body {
    font-size: var(--app-font-size-base);
    line-height: var(--app-line-height-base);
}

body,
body * {
    letter-spacing: 0;
}

h1,
.h1 {
    font-size: 2rem;
}

h2,
.h2 {
    font-size: 1.5rem;
}

h3,
.h3 {
    font-size: 1.25rem;
}

h4,
.h4 {
    font-size: 1.125rem;
}

h5,
.h5 {
    font-size: 1rem;
}

h6,
.h6 {
    font-size: var(--app-font-size-sm);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: var(--app-spacer-2);
}

p {
    margin-bottom: var(--app-spacer-3);
}

.container {
    max-width: 1140px;
}

.btn,
.primary-btn,
.ghost-btn,
.small-btn,
.danger-btn,
.auth-header-login,
.auth-header-register,
.social-login-btn,
.sidebar-toggle,
.candidate-top-nav-item,
.login-role-option,
.candidate-profile-trigger,
.candidate-logout-action,
.candidate-notification-action {
    min-height: var(--app-control-height);
    padding: var(--app-control-padding-y) var(--app-control-padding-x);
    border-radius: var(--app-radius);
    font-size: .9375rem;
    font-weight: 500;
    line-height: var(--app-line-height-base);
}

.small-btn,
.btn-sm {
    min-height: var(--app-control-height-sm);
    padding: .25rem .5rem;
    font-size: var(--app-font-size-sm);
}

.icon-btn,
.candidate-logout-action,
.candidate-notification-action,
.password-reveal-button {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: .5rem;
    border-radius: var(--app-radius);
}

.btn svg,
.primary-btn svg,
.ghost-btn svg,
.small-btn svg,
.danger-btn svg,
.icon-btn svg {
    width: 1rem;
    height: 1rem;
}

.organization-form-actions .primary-btn,
.organization-form-actions .small-btn,
.organization-form-actions .ghost-btn {
    min-height: 2.25rem;
    min-width: 0;
    padding: .4375rem .75rem;
    border-radius: var(--app-radius);
    font-size: var(--app-font-size-sm);
    line-height: 1.2;
}

input,
select,
textarea,
.form-control,
.form-select {
    border-radius: var(--app-radius);
    font-size: var(--app-font-size-base);
    line-height: var(--app-line-height-base);
}

input:not([type="checkbox"]):not([type="radio"]),
select,
.form-control,
.form-select {
    min-height: var(--app-control-height);
    padding: var(--app-control-padding-y) var(--app-control-padding-x);
}

.organization-billing-section input:not([type="checkbox"]):not([type="radio"]),
.organization-billing-section select,
.organization-billing-section .master-data-search,
.organization-billing-section .vacancy-limit-control {
    min-height: 2.375rem;
}

.organization-billing-section input:not([type="checkbox"]):not([type="radio"]),
.organization-billing-section select,
.organization-billing-section .master-data-search {
    padding-top: .4375rem;
    padding-bottom: .4375rem;
}

textarea,
textarea.form-control {
    min-height: 6rem;
}

label,
.form-label,
.employer-registration-form label,
.candidate-hero-login label,
.login-form label {
    gap: .375rem;
    font-size: var(--app-font-size-sm);
    font-weight: 500;
}

.candidate-hero-login .login-remember-row,
.login-form .login-remember-row {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: -2px;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
}

.candidate-hero-login .login-remember-row input,
.login-form .login-remember-row input {
    width: 16px;
    height: 16px;
    min-height: 16px;
    margin: 0;
}

.form-grid,
.two-col,
.login-form,
.register-form,
.employer-registration-form,
.candidate-hero-login,
.candidate-hero-search {
    gap: var(--app-spacer-3);
}

.panel,
.item-card,
.metric,
.auth-panel,
.candidate-job-card,
.candidate-record-card,
.candidate-hero-card,
.profile-meta-card,
.profile-score-card,
.kpi-card,
.admin-metric-card,
.employer-stat-card,
.public-job-card,
.candidate-login-card,
.login-form-panel,
.login-marketing-panel,
.employer-registration-card,
.chart-card,
.subscription-coming-soon {
    border-radius: var(--app-radius-lg);
    box-shadow: var(--shadow);
}

.panel,
.item-card,
.auth-panel,
.metric,
.kpi-card,
.admin-metric-card,
.employer-stat-card,
.chart-card {
    padding: var(--app-spacer-3);
}

.panel-head {
    gap: .75rem;
    margin-bottom: .75rem;
}

.panel-head h3,
.panel-head h4 {
    font-size: 1.125rem;
    line-height: 1.25;
    font-weight: 500;
}

.panel-head p,
.muted,
.section-subtitle,
.helper-text,
.form-text {
    font-size: var(--app-font-size-sm);
    line-height: 1.5;
}

.tag,
.status-pill,
.badge,
.status-tag,
.employer-scope-badge {
    min-height: 1.5rem;
    padding: .25rem .5rem;
    border-radius: 50rem;
    font-size: var(--app-font-size-xs);
    font-weight: 500;
}

.brand-mark,
.auth-public-brand-mark {
    width: 2rem;
    height: 2rem;
    border-radius: var(--app-radius);
    font-size: var(--app-font-size-xs);
}

.auth-public-header,
.public-navbar {
    min-height: 4rem;
}

.auth-public-header-inner {
    min-height: 4rem;
    gap: var(--app-spacer-4);
}

.auth-public-brand-text {
    font-size: 1.5rem;
}

.auth-public-nav {
    gap: var(--app-spacer-4);
}

.auth-public-nav a,
.auth-header-employer {
    font-size: .9375rem;
}

.auth-public-actions {
    gap: var(--app-spacer-2);
}

.auth-public-footer {
    padding: 2rem 0 1.25rem;
}

.auth-public-footer-inner {
    gap: var(--app-spacer-4);
    padding-bottom: 1.25rem;
}

.auth-public-footer-brand p,
.auth-public-footer-links a,
.auth-public-footer-bottom {
    font-size: var(--app-font-size-sm);
}

.home-hero,
.public-home-search,
.employer-public-home .employer-hire-hero {
    padding: 3rem 0;
}

.home-content {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.hero-copy h1,
.public-job-search-head h1,
.employer-public-home .hero-copy h1,
.employer-registration-head h1,
.login-marketing-copy h1 {
    font-size: 2.25rem;
    line-height: 1.2;
}

.hero-copy p,
.public-job-search-head p,
.employer-public-home .hero-copy p,
.login-marketing-copy p {
    font-size: 1rem;
    line-height: 1.5;
}

.hero-kicker,
.section-heading span,
.public-job-search-head span,
.login-form-panel .eyebrow {
    font-size: var(--app-font-size-xs);
    font-weight: 600;
}

.hero-trust-row {
    gap: var(--app-spacer-2);
    margin-top: var(--app-spacer-3);
}

.hero-trust-row span {
    gap: .375rem;
    padding: .375rem .625rem;
    font-size: var(--app-font-size-sm);
}

.job-search-card,
.public-home-search .job-search-card {
    margin-top: 1.25rem;
    padding: var(--app-spacer-3);
    border-radius: var(--app-radius-lg);
}

.job-search-card .input-group,
.job-search-card .form-control,
.job-search-card .input-group-text,
.job-search-card .btn {
    min-height: var(--app-control-height);
}

.job-search-card .btn {
    padding-inline: var(--app-control-padding-x);
}

.section-heading {
    margin-bottom: var(--app-spacer-4);
}

.section-heading h2 {
    margin-top: .25rem;
    font-size: 1.5rem;
}

.public-home-job-results,
.workspace-grid,
.module-grid,
.settings-grid,
.candidate-paper-content,
.candidate-paper-shell .candidate-workspace-page,
.candidate-paper-shell .candidate-list,
.candidate-paper-shell .candidate-job-grid,
.login-page-grid,
.employer-public-home .candidate-hero-grid {
    gap: var(--app-spacer-3);
}

.public-job-card {
    min-height: auto;
    padding: var(--app-spacer-3);
}

.public-job-card h3 {
    font-size: 1.125rem;
}

.company-avatar {
    width: 2.5rem;
    height: 2.5rem;
}

.login-shell {
    min-height: calc(100vh - 4rem);
    padding: var(--app-spacer-4);
}

.login-marketing-panel {
    min-height: auto;
    padding: var(--app-spacer-4);
    gap: var(--app-spacer-4);
}

.login-benefit-list,
.login-proof-strip {
    gap: .75rem;
}

.login-benefit-item,
.login-proof-strip span {
    padding: .75rem;
}

.login-benefit-item strong {
    font-size: .9375rem;
}

.login-form-panel {
    width: min(100%, 440px);
    padding: var(--app-spacer-4);
}

.login-form-panel h2 {
    margin: .375rem 0 .25rem;
    font-size: 1.5rem;
}

.login-form-panel p {
    font-size: var(--app-font-size-sm);
}

.login-form {
    margin-top: var(--app-spacer-3);
}

.login-form-actions .small-btn {
    min-height: var(--app-control-height-sm);
    padding: .25rem .5rem;
    font-size: var(--app-font-size-sm);
}

.login-form input {
    min-height: var(--app-control-height);
    padding: var(--app-control-padding-y) var(--app-control-padding-x);
}

.login-form .primary-btn,
.candidate-hero-login .primary-btn {
    min-height: var(--app-control-height);
}

.social-login-panel {
    gap: .75rem;
}

.social-login-grid {
    gap: .5rem;
}

.social-login-btn {
    min-height: var(--app-control-height);
    padding: .375rem .625rem;
}

.social-login-mark {
    width: 1.75rem;
    height: 1.75rem;
}

.employer-register-shell {
    padding: var(--app-spacer-4) var(--app-spacer-3) 2rem;
}

.employer-registration-card {
    max-width: 960px;
    padding: var(--app-spacer-4);
}

.employer-registration-head {
    gap: .5rem;
    margin-bottom: var(--app-spacer-4);
}

.employer-registration-head .brand-row {
    margin-bottom: .75rem;
}

.employer-registration-form fieldset {
    gap: var(--app-spacer-3);
    padding: var(--app-spacer-3);
    border-radius: var(--app-radius-lg);
}

.employer-registration-form legend {
    font-size: 1.125rem;
}

.employer-registration-form .form-required-guidance,
.tenant-id-guidance,
.registration-status-alert {
    gap: .5rem;
    padding: .75rem;
    border-radius: var(--app-radius);
    font-size: var(--app-font-size-sm);
}

.employer-registration-form > .primary-btn {
    min-width: 12rem;
}

.portal-shell {
    grid-template-columns: 240px minmax(0, 1fr);
}

.portal-shell.sidebar-collapsed {
    grid-template-columns: 72px minmax(0, 1fr);
}

.sidebar {
    padding: var(--app-spacer-3);
}

.sidebar-head {
    gap: .75rem;
    padding-bottom: var(--app-spacer-3);
}

.sidebar .brand-row.compact {
    padding: .5rem;
}

.nav-list,
.sectioned-sidebar .nav-section-items {
    gap: .375rem;
}

.nav-section + .nav-section {
    margin-top: 1.375rem;
    padding-top: .875rem;
    border-top: 1px solid #e6edf7;
}

.nav-section-label {
    margin-bottom: .5rem;
    color: #475569;
    font-size: .75rem;
    font-weight: 900;
    line-height: 1.35;
}

.nav-item,
.sectioned-sidebar .nav-item,
.sectioned-sidebar .sidebar-signout {
    min-height: 2.25rem;
    gap: .5rem;
    padding: .5rem .625rem;
    border-radius: var(--app-radius);
    font-size: var(--app-font-size-sm);
    font-weight: 500;
}

.nav-item svg {
    width: 1rem;
    height: 1rem;
}

.workspace {
    padding: var(--app-spacer-3);
}

.topbar {
    gap: var(--app-spacer-3);
    margin-bottom: var(--app-spacer-3);
}

.topbar h2,
.candidate-paper-title h1 {
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 500;
}

.topbar p,
.candidate-paper-title p {
    font-size: var(--app-font-size-xs);
    font-weight: 600;
}

.topbar-actions {
    gap: .5rem;
}

.candidate-paper-header-inner {
    min-height: 4rem;
}

.candidate-top-nav {
    gap: .375rem;
}

.candidate-paper-main {
    gap: var(--app-spacer-3);
    padding: var(--app-spacer-3) 0 2rem;
}

.candidate-paper-title {
    gap: .25rem;
    padding-bottom: 0;
}

.candidate-section-hero,
.candidate-paper-shell .candidate-section-hero,
.employer-overview-hero,
.employer-section-hero {
    padding: var(--app-spacer-3);
}

.candidate-paper-shell .candidate-section-hero h3,
.employer-section-hero h3,
.recruiter-dashboard h3 {
    font-size: 1.375rem;
}

.admin-employer-summary {
    grid-template-columns: 3.875rem minmax(240px, 1fr) minmax(220px, auto) 2.25rem;
    gap: 1rem;
    padding: 1rem 1.125rem;
}

.admin-employer-expanded,
.apply-resume-modal .modal-header,
.apply-resume-modal .modal-body,
.apply-resume-modal .modal-footer {
    padding: var(--app-spacer-3);
}

.table > :not(caption) > * > * {
    padding: .625rem .75rem;
}

.modal-content {
    border-radius: var(--app-radius-lg);
}

.modal-header,
.modal-body,
.modal-footer {
    padding: var(--app-spacer-3);
}

.registration-otp-dev-code strong,
.dashboard-completion-head strong,
.recruiter-activity-grid strong,
.metric strong,
.kpi-card strong {
    font-size: 1.5rem;
}

.registration-otp-form input[name="code"] {
    font-size: 1.125rem;
    letter-spacing: 0;
}

@media (max-width: 1100px) {
    .auth-public-header-inner {
        gap: var(--app-spacer-3);
    }

    .auth-public-nav {
        gap: var(--app-spacer-3);
    }
}

@media (max-width: 767px) {
    h1,
    .h1,
    .hero-copy h1,
    .public-job-search-head h1,
    .employer-public-home .hero-copy h1,
    .employer-registration-head h1,
    .login-marketing-copy h1 {
        font-size: 1.75rem;
    }

    h2,
    .h2,
    .topbar h2,
    .candidate-paper-title h1,
    .login-form-panel h2 {
        font-size: 1.375rem;
    }

    .auth-public-header-inner {
        min-height: 3.75rem;
        gap: .75rem;
    }

    .auth-public-brand-text {
        font-size: 1.25rem;
    }

    .auth-public-nav {
        gap: .75rem;
    }

    .auth-header-login,
    .auth-header-register {
        min-height: 2rem;
        padding: .25rem .5rem;
        font-size: var(--app-font-size-xs);
    }

    .home-hero,
    .public-home-search,
    .employer-public-home .employer-hire-hero {
        padding: 2rem 0;
    }

    .home-content {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .login-shell,
    .employer-register-shell {
        padding: .75rem;
    }

    .login-marketing-panel,
    .login-form-panel,
    .employer-registration-card,
    .panel,
    .item-card,
    .auth-panel,
    .public-job-card,
    .candidate-login-card {
        padding: var(--app-spacer-3);
    }

    .employer-registration-form fieldset {
        padding: .75rem;
    }

    .workspace {
        padding: .75rem;
    }

    .candidate-paper-main {
        padding: .75rem 0 1.5rem;
    }
}
