::-webkit-scrollbar {
    width: 4px
}

::-webkit-scrollbar-track {
    background: #c5f5e5
}

::-webkit-scrollbar-thumb {
    background: #6ce386
}

::-webkit-scrollbar-thumb:hover {
    background: #078c5f
}

.flex {
    display: flex !important;
}

.items-cent {
    align-items: center !important;
}

.items-center {
    align-items: center !important;
}

.just-cent {
    justify-content: center !important;
}

.justify-center {
    justify-content: center !important;
}

.w-fit {
    width: fit-content !important
}

.dir-rtl, .rtl {
    direction: rtl !important;
}

.pt-10 {
    padding-top: 15px !important
}

.py-1_5 {
    padding-top: 8px !important;
    padding-bottom: 8px !important
}

.py-1_3 {
    padding-top: 6px !important;
    padding-bottom: 6px !important
}

.py-2_5 {
    padding-top: 11px !important;
    padding-bottom: 11px !important
}

.font-9 {
    font-size: 9px !important
}

.font-10 {
    font-size: 10px !important
}

.font-11 {
    font-size: 11px !important
}

.font-12 {
    font-size: 12px !important
}

.font-13 {
    font-size: 13px !important
}

.font-14 {
    font-size: 14px !important
}

.font-15 {
    font-size: 15px !important
}

.font-16 {
    font-size: 16px !important
}

.font-17 {
    font-size: 17px !important
}

.font-18 {
    font-size: 18px !important
}

.font-19 {
    font-size: 19px !important
}

.font-20 {
    font-size: 20px !important
}

.font-21 {
    font-size: 21px !important
}

.font-22 {
    font-size: 22px !important
}

.font-23 {
    font-size: 23px !important
}

.font-24 {
    font-size: 24px !important
}

.font-25 {
    font-size: 25px !important
}

.font-26 {
    font-size: 26px !important
}

.font-27 {
    font-size: 27px !important
}

.font-28 {
    font-size: 28px !important
}

.font-29 {
    font-size: 29px !important
}

.font-30 {
    font-size: 30px !important
}

.rounded-md {
    border-radius: 6px !important;
}

.rounded-lg {
    border-radius: 10px !important;
}

.rounded-full {
    border-radius: 50px !important;
}

#loadingMessage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #28cd69e3 0%, #141423db 84%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-size: 18px;
    z-index: 9999999 !important;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3) !important;
    margin: 26px auto !important;
    border-top: 4px solid white !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.vertical-middle {
    vertical-align: middle !important;
}

.underline {
    text-decoration: underline !important;
}

.modal {
    backdrop-filter: blur(4px) !important;
    background: #ffffff8c !important;
    z-index: 999999 !important;
}

.customFade {
    transition: opacity 0.2s linear !important;
}

.customFade.show {
    opacity: 1;
}

.customFade:not(.show) {
    opacity: 0;
}

.modal-content {
    background-clip: inherit !important;
    border: 0 !important;
    box-shadow: none !important;
}

div:where(.swal2-container) {
    z-index: 999999999999 !important;
}

div.dataTables_processing {
    background: #2d2d2d2d;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-align: center;
    padding-top: 50px;
    font-size: 1.2rem;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 1051px !important;
    }
}

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

@keyframes customFadeIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.custom-modal-animation .modal-dialog {
    animation: customFadeIn 0.2s ease-in-out;
    animation-fill-mode: both;
}

.h-fit {
    height: fit-content !important;
}

