.navbar-trial-expiry {
    margin-right: 30px !important;
}

.navbar-payment-required {
    position: absolute;
    right: 0px;
    top: 51px;
    margin-right: 0px;
    padding: 5px;
    margin-bottom: 0px !important;
    border-radius: 0px 0px 5px 5px;
    background-color: #ffac7063 !important;
    max-width: 586px;
    display: inline;
    text-align: center;
}

@media (max-width: 235px) {
    .navbar-payment-required {
        top: 100px;
    }
}

@media (max-width: 468px) {
    .navbar-payment-required {
        margin-left: 200px;
    }
}

@media (max-width: 557px) {
    .navbar-payment-required {
        font-size: smaller;

    }
}

.margin-30 {
    margin-top: 30px;
}

#template-preview-content {
    width: 100%;
    border: none;
    height: 500px;
}

#email-template-modal-preview {
    width: 80%;
}

.note-group-select-from-files {
    display: none;
}

.btn-group.special {
    display: flex;
    /*margin-left:10px;*/
}

.special .btn {
    flex: 1;
}

.one-to-five-label {
    margin-top: 5px;
    overflow: hidden;
}

.not-bold {
    font-weight: normal;
}

a.skip-main {
    left: -999px;
    position: absolute;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
}

a.skip-main:focus,
a.skip-main:active {
    color: #fff;
    background-color: #337ab7;
    left: auto;
    top: auto;
    width: 30%;
    height: auto;
    overflow: auto;
    margin: 10px 35%;
    padding: 5px;
    border-radius: 5px;
    border: 2px solid #333;
    text-align: center;
    font-size: 1.2em;
    z-index: 999;
}

.mandatory-question-marker {
    font-size: 9px;
    vertical-align: super;
    color: #525252;
}

.invoice {
    margin-bottom: 10px;
}


.highlight-answer {
    border-radius: 50%;
    color: #FFF;
    background-color: #337ab7 !important;
}

.survey-response-table tbody tr td span {
    padding: 2px 7px;
}

.survey-response-table tbody tr td {
    padding: 2px 7px;
    text-align: center;
}

.batch-questionnaire-table tbody tr td input {
    display: block;
    margin: 0px auto;
}

/* Rating columns size to their box so the boxes never overlap; the wrapper scrolls if the table is still too wide */
.batch-questionnaire-table .rating-col {
    width: 1%;
    padding-left: 3px;
    padding-right: 3px;
    white-space: nowrap;
}

/* Rating scale rendered as numbered boxes instead of circle radio buttons */
.batch-questionnaire-table tbody tr td .rating-box {
    position: relative;
    display: inline-block;
    margin: 0;
    cursor: pointer;
    line-height: normal;
}

.batch-questionnaire-table tbody tr td .rating-box input[type="radio"] {
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.batch-questionnaire-table tbody tr td .rating-box .rating-box-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 36px;
    padding: 0;
    margin: 0 auto;
    white-space: nowrap;
    border: 1px solid #006400;
    border-radius: 4px;
    background-color: #fff;
    color: #495057;
    font-weight: 500;
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out, color .15s ease-in-out;
}

.batch-questionnaire-table tbody tr td .rating-box:hover .rating-box-label {
    border-color: #006400;
    background-color: #eaf5ec;
}

.batch-questionnaire-table tbody tr td .rating-box input[type="radio"]:checked + .rating-box-label {
    border-color: #006400;
    background-color: #2a9d32;
    color: #fff;
}

.batch-questionnaire-table tbody tr td .rating-box input[type="radio"]:focus-visible + .rating-box-label {
    outline: 2px solid #2a9d32;
    outline-offset: 2px;
}

.highlight-value-bullhorn {
    padding: 0 3px;
    color: #fff !important;
    background-color: #f16a22 !important;
}

.highlight-value-jobadder {
    padding: 0 3px;
    color: #fff !important;
    background-color: #0069b2 !important;
}

.highlight-value-vincere {
    padding: 0 3px;
    color: #fff !important;
    background-color: #e41b42 !important;
}

.i-consent a {
    text-decoration: underline;
}

.btn .azure-logo {
    width: 27px;
    height: 27px;
    vertical-align: bottom;
    width: auto;
}

.btn .linked-in-logo {
    height: 1.5em;
    vertical-align: bottom;
    width: auto;
}

