/* Shared front-end design rhythm: calm spacing, restrained type and consistent surfaces. */
:root {
    --ui-ink: #27332f;
    --ui-body: #4f5d58;
    --ui-muted: #74817c;
    --ui-green: #009b6b;
    --ui-green-dark: #087653;
    --ui-green-soft: #edf8f4;
    --ui-line: #e1e9e5;
    --ui-canvas: #f7faf8;
    --ui-radius: 12px;
    --ui-shadow: 0 6px 22px rgba(27, 66, 52, .055);
}

/* Canonical page grid. Bootstrap's responsive container widths are intentionally
   replaced here so every normal front-end page shares the same alignment. */
body .container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 20px;
    box-sizing: border-box;
}

/* Header/topbar content participates in the same grid; the legacy percentage
   gutters in style.css are neutralized by this design-layer rule. */
body .topbar {
    padding-inline: 0;
}

body header.header-area .menu-area.container {
    padding-inline: 20px;
}

/* The recruiter shell already supplies the section background; its extra
   horizontal padding should not become a second page gutter. */
body .rescuiters-section .rescuiters-section-wrap {
    padding-right: 0;
    padding-left: 0;
}

@media (max-width: 767px) {
    body .featured-section,
    body .rescuiters-section {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body .container,
    body header.header-area .menu-area.container {
        padding-inline: 16px;
    }
}

/* Company job preview follows the same information hierarchy as the public
   announcement.  Applicant management remains a separate tab so both views
   never render at the same time. */
.company-job-detaiils-page .tab-content > .tab-pane { display: none; }
.company-job-detaiils-page .tab-content > .tab-pane.show.active { display: block; }
.company-job-preview {
    --preview-ink: #18332a;
    --preview-muted: #6f8179;
    --preview-line: #dceae4;
    --preview-green: #009b6b;
    --preview-soft: #edf8f3;
    color: var(--preview-ink);
    display: grid;
    gap: 22px;
    margin-top: 8px;
}
.company-job-preview__hero,
.company-job-preview__body,
.company-job-preview__summary,
.company-job-preview__company-card {
    border: 1px solid var(--preview-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(22, 73, 55, .05);
    overflow: hidden;
}
.company-job-preview__cover { height: 172px; background: #e8f5ef; }
.company-job-preview__cover img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.company-job-preview__brand { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid #edf3f0; }
.company-job-preview__logo { width: 70px; height: 70px; flex: 0 0 70px; border: 1px solid var(--preview-line); border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.company-job-preview__logo img { width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.company-job-preview__brand-copy { min-width: 0; }
.company-job-preview__company-type { display: block; color: var(--preview-muted); font-size: 12px; margin-bottom: 3px; }
.company-job-preview__brand-copy h2 { margin: 0; color: var(--preview-ink); font-size: 19px; font-weight: 800; line-height: 1.35; }
.company-job-preview__brand-copy p { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; color: var(--preview-muted); font-size: 13px; }
.company-job-preview__brand-copy p i { color: var(--preview-green); }
.company-job-preview__public-link { margin-left: auto; flex: 0 0 auto; border: 1px solid #bfe3d3; border-radius: 9px; padding: 9px 12px; color: var(--preview-green); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.company-job-preview__public-link:hover { color: #007d56; background: var(--preview-soft); }
.company-job-preview__title { padding: 20px 22px 10px; }
.company-job-preview__badges { display: flex; flex-wrap: wrap; gap: 7px; }
.company-job-preview__badge { display: inline-flex; align-items: center; min-height: 26px; border-radius: 999px; padding: 4px 10px; background: var(--preview-green); color: #fff; font-size: 12px; font-weight: 700; }
.company-job-preview__badge--soft { background: var(--preview-soft); color: #087653; }
.company-job-preview__title h1 { margin: 8px 0 4px; color: var(--preview-ink); font-size: clamp(22px, 2.5vw, 30px); font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.company-job-preview__title p { margin: 0; color: var(--preview-muted); font-size: 14px; }
.company-job-preview__title p strong { color: var(--preview-ink); }
.company-job-preview__meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 22px 20px; border-top: 1px solid #edf3f0; }
.company-job-preview__meta span { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #cfe0da; border-radius: 999px; padding: 7px 11px; color: #3d5f53; font-size: 13px; }
.company-job-preview__meta i { color: var(--preview-green); }
.company-job-preview__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.company-job-preview__body { padding: 0 22px; }
.company-job-preview__section { padding: 22px 0; border-bottom: 1px dashed #c9ddd4; }
.company-job-preview__section:last-child { border-bottom: 0; }
.company-job-preview__section h3 { position: relative; margin: 0 0 13px; padding-left: 11px; color: var(--preview-ink); font-size: 18px; font-weight: 800; }
.company-job-preview__section h3::before { content: ''; position: absolute; left: 0; top: 2px; width: 4px; height: calc(100% - 4px); border-radius: 2px; background: var(--preview-green); }
.company-job-preview__rich { color: #40534b; font-size: 14px; line-height: 1.85; overflow-wrap: anywhere; }
.company-job-preview__rich p { margin: 0 0 8px; }
.company-job-preview__rich ul, .company-job-preview__rich ol { margin: 0 0 8px; padding-left: 20px; }
.company-job-preview__empty { margin: 0; color: var(--preview-muted); font-size: 14px; }
.company-job-preview__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.company-job-preview__facts > div { min-width: 0; padding: 11px 12px; border: 1px solid #e2eee9; border-radius: 10px; background: #fbfefd; }
.company-job-preview__facts span { display: block; margin-bottom: 3px; color: #82948d; font-size: 12px; }
.company-job-preview__facts strong { display: block; color: var(--preview-ink); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.company-job-preview__chips, .company-job-preview__application { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.company-job-preview__chips span, .company-job-preview__application span { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #cfe7dc; border-radius: 999px; padding: 6px 10px; color: #235044; background: #f3fcf8; font-size: 12px; overflow-wrap: anywhere; }
.company-job-preview__application i { color: var(--preview-green); }
.company-job-preview__sidebar { display: grid; gap: 16px; }
.company-job-preview__summary, .company-job-preview__company-card { padding: 20px; }
.company-job-preview__summary h3, .company-job-preview__company-card h3 { margin: 0 0 12px; color: var(--preview-ink); font-size: 17px; font-weight: 800; }
.company-job-preview__summary dl { margin: 0; }
.company-job-preview__summary dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #dfe9e5; font-size: 13px; }
.company-job-preview__summary dl > div:last-child { border-bottom: 0; }
.company-job-preview__summary dt { color: var(--preview-muted); }
.company-job-preview__summary dd { margin: 0; color: var(--preview-ink); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.company-job-preview__company-card { background: #f8fcfa; }
.company-job-preview__company-card p { margin: 0 0 8px; color: var(--preview-ink); font-size: 14px; font-weight: 700; }
.company-job-preview__company-description { color: var(--preview-muted); font-size: 13px; line-height: 1.7; max-height: 110px; overflow: hidden; }
.company-job-preview__company-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; color: var(--preview-green); font-size: 13px; font-weight: 700; text-decoration: none; }
.company-job-preview__company-card a:hover { color: #007d56; }

@media (max-width: 991px) {
    .company-job-preview__grid { grid-template-columns: 1fr; }
    .company-job-preview__sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
    .company-job-preview { gap: 14px; margin-top: 4px; }
    .company-job-preview__hero, .company-job-preview__body, .company-job-preview__summary, .company-job-preview__company-card { border-radius: 12px; }
    .company-job-preview__cover { height: 120px; }
    .company-job-preview__brand { align-items: flex-start; flex-wrap: wrap; padding: 15px; }
    .company-job-preview__logo { width: 58px; height: 58px; flex-basis: 58px; }
    .company-job-preview__brand-copy h2 { font-size: 16px; }
    .company-job-preview__public-link { margin-left: 0; }
    .company-job-preview__title { padding: 17px 15px 9px; }
    .company-job-preview__title h1 { font-size: 22px; }
    .company-job-preview__meta { padding: 12px 15px 15px; }
    .company-job-preview__meta span { font-size: 12px; padding: 6px 9px; }
    .company-job-preview__body { padding: 0 15px; }
    .company-job-preview__section { padding: 18px 0; }
    .company-job-preview__section h3 { font-size: 17px; }
    .company-job-preview__facts { grid-template-columns: 1fr; }
    .company-job-preview__sidebar { grid-template-columns: 1fr; }
    .company-job-preview__summary, .company-job-preview__company-card { padding: 16px; }
}

/* Canonical search primitives. Existing search pages retain their page grid
   while these classes provide the shared semantic surface and focus state. */
.ui-search-panel {
    border: 1px solid var(--ui-line, #dce9e3);
    border-radius: var(--ui-radius-lg, 18px);
    background: var(--ui-surface-muted, #f5faf7);
    box-shadow: var(--ui-shadow-sm, 0 8px 22px rgba(16, 65, 47, .06));
}

.ui-filter-field { position: relative; min-width: 0; }

.ui-filter-field:focus-within {
    z-index: 2;
}

.ui-filter-field__icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    color: var(--primary-color2, #059669);
}

html,
body {
    background: #fff;
    color: var(--ui-body);
    font-family: "IBM Plex Sans Thai", sans-serif;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

body p {
    color: var(--ui-body);
    font-size: 16px;
    line-height: 1.75;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    color: var(--ui-ink);
    letter-spacing: -.01em;
}

body h1 {
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 700;
    line-height: 1.2;
}

body h2 {
    font-size: clamp(26px, 2.8vw, 36px);
    font-weight: 650;
    line-height: 1.25;
}

body h3 {
    font-size: clamp(22px, 2.35vw, 30px);
    font-weight: 600;
    line-height: 1.3;
}

body h4 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

/* Keep the large utility spacers in a readable rhythm on every front-end page. */
body .pt-120 { padding-top: 72px !important; }
body .pb-120 { padding-bottom: 72px !important; }
body .mt-120 { margin-top: 72px !important; }
body .mb-120 { margin-bottom: 72px !important; }
body .pt-100 { padding-top: 64px !important; }
body .pb-100 { padding-bottom: 64px !important; }
body .mt-100 { margin-top: 64px !important; }
body .mb-100 { margin-bottom: 64px !important; }
body .mb-90 { margin-bottom: 56px !important; }
body .mb-80 { margin-bottom: 48px !important; }
body .mb-70 { margin-bottom: 44px !important; }
body .mb-60 { margin-bottom: 36px !important; }
body .mb-50 { margin-bottom: 32px !important; }
body .mb-40 { margin-bottom: 28px !important; }
body .mb-35 { margin-bottom: 24px !important; }
body .mb-30 { margin-bottom: 22px !important; }
body .mb-25 { margin-bottom: 20px !important; }

body .section-title {
    margin-bottom: 24px;
}

body .section-title h3,
body .section-title h4,
body .selected-category-jobs-column h3,
body .dashboard-area .section-title h5 {
    color: var(--ui-ink);
    font-weight: 600;
    line-height: 1.3;
}

body .section-title h3,
body .selected-category-jobs-column h3 {
    font-size: 30px;
}

body .latest-jobs-heading h3 {
    color: var(--ui-ink);
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
}

body .section-title h4 {
    font-size: 23px;
}

body .dashboard-area .section-title h5 {
    font-size: 22px;
}

body .form-inner label {
    color: var(--ui-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 7px;
}

body .form-inner input:not([type="checkbox"]):not([type="radio"]),
body .form-inner select,
body .form-inner textarea,
body .form-wrapper form .form-inner .input-area {
    background: #fff;
    border: 1px solid #d7e3de;
    border-radius: 9px;
    color: var(--ui-ink);
    font-size: 15px;
    min-height: 46px;
}

body .form-inner input:not([type="checkbox"]):not([type="radio"]),
body .form-inner select,
body .form-inner textarea {
    padding: 11px 14px;
}

body .form-inner textarea {
    line-height: 1.65;
}

body .form-inner input:focus,
body .form-inner select:focus,
body .form-inner textarea:focus,
body .form-wrapper form .form-inner .input-area:focus-within {
    border-color: var(--ui-green);
    box-shadow: 0 0 0 3px rgba(0, 155, 107, .1);
    outline: 0;
}

body .card {
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-radius);
    box-shadow: var(--ui-shadow);
}

body .card-header {
    background: #fff;
    border-bottom: 1px solid var(--ui-line);
    color: var(--ui-ink);
    font-weight: 600;
    padding: 14px 18px;
}

body .card-body {
    padding: 20px;
}

body .primary-btn-1,
body .primary-btn-2,
body .primary-btn-3,
body .primary-btn-4 {
    border-radius: 8px;
    font-size: 15px;
}

body .primary-btn-1,
body .primary-btn-2 {
    min-height: 44px;
    padding: 10px 18px;
}

body .table {
    color: var(--ui-body);
    font-size: 14px;
}

body .table thead th {
    background: #f1f6f3;
    border-bottom: 1px solid #d7e4de;
    color: var(--ui-ink);
    font-weight: 600;
    padding: 12px 14px;
    white-space: nowrap;
}

body .table tbody td {
    border-color: #e8efec;
    padding: 12px 14px;
    vertical-align: middle;
}

body .banner-wrapper .banner-content h1 {
    color: #fff;
    font-size: clamp(34px, 3.6vw, 46px);
    font-weight: 600;
    line-height: 1.18;
}

body .banner-wrapper .banner-content p {
    font-size: 17px;
    line-height: 1.65;
}

/* Company job details: keep the dashboard compact and easy to scan. */
.company-job-detaiils-page {
    background: #fff;
    padding-top: 40px !important;
    margin-bottom: 56px !important;
}

.company-job-detaiils-page .job-details-and-counter-area {
    background: #fff;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    box-shadow: var(--ui-shadow);
    padding: 28px 30px !important;
    margin-bottom: 32px !important;
}

.company-job-detaiils-page .job-title-and-action-btn-area {
    align-items: flex-start !important;
    margin-bottom: 24px !important;
}

.company-job-detaiils-page .job-title-area h3 {
    color: var(--ui-ink) !important;
    font-size: clamp(24px, 2.2vw, 32px) !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
}

.company-job-detaiils-page .job-title-area ul {
    gap: 24px !important;
}

.company-job-detaiils-page .job-title-area ul li,
.company-job-detaiils-page .job-title-area ul li span {
    color: var(--ui-muted) !important;
    font-size: 15px !important;
}

.company-job-detaiils-page .action-btn-group {
    border-color: var(--ui-line) !important;
    border-radius: 9px !important;
    padding: 8px 14px !important;
}

.company-job-detaiils-page .action-btn-group ul li a {
    color: var(--ui-ink) !important;
    font-size: 14px !important;
    gap: 7px !important;
}

.company-job-detaiils-page .action-btn-group ul li a span {
    width: 30px !important;
    height: 30px !important;
    border-radius: 7px !important;
    background: var(--ui-green) !important;
}

.company-job-detaiils-page .filter-button-group {
    margin-bottom: 22px !important;
    min-height: 44px;
}

.company-job-detaiils-page .filter-button-group .back-btn a,
.company-job-detaiils-page .filter-button-group .back-btn a svg {
    color: var(--ui-green) !important;
    fill: var(--ui-green) !important;
    font-size: 14px !important;
}

.company-job-detaiils-page .filter-button-group .nav-tabs {
    gap: 28px !important;
}

.company-job-detaiils-page .filter-button-group .nav-tabs .nav-item .nav-link {
    color: var(--ui-muted) !important;
    font-size: 15px !important;
    padding-bottom: 10px !important;
}

.company-job-detaiils-page .filter-button-group .nav-tabs .nav-item .nav-link.active,
.company-job-detaiils-page .filter-button-group .nav-tabs .nav-item .nav-link.active svg {
    color: var(--ui-green-dark) !important;
    fill: var(--ui-green-dark) !important;
}

.company-job-detaiils-page .counter-area .row {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
}

.company-job-detaiils-page .counter-single {
    min-height: 118px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: var(--ui-line) !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(27, 66, 52, .04);
    padding: 16px 10px !important;
}

.company-job-detaiils-page .counter-single .total-number {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto 8px !important;
}

.company-job-detaiils-page .counter-single .total-number h3 {
    font-size: 20px !important;
}

.company-job-detaiils-page .counter-single.one .total-number,
.company-job-detaiils-page .counter-single.two .total-number,
.company-job-detaiils-page .counter-single.three .total-number,
.company-job-detaiils-page .counter-single.four .total-number,
.company-job-detaiils-page .counter-single.five .total-number,
.company-job-detaiils-page .counter-single.six .total-number {
    border: 0 !important;
}

.company-job-detaiils-page .counter-single.one .total-number { background: #e9f4ff !important; }
.company-job-detaiils-page .counter-single.one .total-number h3 { color: #0877c1 !important; }
.company-job-detaiils-page .counter-single.two .total-number { background: #fff0e8 !important; }
.company-job-detaiils-page .counter-single.two .total-number h3 { color: #d95e2e !important; }
.company-job-detaiils-page .counter-single.three .total-number { background: #e7f7ff !important; }
.company-job-detaiils-page .counter-single.three .total-number h3 { color: #067fab !important; }
.company-job-detaiils-page .counter-single.four .total-number { background: #fff7dd !important; }
.company-job-detaiils-page .counter-single.four .total-number h3 { color: #a87400 !important; }
.company-job-detaiils-page .counter-single.five .total-number { background: #e8faf2 !important; }
.company-job-detaiils-page .counter-single.five .total-number h3 { color: #078d68 !important; }
.company-job-detaiils-page .counter-single.six .total-number { background: #ffeded !important; }
.company-job-detaiils-page .counter-single.six .total-number h3 { color: #d94040 !important; }

.company-job-detaiils-page .counter-single p {
    color: var(--ui-ink) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.company-job-detaiils-page .counter-single.six p {
    color: #d94040 !important;
}

.company-job-detaiils-page .applied-list-wrap .filter-area {
    border-color: var(--ui-line) !important;
    border-radius: 12px !important;
    box-shadow: var(--ui-shadow);
    padding: 22px 18px !important;
}

.company-job-detaiils-page .applied-list-wrap .filter-area h5 {
    font-size: 18px !important;
    margin-bottom: 18px !important;
}

.company-job-detaiils-page .applied-list-wrap .select-area {
    margin-bottom: 12px !important;
}

.company-job-detaiils-page .applied-list-wrap .select-area .select2-container .select2-selection--single {
    height: 42px !important;
    border-radius: 8px !important;
}

.company-job-detaiils-page .table-wrapper2 {
    background: #fff;
    border: 1px solid var(--ui-line);
    border-radius: 12px;
    box-shadow: var(--ui-shadow);
    padding: 16px !important;
}

.company-job-detaiils-page .table-wrapper2 .table-filter-area {
    border-color: var(--ui-line) !important;
    border-radius: 9px !important;
    padding: 13px 14px !important;
    margin-bottom: 18px !important;
}

.company-job-detaiils-page .table-wrapper2 .eg-table thead tr th {
    font-size: 14px !important;
    padding: 11px 12px !important;
}

.company-job-detaiils-page .table-wrapper2 .eg-table tbody tr td {
    font-size: 14px !important;
    padding: 11px 12px !important;
}

@media (max-width: 767px) {
    .company-job-detaiils-page {
        padding-top: 24px !important;
    }

    .company-job-detaiils-page .job-details-and-counter-area {
        border-radius: 12px;
        padding: 20px 16px !important;
    }

    .company-job-detaiils-page .job-title-area h3 {
        font-size: 24px !important;
    }

    .company-job-detaiils-page .job-title-area ul {
        display: flex !important;
        flex-wrap: wrap;
        gap: 6px 16px !important;
    }

    .company-job-detaiils-page .action-btn-group {
        width: auto;
    }

    .company-job-detaiils-page .counter-single {
        min-height: 108px;
    }
}

@media (max-width: 991px) {
    body .pt-120 { padding-top: 56px !important; }
    body .pb-120 { padding-bottom: 56px !important; }
    body .mt-120 { margin-top: 56px !important; }
    body .mb-120 { margin-bottom: 56px !important; }
}

@media (max-width: 575px) {
    body p { font-size: 15px; }

    body h1 { font-size: 30px; }
    body h2 { font-size: 26px; }
    body h3 { font-size: 22px; }

    body .section-title,
    body .section-title h3,
    body .selected-category-jobs-column h3 {
        margin-bottom: 18px;
    }

    body .section-title h3,
    body .selected-category-jobs-column h3 {
        font-size: 24px;
    }

    body .latest-jobs-heading h3 {
        font-size: 24px;
    }

    body .card-body {
        padding: 16px;
    }
}

/* Focused employer job-details view: no secondary navigation and a single,
   full-width applicant workspace.  The controls remain the same elements so
   the existing AJAX filtering and applicant actions continue to work. */
.company-workspace--full {
    padding-bottom: 72px !important;
}

.company-job-detaiils-page {
    padding: 22px 0 8px !important;
    margin-bottom: 0 !important;
    background: transparent !important;
}

/* The parent workspace already provides the canonical container.  Neutralize
   Bootstrap's outer row gutter here so this focused page keeps the same edges
   without introducing a second nested container or horizontal overflow. */
.company-job-detaiils-page > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.company-job-detaiils-page > .row > .col-lg-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.company-job-detaiils-page .job-details-and-counter-area {
    padding: 28px 30px 30px !important;
    margin-bottom: 28px !important;
}

.company-job-detaiils-page .job-title-and-action-btn-area {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.company-job-detaiils-page .job-title-area {
    min-width: 0;
}

.company-job-detaiils-page .job-title-area h3 {
    max-width: 920px;
    overflow-wrap: anywhere;
}

.company-job-detaiils-page .applied-list-wrap {
    margin-top: 0;
}

.applicant-list-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 14px;
}

.applicant-list-heading__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--ui-green-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.applicant-list-heading h4 {
    margin: 0;
    color: var(--ui-ink);
    font-size: 22px;
    font-weight: 800;
}

.applicant-list-heading p {
    margin: 5px 0 0;
    color: var(--ui-muted);
    font-size: 14px;
}

.applicant-list-heading__clear {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    border: 1px solid #bfe3d3;
    border-radius: 9px;
    background: #fff;
    color: var(--ui-green-dark);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 13px;
}

.applicant-list-heading__clear:hover {
    border-color: var(--ui-green);
    background: var(--ui-green-soft);
}

.company-job-detaiils-page .table-wrapper2 {
    padding: 0 !important;
    overflow: hidden;
}

.company-job-detaiils-page .applicant-filter-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 !important;
    padding: 18px 20px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--ui-line) !important;
    border-radius: 0 !important;
    background: #fbfdfc;
    box-shadow: none !important;
}

.applicant-filter-bar__title {
    flex: 0 0 170px;
}

.applicant-filter-bar__title span {
    display: block;
    color: var(--ui-ink);
    font-size: 15px;
    font-weight: 800;
}

.applicant-filter-bar__title small {
    display: block;
    margin-top: 3px;
    color: var(--ui-muted);
    font-size: 12px;
    line-height: 1.4;
}

.applicant-filter-bar__fields {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.applicant-filter-field {
    min-width: 0;
}

.applicant-filter-field label {
    display: block;
    margin: 0 0 6px;
    color: var(--ui-body);
    font-size: 12px;
    font-weight: 700;
}

.applicant-filter-field select.form-control {
    width: 100%;
    height: 42px;
    min-width: 0;
    border: 1px solid #d4e3dc;
    border-radius: 8px;
    background-color: #fff;
    color: var(--ui-body);
    font-size: 13px;
    padding: 0 11px;
}

.applicant-filter-field select.form-control:focus {
    border-color: var(--ui-green);
    box-shadow: 0 0 0 3px rgba(0, 155, 107, .1);
    outline: 0;
}

.company-job-detaiils-page .eg-specific-area {
    padding: 18px 20px 20px;
}

.company-job-detaiils-page .applicant-list {
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}

.company-job-detaiils-page .applicant-list .eg-table {
    width: 100%;
    min-width: 860px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: 10px;
}

.company-job-detaiils-page .applicant-list .eg-table thead th {
    border-bottom: 1px solid var(--ui-line) !important;
    background: #f0f8f4;
    color: var(--ui-ink);
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: .01em;
    padding: 13px 14px !important;
    white-space: nowrap;
}

.company-job-detaiils-page .applicant-list .eg-table thead th:nth-child(1) { width: 27%; }
.company-job-detaiils-page .applicant-list .eg-table thead th:nth-child(2) { width: 32%; }
.company-job-detaiils-page .applicant-list .eg-table thead th:nth-child(3) { width: 17%; }
.company-job-detaiils-page .applicant-list .eg-table thead th:nth-child(4) { width: 24%; }

.company-job-detaiils-page .applicant-list .eg-table tbody td {
    border-bottom: 1px solid #edf3f0 !important;
    color: var(--ui-body);
    font-size: 13px !important;
    vertical-align: top;
    padding: 16px 14px !important;
}

.company-job-detaiils-page .applicant-list .eg-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

.company-job-detaiils-page .applicant-list .employee-info {
    align-items: flex-start;
    gap: 11px;
}

.company-job-detaiils-page .applicant-list .employee-img {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
}

.company-job-detaiils-page .applicant-list .employee-content {
    min-width: 0;
}

.company-job-detaiils-page .applicant-list .employee-content .primary-btn-2 {
    max-width: 100%;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ui-green-dark);
    font-size: 14px;
    font-weight: 800;
    padding: 0;
}

.company-job-detaiils-page .applicant-list .employee-content p {
    margin: 5px 0 0;
    color: var(--ui-muted);
    font-size: 12px;
}

.company-job-detaiils-page .applicant-list .carrer-summary h6 {
    margin: 0 0 8px;
    color: var(--ui-ink);
    font-size: 13px;
    line-height: 1.45;
}

.company-job-detaiils-page .applicant-list .carrer-summary ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.company-job-detaiils-page .applicant-list .carrer-summary li {
    margin: 3px 0;
    color: var(--ui-body);
    font-size: 12px;
    line-height: 1.5;
}

.company-job-detaiils-page .applicant-list .carrer-summary li span {
    color: var(--ui-ink);
    font-weight: 700;
}

.company-job-detaiils-page .applicant-list .action-btn-group ul {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.company-job-detaiils-page .applicant-list .action-btn-group button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    border: 1px solid #cfe4da;
    border-radius: 7px;
    background: #fff;
    color: var(--ui-green-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 8px;
}

.company-job-detaiils-page .applicant-list .action-btn-group button:hover {
    border-color: var(--ui-green);
    background: var(--ui-green-soft);
}

.company-job-detaiils-page .pagination-table-info {
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

@media (max-width: 991px) {
    .applicant-filter-bar {
        align-items: stretch !important;
        flex-direction: column;
    }

    .applicant-filter-bar__title {
        flex-basis: auto;
    }

    .applicant-filter-bar__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .company-job-detaiils-page {
        padding-top: 12px !important;
    }

    .company-job-detaiils-page .job-details-and-counter-area {
        padding: 20px 16px 22px !important;
    }

    .company-job-detaiils-page .job-title-and-action-btn-area {
        flex-direction: column;
        gap: 14px;
    }

    .company-job-detaiils-page .action-btn-group {
        align-self: flex-start;
    }

    .applicant-list-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .applicant-list-heading h4 {
        font-size: 20px;
    }

    .applicant-list-heading__clear {
        align-self: flex-start;
    }

    .applicant-filter-bar__fields {
        grid-template-columns: 1fr;
    }

    .company-job-detaiils-page .eg-specific-area {
        padding: 14px 12px 16px;
    }

    .company-job-detaiils-page .applicant-list .eg-table {
        min-width: 0;
        border: 0;
        overflow: visible;
    }

    .company-job-detaiils-page .applicant-list .eg-table thead {
        display: none;
    }

    .company-job-detaiils-page .applicant-list .eg-table,
    .company-job-detaiils-page .applicant-list .eg-table tbody,
    .company-job-detaiils-page .applicant-list .eg-table tr,
    .company-job-detaiils-page .applicant-list .eg-table td {
        display: block;
        width: 100%;
    }

    .company-job-detaiils-page .applicant-list .eg-table tbody tr {
        margin-bottom: 12px;
        border: 1px solid var(--ui-line);
        border-radius: 10px;
        background: #fff;
        overflow: hidden;
    }

    .company-job-detaiils-page .applicant-list .eg-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .company-job-detaiils-page .applicant-list .eg-table tbody td {
        display: block;
        border-bottom: 1px solid #edf3f0 !important;
        padding: 12px !important;
    }

    .company-job-detaiils-page .applicant-list .eg-table tbody td:last-child {
        border-bottom: 0 !important;
    }

    .company-job-detaiils-page .applicant-list .eg-table tbody td::before {
        display: block;
        margin-bottom: 7px;
        color: var(--ui-muted);
        content: attr(data-label);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .04em;
        text-transform: uppercase;
    }
}

/* Four-column footer rhythm shared by every public page. */
body .footer-section {
    background: #1f1f1f;
    color: #fff;
}

body .footer-section .footer-top {
    padding: 56px 0 52px;
}

body .footer-section .footer-top > .row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    margin: 0;
}

body .footer-section .footer-top > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
}

body .footer-section .footer-top .footer-widget {
    width: 100%;
}

body .footer-section .footer-top .footer-widget a.footer-logo img {
    width: 160px;
    height: auto;
    margin-bottom: 22px;
}

body .footer-section .footer-top .footer-widget p {
    max-width: 320px;
    color: #9aa09f;
    font-size: 15px;
    line-height: 1.7;
}

body .footer-section .footer-top .footer-widget h5,
body .footer-section .footer-top .footer-widget .social-area h5 {
    margin: 0 0 22px;
    color: #f5f7f6;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;
}

body .footer-section .footer-top .footer-widget ul li {
    margin-bottom: 11px;
}

body .footer-section .footer-top .footer-widget ul li a {
    color: #a7adab;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 400;
}

body .footer-section .footer-top .footer-widget ul li a:hover {
    color: var(--ui-green);
}

body .footer-section .footer-top .footer-widget .social-area {
    margin-top: 30px;
}

body .footer-section .footer-top .footer-widget .social-area ul {
    gap: 12px;
}

body .footer-section .footer-top .footer-widget .social-area ul li a {
    width: 34px;
    height: 34px;
    background: #fff;
}

body .footer-section .footer-top .footer-widget .social-area ul li a i {
    color: #4b5955;
    font-size: 14px;
}

body .footer-section .footer-bottom-wrap {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 24px 0;
}

body .footer-section .footer-bottom-wrap .footer-bottom {
    min-height: 24px;
}

body .footer-section .footer-bottom-wrap .copyright-area p,
body .footer-section .footer-bottom-wrap .contact-area h6 {
    color: #aeb5b2;
    font-size: 14px;
}

/* Compact dialog used by candidate CV preview and package restrictions. */
body .modal-dialog.me2-compact-dialog,
body #exampleModal .modal-dialog {
    width: calc(100% - 2rem);
    max-width: 680px;
    margin: 1rem auto;
}

body .modal-dialog.me2-compact-dialog .modal-content,
body #exampleModal .modal-content {
    overflow: hidden;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(25, 61, 47, .18);
}

body .modal-dialog.me2-compact-dialog .modal-body,
body #exampleModal .modal-body {
    max-height: min(78vh, 760px);
    padding: 24px;
    overflow-y: auto;
}

body .candidate-package-message {
    margin: 0 auto 18px;
    max-width: 420px;
    color: var(--ui-ink);
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 575px) {
    body .modal-dialog.me2-compact-dialog,
    body #exampleModal .modal-dialog {
        width: calc(100% - 1.25rem);
        margin: .625rem auto;
    }

    body .modal-dialog.me2-compact-dialog .modal-body,
    body #exampleModal .modal-body {
        max-height: 86vh;
        padding: 18px;
    }
}

@media (max-width: 991px) {
    body .footer-section .footer-top > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px 28px;
    }
}

@media (max-width: 575px) {
    body .footer-section .footer-top {
        padding: 42px 0 38px;
    }

    body .footer-section .footer-top > .row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body .footer-section .footer-top .footer-widget p {
        max-width: 100%;
    }

    body .footer-section .footer-top .footer-widget h5,
    body .footer-section .footer-top .footer-widget .social-area h5 {
        margin-bottom: 15px;
        font-size: 18px;
    }

    body .footer-section .footer-bottom-wrap .footer-bottom {
        justify-content: flex-start;
    }
}

/* Company subscription page: keep the invoice surface aligned with the
   shared front-end cards and make the upgrade action use the new package flow. */
body .company-dashboard .plan-invoice-page {
    min-width: 0;
}

body .company-dashboard .plan-invoice-card {
    background: #fff;
    border: 1px solid var(--ui-line);
    border-radius: 16px;
    box-shadow: var(--ui-shadow);
    padding: 24px !important;
}

body .company-dashboard .plan-invoice-header {
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

body .company-dashboard .plan-invoice-title {
    min-width: 0;
}

body .company-dashboard .plan-invoice-kicker {
    color: var(--ui-green-dark);
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 4px;
}

body .company-dashboard .plan-invoice-title h1 {
    color: var(--ui-ink);
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 5px;
}

body .company-dashboard .plan-invoice-title p {
    color: var(--ui-muted);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

body .company-dashboard .plan-invoice-action {
    flex: 0 0 auto;
    margin-left: auto;
}

body .company-dashboard .plan-invoice-action a {
    align-items: center;
    border-radius: 10px;
    display: inline-flex;
    justify-content: center;
    min-height: 44px;
    padding: 10px 20px;
    white-space: nowrap;
}

body .company-dashboard .plan-invoice-table-wrap {
    border: 1px solid var(--ui-line);
    border-radius: 12px;
    overflow-x: auto;
}

body .company-dashboard .plan-invoice-table {
    margin: 0 !important;
    min-width: 820px;
}

body .company-dashboard .plan-invoice-table thead {
    background: var(--ui-green);
    border: 0;
}

body .company-dashboard .plan-invoice-table thead th {
    background: var(--ui-green);
    border: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 16px;
    white-space: nowrap;
}

body .company-dashboard .plan-invoice-table tbody td {
    border-bottom: 1px solid #edf3f0;
    color: var(--ui-ink);
    font-size: 14px;
    padding: 14px 16px;
    vertical-align: middle;
}

body .company-dashboard .plan-invoice-table tbody tr:last-child td {
    border-bottom: 0;
}

body .company-dashboard .plan-invoice-table tbody tr:hover td {
    background: #f8fcfa;
}

body .company-dashboard .plan-invoice-table .invoice-eye-icon {
    align-items: center;
    background: var(--ui-green-soft);
    border-radius: 8px;
    color: var(--ui-green-dark);
    display: inline-flex;
    height: 34px;
    justify-content: center;
    transition: background .2s ease, color .2s ease;
    width: 34px;
}

body .company-dashboard .plan-invoice-table .invoice-eye-icon:hover {
    background: var(--ui-green);
    color: #fff;
}

body .company-dashboard .plan-invoice-table .badge {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
}

body .company-dashboard .plan-invoice-card .pagination-table-info {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-top: 20px;
}

body .company-dashboard .plan-invoice-card .table-info span {
    color: var(--ui-muted);
    font-size: 13px;
}

@media (max-width: 767px) {
    body .company-dashboard .plan-invoice-card {
        border-radius: 12px;
        padding: 16px !important;
    }

    body .company-dashboard .plan-invoice-header {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 18px;
    }

    body .company-dashboard .plan-invoice-action {
        margin-left: 0;
        width: 100%;
    }

    body .company-dashboard .plan-invoice-action a {
        width: 100%;
    }

    body .company-dashboard .plan-invoice-table-wrap {
        border-radius: 10px;
        overflow: visible;
    }

    body .company-dashboard .plan-invoice-table {
        min-width: 0;
    }

    body .company-dashboard .plan-invoice-table tbody tr {
        border-bottom: 1px solid var(--ui-line);
        display: block;
        padding: 8px 0;
    }

    body .company-dashboard .plan-invoice-table tbody tr:last-child {
        border-bottom: 0;
    }

    body .company-dashboard .plan-invoice-table tbody td {
        align-items: center;
        border: 0;
        display: flex;
        font-size: 13px;
        justify-content: flex-end;
        min-height: 34px;
        padding: 6px 12px 6px 38%;
        position: relative;
        text-align: right;
    }

    body .company-dashboard .plan-invoice-table tbody td::before {
        color: var(--ui-muted);
        content: attr(data-label);
        font-size: 12px;
        font-weight: 600;
        left: 12px;
        position: absolute;
        text-align: left;
        width: 34%;
    }

    body .company-dashboard .plan-invoice-card .pagination-table-info {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}
