:root {
    --bt-job-orange: #ff681f;
    --bt-job-ink: #121212;
    --bt-job-muted: #667085;
    --bt-job-line: #e8e8ec;
    --bt-job-soft: #f6f7f9;
    --bt-job-white: #ffffff;
}

.bt-jobs-owner-page,
.bt-job-form-page,
.bt-public-jobs-page,
.bt-job-detail-page {
    padding-bottom: 72px;
}

.bt-jobs-owner-hero,
.bt-job-form-hero,
.bt-jobs-public-hero,
.bt-job-detail-hero {
    width: min(1120px, calc(100% - 28px));
    margin: 22px auto;
    border: 1px solid var(--bt-job-line);
    border-radius: 30px;
    background: var(--bt-job-white);
    box-shadow: 0 22px 55px rgba(20, 20, 30, .08);
}

.bt-jobs-owner-hero,
.bt-job-form-hero,
.bt-job-detail-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px;
}

.bt-jobs-owner-hero h1,
.bt-job-form-hero h1,
.bt-jobs-public-hero h1,
.bt-job-detail-hero h1 {
    margin: 8px 0 8px;
    color: var(--bt-job-ink);
    line-height: 1.04;
    letter-spacing: -.035em;
}

.bt-jobs-owner-hero h1,
.bt-job-form-hero h1 { font-size: clamp(31px, 5vw, 54px); }
.bt-jobs-owner-hero p,
.bt-job-form-hero p,
.bt-jobs-public-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--bt-job-muted);
    line-height: 1.55;
    font-weight: 620;
}

.bt-jobs-primary-button,
.bt-job-form-actions button,
.bt-jobs-owner-empty a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 19px;
    border: 0;
    border-radius: 16px;
    background: var(--bt-job-orange);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(255, 104, 31, .22);
}

.bt-job-free-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #ecfdf3;
    color: #067647;
    font-weight: 900;
    white-space: nowrap;
}

.bt-jobs-success,
.bt-job-errors {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto 18px;
    border-radius: 18px;
    padding: 15px 18px;
}
.bt-jobs-success {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #abefc6;
    background: #ecfdf3;
    color: #067647;
    font-weight: 850;
}
.bt-job-errors {
    border: 1px solid #fecdca;
    background: #fef3f2;
    color: #b42318;
}
.bt-job-errors ul { margin: 8px 0 0 20px; padding: 0; }

.bt-jobs-owner-empty,
.bt-jobs-public-empty {
    width: min(760px, calc(100% - 28px));
    margin: 34px auto;
    padding: 48px 28px;
    border: 1px dashed #d0d5dd;
    border-radius: 28px;
    background: #fff;
    text-align: center;
}
.bt-jobs-owner-empty > span,
.bt-jobs-public-empty > span {
    display: inline-grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 22px;
    background: #fff2eb;
    color: var(--bt-job-orange);
    font-size: 27px;
}
.bt-jobs-owner-empty h2,
.bt-jobs-public-empty h2 { margin: 18px 0 8px; color: var(--bt-job-ink); }
.bt-jobs-owner-empty p,
.bt-jobs-public-empty p { margin: 0 auto 20px; max-width: 600px; color: var(--bt-job-muted); line-height: 1.55; }
.bt-jobs-public-empty a { color: var(--bt-job-orange); font-weight: 900; }

.bt-jobs-owner-list,
.bt-job-form-shell,
.bt-jobs-public-list,
.bt-job-detail-layout {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
}