.well a {
    text-decoration: underline;
}

.well a.btn {
    text-decoration: none;
}

#main-header-logo {
    width: 130px;
}

.input-no-glow {
    box-shadow: none !important;
    border: none !important;
}

.btn-stripe-identity {
    font-size: 14px !important;
    text-transform: uppercase !important;
    padding: 5px 30px 15px 30px !important;
    -webkit-border-radius: 30px !important;
    -moz-border-radius: 30px !important;
    border-radius: 30px !important;
}

.verification-check-badge {
    width: 26px;
}

.badge-success {
    color: #fff !important;
    background-color: #28a745 !important;
}

.badge-danger {
    color: #fff !important;
    background-color: #dc3545 !important;
}

.badge-warning {
    color: #fff !important;
    background-color: #ffb700 !important;
}

.badge-primary {
    color: #fff !important;
    background-color: #337ab7 !important;
}

.verification-check-list .list-group-item {
    border: none !important;
    margin-bottom: 0px !important;
    border-bottom: 1px solid #ddd !important;
}

.table.candidates-list td {
    vertical-align: middle;
}

.recruiter-filter .select2-container--default .select2-selection--single {
    border-radius: 0 !important;
    height: 34px;
    padding: 3px 12px;
}

.update-form .form-group::after {
    display: block;
    clear: both;
    content: "";
}

.update-form .form-group>label,
.update-form .form-group>.form-control,
.update-form .form-group>.form-control-wrapper {
    display: block;
    float: left;
    width: 65%;
}

.update-form .form-group>label {
    width: 35%;
    padding-top: 8px;
}

.update-form .form-group.checkbox>label {
    width: 100%;
    height: auto;
    padding-top: 0;
}

.form-group.checkbox>label {
    font-weight: 700;
}

.pagination-container {
    margin: 30px 0px;
}

span.fa-stack {
    width: 1em !important;
    height: 1em !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    vertical-align: middle !important;
    position: relative;
    overflow: hidden;
}

span.fa-stack .fa-flag.referee-red.solo {
    margin-top: -0.12em;
    font-size: 0.7em;
    display: inline-block;
    vertical-align: middle;
}

span.fa-stack .fa-exclamation-triangle.referee-yellow.solo {
    margin-top: -0.12em;
    font-size: 0.7em;
    display: inline-block;
    vertical-align: middle;
}

.svg-inline--fa.fa-stack-2x {
    width: 1em;
    height: 1em;
    vertical-align: middle;
}

.svg-inline--fa.fa-stack-1x {
    width: 0.5em;
    height: 0.5em;
    vertical-align: middle;
}

.svg-inline--fa.fa-stack-2x.fa-flag {
    width: 0.7em;
}

.svg-inline--fa.fa-stack-2x.fa-square-full.solo {
    font-size: 0.8em;
}

