:root {
    --primary-color: #174b38;
    --secondary-color: #24b86b;
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 960px !important;
    }
}

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

.border-bottom {
    border-bottom: 1px solid var(--primary-color) !important;
}

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

.wrapper:before {
    height: 10rem !important;
}

/* reset password */
.mb-2-8 {
    margin-bottom: 2.8rem;
}

.title-space {
    padding-bottom: 0.6rem;
}

.btn-accoring-to-text {
    width: revert;
}

/* reset password */

.btn-primary,
.list-group-item.active,
.bg-primary-dark,
.splash .splash-icon {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

.btn-primary,
.list-group-item.active,
.bg-primary-dark {
    border: var(--primary-color) !important;
}

.btn-outline-primary {
    background-color: transparent !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

a.sidebar-link .fab,
a.sidebar-link .fal,
a.sidebar-link .far,
a.sidebar-link .fas,
a.sidebar-link svg,
.text-primary {
    color: var(--primary-color) !important;
}

.sidebar-item.active>.sidebar-link .fab,
.sidebar-item.active>.sidebar-link .fal,
.sidebar-item.active>.sidebar-link .far,
.sidebar-item.active>.sidebar-link .fas,
.sidebar-item.active>.sidebar-link svg,
.sidebar-item.active>.sidebar-link {
    color: #fff !important;
}

.sidebar-item.active>.sidebar-link {
    background-color: var(--primary-color) !important;
}


.sidebar-link:hover {
    color: var(--primary-color) !important;
    background-color: #e9e9e9 !important;
}

.sidebar-brand,
.sidebar-brand:hover,
.wrapper:before {
    background-color: var(--primary-color) !important;
}

/* .header-title {
    color: #ed1c24 !important;
} */

.dispatch-note {
    display: block;
    /* Ensures the badge behaves like a block element */
    max-width: 100%;
    /* Prevents overflow */
    white-space: normal;
    /* Allows wrapping */
    word-wrap: break-word;
    /* Breaks long words */
    overflow-wrap: break-word;
    /* Ensures text wraps properly */
    text-align: left;
    /* Align text properly */
    padding: 8px;
    /* Adds spacing inside the badge */
}

input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: var(--primary-color) !important;
    border-width: 1px !important;
}

.form-select,
select.form-control {
    min-height: 2.75rem;
    padding-right: 2.5rem;
    border: 1px solid #cbd9cf;
    border-radius: .6rem;
    color: #26332b;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23174b38' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .8rem center;
    background-size: 1rem .75rem;
    box-shadow: none;
}

.form-select:hover,
select.form-control:hover {
    border-color: #78a88a;
}

.form-select:focus,
select.form-control:focus {
    border-color: #24b86b !important;
    box-shadow: 0 0 0 .2rem rgb(36 184 107 / 14%) !important;
}

.form-select option,
select.form-control option {
    color: #26332b;
    background-color: #fff;
}

.form-select option:checked,
select.form-control option:checked {
    color: #fff;
    background-color: #174b38;
}

.job-themed-select {
    position: relative;
    width: 100%;
    max-width: 22rem;
}

.job-themed-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.job-themed-select-trigger {
    display: flex;
    width: 100%;
    min-height: 2.85rem;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .65rem .85rem;
    border: 1px solid #cad9cf;
    border-radius: .65rem;
    color: #174b38;
    background: #fff;
    text-align: left;
    font: inherit;
}

.job-themed-select-trigger:hover,
.job-themed-select-trigger[aria-expanded="true"] {
    border-color: #24b86b;
    background: #f3faf5;
}

.job-themed-select-trigger:focus-visible {
    outline: 0;
    border-color: #24b86b;
    box-shadow: 0 0 0 .2rem rgb(36 184 107 / 13%);
}

.job-themed-select-trigger.is-invalid {
    border-color: #dc3545;
}

.job-themed-select-menu {
    position: absolute;
    top: calc(100% + .25rem);
    right: 0;
    left: 0;
    z-index: 20;
    max-height: 12rem;
    overflow-y: auto;
    padding: .35rem;
    border: 1px solid #d6e4da;
    border-radius: .75rem;
    background: #fff;
    box-shadow: 0 .75rem 1.75rem rgb(23 75 56 / 18%);
}

.job-themed-select-menu[hidden] {
    display: none !important;
}

.job-themed-select-option {
    display: flex;
    width: 100%;
    min-height: 2.5rem;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    padding: .55rem .7rem;
    border: 0;
    border-radius: .5rem;
    color: #35423a;
    background: transparent;
    text-align: left;
    font: inherit;
}

.job-themed-select-option:hover,
.job-themed-select-option:focus-visible {
    outline: 0;
    color: #174b38;
    background: #edf6f0;
}

.job-themed-select-option[aria-selected="true"] {
    color: #174b38;
    background: #e7f4eb;
    font-weight: 700;
}

.job-themed-select-option .fa-check {
    color: #24b86b;
}

.job-themed-select-option:not([aria-selected="true"]) .fa-check {
    visibility: hidden;
}

.job-themed-select-error {
    display: block;
    margin-top: .25rem;
    color: #dc3545;
    font-size: .875rem;
}

.job-themed-select-error[hidden] {
    display: none;
}

.select2-container--classic .select2-selection--single,
.select2-container--classic .select2-selection--multiple {
    min-height: 2.75rem;
    border: 1px solid #cbd9cf;
    border-radius: .6rem;
    background: #fff;
    box-shadow: none;
}

.select2-container--classic .select2-selection--single:focus,
.select2-container--classic.select2-container--open .select2-selection--single,
.select2-container--classic.select2-container--open .select2-selection--multiple {
    border-color: #24b86b;
}

.select2-container--classic .select2-selection--single .select2-selection__rendered {
    color: #26332b;
    line-height: 2.65rem;
}

.select2-container--classic .select2-selection--single .select2-selection__arrow {
    height: calc(100% - 2px);
    border-left-color: #e5eee8;
    background: #f4f8f5;
}

.select2-container--classic .select2-dropdown {
    overflow: hidden;
    border-color: #cbd9cf;
    border-radius: .6rem;
    box-shadow: 0 .6rem 1.5rem rgb(23 75 56 / 14%);
}

.select2-container--classic .select2-results__option--highlighted[aria-selected] {
    color: #fff;
    background-color: #174b38;
}

.select2-container--classic .select2-results__option[aria-selected=true] {
    color: #174b38;
    background-color: #e9f5ed;
}

.sidebar-user {
    padding: 1rem 0rem 0rem !important;
}

.cardscroll {
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    max-height: 20rem;
}

.text-bg-warning,
.bg-warning {
    background-color: #ffd600 !important;
}

.sidebar-user img {
    height: 5rem !important;
    width: auto !important;
}

.logo {
    height: 4rem !important;
}

.center-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.nav-tab {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: var(--bs-link-color);
    --bs-nav-link-hover-color: var(--bs-link-hover-color);
    --bs-nav-link-disabled-color: var(--bs-secondary-color);
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.nav-item-tab {
    padding: 0.5rem !important;
}

.nav-tab .active {
    background-color: #ececec;
}

.sidebar-link,
a.sidebar-link {
    border-radius: .6rem !important;
    padding: .5rem .6rem !important;
}

.sidebar [data-bs-toggle=collapse]:before {
    top: 1.1rem !important;
}

.sidebar-item {
    margin-bottom: 0.3rem !important;
}

.sidebar-dropdown {
    padding-left: 1rem !important;
}

.min-height {
    min-height: 85vh !important;
}

.big-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #007bff;
    background-color: #fff;
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
}

.avatar-sm {
    height: 32px !important;
    width: 32px !important;
    min-width: 32px;
    min-height: 32px;
}

.avatar-md {
    height: 48px !important;
    width: 48px !important;
    min-width: 48px;
    min-height: 48px;
}

.avatar-lg {
    height: 64px !important;
    width: 64px !important;
    min-width: 64px;
    min-height: 64px;
}

.avatar i {
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-sm i {
    font-size: 12px;
}

.avatar-md i {
    font-size: 16px;
}

.avatar-lg i {
    font-size: 20px;
}

.avatar>* {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.quick-action-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar.d-flex {
    display: flex !important;
}

.stats-card .bg-primary,
.stats-card .bg-info,
.stats-card .bg-warning,
.stats-card .bg-success,
.stats-card .bg-danger {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
}

.stats-card .bg-primary i,
.stats-card .bg-info i,
.stats-card .bg-warning i,
.stats-card .bg-success i,
.stats-card .bg-danger i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.validation-message {
    font-size: 13px !important;
}