.drop-area {
    border: 2px dashed rgba(40, 40, 73, 0.7);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    background-color: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.drop-area:hover {
    background-color: #e9f7ef;
}

.drop-area input[type="file"] {
    display: none;
}

.upload-label {
    font-weight: bold;
    color: rgba(40, 40, 73, 0.7);
    display: block;
    cursor: pointer;
}

.preview-area img {
    max-width: 150px;
    margin-top: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.swal2-html-container {
    font-size: 26px !important;
}

#swal2-title {
    font-size: 34px !important;
}

.ltr {
    direction: ltr !important;
}

.bold {
    font-weight: bold !important;
}

.pointer {
    cursor: pointer !important;
}

.px-4_5 {
    padding-right: 41px !important;
    padding-left: 41px !important;
}

.line-height-27 {
    line-height: 27px !important;
}

.activeTargetPerson {
    border: 2px solid #28cd69 !important;
    color: #0ac074;
}

.radius-10 {
    border-radius: 10px !important;
}

.radius-48 {
    border-radius: 48px;
}

.bg-theader {
    background: #00a887 !important;
    color: white !important;
}

.just-between {
    justify-content: space-between !important;
}

.justify-between {
    justify-content: space-between !important;
}

.line-through {
    text-decoration: line-through !important;
}

.mr-1_3 {
    margin-left: 6px !important;
}

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

.border {
    border: 1px solid #2d2d2d2d !important;
}

.nw {
    height: calc(2.75rem + 13px) !important;
}

.mt_5 {
    margin-top: 3px !important;
}

.pointer {
    cursor: pointer !important;
}

.h-fit {
    height: fit-content !important;
}

select.nw, select.nw option {
    font-size: 17px !important
}

.scale1_5 {
    transform: scale(1.5) !important;
}

/******************** css for toast **************/
/* Container placement */
#toastContainer {
    position: fixed;
    inset-inline-end: 2rem;
    top: 2rem;
    z-index: 1080;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

#toastContainer .close {
    transform: scale(2.5);
}

/* Toast “card” base */
.toast {
    --toast-bg: #0d6efd;
    --toast-fg: #fff;
    --toast-shadow: 0 10px 30px rgba(0, 0, 0, .12);
    --toast-radius: 14px;
    --toast-blur: 8px;
    --toast-border: 1px solid rgba(255, 255, 255, .12);

    background: linear-gradient(135deg, color-mix(in oklab, var(--toast-bg) 92%, #000 8%), var(--toast-bg));
    color: var(--toast-fg);
    border-radius: var(--toast-radius);
    box-shadow: var(--toast-shadow);
    border: var(--toast-border);
    overflow: hidden;
    pointer-events: auto; /* clickable */
    backdrop-filter: blur(var(--toast-blur));
    transform: translateY(-8px) scale(.98);
    opacity: 0;
    transition: transform .25s ease, opacity .25s ease, filter .2s ease;
}

.toast.show, .toast.showing {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast .toast-body {
    font-size: 0.95rem;
    line-height: 1.4;
    padding: .85rem 1rem;
}

.toast .btn-close {
    filter: invert(1) grayscale(1) contrast(200%);
    opacity: .8;
}

.toast .btn-close:hover {
    opacity: 1;
}

/* Variants */
.toast--success {
    --toast-bg: #57d85c;
}

.toast--danger {
    --toast-bg: #e04e5b;
}

.toast--warning {
    --toast-bg: #f0ad4e;
    --toast-fg: #111;
    --toast-border: 1px solid rgba(0, 0, 0, .08);
}

.toast--info {
    --toast-bg: #17a2b8;
}

/* Optional icon area (if you include an icon span) */
.toast__row {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.toast__row span:nth-child(2) {
    font-size: 23px !important;
    padding: 11px 12px;
}

.toast__icon {
    font-size: 1.1rem;
    opacity: .95;
}

/* Progress bar (auto timer) */
.toast::after {
    content: "";
    display: block;
    height: 3px;
    width: 100%;
    background: rgba(255, 255, 255, .45);
    transform-origin: left center;
    animation: toast-timer linear forwards;
}

/* Set via inline style or data-duration, default 4s fallback: */
@keyframes toast-timer {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Hover pause effect */
.toast:hover {
    filter: brightness(1.02);
}

.toast:hover::after {
    animation-play-state: paused;
}

/* Dark mode polish */
@media (prefers-color-scheme: dark) {
    .toast {
        --toast-shadow: 0 10px 30px rgba(0, 0, 0, .35);
        --toast-border: 1px solid rgba(255, 255, 255, .08);
    }

    .toast--warning {
        --toast-fg: #000;
    }
}

/******************** css for toast end **************/
.mr_1 {
    margin-right: 8px !important;
}

.ml_1 {
    margin-left: 8px !important;
}

.bl {
    border-color: #2d2d2d2d !important;
}

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

.p-10 {
    padding: 10px !important;
}