.btn-legend {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-legend-danger {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

/* .btn-legend-light {
    color: #000 !important;
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
} */

.btn-legend-warning {
    color: #000 !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.btn-legend-success {
    color: #fff !important;
    background-color: #198754 !important;
    border-color: #198754 !important
}

.time-saved-hours {
    font-size: 55px;
}

.dash-box .report-link {
    display: block;
    margin-top: 20px;
}


.btn-legend {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: default;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Icons for candidate list table legend */
.legend-icon {
    display: inline;
    font-size: 1.4em;
}

.legend-icon .crimson,
.fa-solid.crimson {
    color: #dc3545;
}

.legend-icon .yellow,
.fa-solid.yellow {
    color: #ffbf00;
}

.legend-icon .green,
.fa-solid.green {
    color: green;
}

.legend-icon .grey,
.fa-solid.grey {
    color: #777777;
}

/*
 * Recurring check badges on the workforce list rows. The rules above only paint .fa-solid, and a
 * check's logo can be any FontAwesome family, so these paint by badge class instead of by family.
 * The icon is sized with the surrounding text rather than enlarged like .legend-icon, which a row of
 * them made too heavy.
 *
 * The chip border takes currentColor so it always matches whatever the status painted the icon, and
 * only the fill is stated per status: the same colour at low opacity, which is a lighter variant of
 * the border by construction rather than a second set of hex values to keep in step with it.
 *
 * Only the table rows carry .check-badge. The legend renders the same icons bare, because a legend
 * names the categories rather than reporting a status and has no colour to box.
 */
/*
 * Tag qualified so it outranks FontAwesome's own `.fa-solid { display: inline-block }`, which loads
 * after this file and wins an equal specificity tie — leaving the glyph sitting at the top of the
 * box because the flex centring below never applied.
 */
i.check-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid currentColor;
    /* Collapsed to the glyph's own height so align-items centres the ink rather than a padded line box. */
    line-height: 1;
    /* Keeps two chips level with each other in the cell, which baseline alignment would not. */
    vertical-align: middle;
}

.check-badge.crimson {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.12);
}

.check-badge.yellow {
    color: #ffbf00;
    background-color: rgba(255, 191, 0, 0.15);
}

.check-badge.green {
    color: green;
    background-color: rgba(0, 128, 0, 0.12);
}

.check-badge.grey {
    color: #777777;
    background-color: rgba(119, 119, 119, 0.12);
}

/*
 * The tinted tile behind a modal header's icon, on the workforce list's bulk action confirmations.
 * Same recipe as .check-badge above — a square of the icon's own colour at low opacity — at the
 * larger size a header wants, and with the corner radius the design draws.
 *
 * The colour comes from the variant class rather than currentColor, because the tile sits inside an
 * h4 that has to keep its own text colour.
 */
.modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
    /* Collapsed to the glyph's own height so align-items centres the ink, not a padded line box. */
    line-height: 1;
    vertical-align: middle;
}

.modal-icon.danger {
    color: #dc3545;
    background-color: rgba(220, 53, 69, 0.12);
}

.modal-icon.primary {
    color: #337ab7;
    background-color: rgba(51, 122, 183, 0.12);
}

.modal-icon.success {
    color: green;
    background-color: rgba(0, 128, 0, 0.12);
}

/*
 * Opt-in, not a rule for every .modal-title in the app: this centres the heading against the tile
 * beside it, which only the headers carrying one want.
 */
.modal-header-icon .modal-title {
    display: flex;
    align-items: center;
}

.btn-legend-danger {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-legend-light {
    color: #000;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.btn-legend-warning {
    color: #000;
    background-color: #ffc107;
    border-color: #ffc107;
}

.btn-legend-success {
    color: #fff;
    background-color: #198754;
    border-color: #198754;
}

.pager li a.selected {
    background-color: #dddddd;
}

td.width-content,
th.width-content {
    width: 1%;
    white-space: nowrap;
}

.fade-enter-active,
.fade-leave-active {
    transition: opacity .5s;
}

.fade-enter,
.fade-leave-to {
    opacity: 0;
}

.d-block {
    display: block !important;
}

/* Margin */
.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: .25rem !important;
}

.m-2 {
    margin: .5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

/* Margin X */
.mx-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.mx-1 {
    margin-left: .25rem !important;
    margin-right: .25rem !important;
}

.mx-2 {
    margin-left: .5rem !important;
    margin-right: .5rem !important;
}

.mx-3 {
    margin-left: 1rem !important;
    margin-right: 1rem !important;
}

.mx-4 {
    margin-left: 1.5rem !important;
    margin-right: 1.5rem !important;
}

.mx-5 {
    margin-left: 3rem !important;
    margin-right: 3rem !important;
}

/* Margin Y */
.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.my-1 {
    margin-top: .25rem !important;
    margin-bottom: .25rem !important;
}

.my-2 {
    margin-top: .5rem !important;
    margin-bottom: .5rem !important;
}

.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

/* Margin Top */
.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: .25rem !important;
}

.mt-2 {
    margin-top: .5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* Margin Bottom */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: .25rem !important;
}

