body:has(.jap-hr-dashboard-wrap) {
    background: #ffffff;
}

/* Full-page HR dashboard: hide theme header/title on this shortcode page */
.jap-hr-dashboard-page .site-header,
.jap-hr-dashboard-page header#masthead,
.jap-hr-dashboard-page .main-header-bar,
.jap-hr-dashboard-page .elementor-location-header,
.jap-hr-dashboard-page .entry-header,
.jap-hr-dashboard-page .page-header,
.jap-hr-dashboard-page .page-title,
.jap-hr-dashboard-page .entry-title,
.jap-hr-dashboard-page h1.entry-title {
    display: none !important;
}

.jap-hr-dashboard-page .site-content,
.jap-hr-dashboard-page .content-area,
.jap-hr-dashboard-page .entry-content,
.jap-hr-dashboard-page main,
.jap-hr-dashboard-page article {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


.jap-hr-dashboard-wrap button,
.jap-hr-dashboard-wrap .button,
.jap-hr-dashboard-wrap a.jap-hr-logout,
.jap-hr-dashboard-wrap a.jap-hr-applications-toggle,
.jap-hr-dashboard-wrap .jap-hr-add-job-button {
    font-family: Barlow, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.jap-hr-dashboard-wrap {
    width: min(1800px, calc(100% - 120px));
    margin: 25px auto 70px;
    font-family: Barlow, Arial, Helvetica, sans-serif;
    color: #2d3748;
}

.jap-hr-header {
    position: relative;
    display: block;
    height: 80px;
    margin: 0;
}

.jap-hr-logo {
    position: absolute;
    top: 0;
    left: 300px;
    width: 152px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0;
    background: transparent;
    opacity: 1;
}

.jap-hr-logo img {
    display: block;
    width: 152px;
    height: 80px;
    max-width: 152px;
    max-height: 80px;
    object-fit: contain;
}

.jap-hr-logo span {
    display: inline-block;
    color: #08559C;
    font-weight: 800;
    font-size: 18px;
    text-align: center;
    line-height: 1.1;
}

.jap-hr-header-actions {
    position: absolute;
    top: 18px;
    right: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.jap-hr-logout,
.jap-hr-applications-toggle,
.jap-hr-access a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    min-height: 45px;
    padding: 0 24px;
    border-radius: 23px;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0px 3px 6px #00000029;
    opacity: 1;
    box-sizing: border-box;
}

.jap-hr-logout {
    width: 120px;
    background: #08559C;
    color: #fff !important;
    border: 1px solid #08559C;
}

.jap-hr-applications-toggle {
    width: 171px;
    background: #ffffff;
    color: #08559C !important;
    border: 1px solid #08559C;
}

 .jap-hr-hero {
    width: 100%;
    height: 340px;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 34px;
    border-radius: 60px;
    background: transparent url('../images/Mask-Group-116.png') center center / cover no-repeat;
    color: #fff;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    opacity: 1;
}

.jap-hr-hero::before,
.jap-hr-hero::after {
    display: none !important;
    content: none !important;
}

.jap-hr-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    width: 872px;
    max-width: 100%;
    color: #ffffff;
    font: normal normal bold 60px/70px Barlow, Arial, Helvetica, sans-serif;
    text-align: center;
    letter-spacing: 0px;
    opacity: 1;
}

.jap-hr-notice {
    margin: 22px 54px 0;
    padding: 12px 16px;
    border-radius: 6px;
    background: #e8f7ee;
    color: #126534;
    font-weight: 700;
}

.jap-manager-help {
    margin: 34px 54px 18px !important;
    color: #6b7280;
    font-size: 13px;
}

.jap-hr-add-row-wrap {
    display: flex;
    justify-content: center;
    margin: 54px 54px 18px;
    justify-content: flex-end;
}

.jap-hr-add-job-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 229px;
    height: 45px;
    min-height: 45px;
    padding: 0 22px;
    border: 0;
    border-radius: 23px;
    background: #08559C;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    font-family: Barlow, Arial, Helvetica, sans-serif;
    cursor: pointer;
    box-shadow: 0px 3px 6px #00000029;
}

.jap-hr-add-job-button span {
    font-size: 20px;
    line-height: 1;
}

.jap-hr-dashboard-wrap .jap-table-scroll {
    margin: 0 54px;
    overflow-x: auto;
    background: #fff;
    border: 1px solid #c8d0d8;
}

.jap-hr-dashboard-wrap .jap-jobs-table {
    min-width: 1360px;
    border: 0;
    border-collapse: collapse;
    background: #fff;
}

.jap-hr-dashboard-wrap .jap-jobs-table th {
    background: #e8edf2;
    color: #3d4b59;
    text-align: center;
    font-weight: 700;
    padding: 11px 8px;
    vertical-align: middle;
    border-bottom: 1px solid #c8d0d8;
}

.jap-hr-dashboard-wrap .jap-jobs-table td {
    vertical-align: top;
    padding: 8px;
}

.jap-hr-dashboard-wrap .jap-jobs-table .jap-col-sr {
    width: 60px;
    text-align: center;
    color: #6b7280;
}

.jap-hr-dashboard-wrap .jap-jobs-table .jap-col-description {
    width: 34%;
}

.jap-hr-dashboard-wrap .jap-jobs-table input[type="text"],
.jap-hr-dashboard-wrap .jap-jobs-table input[type="email"],
.jap-hr-dashboard-wrap .jap-jobs-table select {
    width: 100%;
    min-width: 110px;
    box-sizing: border-box;
    border: 1px solid #c7cdd3;
    border-radius: 4px;
    min-height: 34px;
    padding: 4px 8px;
    background: #fff;
    color: #374151;
    font-size: 14px;
}

.jap-hr-dashboard-wrap .jap-actions-cell .button,
.jap-hr-dashboard-wrap .button {
    display: block;
    width: 100%;
    min-height: 34px;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 3px;
    border: 1px solid #2271b1;
    background: #ffffff;
    color: #2271b1;
    font-size: 16px;
    font-weight: 400;
    font-family: Barlow, Arial, Helvetica, sans-serif;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.jap-hr-dashboard-wrap .button-primary {
    background: #08559C !important;
    border-color: #08559C !important;
    color: #ffffff !important;
}

.jap-hr-dashboard-wrap .button-link-delete {
    border-color: #d3d8de;
    color: #c24141;
    background: #fff;
}

.jap-hr-dashboard-wrap .jap-status-select {
    font-weight: 600;
}

.jap-hr-dashboard-wrap .jap-status-active {
    color: #137333;
}

.jap-hr-dashboard-wrap .jap-status-inactive {
    color: #b32d2e;
}

.jap-hr-dashboard-wrap .jap-job-email-row td {
    background: #f0f6fc !important;
    border-top: 0;
}

.jap-hr-dashboard-wrap .jap-email-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 16px;
    padding: 12px;
}

.jap-hr-dashboard-wrap .jap-email-fields label {
    font-weight: 600;
}

.jap-hr-dashboard-wrap .jap-email-fields input {
    display: block;
    margin-top: 5px;
    font-weight: 400;
}

.jap-hr-dashboard-wrap .jap-new-job-row td {
    background: #fff8e5 !important;
}

