* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Parkinsans", sans-serif;
}

:root {
    --primary: #117efb;
    --dark_primary: #006fb9;
    --gray: #e4e4e4;
    --dark_gray: #a0a0a0;
    --light: #b8b8b8;
    --lighter: #f1f1f1;
    --dark: #1a1a1a;
    --dark_em: #3b3b3b;
    --danger: #d61111;
    --dark_danger: #c40b0b;
    --success: #39B769;
    --dark_success: #259c53;
    --white: #fafafa;
    --black: #000000;
}

/* default  */

html,
body {
    height: 100%;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    overflow: hidden;
}

.fs_5 {
    font-size: 1.15rem !important;
}

.fs_6 {
    font-size: 0.95rem !important;
}

.fs_7 {
    font-size: 0.875rem !important;
}

.fs_xs {
    font-size: 0.825rem !important;
}

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

.fs_vs {
    font-size: 0.8rem !important;
}

.loaderSection {
    height: 100vh;
    width: 100%;
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.loader {
    position: relative;
    width: 64px;
    height: 30px;
}

.loader::before,
.loader::after {
    content: "";
    position: absolute;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #1b9ed9;
    opacity: 0.6;
    animation: bounce 0.6s ease-in-out infinite;
}

.loader::after {
    left: 34px;
    animation-delay: 0.3s;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

#customToast.hidden {
    display: none;
}

.dropdownMenu {
    width: 200px;
}

.w_80 {
    min-width: 80px;
}

.w_100 {
    min-width: 100px;
}

.w_120 {
    min-width: 120px;
}

.w_140 {
    min-width: 140px;
}

.w_150 {
    min-width: 150px;
}

.w_160 {
    min-width: 160px;
}

.w_180 {
    min-width: 180px;
}

.w_200 {
    min-width: 200px;
}

.w_220 {
    min-width: 220px;
}

.tableSearch {
    border: 1px solid #ccc;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.tableSearchInput {
    padding: 0.65rem 0.8rem !important;
    padding-right: 50px !important;
    font-size: 14px;
    width: 300px
}

.tableSearchInput::placeholder {
    color: #8a8a8a !important
}

.tableSearchBtn {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}

.table_row_link td {
    transition: 0.25s;
}

.table_row_link:hover.table_row_link td {
    background-color: var(--lighter) !important;
}

@media (max-width: 525px) {

    .tableSearch,
    .tableSearchInput {
        width: 100% !important
    }
}

.table_link {
    color: var(--dark_primary) !important;
    transition: 0.3s
}

.table_link:hover {
    color: var(--primary) !important
}

.statusBadge {
    padding: 0.25rem 0.85rem;
    border-radius: 30px;
    user-select: none;
    white-space: nowrap;
}

.statusBadge.pending {
    background: #ffd725;
    color: #2b2300
}

.statusBadge.success {
    background: var(--success);
    color: #ffffff
}

.statusBadge.danger {
    background: var(--danger);
    color: #ffffff
}

.statusBadge.filters {
    background: #eff6ff;
    color: #142a42;
    border: 1px solid #dae7f7;
}



.sort_container {
    min-width: fit-content;
    display: flex;
    align-items: center;
    gap: 5px;
}

.select_input {
    padding: 0.5rem 0.8rem !important;
    background: #f8f8f8e3 !important;
}

.white_space_nowrap {
    white-space: nowrap
}

.inputPadding {
    padding: 0.75rem 0.95rem !important
}

.inputField {
    background: #fdfdfd !important;
    padding: 0.75rem 0.95rem !important
}

.inputLabel {
    top: 30%;
    pointer-events: none;
}

.form-switch .form-check-input {
    height: 22px;
    width: 40px !important;
    background-color: #ddd;
    border-color: #ccc;
}

.form-switch .form-check-input:checked {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.form-switch .form-check-input:checked::before {
    background-color: white;
}

.form-switch .form-check-input {
    transition: background-color 0.3s, border-color 0.3s;
}

.inputField:focus+.inputLabel,
.inputField:not(:placeholder-shown)+.inputLabel {
    top: -15%;
    font-size: 13px !important;
    color: var(--primaryGreen);
}


/* input switch  */
.switch_input {
    width: 44px;
    height: 22px;
    background: var(--gray);
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    border-radius: 50px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.switch_input:checked {
    background-color: var(--primary);
}

.switch_input::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.switch_input:checked::before {
    transform: translateX(22px);
}

.pointer {
    cursor: pointer !important;
}

/* text  */
.text_dark {
    color: var(--dark) !important;
}

.text_dark_em {
    color: var(--dark_em) !important;
}

.text_light_em {
    color: var(--lighter) !important;
}

.text_primary {
    color: var(--primary) !important;
}

.text_success {
    color: var(--success) !important;
}

.text_danger {
    color: var(--danger) !important;
}

.text_primary_hover {
    color: var(--dark_em) !important;
    transition: 0.3s;
}

.text_primary_hover:hover {
    color: var(--primary) !important;
}

/* buttons  */
.btn_transparent {
    background: transparent !important;
    opacity: 0.9;
    border: none;
    outline: none;
    user-select: none;
    transition: 0.25s;
}

.btn_transparent:hover {
    opacity: 1;
}

.btn_primary {
    background: var(--primary) !important;
    color: var(--white);
    fill: var(--white);
    text-decoration: none !important;
    border: 1px solid var(--primary) !important;
    padding: 0.6rem 0.85rem;
    outline: none;
    user-select: none;
    transition: 0.25s;
}

.btn_primary:hover {
    background: var(--dark_primary) !important;
    border-color: var(--dark_primary) !important;
}

.btn_gray {
    background: var(--gray);
    color: var(--dark);
    fill: var(--dark);
    text-decoration: none !important;
    border: 1px solid var(--gray) !important;
    padding: 0.6rem 0.85rem;
    outline: none;
    user-select: none;
    transition: 0.25s;
}

.btn_gray:hover {
    background: var(--dark_gray);
    border-color: var(--dark_gray);
    color: var(--black);
    fill: var(--black);
}

.btn_outline_gray {
    background: transparent;
    color: var(--dark_em);
    fill: var(--dark_em);
    text-decoration: none !important;
    border: 1px solid var(--gray) !important;
    padding: 0.6rem 0.85rem;
    outline: none;
    user-select: none;
    transition: 0.25s;
}

.btn_outline_gray:hover {
    background: var(--gray);
    border-color: var(--gray);
}

.btn_transparent_gray {
    background: transparent;
    color: var(--dark);
    fill: var(--dark);
    text-decoration: none !important;
    border: 1px solid transparent !important;
    padding: 0.6rem 0.85rem;
    outline: none;
    user-select: none;
    transition: 0.25s;
}

.btn_transparent_gray:hover {
    background: var(--gray);
    border-color: var(--gray);
    color: var(--black);
    fill: var(--black);
}

.btn_dark {
    background: var(--dark);
    color: var(--white);
    fill: var(--white);
    text-decoration: none !important;
    border: 1px solid transparent !important;
    padding: 0.6rem 0.85rem;
    outline: none;
    user-select: none;
    transition: 0.25s;
}

.btn_dark:hover {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
    fill: var(--white);
}

.btn_danger {
    background: var(--danger);
    color: var(--white);
    fill: var(--white);
    text-decoration: none !important;
    border: 1px solid var(--danger) !important;
    padding: 0.6rem 0.85rem;
    outline: none;
    user-select: none;
    transition: 0.25s;
}

.btn_danger:hover {
    background: var(--dark_danger);
    border-color: var(--dark_danger);
}

.btn_success {
    background: var(--success);
    color: var(--white);
    fill: var(--white);
    text-decoration: none !important;
    border: 1px solid var(--success) !important;
    padding: 0.6rem 0.85rem;
    outline: none;
    user-select: none;
    transition: 0.25s;
}

.btn_success:hover {
    background: var(--dark_success);
    border-color: var(--dark_success);
}


/* panel css  */
.inputGroupBtn {
    background: #e4e4e4 !important;
    border: transparent;
    padding: 0.5rem 0.75rem;
    outline: none;
    transition: 0.25s
}

.inputGroupBtn:hover {
    background: #d4d4d4 !important
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.uploadNewImg {
    height: 240px;
}

.uploadImgCont {
    cursor: pointer;
}

.uploadImgCont svg {
    fill: #40614d;
}

.uploadedImageCont img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    height: 100%;
    width: auto;
}

.uploadMultipleImg .multiUploadCont {
    height: 240px;
    cursor: pointer;
}

.multiUploadCont svg {
    fill: #40614d;
}

.uploadedImageCont img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    height: 100%;
    width: auto;
}

.page_loader {
    z-index: 99;
    height: 100vh;
    width: 100vw;
    position: absolute;
    top: 0;
    background: rgb(0 0 0 / 30%);
}
