@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
html,
body {
    font-family: "Poppins", sans-serif !important;
    background-color: var(--bs-light-border-subtle) !important;
    height: 100%;
}

/* Utils */

.toast-error {
    background-color: #BD362F !important;
}

.toast-success {
    background-color: #5cb85c !important;
}

.fa-icon-xl {
    font-size: 72px;
    color: #8b3cff !important;
}

.delete-animation {
    position: absolute;
    width: 100%;
    margin-top: -30px;
    opacity: 0;
    transition: .60s all;
}

.wp-circle {
    background-color: #075E54;
    background-size: cover;
    width: 54px;
    height: 54px;
    line-height: 54px;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    color: #fff;
}

.avatar-xl {
    background-color: #8b3cff;
    background-size: cover;
    width: 90px;
    height: 90px;
    line-height: 90px;
    border-radius: 50%;
    font-size: 36px;
    text-align: center;
    color: #fff;
}

.avatar-sm {
    background-color: #8b3cff;
    background-size: cover;
    width: 54px;
    height: 54px;
    line-height: 54px;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    color: #fff;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    /**/
    position: absolute;
    z-index: 9999 !important;
}

.loading {
    z-index: 9999;
    /* Sit on top */
    overflow: visible;
    align-self: center;
    position: fixed;
    left: 0;
    top: 0;
    margin-left: 0;
    margin-top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background-color: rgba(255, 255, 255, 0.85);
    background-image: url(../images/loading.gif);
    background-size: 34px 34px;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Fullcalendar Js Color Scheme */
.fc-col-header-cell-cushion,
.fc-daygrid-day-number {
    color: #8b3cff !important;
}

/* Nav Tabs Styles */

.nav-tabs .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
    color: #8b3cff !important;
    border: none !important;
    font-size: 14px;
    font-weight: 400;
}

.nav-tabs .nav-link.active {
    border-bottom: 2px solid !important;
    font-size: 14px;
    font-weight: 700;
}

.nav-link.active i {
    color: #ffffff !important;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #ffffff !important;
    background-color: #8b3cff !important;
}

.nav-pills .nav-link {
    color: #8b3cff !important;
}

/* Bootstrap 5 Color Override */

.pagination>li.active>a,
.pagination>li.active>span {
    color: #fff !important;
    background-color: #8b3cff !important;
    border-color: #8b3cff !important;
}

a {
    color: #8b3cff !important;
}

.btn-primary,
.fc-button-primary {
    color: #fff !important;
    background-color: #8b3cff !important;
    border-color: #6923cf !important;
}

.btn-primary:hover,
.btn-outline-primary:hover,
.btn-outline-primary:active,
.dropdown-item.active,
.fc-button-primary {
    color: #fff !important;
    background-color: #6923cf !important;
}

.btn-outline-primary {
    color: #8b3cff !important;
    border-color: #6923cf !important;
}

.text-primary {
    color: #8b3cff !important;
}

.bg-primary {
    background-color: #8b3cff !important;
}

.bg-message {
    color: #000000 !important;
    background-color: #d9fdd2 !important;
}

.text-primary {
    color: #8b3cff !important;
}

.form-control::placeholder {
    font-size: 14px;
    font-weight: 300;
}

.form-control:-ms-input-placeholder {
    font-size: 14px;
    font-weight: 300;
}

.form-control::-ms-input-placeholder {
    font-size: 14px;
    font-weight: 300;
}

*:focus {
    outline: none;
}

.form-check-input:checked {
    background-color: #8b3cff !important;
    border-color: #8b3cff !important;
}

input[type="range"]::-webkit-slider-thumb {
    background-color: #8b3cff !important;
}

input[type="range"]::-moz-range-thumb {
    background-color: #8b3cff !important;
}

input[type="range"]::-ms-thumb {
    background-color: #8b3cff !important;
}

input, select, textarea {
    font-size: 14px !important;
    background-color: #ffffff !important;
}

#sidebar {
    position: relative;
    padding-bottom: 80px;
    width: 260px;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    #sidebar {
        position: fixed !important;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 260px !important;
        z-index: 1060 !important;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease-in-out !important;
    }

    #sidebar:not(.d-none) {
        display: block !important;
        left: 0 !important;
    }

    .sidebar-overlay.show {
        display: block;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

@media (min-width: 992px) {
    .sidebar-overlay {
        display: none !important;
    }
}

.nav-link {
    transition: all 0.2s;
    padding: 0.75rem 1rem;
}

.nav-link:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.nav-link.active {
    background-color: #8b3cff;
    color: white !important;
}

.nav-link i {
    color: #8b3cff !important;
}

* {
    transition: background-color 0.2s, color 0.2s;
}