.jap-hr-dashboard-wrap .jap-new-row-placeholder {
    padding: 0 !important;
    border: 0 !important;
}

.jap-hr-dashboard-wrap .jap-description-cell {
    min-width: 420px;
}

.jap-hr-dashboard-wrap .jap-rich-editor {
    overflow: hidden;
    background: #fff;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    box-shadow: 0 0 0 transparent;
}

.jap-hr-dashboard-wrap .jap-rich-editor:focus-within {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.jap-hr-dashboard-wrap .jap-editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 6px;
    background: #f6f7f7;
    border-bottom: 1px solid #dcdcde;
}

.jap-hr-dashboard-wrap .jap-editor-button {
    min-width: 34px;
    min-height: 30px;
    padding: 3px 8px;
    cursor: pointer;
    color: #1d2327;
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 3px;
}

.jap-hr-dashboard-wrap .jap-editor-button:hover,
.jap-hr-dashboard-wrap .jap-editor-button:focus {
    color: #135e96;
    border-color: #2271b1;
}

.jap-hr-dashboard-wrap .jap-editor-content {
    min-height: 125px;
    max-height: 260px;
    padding: 10px 12px;
    overflow-y: auto;
    color: #1d2327;
    line-height: 1.5;
    outline: 0;
    background: #fff;
    text-align: left;
}

.jap-hr-dashboard-wrap .jap-editor-content:empty::before {
    color: #757575;
    content: attr(data-placeholder);
    pointer-events: none;
}

.jap-hr-section {
    margin: 28px 54px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(17,24,39,.06);
}

.jap-hr-applications-section {
    display: none;
}

.jap-hr-applications-section.is-visible,
.jap-hr-applications-page .jap-hr-applications-section {
    display: block;
}


.jap-hr-applications-page .jap-hr-section {
    margin-top: 34px;
}

.jap-hr-applications-page .jap-hr-hero h1 {
    letter-spacing: .1px;
}

.jap-hr-section-title h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
}

.jap-hr-section-title p {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 14px;
}

.jap-hr-applications-list {
    display: grid;
    gap: 14px;
}

.jap-hr-application-card {
    padding: 16px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fbfdff;
}

.jap-hr-application-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.jap-hr-application-head strong {
    display: block;
    font-size: 17px;
    color: #111827;
}

.jap-hr-application-head span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
}

.jap-hr-link-danger {
    border: 0;
    background: transparent;
    color: #b91c1c;
    padding: 0;
    cursor: pointer;
    font-weight: 600;
}

.jap-hr-application-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.jap-hr-application-grid div {
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #edf2f7;
}

.jap-hr-application-grid small {
    display: block;
    color: #64748b;
    font-weight: 700;
    margin-bottom: 4px;
}

.jap-hr-application-grid span {
    color: #111827;
    font-weight: 600;
    word-break: break-word;
}

.jap-hr-resume {
    display: inline-flex;
    margin-top: 14px;
    color: #0b68ad;
    font-weight: 700;
    text-decoration: none;
}