.mb-2 {
    margin-bottom: .5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

/* Margin Start */
.ms-0 {
    margin-left: 0 !important;
}

.ms-1 {
    margin-left: .25rem !important;
}

.ms-2 {
    margin-left: .5rem !important;
}

.ms-3 {
    margin-left: 1rem !important;
}

.ms-4 {
    margin-left: 1.5rem !important;
}

.ms-5 {
    margin-left: 3rem !important;
}

/* Margin End */
.me-0 {
    margin-right: 0 !important;
}

.me-1 {
    margin-right: .25rem !important;
}

.me-2 {
    margin-right: .5rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.me-4 {
    margin-right: 1.5rem !important;
}

.me-5 {
    margin-right: 3rem !important;
}

/* Padding */
.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: .25rem !important;
}

.p-2 {
    padding: .5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

/* Padding X */
.px-0 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.px-1 {
    padding-left: .25rem !important;
    padding-right: .25rem !important;
}

.px-2 {
    padding-left: .5rem !important;
    padding-right: .5rem !important;
}

.px-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.px-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
}

/* Padding Y */
.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.py-1 {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
}

.py-2 {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
}

.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Padding Top */
.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: .25rem !important;
}

.pt-2 {
    padding-top: .5rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

/* Padding Bottom */
.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: .25rem !important;
}

.pb-2 {
    padding-bottom: .5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pb-4 {
    padding-bottom: 1.5rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

/* Padding Start */
.ps-0 {
    padding-left: 0 !important;
}

.ps-1 {
    padding-left: .25rem !important;
}

.ps-2 {
    padding-left: .5rem !important;
}

.ps-3 {
    padding-left: 1rem !important;
}

.ps-4 {
    padding-left: 1.5rem !important;
}

.ps-5 {
    padding-left: 3rem !important;
}

/* Padding End */
.pe-0 {
    padding-right: 0 !important;
}

.pe-1 {
    padding-right: .25rem !important;
}

.pe-2 {
    padding-right: .5rem !important;
}

.pe-3 {
    padding-right: 1rem !important;
}

.pe-4 {
    padding-right: 1.5rem !important;
}

.pe-5 {
    padding-right: 3rem !important;
}

/* Widths */
.w-1 {
    width: 1% !important;
}

.w-20 {
    width: 20% !important;
}

.w-25 {
    width: 25% !important;
}

.w-50 {
    width: 50% !important;
}

.w-100 {
    width: 100% !important;
}

/* Borders */

.border-0 {
    border: 0 !important;
}

/* Text Alignment */
.text-start {
    text-align: left !important;
}

.text-end {
    text-align: right !important;
}

/* Table Alignment */

table.align-top th,
table.align-top td,
th.align-top,
td.align-top {
    vertical-align: top !important;
}

table.align-middle th,
table.align-middle td,
th.align-middle,
td.align-middle {
    vertical-align: middle !important;
}

table.align-bottom th,
table.align-bottom td,
th.align-bottom,
td.align-bottom {
    vertical-align: bottom !important;
}

/* Typography */
.text-normal {
    font-weight: normal !important;
}

.text-referoo-blue {
    color: #2c689c !important;
}

.row-with-bar {
    border-left-width: 3px;
    border-left-style: solid;
    border-left-color: #2c689c;
    margin-right: -15px;
    display: block;
}

.row-with-bar::before {
    content: "";
    display: table;
    box-sizing: border-box;
}

.row-with-bar::after {
    content: "";
    display: table;
    clear: both;
    box-sizing: border-box;
}

td.key-stats-label {
    width: 350px !important;
}

#logo_show img,
#logo_cropped img,
#logo_crop_box img,
#report_header_show img,
#report_header_cropped img,
#report_header_crop_box img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

#logo_show img,
#logo_cropped img {
    width: 100%;
    max-width: 310px;
}

#report_header_show img,
#report_header_cropped img {
    width: 100%;
    max-width: 2500px;
}

#logo_show img:hover,
#logo_cropped img:hover,
#report_header_show img:hover,
#report_header_cropped img:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}


.referee-yellow {
    color: #ffbf00;
}

.referee-red {
    color: #dc3545;
}

.check-issue-warning-icon {
    margin-left: -16px;
    margin-top: -20px;
    z-index: 100;
    font-size: 19px !important;
    background-color: white;
    border-radius: 3px;
    /* border: #e7e7e7 1px solid; */
    box-shadow: #ddd9d9 1px 1px 4px;
}

#edit-check-issue {
    padding-top: clamp(50px, 20vh, 200px) !important;
}

#edit-check-issue .modal-dialog,
#edit-check-issue .modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

#issue-panel-iframe {
    width: 100%;
    height: 1000px;
}

#edit-check-issue .modal-body {
    max-height: calc(100% - 120px) !important;
}

