:root {
    --bs-primary-rgb: 43, 0, 206;
    --bs-link-color: #2B00CE;
    --gradient: linear-gradient(89.18deg, #2B00CE 5.47%, #BA46A8 50.53%, #FF9F22 94.7%);
}

.alert-wrapper {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 4;
}

.gradient {
    background: var(--gradient);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
            background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Badge */

.badge {
    --bs-badge-padding-x: 0.75em;
    --bs-badge-padding-y: 0.5em;
    transition: .25s;
}

.badge.text-bg-danger {
    color: RGB(var(--bs-danger-rgb)) !important;
    background: none !important;
    border: 1px solid RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity,1))!important;
}

.badge.text-bg-warning {
    color: RGB(var(--bs-warning-rgb)) !important;
    background: none !important;
    border: 1px solid RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1))!important;
}

.badge.text-bg-success {
    color: RGB(var(--bs-success-rgb)) !important;
    background: none !important;
    border: 1px solid RGBA(var(--bs-success-rgb),var(--bs-bg-opacity,1))!important;
}

/* Buttons */

.btn-primary {
    --bs-btn-color: #FFF;
    --bs-btn-bg: #2B00CE;
    --bs-btn-border-color: #2B00CE;
    --bs-btn-hover-color: #FFF;
    --bs-btn-hover-bg: #B5A6ED;
    --bs-btn-hover-border-color: #B5A6ED;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #FFF;
    --bs-btn-active-bg: #B5A6ED;
    --bs-btn-active-border-color: #B5A6ED;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #FFF;
    --bs-btn-disabled-bg: #E5EAF0;
    --bs-btn-disabled-border-color: #E5EAF0;
}

.btn-secondary {
    --bs-btn-color: #2B00CE;
    --bs-btn-bg: #F7F5FF;
    --bs-btn-border-color: #F7F5FF;
    --bs-btn-hover-color: #FFF;
    --bs-btn-hover-bg: #2B00CE;
    --bs-btn-hover-border-color: #2B00CE;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #2B00CE;
    --bs-btn-active-bg: #B5A6ED;
    --bs-btn-active-border-color: #B5A6ED;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #FFF;
    --bs-btn-disabled-bg: #E5EAF0;
    --bs-btn-disabled-border-color: #E5EAF0;
}

.btn-circle {
    color: #28093B;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 5px 0px #00000026;
    --bs-btn-hover-color: #FFF;
    --bs-btn-hover-bg: #2B00CE;
    --bs-btn-hover-border-color: #2B00CE;
    border-radius: 50%;
}

.btn-outline-primary {
    position: relative;
    --bs-btn-border-color: #FFF;
    --bs-btn-hover-bg: var(--gradient);
    --bs-btn-hover-border-color: none;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-bg: #2B00CE;
    --bs-btn-active-border-color: #2B00CE;
    --bs-btn-disabled-color: #2B00CE;
    --bs-btn-disabled-border-color: #2B00CE;
    /* border: 4px solid transparent;
    border-radius: 1em;
    background: linear-gradient(90deg, #2B00CE 0%, #BA46A8 55%, #FF9F22 100%); 
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box; */
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #2B00CE 0%, #BA46A8 55%, #FF9F22 100%);
    border-radius: var(--bs-border-radius);
    z-index: -2;
    transition: .5s ease-in-out;
}

.btn-outline-primary::after {
    content: '';
    position: absolute;
    top: var(--bs-border-width);
    left: var(--bs-border-width);
    right: var(--bs-border-width);
    bottom: var(--bs-border-width);
    background: #FFF;
    border-radius: var(--bs-border-radius);
    z-index: -1;
}

.btn-outline-primary:hover::after {
    background: var(--gradient);
}

.btn-outline-primary:hover > .text-gradient {
    color: #FFF;
    background: none;
    -webkit-background-clip: initial;
            background-clip: initial;
    -webkit-text-fill-color: initial;
}

/* Dropdown */

.caret-hide.dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    --bs-dropdown-min-width: 20rem;
    /* max-height: 30rem; */
    /* overflow: auto; */
}

/* Input */

.form-check-input:checked {
    background-color: #26BA35;
    border-color: #26BA35;
}

/* Table */

th {
    font-weight: 400;
}

.table-striped {
    --bs-table-striped-bg: rgba(250, 251, 252, 1);
}

.table td {
    padding: 1rem .5rem;
}

tr:hover .badge.text-bg-danger {
    color: #FFFFFF !important;
    background: RGBA(var(--bs-danger-rgb),var(--bs-bg-opacity,1)) !important;
}

tr:hover .badge.text-bg-warning {
    color: #FFFFFF !important;
    background: RGBA(var(--bs-warning-rgb),var(--bs-bg-opacity,1)) !important;
}

tr:hover .badge.text-bg-success {
    color: #FFFFFF !important;
    background: RGBA(var(--bs-success-rgb),var(--bs-bg-opacity,1)) !important;
}

/* pagination */
.pagination {
    --bs-pagination-active-bg: #2B00CE;
}

/* Layout */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 62px;
}

.content {
    height: 100vh;
    padding-top: 62px;
}

/* Sidebar */

.content-sidebar {
    padding: 0;
    border-right: 1px solid #DCD7E2;
}

.sidebar {
    height: 100%;
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
}

.sidebar .nav-pills {
    flex-direction: column;
}

.nav-pills .nav-link {
    position: relative;
    padding: 1rem 2rem;
    color: #000000;
    border-radius: 0;
}

.nav-pills .nav-link.active {
    color: #000000;
    background: #F0F2F5;
}

.nav-pills .nav-link.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(0deg, #2B00CE 0%, #BA46A8 55%, #FF9F22 100%);
    border-radius: 0 1em 1em 0;
}

@media screen and (max-width: 768px) {
    .content-sidebar {
        flex: 0 0 100%;
        overflow-x: auto;
    }

    .sidebar {
        flex-direction: row;
        width: max-content;
        height: auto;
    }

    .sidebar .nav-pills {
        flex-direction: row;
    }

    .nav-pills .nav-link.active::before {
        top: auto;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 8px;
    }
}

/* /Sidebar */

.powered-by-block {
    margin: 1rem;
    color: #c5c5c5;
}

/* Navbar */

/* Moblie menu */

.mobile-navbar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #FFFFFF;
    z-index: 4;
}

.mobile-navbar.nav-pills .nav-link.active {
    color: #000000;
    background: #B5A6ED;
}

@media screen and (max-width: 768px) {
    .mobile-navbar {
        display: block;
    }

    .mobile-navbar .nav-pills > * {
        flex: 0 0 25%;
        max-width: 25%;
        text-align: center;
    }
    
    .mobile-navbar .nav-pills .nav-link {
        padding: 1rem .75rem;
    }
}

.content-section {
    padding: 1rem 2rem;
    background-color: #FFFFFF;
    border-radius: 1rem;
}

@media screen and (max-width: 768px) {
    .content-section {
        overflow-x: auto;
    }
}

/* Main Content */

.content-main {
    height: 100%;
    padding: 1rem 2rem 100px;
    background-color: #F0F2F5;
    overflow: auto;
}

.card {
    border: none;
    border-radius: 1rem;
}

/* /Main Content */

.circle-done {
    width: 100px;
    height: 100px;
    background-image: url('../images/icon-done.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px;
    background-color: #F7F5FF;
    border-radius: 50%;
}


.circle-cancel {
    width: 100px;
    height: 100px;
    background-image: url('../images/icon-cancel.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40px;
    background-color: #F7F5FF;
    border-radius: 50%;
}