.jap-hr-empty,
.jap-hr-access {
    padding: 24px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

@media (max-width: 1500px) {
    .jap-hr-dashboard-wrap {
        width: min(100% - 64px, 1800px);
    }

    .jap-hr-logo {
        left: 18%;
    }

    .jap-hr-header-actions {
        right: 0;
    }
}

@media (max-width: 1100px) {
    .jap-hr-dashboard-wrap {
        width: min(100% - 32px, 1800px);
    }

    .jap-hr-header {
        height: auto;
        min-height: 118px;
    }

    .jap-hr-logo {
        top: 0;
        left: 0;
    }

    .jap-hr-header-actions {
        top: 18px;
        right: 0;
    }

    .jap-hr-dashboard-wrap .jap-table-scroll,
    .jap-manager-help,
    .jap-hr-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 700px) {
    .jap-hr-header {
        min-height: 160px;
    }

    .jap-hr-header-actions {
        top: 92px;
        left: 0;
        right: auto;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 12px;
    }

    .jap-hr-applications-toggle,
    .jap-hr-logout {
        width: auto;
        min-width: 130px;
    }

    .jap-hr-hero {
        height: 220px;
        min-height: 220px;
        border-radius: 28px;
        padding: 22px;
    }

    .jap-hr-hero h1 {
        font-size: 30px;
        line-height: 38px;
    }

    .jap-hr-application-grid,
    .jap-hr-dashboard-wrap .jap-email-fields {
        grid-template-columns: 1fr;
    }
}


/* Exact Sandhya dashboard spacing requested */
.jap-hr-add-row-wrap {
    display: flex;
    justify-content: flex-end;
    margin: 53px 60px 18px 0;
}

.jap-hr-add-job-button {
    min-height: 45px;
    height: 45px;
    width: 229px;
    padding: 0 20px;
    background: #08559C;
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 23px;
    font-size: 14px;
    font-weight: 500;
}

.jap-hr-add-job-button span {
    font-size: 20px;
}

.jap-hr-dashboard-wrap .button-primary {
    background: #08559C !important;
    border-color: #08559C !important;
}


/* v1.5.7: force full HR dashboard canvas and 1800px design width on large screens */
html body.jap-hr-dashboard-page,
body.jap-hr-dashboard-page {
    background: #ffffff !important;
    overflow-x: auto;
}

body.jap-hr-dashboard-page #page,
body.jap-hr-dashboard-page .site,
body.jap-hr-dashboard-page .site-content,
body.jap-hr-dashboard-page #content,
body.jap-hr-dashboard-page .ast-container,
body.jap-hr-dashboard-page .container,
body.jap-hr-dashboard-page .content-area,
body.jap-hr-dashboard-page .site-main,
body.jap-hr-dashboard-page article,
body.jap-hr-dashboard-page .entry-content,
body.jap-hr-dashboard-page .wp-block-post-content,
body.jap-hr-dashboard-page .elementor,
body.jap-hr-dashboard-page .elementor-section,
body.jap-hr-dashboard-page .elementor-container,
body.jap-hr-dashboard-page .elementor-column,
body.jap-hr-dashboard-page .elementor-widget-wrap,
body.jap-hr-dashboard-page .elementor-widget-container {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.jap-hr-dashboard-page .jap-hr-dashboard-wrap {
    width: 1800px !important;
    max-width: calc(100vw - 120px) !important;
    margin: 25px auto 70px !important;
    box-sizing: border-box;
}

body.jap-hr-dashboard-page .jap-hr-header {
    height: 80px !important;
    min-height: 80px !important;
    position: relative !important;
}

body.jap-hr-dashboard-page .jap-hr-logo {
    top: 0 !important;
    left: 300px !important;
    width: 152px !important;
    height: 80px !important;
}

body.jap-hr-dashboard-page .jap-hr-logo img {
    width: 152px !important;
    height: 80px !important;
    object-fit: contain !important;
}

body.jap-hr-dashboard-page .jap-hr-header-actions {
    top: 18px !important;
    right: 60px !important;
    left: auto !important;
    width: auto !important;
    gap: 20px !important;
}

body.jap-hr-dashboard-page .jap-hr-applications-toggle,
body.jap-hr-dashboard-page .jap-hr-logout,
body.jap-hr-dashboard-page .jap-hr-add-job-button {
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    height: 45px !important;
    min-height: 45px !important;
    border-radius: 23px !important;
}

body.jap-hr-dashboard-page .jap-hr-applications-toggle {
    width: 171px !important;
    background: #ffffff !important;
    color: #08559C !important;
    border: 1px solid #08559C !important;
    box-shadow: 0px 3px 6px #00000029 !important;
}

body.jap-hr-dashboard-page .jap-hr-logout {
    width: 120px !important;
    background: #08559C !important;
    color: #ffffff !important;
    border: 1px solid #08559C !important;
    box-shadow: 0px 3px 6px #00000029 !important;
}

body.jap-hr-dashboard-page .jap-hr-hero {
    width: 1800px !important;
    max-width: 100% !important;
    height: 340px !important;
    min-height: 340px !important;
    border-radius: 60px !important;
    background-image: url('../images/Mask-Group-116.png') !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

body.jap-hr-dashboard-page .jap-hr-hero h1 {
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 60px !important;
    line-height: 70px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: center !important;
    width: 872px !important;
    max-width: calc(100% - 80px) !important;
}

body.jap-hr-dashboard-page .jap-manager-help {
    margin: 34px 60px 18px !important;
    padding: 0 !important;
}

body.jap-hr-dashboard-page .jap-hr-add-row-wrap {
    margin: 53px 60px 18px !important;
    display: flex !important;
    justify-content: flex-end !important;
}

body.jap-hr-dashboard-page .jap-hr-add-job-button {
    width: 229px !important;
    background: #08559C !important;
    color: #ffffff !important;
    box-shadow: 0px 3px 6px #00000029 !important;
}

body.jap-hr-dashboard-page .jap-table-scroll {
    margin: 0 60px !important;
    width: calc(100% - 120px) !important;
    max-width: calc(100% - 120px) !important;
}

body.jap-hr-dashboard-page .jap-jobs-table {
    width: 100% !important;
    min-width: 1360px !important;
}

@media (max-width: 1200px) {
    body.jap-hr-dashboard-page .jap-hr-dashboard-wrap {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    body.jap-hr-dashboard-page .jap-hr-logo {
        left: 0 !important;
    }

    body.jap-hr-dashboard-page .jap-hr-header-actions {
        right: 0 !important;
    }

    body.jap-hr-dashboard-page .jap-manager-help,
    body.jap-hr-dashboard-page .jap-hr-add-row-wrap,
    body.jap-hr-dashboard-page .jap-table-scroll {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.jap-hr-dashboard-page .jap-table-scroll {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* v1.5.8 responsive dashboard correction */
html body.jap-hr-dashboard-page,
body.jap-hr-dashboard-page {
    overflow-x: hidden !important;
    background: #ffffff !important;
}

body.jap-hr-dashboard-page .site,
body.jap-hr-dashboard-page #page,
body.jap-hr-dashboard-page .site-content,
body.jap-hr-dashboard-page .content-area,
body.jap-hr-dashboard-page .entry-content,
body.jap-hr-dashboard-page .ast-container,
body.jap-hr-dashboard-page .container,
body.jap-hr-dashboard-page .elementor-section,
body.jap-hr-dashboard-page .elementor-container,
body.jap-hr-dashboard-page main,
body.jap-hr-dashboard-page article {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

body.jap-hr-dashboard-page .jap-hr-dashboard-wrap {
    width: calc(100vw - 120px) !important;
    max-width: 1800px !important;
    min-width: 0 !important;
    margin: 25px auto 70px !important;
    padding: 0 !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    box-sizing: border-box !important;
}

body.jap-hr-dashboard-page .jap-hr-header {
    height: 124px !important;
    min-height: 124px !important;
    position: relative !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.jap-hr-dashboard-page .jap-hr-logo {
    position: absolute !important;
    top: 25px !important;
    left: 300px !important;
    width: 152px !important;
    height: 80px !important;
    margin: 0 !important;
}

body.jap-hr-dashboard-page .jap-hr-logo img {
    width: 152px !important;
    height: 80px !important;
    max-width: 152px !important;
    max-height: 80px !important;
    object-fit: contain !important;
}

body.jap-hr-dashboard-page .jap-hr-header-actions {
    position: absolute !important;
    top: 43px !important;
    right: 60px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 5 !important;
}

body.jap-hr-dashboard-page .jap-hr-applications-toggle,
body.jap-hr-dashboard-page .jap-hr-logout,
body.jap-hr-dashboard-page .jap-hr-add-job-button,
body.jap-hr-dashboard-page .jap-actions-cell .button,
body.jap-hr-dashboard-page .button {
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body.jap-hr-dashboard-page .jap-hr-applications-toggle {
    width: 171px !important;
    height: 45px !important;
    min-height: 45px !important;
    padding: 0 18px !important;
    border: 1px solid #08559C !important;
    border-radius: 23px !important;
    background: #ffffff !important;
    color: #08559C !important;
    box-shadow: 0px 3px 6px #00000029 !important;
}

body.jap-hr-dashboard-page .jap-hr-logout {
    width: 120px !important;
    height: 45px !important;
    min-height: 45px !important;
    padding: 0 18px !important;
    border: 1px solid #08559C !important;
    border-radius: 23px !important;
    background: #08559C !important;
    color: #ffffff !important;
    box-shadow: 0px 3px 6px #00000029 !important;
}

body.jap-hr-dashboard-page .jap-hr-hero {
    width: 100% !important;
    max-width: 1800px !important;
    height: 340px !important;
    min-height: 340px !important;
    margin: 0 auto !important;
    padding: 0 34px !important;
    border-radius: 60px !important;
    background-image: url('../images/Mask-Group-116.png') !important;
    background-position: center center !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

body.jap-hr-dashboard-page .jap-hr-hero h1 {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 60px !important;
    line-height: 70px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-align: center !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

body.jap-hr-dashboard-page .jap-manager-help {
    margin: 34px 60px 0 !important;
    padding: 0 !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #6b7280 !important;
}

body.jap-hr-dashboard-page .jap-hr-add-row-wrap {
    display: flex !important;
    justify-content: flex-end !important;
    margin: 76px 60px 18px !important;
    padding: 0 !important;
}

body.jap-hr-dashboard-page .jap-hr-add-job-button {
    width: 229px !important;
    height: 45px !important;
    min-height: 45px !important;
    padding: 0 20px !important;
    background: #08559C !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 23px !important;
    box-shadow: 0px 3px 6px #00000029 !important;
}

body.jap-hr-dashboard-page .jap-table-scroll {
    width: calc(100% - 120px) !important;
    max-width: calc(1800px - 120px) !important;
    margin: 0 60px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch !important;
    background: #fff !important;
    border: 1px solid #c8d0d8 !important;
    box-sizing: border-box !important;
}

body.jap-hr-dashboard-page .jap-jobs-table {
    width: 100% !important;
    min-width: 1360px !important;
    table-layout: fixed !important;
    border-collapse: collapse !important;
}

body.jap-hr-dashboard-page .jap-jobs-table th,
body.jap-hr-dashboard-page .jap-jobs-table td {
    box-sizing: border-box !important;
}

body.jap-hr-dashboard-page .jap-jobs-table input[type="text"],
body.jap-hr-dashboard-page .jap-jobs-table input[type="email"],
body.jap-hr-dashboard-page .jap-jobs-table select {
    max-width: 100% !important;
}

body.jap-hr-dashboard-page .jap-hr-section {
    margin: 34px 60px 0 !important;
}

@media (min-width: 1921px) {
    body.jap-hr-dashboard-page .jap-hr-dashboard-wrap {
        width: 1800px !important;
        max-width: 1800px !important;
    }
}

@media (max-width: 1500px) {
    body.jap-hr-dashboard-page .jap-hr-dashboard-wrap {
        width: calc(100vw - 64px) !important;
    }
    body.jap-hr-dashboard-page .jap-hr-logo {
        left: 18% !important;
    }
    body.jap-hr-dashboard-page .jap-hr-header-actions {
        right: 0 !important;
    }
    body.jap-hr-dashboard-page .jap-table-scroll {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    body.jap-hr-dashboard-page .jap-manager-help,
    body.jap-hr-dashboard-page .jap-hr-add-row-wrap,
    body.jap-hr-dashboard-page .jap-hr-section {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 1100px) {
    body.jap-hr-dashboard-page .jap-hr-dashboard-wrap {
        width: calc(100vw - 32px) !important;
        margin-top: 18px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-header {
        height: 132px !important;
        min-height: 132px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-logo {
        top: 10px !important;
        left: 0 !important;
    }
    body.jap-hr-dashboard-page .jap-hr-header-actions {
        top: 28px !important;
        right: 0 !important;
    }
    body.jap-hr-dashboard-page .jap-hr-hero {
        height: 260px !important;
        min-height: 260px !important;
        border-radius: 40px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-hero h1 {
        font-size: 42px !important;
        line-height: 50px !important;
        white-space: normal !important;
        max-width: 90% !important;
    }
    body.jap-hr-dashboard-page .jap-hr-add-row-wrap {
        margin-top: 36px !important;
    }
}

@media (max-width: 700px) {
    body.jap-hr-dashboard-page .jap-hr-dashboard-wrap {
        width: calc(100vw - 24px) !important;
    }
    body.jap-hr-dashboard-page .jap-hr-header {
        height: 170px !important;
        min-height: 170px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-logo {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    body.jap-hr-dashboard-page .jap-hr-header-actions {
        top: 108px !important;
        left: 0 !important;
        right: 0 !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-applications-toggle,
    body.jap-hr-dashboard-page .jap-hr-logout {
        width: auto !important;
        min-width: 120px !important;
        padding: 0 15px !important;
        font-size: 14px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-hero {
        height: 210px !important;
        min-height: 210px !important;
        border-radius: 28px !important;
        padding: 0 18px !important;
        background-size: cover !important;
    }
    body.jap-hr-dashboard-page .jap-hr-hero h1 {
        font-size: 30px !important;
        line-height: 38px !important;
        white-space: normal !important;
    }
    body.jap-hr-dashboard-page .jap-hr-add-row-wrap {
        justify-content: center !important;
        margin-top: 28px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-add-job-button {
        width: 100% !important;
        max-width: 260px !important;
    }
}

/* Tablet and mobile: replace wide table with accordion cards */
.jap-mobile-job-toggle {
    display: none;
}

@media (max-width: 1200px) {
    .jap-hr-dashboard-wrap {
        width: min(100% - 28px, 1800px);
        margin: 18px auto 50px;
    }

    .jap-hr-dashboard-wrap .jap-table-scroll {
        margin-left: 0 !important;
        margin-right: 0 !important;
        overflow-x: visible !important;
        border: 0;
        background: transparent;
    }

    .jap-hr-dashboard-wrap .jap-jobs-table,
    .jap-hr-dashboard-wrap .jap-jobs-table tbody,
    .jap-hr-dashboard-wrap .jap-jobs-table tr,
    .jap-hr-dashboard-wrap .jap-jobs-table td {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .jap-hr-dashboard-wrap .jap-jobs-table {
        min-width: 0 !important;
        border-collapse: separate;
        border-spacing: 0;
        background: transparent;
    }

    .jap-hr-dashboard-wrap .jap-jobs-table thead,
    .jap-hr-dashboard-wrap .jap-hidden-form-row,
    .jap-hr-dashboard-wrap .jap-new-row-placeholder,
    .jap-hr-dashboard-wrap .jap-sr-value {
        display: none !important;
    }

    .jap-hr-dashboard-wrap .jap-job-main-row {
        margin: 0 0 14px;
        border: 1px solid #d8e1ea;
        border-radius: 14px;
        overflow: hidden;
        background: #ffffff;
        box-shadow: 0 5px 18px rgba(15, 23, 42, 0.08);
    }

    .jap-hr-dashboard-wrap .jap-job-main-row td {
        display: none;
        padding: 12px 14px;
        border: 0 !important;
        background: #ffffff !important;
    }

    .jap-hr-dashboard-wrap .jap-job-main-row .jap-col-sr {
        display: block !important;
        padding: 0;
        text-align: left;
    }

    .jap-mobile-job-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 58px;
        padding: 14px 16px;
        border: 0;
        background: #f7fbff;
        color: #1f2937;
        text-align: left;
        cursor: pointer;
        font-family: Barlow, Arial, Helvetica, sans-serif;
        box-shadow: none;
    }

    .jap-mobile-job-toggle:focus {
        outline: 2px solid #08559C;
        outline-offset: -2px;
    }

    .jap-mobile-job-title {
        display: block;
        color: #0f172a;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.25;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 65%;
    }

    .jap-mobile-job-meta {
        margin-left: auto;
        margin-right: 12px;
        padding: 5px 10px;
        border-radius: 999px;
        background: #e7f1fb;
        color: #08559C;
        font-size: 12px;
        line-height: 1;
        text-transform: capitalize;
    }

    .jap-mobile-job-chevron {
        color: #08559C;
        font-size: 22px;
        line-height: 1;
        transition: transform .2s ease;
    }

    .jap-hr-dashboard-wrap .jap-job-main-row.is-open .jap-mobile-job-chevron {
        transform: rotate(180deg);
    }

    .jap-hr-dashboard-wrap .jap-job-main-row.is-open td:not(.jap-col-sr) {
        display: grid;
        grid-template-columns: 140px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        border-top: 1px solid #edf2f7 !important;
    }

    .jap-hr-dashboard-wrap .jap-job-main-row.is-open td:not(.jap-col-sr)::before {
        content: attr(data-label);
        color: #475569;
        font-size: 13px;
        font-weight: 700;
        line-height: 34px;
    }

    .jap-hr-dashboard-wrap .jap-job-main-row.is-open .jap-description-cell,
    .jap-hr-dashboard-wrap .jap-job-main-row.is-open .jap-actions-cell {
        grid-template-columns: 1fr;
    }

    .jap-hr-dashboard-wrap .jap-job-main-row.is-open .jap-description-cell::before,
    .jap-hr-dashboard-wrap .jap-job-main-row.is-open .jap-actions-cell::before {
        line-height: 1.2;
    }

    .jap-hr-dashboard-wrap .jap-rich-editor {
        width: 100%;
    }

    .jap-hr-dashboard-wrap .jap-editor-content {
        min-height: 140px;
        max-height: none;
    }

    .jap-hr-dashboard-wrap .jap-actions-cell .button,
    .jap-hr-dashboard-wrap .jap-actions-cell button {
        width: 100%;
        margin: 0 0 8px;
    }

    .jap-hr-dashboard-wrap .jap-job-email-row {
        margin: -10px 0 14px;
        border: 1px solid #cfe0f2;
        border-radius: 12px;
        overflow: hidden;
        background: #f0f6fc;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    }

    .jap-hr-dashboard-wrap .jap-job-email-row td,
    .jap-hr-dashboard-wrap .jap-job-email-row td[colspan] {
        display: block;
        width: 100% !important;
        padding: 12px;
    }

    .jap-hr-dashboard-wrap .jap-email-fields {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .jap-hr-add-row-wrap {
        margin: 26px 0 18px !important;
    }
}

@media (max-width: 600px) {
    .jap-hr-dashboard-wrap {
        width: min(100% - 20px, 1800px);
    }

    .jap-hr-dashboard-wrap .jap-job-main-row.is-open td:not(.jap-col-sr) {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .jap-hr-dashboard-wrap .jap-job-main-row.is-open td:not(.jap-col-sr)::before {
        line-height: 1.2;
    }

    .jap-mobile-job-title {
        max-width: 58%;
    }

    .jap-mobile-job-meta {
        font-size: 11px;
        padding: 4px 8px;
    }
}


/* v1.6.0: responsive tablet/mobile layout + note under Add New Job button */
body.jap-hr-dashboard-page .jap-hr-add-row-wrap {
    margin: 53px 60px 12px !important;
}
body.jap-hr-dashboard-page .jap-manager-help {
    margin: 0 60px 18px !important;
    padding: 0 !important;
}

@media (max-width: 1200px) {
    html body.jap-hr-dashboard-page,
    body.jap-hr-dashboard-page {
        overflow-x: hidden !important;
    }

    body.jap-hr-dashboard-page .jap-hr-dashboard-wrap {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        min-width: 0 !important;
        margin: 18px auto 50px !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body.jap-hr-dashboard-page .jap-hr-header {
        width: 100% !important;
    }

    body.jap-hr-dashboard-page .jap-hr-hero {
        width: 100% !important;
        max-width: 100% !important;
        height: 260px !important;
        min-height: 260px !important;
        border-radius: 40px !important;
        padding: 0 24px !important;
        box-sizing: border-box !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    body.jap-hr-dashboard-page .jap-hr-hero h1 {
        white-space: normal !important;
        width: 90% !important;
        max-width: 90% !important;
        font-size: 42px !important;
        line-height: 50px !important;
    }

    body.jap-hr-dashboard-page .jap-hr-add-row-wrap {
        width: 100% !important;
        margin: 32px 0 10px !important;
        justify-content: flex-end !important;
    }

    body.jap-hr-dashboard-page .jap-manager-help {
        width: 100% !important;
        margin: 0 0 16px !important;
        padding: 0 !important;
        font-size: 13px !important;
        line-height: 20px !important;
    }

    body.jap-hr-dashboard-page .jap-table-scroll {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        overflow-x: visible !important;
        border: 0 !important;
        background: transparent !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: auto !important;
        background: transparent !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table,
    body.jap-hr-dashboard-page .jap-jobs-table tbody,
    body.jap-hr-dashboard-page .jap-jobs-table tr,
    body.jap-hr-dashboard-page .jap-jobs-table td {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table thead,
    body.jap-hr-dashboard-page .jap-hidden-form-row,
    body.jap-hr-dashboard-page .jap-new-row-placeholder,
    body.jap-hr-dashboard-page .jap-sr-value {
        display: none !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row {
        margin: 0 0 14px !important;
        border: 1px solid #d8e1ea !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        background: #fff !important;
        box-shadow: 0 5px 18px rgba(15, 23, 42, 0.08) !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row td {
        display: none !important;
        padding: 12px 14px !important;
        border: 0 !important;
        background: #fff !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row .jap-col-sr {
        display: block !important;
        padding: 0 !important;
        text-align: left !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-toggle {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open td:not(.jap-col-sr) {
        display: grid !important;
        grid-template-columns: 150px minmax(0, 1fr) !important;
        gap: 10px !important;
        align-items: start !important;
        border-top: 1px solid #edf2f7 !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open .jap-description-cell,
    body.jap-hr-dashboard-page .jap-job-main-row.is-open .jap-actions-cell {
        grid-template-columns: 1fr !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open td:not(.jap-col-sr)::before {
        content: attr(data-label) !important;
        color: #475569 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 34px !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open .jap-description-cell::before,
    body.jap-hr-dashboard-page .jap-job-main-row.is-open .jap-actions-cell::before {
        line-height: 1.2 !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table input[type="text"],
    body.jap-hr-dashboard-page .jap-jobs-table input[type="email"],
    body.jap-hr-dashboard-page .jap-jobs-table select,
    body.jap-hr-dashboard-page .jap-rich-editor,
    body.jap-hr-dashboard-page .jap-editor-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.jap-hr-dashboard-page .jap-job-email-row,
    body.jap-hr-dashboard-page .jap-job-email-row td,
    body.jap-hr-dashboard-page .jap-job-email-row td[colspan] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 600px) {
    body.jap-hr-dashboard-page .jap-hr-dashboard-wrap {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.jap-hr-dashboard-page .jap-hr-add-row-wrap {
        justify-content: center !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open td:not(.jap-col-sr) {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open td:not(.jap-col-sr)::before {
        line-height: 1.2 !important;
    }
}

/* v1.6.1: mobile/tablet accordion email fields + unified button color */
@media (max-width: 1200px) {
    body.jap-hr-dashboard-page .jap-mobile-job-toggle {
        background: #08559C !important;
        color: #ffffff !important;
        border-radius: 14px !important;
        box-shadow: 0 3px 6px #00000029 !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-title,
    body.jap-hr-dashboard-page .jap-mobile-job-chevron {
        color: #ffffff !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-meta {
        background: #ffffff !important;
        color: #08559C !important;
        font-weight: 400 !important;
    }

    body.jap-hr-dashboard-page .jap-actions-cell .button,
    body.jap-hr-dashboard-page .jap-actions-cell button,
    body.jap-hr-dashboard-page .jap-actions-cell .button-primary,
    body.jap-hr-dashboard-page .jap-actions-cell .button-link-delete {
        background: #08559C !important;
        border: 1px solid #08559C !important;
        color: #ffffff !important;
        border-radius: 8px !important;
        box-shadow: none !important;
        text-align: center !important;
        text-decoration: none !important;
        font-family: Barlow, Arial, Helvetica, sans-serif !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        min-height: 38px !important;
    }

    body.jap-hr-dashboard-page .jap-email-toggle {
        display: none !important;
    }

    body.jap-hr-dashboard-page .jap-job-email-row[hidden],
    body.jap-hr-dashboard-page .jap-job-email-row[hidden] td,
    body.jap-hr-dashboard-page .jap-job-email-row[hidden] td[colspan] {
        display: none !important;
    }

    body.jap-hr-dashboard-page .jap-job-email-row {
        margin: -14px 0 14px !important;
        border: 1px solid #d8e1ea !important;
        border-top: 0 !important;
        border-radius: 0 0 14px 14px !important;
        overflow: hidden !important;
        background: #f3f8fe !important;
        box-shadow: 0 5px 18px rgba(15, 23, 42, 0.08) !important;
    }

    body.jap-hr-dashboard-page .jap-job-email-row td,
    body.jap-hr-dashboard-page .jap-job-email-row td[colspan] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 14px !important;
        box-sizing: border-box !important;
        background: #f3f8fe !important;
        border: 0 !important;
    }

    body.jap-hr-dashboard-page .jap-email-fields {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 0 !important;
        background: transparent !important;
    }

    body.jap-hr-dashboard-page .jap-email-fields label {
        color: #08233f !important;
        font-family: Barlow, Arial, Helvetica, sans-serif !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    body.jap-hr-dashboard-page .jap-email-fields input {
        margin-top: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 44px !important;
        box-sizing: border-box !important;
    }
}

/* v1.6.2: improved mobile accordion, application readability, and export button */
.jap-hr-section-title-with-action {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.jap-hr-download-applications {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 23px;
    background: #08559C;
    color: #ffffff !important;
    border: 1px solid #08559C;
    box-shadow: 0px 3px 6px #00000029;
    font-family: Barlow, Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none !important;
    white-space: nowrap;
}

.jap-hr-application-card {
    padding: 20px !important;
    border: 1px solid #d7e3f0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

.jap-hr-application-head {
    align-items: center !important;
    padding-bottom: 14px;
    border-bottom: 1px solid #e6edf5;
}

.jap-hr-application-title strong {
    font-size: 18px !important;
    line-height: 1.3 !important;
    color: #0f172a !important;
}

.jap-hr-application-title span {
    font-size: 13px !important;
    color: #64748b !important;
}

.jap-hr-application-actions {
    margin: 0 !important;
}

.jap-hr-link-danger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 96px !important;
    min-height: 36px !important;
    padding: 0 16px !important;
    border: 1px solid #08559C !important;
    border-radius: 18px !important;
    background: #08559C !important;
    color: #ffffff !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.jap-hr-application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.jap-hr-application-grid div {
    padding: 13px 14px !important;
    border-radius: 10px !important;
    background: #f8fbff !important;
    border: 1px solid #e4edf7 !important;
}

.jap-hr-application-grid small {
    font-size: 12px !important;
    line-height: 1.2 !important;
    color: #64748b !important;
    margin-bottom: 6px !important;
}

.jap-hr-application-grid span {
    display: block !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    color: #111827 !important;
    font-weight: 500 !important;
    word-break: break-word !important;
}

.jap-hr-resume {
    align-items: center !important;
    justify-content: center !important;
    min-height: 36px !important;
    padding: 0 16px !important;
    border-radius: 18px !important;
    background: #eef6ff !important;
    color: #08559C !important;
    border: 1px solid #bfd8f2 !important;
    width: fit-content !important;
}

@media (max-width: 1200px) {
    body.jap-hr-dashboard-page .jap-jobs-table,
    body.jap-hr-dashboard-page .jap-jobs-table tbody,
    body.jap-hr-dashboard-page .jap-jobs-table tr,
    body.jap-hr-dashboard-page .jap-jobs-table td,
    body.jap-hr-dashboard-page .jap-job-main-row,
    body.jap-hr-dashboard-page .jap-job-main-row td,
    body.jap-hr-dashboard-page .jap-job-email-row,
    body.jap-hr-dashboard-page .jap-job-email-row td {
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-color: transparent !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row {
        border: 0 !important;
        border-radius: 15px !important;
        box-shadow: none !important;
        overflow: visible !important;
        background: transparent !important;
        margin: 0 0 14px !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row .jap-col-sr {
        border: 0 !important;
        background: transparent !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-toggle {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-height: 58px !important;
        padding: 0 54px 0 18px !important;
        border: 0 !important;
        border-radius: 14px !important;
        background: #08559C !important;
        color: #ffffff !important;
        box-shadow: 0px 3px 6px #00000029 !important;
        overflow: hidden !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-title {
        color: #ffffff !important;
        max-width: calc(100% - 104px) !important;
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-meta {
        margin-left: auto !important;
        margin-right: 14px !important;
        background: #ffffff !important;
        color: #08559C !important;
        flex: 0 0 auto !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-chevron {
        position: absolute !important;
        top: 50% !important;
        right: 18px !important;
        transform: translateY(-50%) !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 22px !important;
        height: 22px !important;
        color: #ffffff !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open .jap-mobile-job-chevron {
        transform: translateY(-50%) rotate(180deg) !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open td:not(.jap-col-sr) {
        margin: 0 !important;
        padding: 12px 14px !important;
        border: 0 !important;
        border-top: 0 !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open td:nth-child(2) {
        margin-top: 6px !important;
        border-radius: 12px 12px 0 0 !important;
        padding-top: 16px !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open .jap-actions-cell {
        border-radius: 0 0 12px 12px !important;
        padding-bottom: 16px !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open input[type="text"],
    body.jap-hr-dashboard-page .jap-job-main-row.is-open input[type="email"],
    body.jap-hr-dashboard-page .jap-job-main-row.is-open select {
        min-height: 42px !important;
        border-radius: 6px !important;
        border-color: #c8d7e5 !important;
        padding: 8px 10px !important;
    }

    body.jap-hr-dashboard-page .jap-rich-editor {
        border-color: #c8d7e5 !important;
        border-radius: 8px !important;
    }

    body.jap-hr-dashboard-page .jap-editor-content {
        min-height: 150px !important;
    }

    body.jap-hr-dashboard-page .jap-job-email-row:not([hidden]) {
        display: block !important;
        margin: -14px 0 14px !important;
        border: 0 !important;
        border-radius: 0 0 14px 14px !important;
        background: #ffffff !important;
        box-shadow: 0 7px 18px rgba(15, 23, 42, 0.08) !important;
        padding: 0 !important;
    }

    body.jap-hr-dashboard-page .jap-job-email-row:not([hidden]) td[colspan],
    body.jap-hr-dashboard-page .jap-job-email-row:not([hidden]) td {
        background: #ffffff !important;
        padding: 0 14px 16px !important;
        border: 0 !important;
    }

    body.jap-hr-dashboard-page .jap-email-fields {
        padding: 14px !important;
        border: 1px solid #d8e1ea !important;
        border-radius: 12px !important;
        background: #f3f8fe !important;
    }

    body.jap-hr-dashboard-page .jap-actions-cell .button,
    body.jap-hr-dashboard-page .jap-actions-cell button,
    body.jap-hr-dashboard-page .jap-actions-cell .button-primary,
    body.jap-hr-dashboard-page .jap-actions-cell .button-link-delete {
        background: #08559C !important;
        border-color: #08559C !important;
        color: #ffffff !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 700px) {
    .jap-hr-section-title-with-action {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .jap-hr-download-applications {
        width: 100% !important;
    }

    .jap-hr-application-head {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .jap-hr-application-grid {
        grid-template-columns: 1fr !important;
    }

    .jap-hr-link-danger {
        width: 100% !important;
    }
}


/* v1.6.5: cleaner applications alignment + mobile job accordion polish */
.jap-hr-applications-section {
    margin: 28px 54px 0 !important;
}

.jap-hr-section-title-with-action {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 18px !important;
}

.jap-hr-section-title h2 {
    margin: 0 0 6px !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.jap-hr-section-title p {
    margin: 0 !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: #64748b !important;
}

.jap-hr-download-applications {
    flex: 0 0 auto !important;
    height: 45px !important;
    min-height: 45px !important;
    padding: 0 28px !important;
    border-radius: 23px !important;
    background: #08559C !important;
    border: 1px solid #08559C !important;
    color: #ffffff !important;
    box-shadow: 0px 3px 6px #00000029 !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.jap-hr-applications-list {
    display: grid !important;
    gap: 18px !important;
}

.jap-hr-application-card {
    padding: 20px !important;
    border: 1px solid #d7e3f0 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}

.jap-hr-application-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #e6edf5 !important;
}

.jap-hr-application-title {
    min-width: 0 !important;
}

.jap-hr-application-title strong {
    display: block !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    word-break: break-word !important;
}

.jap-hr-application-title span {
    display: block !important;
    margin-top: 5px !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    color: #64748b !important;
}

.jap-hr-application-actions {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.jap-hr-link-danger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 104px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    border: 1px solid #08559C !important;
    border-radius: 20px !important;
    background: #08559C !important;
    color: #ffffff !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    box-shadow: 0px 3px 6px #0000001F !important;
}

.jap-hr-application-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

.jap-hr-application-grid div {
    padding: 14px 16px !important;
    border-radius: 12px !important;
    background: #f8fbff !important;
    border: 1px solid #e4edf7 !important;
    min-height: 70px !important;
}

.jap-hr-application-grid small {
    display: block !important;
    margin-bottom: 8px !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #64748b !important;
}

.jap-hr-application-grid span {
    display: block !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    color: #111827 !important;
    word-break: break-word !important;
}

.jap-hr-resume {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    margin-top: 16px !important;
    padding: 0 18px !important;
    border-radius: 20px !important;
    background: #eef6ff !important;
    border: 1px solid #bfd8f2 !important;
    color: #08559C !important;
    font-family: Barlow, Arial, Helvetica, sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

@media (max-width: 1200px) {
    body.jap-hr-dashboard-page .jap-jobs-table,
    body.jap-hr-dashboard-page .jap-jobs-table tbody,
    body.jap-hr-dashboard-page .jap-jobs-table tr,
    body.jap-hr-dashboard-page .jap-jobs-table td,
    body.jap-hr-dashboard-page .jap-job-main-row,
    body.jap-hr-dashboard-page .jap-job-main-row td,
    body.jap-hr-dashboard-page .jap-job-email-row,
    body.jap-hr-dashboard-page .jap-job-email-row td {
        border-left: 0 !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-color: transparent !important;
        outline: 0 !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row {
        border: 0 !important;
        border-radius: 15px !important;
        box-shadow: none !important;
        overflow: visible !important;
        background: transparent !important;
        margin: 0 0 14px !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row .jap-col-sr {
        border: 0 !important;
        background: transparent !important;
        padding: 0 !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-toggle {
        display: grid !important;
        grid-template-columns: 1fr auto 24px !important;
        align-items: center !important;
        gap: 12px !important;
        width: 100% !important;
        min-height: 58px !important;
        padding: 0 16px 0 18px !important;
        border: 0 !important;
        border-radius: 14px !important;
        background: #08559C !important;
        color: #ffffff !important;
        box-shadow: 0px 3px 6px #00000029 !important;
        overflow: hidden !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-title {
        color: #ffffff !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-align: left !important;
        min-width: 0 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-meta {
        margin: 0 !important;
        padding: 4px 10px !important;
        border-radius: 13px !important;
        background: #ffffff !important;
        color: #08559C !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-chevron {
        position: static !important;
        transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        color: #ffffff !important;
        font-size: 22px !important;
        line-height: 1 !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open .jap-mobile-job-chevron {
        transform: rotate(180deg) !important;
    }
}

@media (max-width: 700px) {
    body.jap-hr-dashboard-page .jap-hr-applications-section {
        margin: 24px 0 0 !important;
    }

    body.jap-hr-dashboard-page .jap-hr-section-title-with-action {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    body.jap-hr-dashboard-page .jap-hr-download-applications {
        width: 100% !important;
    }

    body.jap-hr-dashboard-page .jap-hr-application-card {
        padding: 16px !important;
        border-radius: 14px !important;
    }

    body.jap-hr-dashboard-page .jap-hr-application-head {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    body.jap-hr-dashboard-page .jap-hr-link-danger {
        width: 100% !important;
    }

    body.jap-hr-dashboard-page .jap-hr-application-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    body.jap-hr-dashboard-page .jap-hr-application-grid div {
        padding: 13px 14px !important;
    }
}

/* v1.6.6: application accordion + cleaner application alignment */
body.jap-hr-dashboard-page .jap-mobile-job-toggle {
    align-items: center !important;
}
body.jap-hr-dashboard-page .jap-mobile-job-arrow {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}
body.jap-hr-dashboard-page .jap-hr-section-title-with-action {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin-bottom: 22px !important;
}
body.jap-hr-dashboard-page .jap-hr-download-applications {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 230px !important;
    height: 45px !important;
    padding: 0 22px !important;
    border-radius: 23px !important;
    background: #08559C !important;
    color: #ffffff !important;
    border: 1px solid #08559C !important;
    box-shadow: 0px 3px 6px #00000029 !important;
    font: normal normal 400 16px/19px Barlow, Arial, Helvetica, sans-serif !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}
body.jap-hr-dashboard-page .jap-hr-applications-list {
    gap: 18px !important;
}
body.jap-hr-dashboard-page .jap-hr-application-card {
    padding: 20px !important;
    border: 1px solid #d5e2f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(8, 85, 156, 0.08) !important;
}
body.jap-hr-dashboard-page .jap-hr-application-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin: 0 0 16px !important;
}
body.jap-hr-dashboard-page .jap-hr-application-title strong {
    font: normal normal 700 20px/24px Barlow, Arial, Helvetica, sans-serif !important;
    color: #071b33 !important;
}
body.jap-hr-dashboard-page .jap-hr-application-title span {
    margin-top: 6px !important;
    font: normal normal 400 14px/18px Barlow, Arial, Helvetica, sans-serif !important;
    color: #59708a !important;
}
body.jap-hr-dashboard-page .jap-hr-application-actions-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
}
body.jap-hr-dashboard-page .jap-hr-view-application,
body.jap-hr-dashboard-page .jap-hr-link-danger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 126px !important;
    height: 38px !important;
    padding: 0 18px !important;
    border-radius: 20px !important;
    border: 1px solid #08559C !important;
    background: #08559C !important;
    color: #ffffff !important;
    box-shadow: 0px 3px 6px #0000001f !important;
    font: normal normal 400 15px/18px Barlow, Arial, Helvetica, sans-serif !important;
    text-decoration: none !important;
    cursor: pointer !important;
}
body.jap-hr-dashboard-page .jap-hr-view-application {
    display: none !important;
}
body.jap-hr-dashboard-page .jap-hr-application-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
}
body.jap-hr-dashboard-page .jap-hr-application-grid div {
    padding: 14px !important;
    border-radius: 12px !important;
    background: #f8fbff !important;
    border: 1px solid #dce9f7 !important;
}
body.jap-hr-dashboard-page .jap-hr-resume {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 120px !important;
    height: 38px !important;
    margin-top: 16px !important;
    padding: 0 18px !important;
    border-radius: 20px !important;
    border: 1px solid #08559C !important;
    background: #ffffff !important;
    color: #08559C !important;
    font: normal normal 600 15px/18px Barlow, Arial, Helvetica, sans-serif !important;
    text-decoration: none !important;
}
@media (max-width: 1200px) {
    body.jap-hr-dashboard-page .jap-hr-section-title-with-action {
        align-items: stretch !important;
        flex-direction: column !important;
        gap: 14px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-download-applications {
        width: 100% !important;
        min-width: 0 !important;
    }
    body.jap-hr-dashboard-page .jap-hr-application-card {
        padding: 0 !important;
        overflow: hidden !important;
    }
    body.jap-hr-dashboard-page .jap-hr-application-head {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin: 0 !important;
        padding: 16px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-application-actions-wrap {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        width: 100% !important;
    }
    body.jap-hr-dashboard-page .jap-hr-application-actions {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }
    body.jap-hr-dashboard-page .jap-hr-view-application,
    body.jap-hr-dashboard-page .jap-hr-link-danger {
        display: inline-flex !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 40px !important;
        border-radius: 20px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-application-body {
        display: none !important;
        padding: 0 16px 16px !important;
        border-top: 1px solid #e0edf8 !important;
    }
    body.jap-hr-dashboard-page .jap-hr-application-card.is-open .jap-hr-application-body {
        display: block !important;
    }
    body.jap-hr-dashboard-page .jap-hr-application-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 14px !important;
    }
    body.jap-hr-dashboard-page .jap-hr-resume {
        width: 100% !important;
        margin-top: 12px !important;
    }
}
@media (min-width: 1201px) {
    body.jap-hr-dashboard-page .jap-hr-application-body {
        display: block !important;
    }
}


/* v1.7.6 mobile/tablet job arrow alignment fix */
@media (max-width: 1200px) {
    body.jap-hr-dashboard-page .jap-mobile-job-toggle {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        min-height: 58px !important;
        padding: 0 54px 0 18px !important;
        overflow: hidden !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-meta {
        margin-left: auto !important;
        margin-right: 34px !important;
        flex: 0 0 auto !important;
    }

    body.jap-hr-dashboard-page .jap-mobile-job-chevron {
        position: absolute !important;
        top: 50% !important;
        right: 18px !important;
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        font-size: 18px !important;
        line-height: 20px !important;
        transform: translateY(-50%) !important;
        transform-origin: center center !important;
        transition: transform .2s ease !important;
    }

    body.jap-hr-dashboard-page .jap-job-main-row.is-open .jap-mobile-job-chevron {
        top: 50% !important;
        right: 18px !important;
        transform: translateY(-50%) rotate(180deg) !important;
    }
}

/* =========================================================
   v1.8.0 - 1366px laptop table visibility fix
   Keep the desktop table layout, but make every column fit
   inside the viewport without clipping the Actions column.
========================================================= */
@media (min-width: 1201px) and (max-width: 1366px) {
    html body.jap-hr-dashboard-page,
    body.jap-hr-dashboard-page {
        overflow-x: hidden !important;
    }

    body.jap-hr-dashboard-page .jap-hr-dashboard-wrap {
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body.jap-hr-dashboard-page .jap-manager-help,
    body.jap-hr-dashboard-page .jap-hr-add-row-wrap,
    body.jap-hr-dashboard-page .jap-table-scroll {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.jap-hr-dashboard-page .jap-table-scroll {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        border-collapse: collapse !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table th,
    body.jap-hr-dashboard-page .jap-jobs-table td {
        min-width: 0 !important;
        max-width: none !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Exact column distribution for 1366px laptop screens */
    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(1),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(1) { width: 5% !important; }

    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(2),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(2) { width: 11% !important; }

    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(3),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(3) { width: 10% !important; }

    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(4),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(4) { width: 10% !important; }

    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(5),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(5) { width: 10% !important; }

    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(6),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(6) { width: 34% !important; }

    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(7),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(7) { width: 10% !important; }

    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(8),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(8) { width: 10% !important; }

    body.jap-hr-dashboard-page .jap-jobs-table .jap-col-sr,
    body.jap-hr-dashboard-page .jap-description-cell,
    body.jap-hr-dashboard-page .jap-actions-cell {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table input[type="text"],
    body.jap-hr-dashboard-page .jap-jobs-table input[type="email"],
    body.jap-hr-dashboard-page .jap-jobs-table select {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        font-size: 13px !important;
        box-sizing: border-box !important;
    }

    body.jap-hr-dashboard-page .jap-rich-editor {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.jap-hr-dashboard-page .jap-editor-toolbar {
        gap: 2px !important;
        padding: 4px !important;
    }

    body.jap-hr-dashboard-page .jap-editor-button {
        min-width: 28px !important;
        min-height: 28px !important;
        padding: 2px 5px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }

    body.jap-hr-dashboard-page .jap-actions-cell .button,
    body.jap-hr-dashboard-page .jap-actions-cell button {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 5px 4px !important;
        font-size: 13px !important;
        line-height: 18px !important;
        box-sizing: border-box !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table th {
        font-size: 13px !important;
        white-space: nowrap !important;
    }
}


/* =========================================================
   v1.8.3 - 1536px desktop table fit correction
   At viewport widths below 1600px the normal dashboard margins
   make .jap-table-scroll narrower than the table's 1360px base
   minimum. Remove only that minimum on medium/large desktops so
   the normal desktop table scales to the available width.
   1600px+, including 1680px and 1920px, is unchanged.
   Existing tablet/mobile rules are unchanged.
========================================================= */
@media screen and (min-width: 1367px) and (max-width: 1599px) {
    body.jap-hr-dashboard-page .jap-table-scroll {
        overflow-x: hidden !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table th,
    body.jap-hr-dashboard-page .jap-jobs-table td {
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Keep the normal desktop proportions instead of the generic
       v1.8.2 medium-desktop column overrides from admin-jobs.css. */
    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(1),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(1) {
        width: 60px !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(2),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(2),
    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(3),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(3),
    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(4),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(4),
    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(5),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(5),
    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(7),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(7),
    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(8),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(8) {
        width: auto !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table th:nth-child(6),
    body.jap-hr-dashboard-page .jap-jobs-table td:nth-child(6) {
        width: 34% !important;
    }

    body.jap-hr-dashboard-page .jap-jobs-table input[type="text"],
    body.jap-hr-dashboard-page .jap-jobs-table input[type="email"],
    body.jap-hr-dashboard-page .jap-jobs-table select,
    body.jap-hr-dashboard-page .jap-rich-editor,
    body.jap-hr-dashboard-page .jap-description-cell,
    body.jap-hr-dashboard-page .jap-actions-cell {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.jap-hr-dashboard-page .jap-actions-cell .button,
    body.jap-hr-dashboard-page .jap-actions-cell button {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