.update-form #state-input-container select,
.update-form #state-input-container input {
    display: block;
    float: left;
    width: 65%;
}

.label-check-summary {
    font-weight: normal !important;
}

.label-check-summary.label-warning {
    color: #000 !important;
}

.badge .fak {
    font-weight: normal !important;
}

.badge-muted {
    background: #efefef !important;
    color: #777 !important;
}

.check-validation-rules {
    margin-top: 10px;
    margin-bottom: 10px;
}

.check-validation-rule {
    padding: 10px;
    background: #f5f5f5;
    border: 1px solid #efefef;
    margin-bottom: 5px;
    position: relative;
}

.check-validation-rule a.remove-rule {
    position: absolute;
    top: 5px;
    right: 5px;
    color: red;
}

.country-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    display: block;
}

.default-label {
    font-weight: normal !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* candidate-detail report actions button group */
.btn-group.referee-actions,
.btn-group.referee-actions .dropdown-menu li form,
.btn-group.referee-actions .dropdown-menu li {
    display: flex;
    flex-grow: 1;
}

.btn-group.referee-actions .dropdown-menu {
    left: 0;
    right: 0;
    text-align: center;
}

.btn-group.referee-actions .dropdown-menu>li a,
.btn-group.referee-actions .dropdown-menu>li>form>button,
.btn-group.referee-actions .dropdown-menu>li>button {
    display: block;
    flex: 1;
    padding: 10px;
}

.btn-group .btn>* {
    vertical-align: middle;
}

.btn-group .btn .svg-inline--fa {
    padding: 0.25rem 0 !important;
}

@media (min-width: 768px) and (max-width: 992px) {

    .btn-group.referee-actions .dropdown-menu>li a,
    .btn-group.referee-actions .dropdown-menu>li>form>button,
    .btn-group.referee-actions .dropdown-menu>li>button,
    .btn-group .btn {
        padding: 5px !important;
    }

    .btn-group.btn-group-justified .btn {
        display: block;
        width: 100%;
        margin: 0 !important;
    }
}

/* questionnaire file upload */
.file-list {
    margin-top: 10px;
}

.file-upload {
    border: 1px dotted #ccc;
    padding: 10px;
    border-radius: 10px;
    margin-top: 5px
}

.btn-file-upload-delete {
    float: right;
    margin-top: -5px;
}

.file-upload-total {
    opacity: 0;
    width: 0;
    float: left;
}

.file-list {
    list-style-type: none;
    padding-left: 0px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
    font-size: 16px;
}

.file-item button {
    margin-left: 10px;
}

.notification-message.action {
    color: red;
}


#sidebar .list-group {
    margin-bottom: 0px;
}

/* Candidate table update to make it more responsive on small screens, implementing horizontal scrolling */

.table-responsive {
    overflow-x: auto;
    max-height: 600px;
    overflow-y: auto;
    /* Ensure vertical scrolling is also enabled */
    margin-bottom: 10px;
}

.table-responsive .table thead th {
    position: sticky;
    top: 0;
    z-index: 101;
    background: white;
}

.table thead th::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    /* height: 2px;
    background: #dddddd; */
    /*border*/
}

@-moz-document url-prefix() {

    /* Adjust the select2 dropdown arrow position. This is a bugfix for firefox. */
    .recruiter-filter .select2-container--default .select2-selection--single .select2-selection__arrow {
        position: relative;
        right: -100%;
        top: -30%;
        transform: translateY(-50%);
    }
}

.table-th-w-200 tbody tr th {
    max-width: 200px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-th-w-200 {
    table-layout: fixed;
    width: 100%;
}


/* Workaround for the intl-tel-input plugin */
.intl-tel-input {
    display: table-cell;
}

.intl-tel-input .selected-flag {
    z-index: 4;
}

.intl-tel-input .country-list {
    z-index: 5;
}

.input-group .intl-tel-input .form-control {
    border-top-left-radius: 4px;
    border-top-right-radius: 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 0;
}

.iti {
    width: 100%;
}

/* end of workaround for the intl-tel-input plugin */
.colourpicker input[type="color"] {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    padding: 1px 2px;
}

/* Action log table fix for the 'pre' elements that would cause excess scroll and extension beyond the page width */
#action-log table tr td:last-child {
    width: fit-content;
}

