.hiring-summary-row {
    margin-top: 10px;
}

.hiring-stat-card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: inherit;
    display: block;
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-height: 110px;
}

.hiring-stat-card:hover,
.hiring-stat-card:focus {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    text-decoration: none;
    transform: translateY(-2px);
}

.hiring-stat-value {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: #111827;
}

.hiring-stat-label {
    display: block;
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.code-block {
    font-family: Consolas, monospace;
    min-height: 120px;
}

.hiring-section-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.hiring-builder-table td,
.hiring-builder-table th {
    vertical-align: middle !important;
}

.hiring-applications-table {
    table-layout: fixed;
    width: 100%;
}

.hiring-applications-table td {
    vertical-align: middle;
    white-space: normal !important;
    word-wrap: break-word;
}

.hiring-applications-table td .btn-icon {
    margin-bottom: 4px;
}

.hiring-cell-truncate {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap !important;
}



.hiring-public-page {
    background: linear-gradient(180deg, #f3f0e8 0%, #fcfbf7 100%);
    color: #1f2a24;
    font-family: Georgia, 'Times New Roman', serif;
    margin: 0;
}

.hiring-public-shell {
    margin: 0 auto;
    max-width: 1100px;
    padding: 48px 20px 64px;
}

.hiring-public-shell--single {
    max-width: 1200px;
}

.hiring-public-hero {
    margin-bottom: 32px;
}

.hiring-public-eyebrow {
    color: #7a5f2f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.hiring-public-hero h1,
.hiring-job-header h1 {
    font-size: 48px;
    line-height: 1.05;
    margin: 0 0 12px;
}

.hiring-public-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hiring-job-card,
.hiring-sidebar-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(122, 95, 47, 0.18);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(47, 39, 21, 0.08);
}

.hiring-job-card {
    color: inherit;
    display: block;
    min-height: 240px;
    padding: 24px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hiring-job-card:hover {
    box-shadow: 0 22px 44px rgba(47, 39, 21, 0.14);
    transform: translateY(-3px);
}

.hiring-job-card__meta {
    color: #6d6b63;
    display: flex;
    font-size: 13px;
    gap: 14px;
    margin-bottom: 16px;
}

.hiring-job-card__cta {
    color: #7a5f2f;
    display: inline-block;
    font-weight: 700;
    margin-top: 18px;
}

.hiring-empty-state {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    padding: 32px;
}

.hiring-back-link {
    color: #7a5f2f;
    display: inline-block;
    margin-bottom: 22px;
    text-decoration: none;
}

.hiring-job-header {
    align-items: flex-start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 28px;
}

.hiring-job-meta {
    color: #6d6b63;
    margin: 0;
}

.hiring-public-content-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.hiring-public-content,
.hiring-public-sidebar {
    display: grid;
    gap: 20px;
}

.hiring-public-content h2,
.hiring-sidebar-card h3 {
    margin-bottom: 8px;
    margin-top: 0;
}

.hiring-sidebar-card {
    padding: 20px;
}

.hiring-form-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(122, 95, 47, 0.18);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(47, 39, 21, 0.1);
    padding: 28px;
}

.hiring-form-card h1 {
    font-size: 36px;
    margin-top: 0;
}

.hiring-form-alert {
    background: #fde8dc;
    border: 1px solid #e49d73;
    border-radius: 10px;
    color: #8a3f19;
    margin-bottom: 16px;
    padding: 12px 14px;
}

.hiring-form-fields-grid {
    display: grid;
    gap: 14px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hiring-form-group {
    margin-bottom: 16px;
}

.hiring-form-group label,
.hiring-question-card h4 {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
}

.hiring-form-card input,
.hiring-form-card textarea,
.hiring-form-card select {
    border: 1px solid #d7cdb7;
    border-radius: 10px;
    box-sizing: border-box;
    font: inherit;
    padding: 10px 12px;
    width: 100%;
}

.hiring-primary-btn {
    background: #1f6f5f;
    border: none;
    border-radius: 10px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: 12px 18px;
}

.hiring-question-group {
    margin-bottom: 18px;
}

.hiring-question-card {
    background: #f8f5ed;
    border: 1px solid #dfd5c2;
    border-radius: 12px;
    margin-top: 12px;
    padding: 14px;
}

.hiring-radio-option {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    margin: 8px 0;
}

.hiring-radio-option input[type="radio"] {
    margin-top: 3px;
    width: auto;
}

.hiring-radio-option label {
    margin: 0;
}

@media (max-width: 768px) {
    .hiring-public-hero h1,
    .hiring-job-header h1 {
        font-size: 34px;
    }

    .hiring-job-header,
    .hiring-public-content-grid {
        grid-template-columns: 1fr;
    }

    .hiring-job-header {
        flex-direction: column;
    }

    .hiring-form-fields-grid {
        grid-template-columns: 1fr;
    }
}

.hiring-primary-btn:disabled,
button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.hiring-form-card :focus-visible,
.hiring-public-page a:focus-visible,
.hiring-public-page button:focus-visible {
    outline: 3px solid rgba(31, 111, 95, 0.35);
    outline-offset: 2px;
}

/* Careers and applicant-facing brand layer. Colours are supplied from Hiring
   Settings and the company logo/name come from Perfex General Settings. */
.hiring-public-page {
    --hiring-brand: #03a9f4;
    --hiring-brand-accent: #0288d1;
    background: #f6f8fb;
    color: #172033;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}
.hiring-public-page *,.hiring-public-page *:before,.hiring-public-page *:after { box-sizing:border-box; }
.hiring-careers-nav { background:#fff; border-bottom:1px solid #e4e7ec; position:sticky; top:0; z-index:30; }
.hiring-careers-nav__inner { align-items:center; display:flex; justify-content:space-between; margin:auto; max-width:1200px; padding:14px 22px; }
.hiring-careers-brand { align-items:center; color:#172033; display:flex; font-size:17px; font-weight:800; gap:11px; text-decoration:none; }
.hiring-careers-brand img { height:42px; max-width:170px; object-fit:contain; }
.hiring-brand-mark { align-items:center; background:var(--hiring-brand); border-radius:10px; color:#fff; display:flex; height:42px; justify-content:center; width:42px; }
.hiring-careers-brand small { color:#667085; font-size:12px; font-weight:600; margin-left:4px; }
.hiring-careers-nav nav { align-items:center; display:flex; gap:8px; }
.hiring-careers-nav nav a { border-radius:8px; color:#344054; font-size:14px; font-weight:650; padding:9px 12px; text-decoration:none; }
.hiring-careers-nav nav .hiring-nav-portal { border:1px solid var(--hiring-brand); color:var(--hiring-brand-accent); }
.hiring-public-shell { max-width:1160px; padding-top:52px; }
.hiring-public-hero { background:linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--hiring-brand) 8%, white) 100%); border:1px solid #e4e7ec; border-radius:24px; padding:48px; }
.hiring-public-eyebrow { color:var(--hiring-brand-accent); }
.hiring-public-hero h1,.hiring-job-header h1 { font-size:clamp(34px,5vw,56px); letter-spacing:-.035em; }
.hiring-public-hero>p:not(.hiring-public-eyebrow) { color:#475467; font-size:18px; max-width:680px; }
.hiring-job-search { margin-top:28px; max-width:680px; }
.hiring-job-search label { display:block; font-size:13px; font-weight:700; margin-bottom:7px; }
.hiring-job-search input { background:#fff; border:1px solid #d0d5dd; border-radius:11px; font:inherit; padding:13px 15px; width:100%; }
.hiring-public-grid { margin-top:24px; }
.hiring-job-card,.hiring-sidebar-card { background:#fff; border:1px solid #e4e7ec; border-radius:16px; box-shadow:0 8px 28px rgba(16,24,40,.055); }
.hiring-job-card { display:flex; flex-direction:column; min-height:270px; padding:25px; }
.hiring-job-card[hidden] { display:none; }
.hiring-job-card h2 { font-size:22px; line-height:1.3; margin:0 0 10px; }
.hiring-job-card h2 a { color:#172033; text-decoration:none; }
.hiring-job-card p { color:#667085; }
.hiring-job-card__meta { flex-wrap:wrap; min-height:24px; }
.hiring-job-card__meta span { background:#f2f4f7; border-radius:999px; color:#475467; padding:4px 9px; }
.hiring-job-card__cta { color:var(--hiring-brand-accent); margin-top:auto; text-decoration:none; }
.hiring-job-salary { color:#344054!important; font-weight:700; }
.hiring-job-header { background:#fff; border:1px solid #e4e7ec; border-radius:20px; padding:32px; }
.hiring-job-facts { color:#667085; display:flex; flex-wrap:wrap; gap:9px; }
.hiring-job-facts span { background:#f2f4f7; border-radius:999px; padding:6px 10px; }
.hiring-primary-btn { background:var(--hiring-brand); box-shadow:0 5px 13px color-mix(in srgb, var(--hiring-brand) 22%, transparent); font:inherit; }
.hiring-primary-btn:hover { background:var(--hiring-brand-accent); }
.hiring-primary-btn--link { align-items:center; display:inline-flex; justify-content:center; text-decoration:none; }
.hiring-full-button { width:100%; }
.hiring-back-link { color:var(--hiring-brand-accent); font-weight:650; }
.hiring-content-section { background:#fff; border:1px solid #e4e7ec; border-radius:16px; padding:25px; }
.hiring-content-section h2 { font-size:22px; }
.hiring-content-section p { color:#475467; margin-bottom:0; white-space:normal; }
.hiring-sidebar-card { padding:23px; }
.hiring-sidebar-card p,.hiring-sidebar-card li { color:#475467; }
.hiring-process-list { counter-reset:stage; list-style:none; padding:0; }
.hiring-process-list li { border-left:2px solid color-mix(in srgb, var(--hiring-brand) 35%, #e4e7ec); padding:0 0 18px 28px; position:relative; }
.hiring-process-list li:before { align-items:center; background:var(--hiring-brand); border-radius:50%; color:#fff; content:counter(stage); counter-increment:stage; display:flex; font-size:11px; height:22px; justify-content:center; left:-12px; position:absolute; top:0; width:22px; }
.hiring-application-layout { align-items:start; display:grid; gap:28px; grid-template-columns:minmax(260px,.75fr) minmax(0,1.4fr); }
.hiring-application-summary { position:sticky; top:96px; }
.hiring-application-summary h1 { font-size:36px; line-height:1.2; }
.hiring-application-process { border-top:1px solid #e4e7ec; margin-top:25px; padding-top:20px; }
.hiring-application-process h2 { font-size:18px; }
.hiring-privacy-note { color:#667085; font-size:13px; margin-top:25px; }
.hiring-form-card { border-color:#e4e7ec; box-shadow:0 12px 32px rgba(16,24,40,.07); }
.hiring-form-card h2 { font-size:26px; margin-top:0; }
.hiring-form-card input,.hiring-form-card textarea,.hiring-form-card select { border-color:#d0d5dd; font-family:inherit; padding:12px; }
.hiring-form-card input:focus,.hiring-form-card textarea:focus,.hiring-form-card select:focus,.hiring-job-search input:focus { border-color:var(--hiring-brand); box-shadow:0 0 0 3px color-mix(in srgb, var(--hiring-brand) 16%, transparent); outline:0; }
.hiring-form-group--wide { grid-column:1/-1; }
.hiring-form-group small { color:#667085; display:block; margin-top:5px; }
.hiring-form-alert--info { background:#eff8ff; border-color:#b2ddff; color:#175cd3; }
.hiring-success-card { margin:auto; max-width:760px; text-align:center; }
.hiring-success-icon { align-items:center; background:#dcfae6; border-radius:50%; color:#067647; display:flex; font-size:28px; height:60px; justify-content:center; margin:0 auto 20px; width:60px; }
.hiring-confirmation-details { display:grid; gap:12px; grid-template-columns:1fr 1fr; margin:25px 0; text-align:left; }
.hiring-confirmation-details div { background:#f9fafb; border-radius:10px; padding:13px; }
.hiring-confirmation-details dt { color:#667085; font-size:12px; font-weight:700; text-transform:uppercase; }
.hiring-confirmation-details dd { margin:4px 0 0; overflow-wrap:anywhere; }
.hiring-success-actions { align-items:center; display:flex; gap:18px; justify-content:center; margin-top:24px; }
.hiring-careers-footer { color:#667085; font-size:13px; padding:22px; text-align:center; }

@media (max-width: 768px) {
    .hiring-careers-nav__inner { align-items:flex-start; flex-direction:column; gap:10px; }
    .hiring-careers-nav nav { overflow-x:auto; width:100%; }
    .hiring-public-shell { padding:28px 14px 45px; }
    .hiring-public-hero { padding:28px 22px; }
    .hiring-application-layout { grid-template-columns:1fr; }
    .hiring-application-summary { position:static; }
    .hiring-job-header { padding:23px; }
    .hiring-confirmation-details { grid-template-columns:1fr; }
    .hiring-success-actions { align-items:stretch; flex-direction:column; }
}

/* Scoped admin refinements: the class is only applied on Hiring routes. */
.hiring-admin-page .panel_s { border-radius:12px; overflow:hidden; }
.hiring-admin-page .panel_s > .panel-body { padding:24px; }
.hiring-admin-page .hr-panel-heading { margin:18px -24px 20px; }
.hiring-admin-page .form-control { border-color:#d0d5dd; border-radius:7px; min-height:36px; }
.hiring-admin-page textarea.form-control { min-height:90px; }
.hiring-admin-page .form-control:focus { border-color:#03a9f4; box-shadow:0 0 0 2px rgba(3,169,244,.12); }
.hiring-admin-page .table-responsive { border:1px solid #e4e7ec; border-radius:9px; margin-top:14px; }
.hiring-admin-page .table-responsive > .table { margin-bottom:0; }
.hiring-admin-page .table > thead > tr > th { background:#f8fafc; border-bottom:1px solid #d0d5dd; color:#344054; font-size:12px; letter-spacing:.025em; text-transform:uppercase; }
.hiring-admin-page .table > tbody > tr:hover { background:#f8fbfd; }
.hiring-admin-page .btn { border-radius:7px; }
.hiring-admin-page .panel-heading { background:#f8fafc; border-color:#e4e7ec; }
.hiring-admin-page .help-block,.hiring-admin-page .text-muted { line-height:1.45; }
@media(max-width:767px){.hiring-admin-page .panel_s>.panel-body{padding:16px}.hiring-admin-page .hr-panel-heading{margin-left:-16px;margin-right:-16px}.hiring-admin-page .table-responsive{border-left:0;border-right:0;border-radius:0}}
