html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}
/* Set a fixed scrollable wrapper */
.tableWrap {
    max-height: 50vh;
    overflow: auto;
}
    /* Set header to stick to the top of the container. */
    .tableWrap table thead tr th {
        position: sticky;
        z-index: 2;
        top: 0;
    }

body {
    margin-bottom: 60px;
}

.preloader {
    display: -ms-flexbox;
    display: flex;
    background-color: #f4f6f9;
    height: 100vh;
    width: 100%;
    transition: height .2s linear;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
}

.table-hover > tbody > tr:hover {
    --bs-table-accent-bg: none !important;
}

.input-validation-error {
    border-color: #f7531f;
    padding-right: calc(1.5em + 0.9rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 12 12\' width=\'12\' height=\'12\' fill=\'none\' stroke=\'%23f7531f\'%3e%3ccircle cx=\'6\' cy=\'6\' r=\'4.5\'/%3e%3cpath stroke-linejoin=\'round\' d=\'M5.8 3.6h.4L6 6.5z\'/%3e%3ccircle cx=\'6\' cy=\'8.2\' r=\'.6\' fill=\'%23f7531f\' stroke=\'none\'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.225rem) center;
    background-size: calc(0.75em + 0.45rem) calc(0.75em + 0.45rem);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Send Survey */
@media (min-width: 1200px) {
    .first-td-xl {
        width: 50px;
    }

    .second-td-xl {
        width: 350px;
    }

    .second-th-xl {
        width: 350px;
    }
}

@media (min-width: 992px) and (max-width: 1999px) {
    .first-td-lg {
        width: 50px;
    }

    .second-td-lg {
        width: 350px;
    }

    .second-th-lg {
        width: 350px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .first-td-md {
        width: 50px;
    }

    .second-td-md {
        width: 50%;
        table-layout: fixed;
    }

    .second-th-md {
        width: 50%;
        table-layout: fixed;
    }
}

/* Start Jobhiring */
@media(min-width: 992px) {
    .job-font-md {
        font-size: 18px;
    }
}

@media(min-width: 768px) and (max-width: 991px) {
    .job-font-sm {
        font-size: 20px;
    }
}

.job-font-color {
    color: #6c757d;
}

.flatpickr-wrapper {
    width: 100%;
}
/* End Jobhiring */

/*.form-control:disabled, .form-control[readonly] {
    background-color: #ecf2f5;
    opacity: 1;
}

.shortcut-buttons-flatpickr-buttons {
    padding: .5rem;
    background-color: #dbe7ec;
}*/

.card-hover-dashboard {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-dashboard:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Topbar navigation search */
.navbar-custom .nav-search-dropdown {
    width: min(420px, calc(100vw - 24px)) !important;
    margin-top: 12px !important;
    border: 1px solid #e8edf3 !important;
    border-radius: 14px !important;
    box-shadow: 0 18px 38px rgba(18, 38, 63, 0.2) !important;
    overflow: hidden;
    padding: 0;
}

.navbar-custom .nav-search-body {
    max-height: min(70vh, 430px);
    overflow-y: auto;
    background: #fff;
    padding: 8px 0;
}

.navbar-custom .nav-search-section + .nav-search-section {
    border-top: 1px solid #eff3f8;
    margin-top: 8px;
    padding-top: 4px;
}

.navbar-custom .nav-search-section .dropdown-header {
    padding: 10px 16px 8px;
}

.navbar-custom .nav-search-section .dropdown-header h6 {
    letter-spacing: 0.05em;
    font-size: 0.73rem;
    color: #6c7b90;
}

.nav-search-recent-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-search-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: #edf2f7;
    color: #3f4b5e;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.83rem;
    max-width: 100%;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-search-chip:hover {
    background: #dfe8f3;
    color: #243446;
}

.nav-search-chip i {
    font-size: 0.95rem;
}

.nav-search-chip-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-search-dropdown .nav-search-results .nav-search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    white-space: normal;
    border: 0;
}

.nav-search-dropdown .nav-search-results .nav-search-result-item:hover {
    background: #f3f7fc;
}

.nav-search-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f2f5fa;
    color: #5d6d82;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-search-item-icon i {
    font-size: 15px;
}

.nav-search-item-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.nav-search-item-title {
    font-size: 0.9rem;
    line-height: 1.2;
    color: #2e3a4d;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-search-item-parent {
    margin-top: 2px;
    font-size: 0.77rem;
    color: #7d899b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-search-item-tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    color: #4f87bf;
    background: #e7f1fb;
    border-radius: 999px;
    padding: 3px 8px;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.nav-search-muted {
    color: #8c99ab;
    font-size: 0.83rem;
    padding: 2px 0;
}

.nav-search-empty {
    padding: 12px 16px;
    font-size: 0.83rem;
    color: #7b8799;
}

body:has(#trial-access-countdown-banner) #wrapper {
    padding-top: 38px;
}