#action-log table tr td:last-child pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

div.custom-scroll-box {
    max-height: 150px;
    overflow-y: auto;
    word-wrap: break-word;
}

.questionnaire-translations img.flag-icon {
    width: auto;
    height: 14px;
}

.questionnaire-translations td,
.questionnaire-translations th {
    vertical-align: middle !important;
}

.questionnaire-translations .question-section {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.questionnaire-translations textarea.form-control {
    resize: vertical;
    min-height: 38px;
}

.questionnaire-translations progress {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 20px;
}

.date-input-width {
    width: 150px;
}

.check-type-input-width {
    width: 200px;
}

.date-input {
    margin-right: 15px;
}

.select2-container--bootstrap .select2-selection--multiple .select2-search__field {
    resize: none !important;
}

.select2-container .select2-selection--multiple .select2-search__field {
    resize: none !important;
}

/* --- Common wrapper styles --- */
.gmp-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.gmp-inline {
    display: inline-block;
}

.gmp-block {
    display: block;
}

/* --- Ghost overlay --- */
.gmp-ghost {
    all: unset;
    position: absolute;
    top: 0;
    left: 36px;
    /* space for search icon */
    right: 36px;
    /* space for clear button */
    height: 100%;
    display: flex;
    align-items: center;
    font: inherit;
    line-height: inherit;
    color: #666;
    opacity: 0.7;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide ghost when focused */
.gmp-wrap:focus-within>.gmp-ghost {
    display: none;
}

/* Force Google autocomplete element full width */
gmp-place-autocomplete,
gmpx-place-autocomplete {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

gmp-place-autocomplete::part(input-field),
gmpx-place-autocomplete::part(input-field) {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.scope-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.scope-toggle .form-label {
    margin-bottom: 0;
    font-weight: 600;
}

.scope-toggle label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
    cursor: pointer;
}

/* site banner styling moved from inline css */
#site-banner {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1030;
    top: 0;
}

.navbar-fixed-top {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 1049;
    top: 0;
}

/* Adjustments when only site banner is present */
body:has(#site-banner):not(.has-server-flag) {
    padding-top: 81px;
}

body:has(#site-banner):not(.has-server-flag) .navbar-fixed-top {
    top: 30px;
}

/* Adjustments when only server flag is present */
body.has-server-flag:not(:has(#site-banner)) {
    padding-top: 81px;
}

body.has-server-flag:not(:has(#site-banner)) .navbar-fixed-top {
    top: 30px;
}

/* Adjustments when both flags are present */
body.has-server-flag:has(#site-banner) {
    padding-top: 111px;
}

body.has-server-flag #site-banner {
    top: 30px;
}

body.has-server-flag:has(#site-banner) .navbar-fixed-top {
    top: 60px;
}

/* Server environment badge - positioned next to logo in header */
.server-env-badge {
    display: inline-block;
    font-weight: 800;
    font-size: 20px;
    font-style: italic;
    color: #ffffff;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
    position: relative;
    top: 10px;
    right: 13px;
}

/* Make badge responsive on mobile */
@media (max-width: 767px) {
    .server-env-badge {
        font-size: 14px;
        font-weight: 800;
        top: 8px;
        right: 10px;
    }
}

/* Reminders and escalation rules table - bordered with a shaded header, per the design.
   Scoped to the panel so no other table on the site picks it up. Not .table-bordered,
   which would also rule between the checkbox cells. */
#reminder-rules .table {
    border: 1px solid #dddddd;
}

#reminder-rules .table > thead {
    background-color: #f5f5f5;
}

#reminder-rules .table > thead > tr > th {
    border-bottom: 1px solid #dddddd;
    vertical-align: middle;
}

/* Check frequency and HR Team email sit label-then-control on one line, per the design.
   Not .form-inline: that class has to wrap the whole form, and this panel is included into
   two different forms rather than owning one. Stacks below the grid breakpoint. */
@media (min-width: 768px) {
    #reminder-rules .reminder-inline-field > label {
        display: inline-block;
        margin-right: 20px;
        margin-bottom: 0;
        vertical-align: middle;
    }

    #reminder-rules .reminder-inline-control {
        display: inline-block;
        width: 220px;
        vertical-align: middle;
    }

    #reminder-rules .reminder-inline-control-wide {
        width: 290px;
    }

    #reminder-rules .reminder-inline-control .form-control-static {
        padding-top: 7px;
        margin-bottom: 0;
    }
}