.bt-jobs-owner-list { display: grid; gap: 16px; }
.bt-jobs-owner-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    padding: 22px;
    border: 1px solid var(--bt-job-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20, 20, 30, .05);
}
.bt-jobs-owner-card-topline {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: var(--bt-job-muted);
    font-weight: 750;
    font-size: 13px;
}
.bt-job-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}
.bt-job-status.is-active { color: #067647; background: #ecfdf3; }
.bt-job-status.is-paused { color: #b54708; background: #fffaeb; }
.bt-job-status.is-closed { color: #475467; background: #f2f4f7; }
.bt-jobs-owner-card h2 { margin: 13px 0 10px; color: var(--bt-job-ink); }
.bt-jobs-owner-card p { color: var(--bt-job-muted); line-height: 1.5; }
.bt-job-expiry { color: #7f56d9; font-weight: 750; }

.bt-job-chip-row,
.bt-job-detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bt-job-chip-row span,
.bt-job-detail-chips span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 31px;
    padding: 0 11px;
    border-radius: 9px;
    background: #f2f4f7;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.bt-jobs-owner-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-width: 135px;
}
.bt-jobs-owner-actions a,
.bt-jobs-owner-actions button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-height: 39px;
    padding: 0 12px;
    border: 1px solid var(--bt-job-line);
    border-radius: 11px;
    background: #fff;
    color: #344054;
    text-decoration: none;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.bt-jobs-owner-actions form { margin: 0; }
.bt-jobs-owner-actions .is-danger { color: #b42318; border-color: #fecdca; background: #fff7f6; }

.bt-job-form-shell { display: grid; gap: 18px; }
.bt-job-form-card {
    padding: 26px;
    border: 1px solid var(--bt-job-line);
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20, 20, 30, .045);
}
.bt-job-form-section-title {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}
.bt-job-form-section-title > span {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 14px;
    background: #fff2eb;
    color: var(--bt-job-orange);
}
.bt-job-form-section-title h2 { margin: 0 0 4px; color: var(--bt-job-ink); }
.bt-job-form-section-title p { margin: 0; color: var(--bt-job-muted); line-height: 1.45; }
.bt-job-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}
.bt-job-form-grid label { display: grid; gap: 8px; color: #344054; font-weight: 850; }
.bt-job-form-grid label.span-2 { grid-column: span 2; }
.bt-job-form-grid input,
.bt-job-form-grid select,
.bt-job-form-grid textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d0d5dd;
    border-radius: 13px;
    background: #fff;
    color: #101828;
    font: inherit;
    padding: 13px 14px;
    outline: none;
}
.bt-job-form-grid input:focus,
.bt-job-form-grid select:focus,
.bt-job-form-grid textarea:focus {
    border-color: var(--bt-job-orange);
    box-shadow: 0 0 0 4px rgba(255, 104, 31, .10);
}
.bt-job-form-grid textarea { resize: vertical; line-height: 1.55; }
.bt-job-form-grid small { color: var(--bt-job-muted); font-weight: 650; line-height: 1.4; }

.bt-job-checkbox-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.bt-job-checkbox-grid label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px;
    border: 1px solid var(--bt-job-line);
    border-radius: 15px;
    background: var(--bt-job-soft);
    cursor: pointer;
}
.bt-job-checkbox-grid input { margin-top: 3px; accent-color: var(--bt-job-orange); }
.bt-job-checkbox-grid strong,
.bt-job-checkbox-grid small { display: block; }
.bt-job-checkbox-grid strong { color: #1d2939; line-height: 1.35; }
.bt-job-checkbox-grid small { margin-top: 5px; color: var(--bt-job-muted); line-height: 1.4; }
.bt-job-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-bottom: 20px;
}
.bt-job-form-actions > a { color: #475467; font-weight: 850; text-decoration: none; padding: 14px; }

.bt-jobs-public-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 38px;
    background: linear-gradient(135deg, #151515, #2a201b);
    border-color: #252525;
}
.bt-jobs-public-hero > div > span { color: #ffb18a; font-weight: 900; }
.bt-jobs-public-hero h1 { color: #fff; font-size: clamp(38px, 7vw, 72px); }
.bt-jobs-public-hero p { color: rgba(255,255,255,.75); }
.bt-jobs-location-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 260px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 15px;
    background: rgba(255,255,255,.10);
    color: #fff;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}

.bt-jobs-search-panel,
.bt-jobs-results-head {
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto 18px;
}
.bt-jobs-search-panel {
    padding: 15px;
    border: 1px solid var(--bt-job-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(20,20,30,.05);
}
.bt-jobs-search-panel form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px auto;
    gap: 10px;
}
.bt-jobs-search-input {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d0d5dd;
    border-radius: 13px;
}
.bt-jobs-search-input i { color: #98a2b3; }
.bt-jobs-search-input input,
.bt-jobs-type-select select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #101828;
    font: inherit;
}
.bt-jobs-type-select { display: flex; align-items: center; border: 1px solid #d0d5dd; border-radius: 13px; padding: 0 12px; }
.bt-jobs-search-panel button {
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 13px;
    background: var(--bt-job-orange);
    color: #fff;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}
.bt-jobs-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.bt-jobs-results-head h2 { margin: 0 0 3px; color: var(--bt-job-ink); }
.bt-jobs-results-head p { margin: 0; color: var(--bt-job-muted); }
.bt-jobs-results-head > span { color: #475467; font-weight: 800; }

.bt-jobs-public-list { display: grid; gap: 14px; }
.bt-job-public-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--bt-job-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(20,20,30,.04);
    transition: transform .18s ease, box-shadow .18s ease;
}
.bt-job-public-card:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(20,20,30,.08); }
.bt-job-company-logo,
.bt-job-detail-logo {
    display: grid;
    place-items: center;
    overflow: hidden;
    width: 76px;
    height: 76px;
    border: 1px solid var(--bt-job-line);
    border-radius: 20px;
    background: #fff;
    color: var(--bt-job-orange);
    text-decoration: none;
    font-size: 28px;
    font-weight: 950;
}
.bt-job-company-logo img,
.bt-job-detail-logo img { width: 100%; height: 100%; object-fit: contain; }
.bt-job-company-line { display: flex; justify-content: space-between; gap: 12px; }
.bt-job-company-line a { color: var(--bt-job-orange); text-decoration: none; font-weight: 900; }
.bt-job-company-line span { color: #475467; font-weight: 800; }
.bt-job-title-link { color: inherit; text-decoration: none; }
.bt-job-title-link h2 { margin: 7px 0 10px; color: var(--bt-job-ink); font-size: clamp(21px, 4vw, 28px); }
.bt-job-public-card-content > p { margin: 12px 0; color: var(--bt-job-muted); line-height: 1.5; }
.bt-job-public-card-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; color: #475467; font-weight: 750; }
.bt-job-public-card-footer a { color: var(--bt-job-orange); text-decoration: none; font-weight: 900; }

.bt-job-detail-hero { align-items: flex-start; }
.bt-job-detail-company { display: flex; gap: 18px; align-items: center; }
.bt-job-detail-company > div > span { color: var(--bt-job-orange); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.bt-job-detail-company h1 { font-size: clamp(31px, 5vw, 55px); }
.bt-job-detail-company a { color: #475467; font-weight: 850; text-decoration: none; }
.bt-job-share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 15px;
    border: 1px solid var(--bt-job-line);
    border-radius: 13px;
    background: #fff;
    color: #344054;
    font: inherit;
    font-weight: 850;
    cursor: pointer;
}
.bt-job-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 22px; align-items: start; }
.bt-job-detail-main { display: grid; gap: 18px; }
.bt-job-detail-chips { padding: 20px; border: 1px solid var(--bt-job-line); border-radius: 22px; background: #fff; }
.bt-job-detail-section,
.bt-job-business-card,
.bt-job-apply-card {
    padding: 26px;
    border: 1px solid var(--bt-job-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20,20,30,.045);
}
.bt-job-detail-section h2,
.bt-job-business-card h2,
.bt-job-apply-card h2 { margin: 0 0 13px; color: var(--bt-job-ink); }
.bt-job-description { color: #344054; line-height: 1.72; white-space: normal; }
.bt-job-location-section { display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.bt-job-location-section p { margin: 0; color: #344054; font-weight: 800; }
.bt-job-location-section small { display: block; margin-top: 7px; color: var(--bt-job-muted); }
.bt-job-location-section > a { display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; color: var(--bt-job-orange); text-decoration: none; font-weight: 900; }
.bt-job-business-card { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 15px; align-items: center; }
.bt-job-detail-logo.is-small { width: 58px; height: 58px; border-radius: 16px; font-size: 22px; }
.bt-job-business-card span { color: var(--bt-job-muted); font-size: 12px; font-weight: 850; text-transform: uppercase; letter-spacing: .07em; }
.bt-job-business-card h2 { margin: 3px 0; }
.bt-job-business-card p { margin: 0; color: var(--bt-job-muted); }
.bt-job-business-card > a:last-child { color: var(--bt-job-orange); text-decoration: none; font-weight: 900; }

.bt-job-apply-card { position: sticky; top: 88px; }
.bt-job-apply-kicker { color: var(--bt-job-orange); font-weight: 900; }
.bt-job-apply-card > p { color: var(--bt-job-muted); line-height: 1.5; }
.bt-job-apply-actions { display: grid; gap: 10px; margin: 18px 0; }
.bt-job-apply-actions > a {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 62px;
    padding: 10px 15px;
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
}
.bt-job-apply-actions > a.is-email { background: var(--bt-job-orange); }
.bt-job-apply-actions > a.is-phone { background: #111; }
.bt-job-apply-actions > a > i { width: 25px; text-align: center; font-size: 20px; }
.bt-job-apply-actions strong,
.bt-job-apply-actions small { display: block; }
.bt-job-apply-actions small { margin-top: 3px; color: rgba(255,255,255,.76); font-weight: 650; }
.bt-job-public-contact { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--bt-job-line); word-break: break-word; }
.bt-job-public-contact span { color: var(--bt-job-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.bt-job-public-contact strong { color: #1d2939; }
.bt-job-resume-note { display: block; padding: 12px; border-radius: 12px; background: #fff7f1; color: #8a3b12; line-height: 1.4; font-weight: 750; }
.bt-job-closing-note { margin-top: 14px; color: #475467; font-size: 13px; line-height: 1.4; }

@media (max-width: 860px) {
    .bt-job-checkbox-grid { grid-template-columns: 1fr; }
    .bt-job-detail-layout { grid-template-columns: 1fr; }
    .bt-job-apply-card { position: static; }
    .bt-jobs-search-panel form { grid-template-columns: 1fr 180px; }
    .bt-jobs-search-panel button { grid-column: span 2; }
}

@media (max-width: 680px) {
    .bt-jobs-owner-hero,
    .bt-job-form-hero,
    .bt-job-detail-hero,
    .bt-jobs-public-hero {
        width: min(100% - 18px, 560px);
        margin: 12px auto 18px;
        padding: 22px;
        border-radius: 23px;
    }
    .bt-jobs-owner-hero,
    .bt-job-form-hero,
    .bt-job-detail-hero,
    .bt-jobs-public-hero { display: block; }
    .bt-jobs-primary-button,
    .bt-job-free-badge,
    .bt-job-share-button,
    .bt-jobs-location-button { margin-top: 18px; width: 100%; box-sizing: border-box; }
    .bt-jobs-owner-card { grid-template-columns: 1fr; padding: 18px; }
    .bt-jobs-owner-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bt-job-form-card { padding: 20px; }
    .bt-job-form-grid { grid-template-columns: 1fr; }
    .bt-job-form-grid label.span-2 { grid-column: span 1; }
    .bt-job-form-actions { position: sticky; bottom: 0; z-index: 4; padding: 12px; margin: 0 -5px; border-top: 1px solid var(--bt-job-line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
    .bt-job-form-actions button { flex: 1; }
    .bt-jobs-search-panel form { grid-template-columns: 1fr; }
    .bt-jobs-search-panel button { grid-column: auto; }
    .bt-jobs-results-head { align-items: flex-start; flex-direction: column; }
    .bt-job-public-card { grid-template-columns: 54px minmax(0, 1fr); gap: 13px; padding: 16px; }
    .bt-job-company-logo { width: 54px; height: 54px; border-radius: 15px; font-size: 20px; }
    .bt-job-public-card-footer { align-items: flex-start; flex-direction: column; }
    .bt-job-detail-company { align-items: flex-start; }
    .bt-job-detail-logo { width: 64px; height: 64px; flex: 0 0 64px; }
    .bt-job-location-section,
    .bt-job-business-card { display: flex; align-items: flex-start; flex-direction: column; }
    .bt-job-detail-section,
    .bt-job-business-card,
    .bt-job-apply-card { padding: 20px; }
}
