:root {
    --bs-adm-blue: #203db6;
    --bs-adm-clear: #525252;
    --bs-adm-delete: #d73746;
    --bs-adm-card: #1D2328;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    background-color: #0c1116;
    color: white;
}
a, p span, tr th, td {
    color: white;
}
textarea,
input[type="number"],
input[type="text"],
input[type="password"] {
    width: 100%;
    margin-bottom: 10px;
    background: rgba(0, 0, 0, 0.3) !important;
    /*border: none;*/
    outline: none;
    padding: 10px;
    font-size: 13px;
    color: #fff !important;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
    border-radius: 4px;
    transition: box-shadow 0.5s ease !important;
}
.control-label {
    margin-bottom: 4px;
}
.radius12 {
    border-radius: 12px;
}
.filter-white {
    filter: brightness(0) invert(1);
}
.font18 {
    font-size: 18px;
}
.font20 {
    font-size: 20px;
}
/*----------------------------------------------------------*/
.body-parent {
    height: calc(100vh - 50px);
    overflow-y: auto;
    overflow-x: hidden;
}

.sticky-side {
    background-color: var(--bs-adm-card);
    z-index: 11;
}

@media(min-width: 991px) {
    .sticky-side {
        width: 260px;
        height: calc(100vh - 46px);
    }
}

@media(max-width: 991px) {
    .body-parent {
        flex: 0 0 100%;
    }
}

.adm-item .adm-nav-link {
    color: rgba(255,255,255, .8);
    text-decoration: none;
    display: block;
    padding: .5rem 1rem;
    margin-bottom: .25rem;
}
.adm-item .adm-nav-link:hover,
.adm-item .adm-nav-link.active {
    background-color: black;
    color: rgba(255,255,255, 1);
}
.inside-menu {
    background-color: #26282a;
}
.adm-card {
    border-radius: 12px;
    border: 2px solid var(--bs-adm-blue);
    padding: 1rem;
    background-color: var(--bs-adm-card);
    overflow-x: auto;
}

.btn-adm-blue,
.btn-adm-delete,
.btn-adm-clear {
    padding: 8px 30px;
    border-radius: 16px;
    font-weight: 600;
    color: white;
    box-shadow: none;
}

.btn-adm-blue {
    background: var(--bs-adm-blue);
}

.btn-adm-clear {
    background: var(--bs-adm-clear);
}

.btn-adm-delete {
    background: var(--bs-adm-delete);
}

.btn-adm-blue:hover,
.btn-adm-delete:hover,
.btn-adm-clear:hover {
    color: rgba(255,255,255, .8);
}

.text-adm-blue {
    color: var(--bs-adm-blue);;
}
.modal-content {
    background-color: var(--bs-adm-card);
    border-radius: 12px;
}
/*----------------------------------------------------------*/
.copy-parent {
    display: flex;
    position: relative;
}

.btn-copy {
    padding: 0;
    background-color: var(--bs-adm-blue);
    color: #fff;
    font-size: 14px;
    border: none;
    outline: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 11px;
    width: 24px;
    height: 24px;
}

.btn-copy:hover {
    color: rgba(255, 255, 255, .5);
}

.btn-copy:active {
    background: rgba(118, 21, 181, .8);
}

    .btn-copy::before {
        content: "Copied";
        position: absolute;
        top: -45px;
        right: 0px;
        background: var(--bs-adm-blue);
        padding: 4px 8px;
        border-radius: 20px;
        font-size: 15px;
        display: none;
    }

    .btn-copy::after {
        content: "";
        position: absolute;
        top: -20px;
        right: 25px;
        width: 10px;
        height: 10px;
        background: var(--bs-adm-blue);
        transform: rotate(45deg);
        display: none;
    }

.btn-copy.active-copy::before,
.btn-copy.active-copy::after {
    display: block;
} 

/*----------------------------------------------------------*/
/*----------------------------------------------------------*/
.add-file-label {
    padding: .75rem 1rem .6rem 1rem;
    border: 1px dashed;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
    margin: 0;
    width: 100%;
    height: 100%;
}

.add-file-label input {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
/*----------------------------------------------------------*/
/*---------pagination---------*/
.pagination {
    justify-content: end;
}

.pagination .page-item:first-child .page-link {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.pagination .page-item:last-child .page-link {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.pagination .page-item.active .page-link {
    background-color: var(--bs-violet);
    border-color: var(--bs-violet);
}

.pagination .page-item .page-link {
    background-color: #171A1D;
    border-color: #171A1D;
    color: white;
}

.pagination .page-item.disabled .page-link {
    opacity: .5;
}

.pagination .page-item .page-link img {
    vertical-align: text-bottom;
}
/*----------------------------------------------------------*/
/*-------------select--------------*/
.tom-sel,
.tom-selectpicker {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(0, 0, 0, 0.3) !important;
    /*box-shadow: inset 0 -5px 45px rgba(100, 100, 100, 0.2), 0 1px 1px rgba(255, 255, 255, 0.2) !important;*/
    outline: none;
    font-size: 13px;
    /*text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3) !important;*/
}

.tom-sel .ts-control,
.tom-selectpicker .ts-control {
    box-shadow: none;
    padding: 10px;
}

.tom-sel .ts-control .item,
.tom-selectpicker .ts-control .item {
    color: #fff !important;
}

.tom-sel .ts-dropdown,
.tom-selectpicker .ts-dropdown {
    background-color: #1D2022 !important;
}

.tom-sel .ts-dropdown .option,
.tom-selectpicker .ts-dropdown .option {
    color: #fff !important;
    padding: 8px 16px;
}

.tom-sel .ts-dropdown .option.selected,
.tom-sel .ts-dropdown .option:hover .option.selected,
.tom-selectpicker .ts-dropdown .option.selected,
.tom-selectpicker .ts-dropdown .option:hover {
    background-color: #0E1010 !important;
}

.tom-selectpicker-parent .has-items .ts-control > input {
    margin: 10px 10px 0 0 !important;
    padding: .5rem !important;
}

.tom-selectpicker-parent .dropdown-active.form-select,
.tom-selectpicker-parent .input-active.form-select {
    background-position-y: 14px;
    margin-right: 10px;
}
/*---multy---*/
.multiselect .ts-wrapper .ts-control {
    /*border-radius: 16px;*/
    /*border: 2px solid #7615b5 !important;*/
    padding: 0 !important;
    background-color: #212529 !important;
    outline: none;
    box-shadow: none;
}

.multiselect .ts-wrapper .ts-control > input {
    margin: 0 !important;
    padding: .5rem !important;
}

.multiselect .ts-wrapper .item {
    padding: .25rem .5rem !important;
    border-radius: 10px !important;
    background-color: #171c35 !important;
    color: white !important;
}

.multiselect .ts-dropdown-content {
    background-color: #1D2022 !important;
    border-radius: 8px;
    border: 1px solid #212529;
    color: white !important;
}

.multiselect .ts-dropdown {
    border-radius: 10px;
}

.multiselect .ts-dropdown .active {
    background-color: #0E1010 !important;
    color: white !important;
}
/*------------------Modal--------------------*/
.modal-body {
    min-height: 300px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
/*-----------scroll-----------*/
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 8px;
}
/*----------------------------*/
.category-card {
    padding: .5rem;
    background: #0c184a;
    border-radius: 8px;
    margin-bottom: .5rem;
}