/* A save confirmation in the corner of the page, faded out by the toast view after a few seconds. */
.page-toast {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1060;
    min-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* The workforce screens' primary action colour. */
.btn-workforce-primary,
.btn-workforce-primary:focus {
    color: #fff;
    background-color: #2E6DB4;
    border-color: #2E6DB4;
}

.btn-workforce-primary:hover,
.btn-workforce-primary:active {
    color: #fff;
    background-color: #255a94;
    border-color: #255a94;
}

/* The member screen's tabs: the active one underlined in the workforce blue, not boxed. */
.nav-tabs.workforce-tabs {
    border-bottom: 1px solid #ddd;
}

.nav-tabs.workforce-tabs > li > a,
.nav-tabs.workforce-tabs > li > a:hover,
.nav-tabs.workforce-tabs > li > a:focus {
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background-color: transparent;
    margin-right: 16px;
    padding-left: 0;
    padding-right: 0;
}

.nav-tabs.workforce-tabs > li.active > a,
.nav-tabs.workforce-tabs > li.active > a:hover,
.nav-tabs.workforce-tabs > li.active > a:focus {
    border: 0;
    border-bottom: 2px solid #2E6DB4;
    color: #2E6DB4;
    background-color: transparent;
}

/* A recurring check's status, as a pill rather than a square. */
.status-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.status-pill.success { color: #1e7e44; background-color: rgba(39, 174, 96, 0.15); }
.status-pill.warning { color: #9a5b00; background-color: rgba(243, 156, 18, 0.18); }
.status-pill.danger { color: #b3261e; background-color: rgba(231, 76, 60, 0.15); }
.status-pill.default { color: #555; background-color: rgba(155, 155, 155, 0.2); }

/* The policy editor's Save and Cancel, fixed to the bottom of the window. The form leaves room for it. */
.policy-form {
    padding-bottom: 70px;
}

.policy-footer-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    padding: 12px 20px;
    text-align: right;
    background-color: #fff;
    border-top: 1px solid #ddd;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

/* A policy card's name, with its actions menu level with it on the right. */
.policy-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.policy-card-header h4 {
    margin: 0;
}

/* The dashboard's Workforce Management tab. */
.workforce-dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 20px 0 15px;
}

.workforce-dashboard-header h2 {
    margin: 0 0 4px;
    font-size: 22px;
}

.workforce-tile {
    margin-bottom: 20px;
    padding: 15px 18px;
    background-color: #fff;
    border: 1px solid #e3e3e3;
    border-left-width: 4px;
    border-radius: 6px;
}

.workforce-tile-label {
    color: #555;
}

.workforce-tile-count {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.workforce-tile.workforce-tone-poor { border-left-color: #E74C3C; }
.workforce-tile.workforce-tone-poor .workforce-tile-count { color: #b3261e; }
.workforce-tile.workforce-tone-warning { border-left-color: #F39C12; }
.workforce-tile.workforce-tone-warning .workforce-tile-count { color: #9a5b00; }
.workforce-tile.workforce-tone-good { border-left-color: #27AE60; }
.workforce-tile.workforce-tone-good .workforce-tile-count { color: #1e7e44; }

.workforce-panel .list-group-item.workforce-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.workforce-bar-label {
    flex: 1 1 40%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workforce-panel .progress.workforce-bar {
    display: block;
    flex: 1 1 45%;
    height: 6px;
    margin: 0;
    background-color: #ebedf0;
    box-shadow: none;
}

.workforce-bar-value {
    flex: 0 0 40px;
    font-weight: 600;
    text-align: right;
}

.progress-bar.workforce-tone-good { background-color: #4a5fc1; }
.progress-bar.workforce-tone-warning { background-color: #d4a106; }
.progress-bar.workforce-tone-poor { background-color: #d0392b; }

/* API Settings - webhook events filter bar spacing */
#webhook-events-filter .form-group {
    margin-right: 15px;
    margin-bottom: 12px;
}

#webhook-events-filter .form-group label {
    margin-right: 6px;
}

#webhook-events-filter .btn {
    margin-right: 8px;
    margin-bottom: 12px;
}
