@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

@font-face {
    font-family: head;
    src: url(../fonts/Poppins-Medium.ttf);
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: sand;
    src: url(../fonts/Poppins-Light.ttf);
    font-style: normal;
    font-weight: 400;
}

/*[title] {*/
/*    position: relative;*/
/*    transition: all 1s ease-in-out;*/
/*}*/

/*[title]:hover::after {*/

/*}*/

/* CSS for the custom tooltip */
.custom-tooltip {

    display: none;
    position: absolute;
    background-color: var(--red-800);
    font-size: 9px;
    font-family: head, arial, helvetica, sans-serif;
    width: auto !important;
    color: var(--white);
    padding: 4px;
    border-radius: 4px;
    text-align: center;
    z-index: 99999999;
    /*white-space: nowrap;*/
    transition: opacity 0.4s ease-in-out;
    height: fit-content;
}

:root {
    --red-1100: #48070F;
    --red-1000: #841826;
    --red-900: #A01426;
    --red-800: #CF152D;
    --red-700: #E61C36;
    --red-600: #F83B53;
    --red-500: #FF6A7D;
    --red-400: #FFA0AC;
    --red-300: #FFC7CE;
    --red-200: #FFE1E5;
    --red-100: #FFF1F3;
    --red-50: rgba(255, 241, 243, 0.5);
    --black:#2c2c2c;
    --border: var(--red-200);
    --gray: #E6E6E6;
    --button: var(--red-800);
    --link: #0D99FF;
    --white:#ffffff;
    --th-back: var(--red-100);
    --shadow: #666;

}

::-moz-selection {
    color: var(--white);
    background: var(--red-700);
}

::selection {
    color: var(--white);
    background: var(--red-700);
}

/*************** GENERAL ****************/
* {
    box-sizing: border-box;
}

html {
    --title-bar-color: #2c2c2c;
    scroll-behavior: smooth;
    overflow-x: hidden;
    direction: ltr;
}

body {
    -webkit-font-smoothing: antialiased;
    font-family: sand, serif;
    overflow-x: hidden;
    scrollbar-width: thin; /* Options: auto | thin | none */
    scrollbar-color: var(--red-700) #fff0;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--red-700);
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background-color: var(--gray);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--red-800);
}

body > * {
    scrollbar-color: var(--red-700) #fff0;
    scrollbar-width: thin;
}

div, ol, ul, span, table {
    scrollbar-width: thin;
}

h1, h2, h3, h4, h5, h6 {
    font-family: head, sans-serif;
    color: var(--black);
    font-weight: 500;
}

p, span, a, input, select, textarea, button, option {
    font-family: sand, sans-serif;
    text-decoration: none;
    color: var(--black);
}

.text-danger {
    color: var(--red-600) !important;
}

.f-6 { font-size: 0.6em !important; }
.f-7 { font-size: 0.7em !important; }
.f-8 { font-size: 0.8em !important; }
.f-9 { font-size: 0.9em !important; }
.f-10 { font-size: 1em !important; }
.f-11 { font-size: 1.1em !important; }
.f-12 { font-size: 1.2em !important; }
.f-13 { font-size: 1.3em !important; }
.f-14 { font-size: 1.4em !important; }
.f-15 { font-size: 1.5em !important; }

.faded-text {
    font-size: 0.7em;
    color: #888888;
    margin-bottom: 10px;
    display: inline-block;
}

.text-justify {
    text-align: justify !important;
}

.drop-effect {
    height: 52px;
    border-radius: 5px !important;
    box-shadow: none !important;
    border: 2px dashed var(--gray);
    display: flex;
    justify-content: center;
    align-items: center;

}

.drop-effect p {
    color: var(--gray);
    font-size: 0.8em;
    font-family: head, arial, helvetica, sans-serif;
    margin: 0;
}

.bordered {
    border: 1px solid var(--gray) !important;
}

@media (max-width: 1000px) {
    .w-50 {
        width: 100% !important;
    }
}
/*************** ALERTS ****************/
.swal2-warning {
    width: 3em !important;
    height: 3em !important;
    color: #FFC021 !important;
    border-color: #FFC021 !important;
}

.swal2-icon-content {
    font-size: 2.75em !important;
}

.swal2-title {
    font-size: 1.1em !important;
    padding: .5em .7em 0 !important;
    font-family: head, 'arial', arial, helvetica;
    font-weight: 200;
}

.swal2-html-container {
    font-size: 0.9em !important;
}

.alert {
    width: 400px;
    height: auto;
    position: fixed;
    top: -15%;
    left: 2%;
    padding: 0px;
    background-color: #ffffff;
    border-radius: 7px;
    grid-template-columns: 1.3fr 6fr 0.5fr;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    opacity: 0;
    border: 1px solid #ccc;
    z-index: 0;
}

.alert .row {
    justify-content: space-evenly;
    align-items: center;
    margin-top: 10px;
}

.alert .icon {
    width: 10%;
    height: 100%;
}

.alert .icon i {
    font-size: 35px;
    line-height: 0;
}

.alert .text {
    width: 80%;
    padding-top: 7px;
}

.alert .close {
    width: 5%;
    position: absolute;
    top: -5px;
    right: 20px;
}

.alert .close i {
    font-size: 1.6em;
    color: #656565;
    cursor: pointer;
}

.alert p {
    font-size: 0.85em;
    color: #656565;
}

.success { border-left: 8px solid #47D764 }
.success .icon i { color: #47D764 }

.warning { border-left: 8px solid #FFC021 }
.warning .icon i { color: #FFC021 }

.error { border-left: 8px solid #ff355b }
.error .icon i { color: #ff355b }

.info { border-left: 8px solid #2F86EB }
.info .icon i { color: #2F86EB }

@media (max-width: 1000px) {
    .alert {
        width: 95vw;
    }
}

/*************** LOADERS ****************/

/******* Table *******/
.table-loader {
    width: 100%;
    overflow: hidden;
}

.table-loader tr {
    height: 42px;
}

.table-loader tr td {
    position: relative;
    /*overflow: hidden;*/
}

.table-loader .line {
    width: 75%;
    height: 20px;
    margin: auto;
    border-radius: 50px;
    background-image: linear-gradient(90deg, var(--red-200) 0px, var(--red-300) 40px, var(--red-200) 80px);
    background-size: 600px;
    animation: shine-lines 1.4s infinite linear;
}

.secondary-table-loader .line {
    width: 75%;
    height: 20px;
    margin: auto;
    border-radius: 50px;
    background-image: linear-gradient(90deg, #f3f3f3 0px, var(--gray) 40px, #f3f3f3 80px);
    background-size: 600px;
    animation: shine-lines 1.4s infinite linear;
}

@keyframes shine-lines {
    0% {
        background-position: 10%;
    }
    40%, 100% {
        background-position: -67%;
    }
}

/******* Button *******/
.button-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(230, 28, 54, 0.6);
    border-radius: 50px;
    text-align: center;
}

.button-loader .parent {
    width: 65px;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.button-loader div:not(.parent) {
    position: absolute;
    top: 40%;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
    border-radius: 50%;
    height: 11px;
    width: 11px;
    background-color: var(--white)
}

.button-loader .parent div:nth-child(1) {
    left: 6px;
    animation: loader--ellipsis1 0.6s infinite;
}

.button-loader .parent div:nth-child(2) {
    left: 6px;
    animation: loader--ellipsis2 0.6s infinite;
}

.button-loader .parent div:nth-child(3) {
    left: 26px;
    animation: loader--ellipsis2 0.6s infinite;
}

.button-loader .parent div:nth-child(4) {
    left: 45px;
    animation: loader--ellipsis3 0.6s infinite;
}

@keyframes loader--ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes loader--ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes loader--ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(19px, 0);
    }
}

/******* Page *******/
.page-loading {
    display: block;
    overflow: hidden;
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;
    opacity: 0;
    background-color: rgba(26, 26, 36, 0.8);
    /*transition: all 0.5s ease-in-out;*/
}

.page-loading .loader {
    --c:no-repeat linear-gradient(var(--red-700) 0 0);
    background:
            var(--c),var(--c),var(--c),
            var(--c),var(--c),var(--c),
            var(--c),var(--c),var(--c);
    background-size: 16px 16px;
    animation:
            l32-1 1s infinite,
            l32-2 1s infinite;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@keyframes l32-1 {
    0%,100% {width:45px;height: 45px}
    35%,65% {width:65px;height: 65px}
}
@keyframes l32-2 {
    0%,40%  {background-position: 0 0,0 50%, 0 100%,50% 100%,100% 100%,100% 50%,100% 0,50% 0,  50% 50% }
    60%,100%{background-position: 0 50%, 0 100%,50% 100%,100% 100%,100% 50%,100% 0,50% 0,0 0,  50% 50% }
}

/******* Elements *******/
.element-loader {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex: 0 1 auto;
    flex-direction: row;
    flex-wrap: wrap;
}

.element-loader .loader {
    box-sizing: border-box;
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 25%;
    max-width: 25%;
    /*height: 200px;*/
    align-items: center;
    justify-content: center;
    margin: auto;
}

.centered-element-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@-webkit-keyframes ball-grid-pulse {
    0% {
        transform: scale(0.9);
    }
    50% {
        transform: scale(0.5);
        opacity: 0.7;
    }
    100% {
        transform: scale(0.9);
        opacity: 1;
    }
}

.ball-grid-pulse {
    width: 80px;
}

.ball-grid-pulse > div:nth-child(1) {
    animation-delay: 0.22s;
    animation-duration: 0.9s;
}

.ball-grid-pulse > div:nth-child(2) {
    animation-delay: 0.64s;
    animation-duration: 1s;
}

.ball-grid-pulse > div:nth-child(3) {
    animation-delay: -0.15s;
    animation-duration: 0.63s;
}

.ball-grid-pulse > div:nth-child(4) {
    animation-delay: -0.03s;
    animation-duration: 1.24s;
}

.ball-grid-pulse > div:nth-child(5) {
    animation-delay: 0.08s;
    animation-duration: 1.37s;
}

.ball-grid-pulse > div:nth-child(6) {
    animation-delay: 0.43s;
    animation-duration: 1.55s;
}

.ball-grid-pulse > div:nth-child(7) {
    animation-delay: 0.05s;
    animation-duration: 0.7s;
}

.ball-grid-pulse > div:nth-child(8) {
    animation-delay: 0.05s;
    animation-duration: 0.97s;
}

.ball-grid-pulse > div:nth-child(9) {
    animation-delay: 0.3s;
    animation-duration: 0.63s;
}

.ball-grid-pulse > div {
    background-color: var(--red-800);
    width: 18px;
    height: 18px;
    margin: 2px;
    border-radius: 3px;
    animation-fill-mode: both;
    display: inline-block;
    float: left;
    animation-name: ball-grid-pulse;
    animation-iteration-count: infinite;
    animation-delay: 0;
}
/*************** BUTTONS ****************/
.action-icon {
    background-color: var(--red-800);
    margin: 5px;
    height: 1.513rem;
    width: 1.513rem;
    display: inline-block;
    border-radius: 3px;
    line-height: 1.3;
    cursor: pointer;
}

.action-icon i {
    color: var(--white);
    font-size: 1em;
}

.button, .secondary-button {
    width: auto;
    min-width: 150px;
    border: 2px solid var(--red-800);
    transition: all 0.3s linear;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: var(--button);
    color: var(--white);
    margin: auto;
    border-radius: 50px;
    padding: 8px;
    font-size: 0.8em;
    position: relative;
    box-shadow: 0 9px 18px rgba(0,0,0,0.12), 0 5px 7px rgba(0,0,0,0.05);
}

.secondary-button {
    background-color: var(--red-200);
    border: 2px solid var(--red-200);
    color: var(--red-800);
    box-shadow: 0 9px 18px rgba(0,0,0,0.12), 0 5px 7px rgba(0,0,0,0.05);
}

.secondary-button:hover {
    background-color: var(--red-800);
    color: var(--white);
    border: 2px solid var(--red-800);
}

.button:hover:not(.loading-button, .secondary-button) {
    background-color: var(--white);
    color: var(--red-800);
}

.normal-button {
    height: 2.6rem;
    border-radius: 0.375rem;
    background-color: var(--red-600);
    border-color: var(--red-600);
    box-shadow: 0 9px 18px rgba(0,0,0,0.12), 0 5px 7px rgba(0,0,0,0.05);
}

.card-button {
    height: unset;
    padding: 5px 35px;
    width: auto;
    min-width: unset;
    display: inline-block;
    box-shadow: 0 9px 18px rgba(0,0,0,0.12), 0 5px 7px rgba(0,0,0,0.05);
}

.icon-button {
    justify-content: center;
    box-shadow: 0 9px 18px rgba(0,0,0,0.12), 0 5px 7px rgba(0,0,0,0.05);
}

.icon-button > * {
    margin-right: 5px;
    margin-left: 5px;
}

.icon-button i {
    font-size: 1.1em;
    line-height: 0;
}

.table-button {
    min-width: 75px;

    box-shadow: 0 9px 18px rgba(0,0,0,0.12), 0 5px 7px rgba(0,0,0,0.05);
}

.swal2-confirm,
.swal2-cancel {
    min-width: 150px;
    font-weight: bold;
    border-radius: 50px;
    padding: 10px;
    font-size: 0.9em;
    border: 3px solid var(--red-800);
    height: 38px;
    margin: 10px;
    line-height: 0;
}

.swal2-confirm {
    background-color: var(--button);
    color: var(--white);
}

.swal2-cancel {
    background-color: transparent;
    color: var(--red-800);
}

/*************** INPUTS ****************/
.input {
    border-radius: 50px;
    padding: 7px;
    margin-bottom: 25px;
    border: 0;
    outline: none;
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 1px 2px 3px var(--shadow);
    width: 100%;
    height: 45px;
    background-color: var(--white);
    color: var(--black);
    text-align: center;
    position: relative;
}

textarea {
    height: 100px !important;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 10px;
}

.input-file-container {
    border: 0.0625rem dashed #979797;
    min-height: 6.325rem;
    position: relative;
    border-radius: 0.375rem;
    text-align: center;
    padding: 14px 0;
}

.input-file-container input[type="file"] {
    opacity: 0;
    width: 100%;
    height: 100%;
    border: 1px solid;
    position: absolute;
    top: 0;
}

.input-file-container i {
    font-size: 3em;
    color: #979797;
}

.input-file-container .file-name {
    display: block;
    color: #979797;
    font-family: head, arial, helvetica, sans-serif;
    font-size: 0.7em;
    /*opacity: 0;*/
}

.form-check-input:checked {
    background-color: var(--red-600);
    border-color: var(--red-600);
}

.form-check-input:focus {
    border-color: var(--red-600);
    outline: 0;
    box-shadow: 0 0 0 .25rem var(--red-200);
}

.input-file {
    border-radius: 50px;
    padding: 7px;
    margin-bottom: 25px;
    border: 0;
    outline: none;
    font-size: 0.8em;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 1px 2px 3px #666;
    width: 100%;
    height: 45px;
    background-color: var(--white);
    color: var(--black);
    text-align: center;
    position: relative;
}

.input-file span {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    line-height: 3.5;
    color: var(--black);
    opacity: 0.6;
}

/*input[type="file"] {*/
/*    opacity: 0;*/
/*    z-index: 1;*/
/*}*/

input[type=number] {
    -moz-appearance: textfield;
}

input::-ms-input-placeholder,
input::placeholder {
    color: var(--black);
    opacity: 1;
}

.select2-container {
    border-radius: 5px;
    width: 100% !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    height: 345px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--gray);
    color: var(--black);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--gray);
    color: var(--black);
    border: 0
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    padding: 0 7px;
    font-size: 1.5em;
    font-weight: unset;
    vertical-align: middle;
    border-right: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 10px;
    padding-right: 10px;
    font-family: head;
    color: var(--black);
    font-size: 0.9em;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
    background-color: unset;
    color: unset;
}

select {
    background-color: #fff;
    border-radius: 0;
}

.select2 .select2-selection {
    border: 1px solid;
}

.select2-dropdown {
    z-index: 9999999999 !important;
}

.select2 .select2-selection {
    /*min-width: 250px;*/
}

.select2-results__option {
    font-size: 0.8em;
    color: var(--black);
}

.select2 .select2-selection {
    line-height: 1.7rem;
    padding-left: 7px;
    height: auto !important;
}

.form-label,
.select2 .select2-selection {
    color: #979797;
    font-family: head, arial, helvetica, sans-serif;
    font-size: 0.8em;
    max-height: 250px;
    overflow: auto;
}

.form-control,
.select2 .select2-selection {
    color: #6e6e6e;
    font-size: 0.8em;
    border-color: #CCCCCC;
    height: 2.6rem;
}

.form-control-textarea {
    height: 85px
}

.form-control:hover,
.form-control:focus,
.form-control.active {
    color: #6e6e6e;
    box-shadow: none;
}

.error-input {
    border-color: var(--red-600);
    box-shadow: 0px 0px 1px 0px var(--red-600);
}

.error-input::-webkit-input-placeholder { /* Chrome/Edge/Safari */
    color: var(--red-600);
}
.error-input::-moz-placeholder { /* Firefox 19+ */
    color: var(--red-600);
}
.error-input:-ms-input-placeholder { /* IE10+ */
    color: var(--red-600);
}
.error-input:-moz-placeholder { /* Firefox 18- */
    color: var(--red-600);
}


.input-group-text {
    color: var(--white);
    background-color: var(--red-700);
    border: var(--bs-border-width) solid var(--red-700);
}

.toggle-switch {
    position: relative;
    display: block;
    width: 70px; /* Adjust width as needed */
    height: 30px; /* Adjust height as needed */
}

.toggle-switch input {
    display: none;
}

.toggle-label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    background-color: var(--red-600);
    border-radius: 34px;
    cursor: pointer;
    padding: 0 10px;
    transition: background-color 0.4s;
}

.toggle-label .toggle-button {
    position: absolute;
    left: 3px;
    bottom: 3px;
    width: 24px; /* Adjust slider width */
    height: 24px; /* Adjust slider height */
    background-color: var(--white);
    border-radius: 50%;
    transition: all 0.4s;
}

input:checked + .toggle-label .toggle-button {
    left: auto;
    right: 7px;
    transform: translateX(3px);
}

.toggle-text-left,
.toggle-text-right {
    font-size: 1.2em;
    color: var(--white);
    transition: opacity 0.4s;
    opacity: 0;

}

input:checked + .toggle-label .toggle-text-left {
    opacity: 1;
}

input:not(:checked) + .toggle-label .toggle-text-right {
    opacity: 1;
}

/*************** DROPDOWNS ****************/
.dropdown,
.dropdown-center,
.dropend,
.dropstart,
.dropup,
.dropup-center {
    position: static;
}

.dropdown-parent {
    width: 50px;
    display: flex;
    margin: auto
}

.dropdown-menu {
    font-size: inherit;
    border: 0;
    overflow: hidden;
    border-radius: 0.375rem;
    /*box-shadow: 0 0 4.125rem 0 rgba(82, 63, 105, 0.15);*/
    box-shadow: 0 0 .525rem 0 rgba(82, 63, 105, 0.35);
}

.btn-dropdown {
    color: var(--black) !important;
    min-width: unset !important;
    height: 35px;
    /*background-color: var(--th-back) !important;*/
    box-shadow: unset;
}

.dropdown-parent a {
    font-size: 0.9em;
    font-weight: 400;
    cursor: pointer;
    padding: 0.4rem 1rem;
    transition: all 0.4s ease;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: var(--red-600);
    background-color: var(--red-100);
}

.btn-dropdown:after,
.btn-dropdown:before {
    display: none !important;
}

/*************** LINKS ****************/
.link {
    display: block;
    /*font-weight: bold;*/
    font-size: 0.8em;
    color: var(--link)
}

.link:hover, .link:focus,
.link:hover, .link:focus {
    text-decoration: none;
}

.filter-link {
    font-size: 0.8em;
}

.head-link,
.head-link * {
    /*width: fit-content;*/
    transition: color 0.15s ease-in-out;
}

.head-link:hover * {
    color: var(--link) !important;
}

/*************** OFFCANVAS ****************/
.offcanvas-width-25 {
    width: 25% !important;
}

.offcanvas-width-50 {
    width: 50% !important;
}

.offcanvas-width-75 {
    width: 75% !important;
}

.offcanvas-width-100 {
    width: 100% !important;
}

.offcanvas {
    padding: 1rem 1.5rem;
}

.offcanvas-header {
    background-color: var(--white);
    margin-bottom: 10px;
}

.offcanvas  .offcanvas-title {
    font-size: 1em;
}

.offcanvas .btn-close  {
    background-image: none;
    background-color: var(--red-200) !important;
    transition: all 0.4s ease;
    line-height: 0;
    border-radius: 0.173rem;
}

.offcanvas .btn-close i {
    color: var(--red-800) !important;
}

@media (max-width: 1000px) {
    .offcanvas-width-25,
    .offcanvas-width-50,
    .offcanvas-width-75,
    .offcanvas-width-100 {
        width: 100% !important;
    }
}

/*************** MODALS ****************/
.modal p {
    font-size: 0.9em !important;
}

.modal b {
    font-size: 0.85em !important;
}

.modal h6 {
    background-color: var(--th-back);
    padding: 10px;
    border-radius: 2px;
}

.session-expired .icon {
    background-color: rgba(230, 230, 230, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
}

.session-expired .icon i {
    font-size: 2em;
    color: var(--red-500);
}

.session-expired .text h5 {
    font-size: 0.95em;
}

.session-expired .text p {
    font-size: 0.8em !important;
    margin: 0;
}

.session-expired .modal-footer {
    border-top: 0;
}

.session-expired .modal-footer .button {
    margin: 0;
}


/*************** BADGES ****************/
.badge {
    line-height: 1.2;
    border-radius: 0.25rem;
    font-size: 0.8em;
    font-weight: bold;
    padding: 5px 7px;
    border: 0.0625rem solid transparent;
}

.light.badge-success {
    background-color: #daf5e6;
    border-color: #3AC977;
    color: #3AC977;
}

.light.badge-danger {
    background-color: #ffdede;
    border-color: #FF5E5E;
    color: #FF5E5E;
}

.light.badge-primary {
    background-color: #e8f5ff !important;
    border-color: #0d99ff;
    color: #0d99ff;
}

.light.badge-purple {
    background-color: rgb(248, 240, 251) !important;
    border-color: rgb(187, 107, 217);
    color: rgb(187, 107, 217);
}

.light.badge-red {
    background-color: rgb(248, 240, 251) !important;
    border-color: rgb(255, 98, 98);
    color: rgb(255, 98, 98);
}

.light.badge-warning {
    background-color: rgba(211, 157, 0, 0.2) !important;
    border-color: rgb(211, 157, 0);
    color: rgb(211, 157, 0);
}

.light.badge-mix {
    background-color: #eceae2;
    border-color: #9c936a;
    color: #9c936a;
}

/*************** PROGRESS BAR ****************/
.progress {
    opacity: 0;
    height: 17px;
    width: 100%;
    border-radius: 20px;
    transition: all 0.2s linear;
}

.progress-bar {
    font-family: head, arial, helvetica, sans-serif;
    font-size: 0.8em;
    background: linear-gradient(to left, var(--red-800), var(--red-500));
    text-align: right;
    padding-right: 5px;
    box-shadow: 0 3px 3px -5px #F2709C, 0 2px 5px #F2709C;
    border-radius: 20px;
    height: 100%;
    transition: width 0.2s linear;
}

/*************** Cards ****************/
.card:not(.sidebar-card) {
    width: 100%;
    margin: auto;
    border: 0 !important;
    height: 100%;
    position: relative;
    transition: transform 0.2s linear, box-shadow 0.2s linear;
    box-shadow: rgba(0, 0, 0, 0.15) 0px -2px 15px -3px, rgba(0, 0, 0, 0.15) 0px 4px 6px -2px;
}

.card:not(.sidebar-card):hover {
    /*transform: translateY(-5px);*/
    box-shadow: rgba(0, 0, 0, 0.25) 0px -2px 15px -3px, rgba(0, 0, 0, 0.15) 0px 4px 6px -2px;
}

.sidebar-card ul {
    padding-left: 0.1rem !important;
}

/*************** TABLES ****************/
.table-responsive {
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);*/
}

table {
    width: 100%;
}

table tr {
    min-height: 30px;
}

table tbody tr {
    transition: all 0.3s
}

table tbody tr:hover,
table tbody tr:nth-of-type(2n):hover {
    box-shadow: 0 2px 15px -4px var(--red-500);
}

table tr:last-of-type {
    border-bottom: 2px solid var(--red-700) !important;
}

table th,
table td {
    text-align: center;
    font-size: 0.9em;
    color: var(--black) !important;
    padding: 10px 5px !important;
    min-width: 120px;
    width: auto;
}

table td {
    font-size: 0.8em;
}

table thead tr th {
    background-color: var(--red-700) !important;
    color: var(--white) !important;
}

table thead tr th:first-of-type { border-top-left-radius: 7px }

table thead tr th:last-of-type { border-top-right-radius: 7px }

.sortable {
    cursor: pointer;
}

table thead tr th i {
    margin-left: 5px;
    color: var(--white) !important;
    font-size: 0.6em;
}

table tbody tr:nth-of-type(2n) {
    --bs-table-bg: var(--red-50);
    background-color: var(--red-50); /* Custom background color for striped rows */
}

.pagination {
    flex-wrap: wrap !important;
}

.page-next,
.page-prev {
    cursor: pointer;
    position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
    color: var(--red-600) !important;
    text-decoration: none;
    line-height: 1.1;
    /*background-color: var(--bs-pagination-bg);*/
    /*border: var(--bs-pagination-border-width) solid var(--bs-pagination-border-color);*/
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.page-next i,
.page-prev i {
    color: var(--red-700) !important;
    font-size: 0.8em;
}

.page-next i:before,
.page-prev i:before {
    font-weight: bold !important;
}

.page-next.disabled,
.page-prev.disabled {
    color: var(--black);
    pointer-events: none;
    /*background-color: var(--bs-pagination-disabled-bg);*/
    /*border-color: var(--bs-pagination-disabled-border-color);*/
}

.page-item {
    cursor: pointer;

}

.page-item a {
    color: var(--red-700);
    width: 24px;
    height: 24px;
    border: 0;
    line-height: 24px;
    padding: 0;
    text-align: center;
    border-radius: 0.375rem;
    font-size: 0.8em;
    margin: 0 0.125rem !important;
    transition: all .25s ease-in-out;
    border: 0;
}

.page-item a:hover {
    background-color: var(--red-100);
    color: var(--red-700);
}

.page-item.active a {
    color: var(--white);
    background-color: var(--red-700);
    border: 0;
    font-size: 0.7em;
    font-weight: bold;
}

.showing p {
    font-size: 0.8em;
}

.img-text-column {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 8px 5px;
    /*width: fit-content;*/
}

.img-text-column img {
    height: 2.813rem;
    width: 2.813rem;
    margin-right: 10px;
    border-radius: 0.375rem;
}

.img-text-column h6 {
    font-size: 0.9em;
}

.img-text-column p {
    font-size: 0.8em;
    margin: 0;
}

/*************** CUSTOM STYLES ****************/
/********* LOGIN *********/
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: #f8f8f8;
}

.login {
    width: 90%;
    height: 90vh;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 15px -3px, rgba(0, 0, 0, 0.15) 0px 4px 6px -2px;

    /*background-color: var(--black);*/
}

.login .left-side {
    background: #f3f3f3;
    padding: 1rem;
    width: 40%;
    z-index: 1;
    position: relative;
    height: 100%;
    padding-top: 3rem;
}

.login .left-side:after {
    content: "";
    clip-path: polygon(0% 100%, 100% 0%, 0% 0%);
    width: 8.75rem;
    height: 100%;
    position: absolute;
    right: -8.75rem;
    z-index: -1;
    top: 0;
    background: #f3f3f3;
    box-shadow: 0.125rem 0rem 1.875rem rgba(0, 0, 0, 0.15);
}

.login .left-side .row {
    padding-top: 3rem;
}

.login .left-side .ill-image {
    width: 85%;
}

.login .right-side {
    width: 60%;
    height: 100%;
    background-color: var(--white);
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: space-evenly;*/
    /*flex-direction: column; */
}

.login .right-side .content {
    background: var(--white);
}

.logo {
    margin-top: 1rem;
}

.logo img {
    width: 275px;
    height: 230px;
}

@media (max-width: 1000px) {
    .login-container {
        height: 100vh;
        position: relative;
    }

    .login {
        background-color: #fff;
        width: 95%;
        height: 90%;
        position: absolute;
        top: 5%;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .login .left-side {
        display: none;
        background: var(--white);
        width: 90%;
        padding-top: 1rem;
    }

    .login .left-side .row {
        padding-top: 1rem;
    }

    .login .left-side:after {
        display: none
    }

    .login .right-side {
        width: 90%;
    }

    .logo {
        margin-top: 1rem;
    }

    .logo img {
        width: 200px;
        height: 160px;
    }

    .login h5 {
        font-size: 1em;
    }
}

/********* HEADER *********/
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 4.125rem;
    background-color: var(--black);
    border-bottom: 1px solid var(--gray);
    transition: all .4s ease;
    z-index: 6;
    /*overflow: hidden;*/
}

.header div {
    height: 4.125rem;
    overflow: hidden;
}

.header .header-logo {
    width: 115px;
    height: 4.125rem;
}

.header .header-logo img {
    width: 100%;
    height: 90%;
    margin-top: 2px;
}

.header .header-list-icon,
.header .header-full-icon {
    display: flex;
    justify-content: start;
    align-items: center;
    transition: all 0.3s ease-in-out;
}

.header-list-icon {
    margin-left: 12.5rem !important;
}

.header-list-icon-ar {
    margin-left: 0 !important;
    margin-right: 12.5rem !important;
}

.toggle-header-list {
    margin-left: 1.4rem !important;
}

.toggle-header-list-ar {
    margin-left: 0 !important;
    margin-right: 1.4rem !important;
}

.header .header-list-icon i,
.header .header-full-icon i,
.header .dropdown-toggle i {
    color: var(--white);
    font-size: 1.5em;
    display: inline-block;
    cursor: pointer;
    line-height: 1;
}

.header .header-list-icon .bi-list {
    font-size: 1.8em;
}

.header .header-full-icon i {
    font-size: 1.3em;
    line-height: 0.7;
}

.header-user {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-user .header-img {
    width: 1.875rem;
    height: 1.875rem;
    margin-right: 7px;
    margin-left: 7px;
}

.header-user .header-img img {
    width: 30px;
    height: 30px;
    border-radius: 50%
}

.header-user .header-username {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
}

.header-user .header-username p {
    margin: 0;
    padding: 0;
    font-size: 0.7em
}

.header-user .header-username .name {
    color: var(--white);
    font-weight: bold
}

.header-user .header-username .position {
    color: var(--gray);
}

@media (max-width: 1000px) {
    .header-list-icon {
        margin-left: 1rem !important;
    }

    .header-list-icon-ar {
        margin-left: unset !important;
        margin-right: 1rem !important;
    }

    .header .student-overview {
        display: none
    }

    .header .header-full-icon {
        margin: 0 0.5rem
    }
}

/********* SIDEBAR *********/
.sidebar {
    width: 15rem;
    padding-bottom: 10px;
    height: calc(100% - 4.125rem);
    position: fixed;
    top: 4.125rem;
    padding-top: 1rem;
    z-index: 3;
    background-color: var(--white);
    border-right: 1px solid var(--gray);
    transition: all .4s ease;
    box-shadow: 1rem 0.5rem 0.8rem 0rem rgba(0, 0, 0, 0.02);
    overflow-x: scroll;
}

.toggle-sidebar {
    width: 3.75rem;
}

.sidebar .header-user {
    display: none;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.sidebar .header-user .header-img {
    width: 2.575rem;
    height: 2.5rem;
    margin-right: 0px;
    margin-left: 0px;
}

.sidebar .header-user .header-img img {
    width: 100%;
    border-radius: 50%;
    height: 100%;
}

.sidebar .header-user p {
    color: var(--black) !important;
}

.sidebar .header-user p.position {
    color: #888888 !important;
}


@media (max-width: 1000px) {
    .sidebar {
        width: 3.75rem;
        left: -3.75rem;
        z-index: 9999 !important;
    }

    .toggle-sidebar {
        width: 15rem;
        left: 0
    }

    .sidebar .header-user {
        display: flex
    }
}

.sidebar ul {
    padding: 0;
    list-style: none;
}

.sidebar ul li {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem
}

.sidebar ul li a {
    padding: 0.4rem 1.2rem;
    margin: 0px;
    position: relative;
    transition: all 0.5s;
}

.sidebar ul li .has-arrow i:not(.menu-icon i)  {
    color: #888888;
    font-size: 0.6em;
    position: absolute;
    right: 1.8rem;
    top: 0.9rem;
    transition: all 0.4s ease;
}

.sidebar ul li .has-arrow i.active:not(.menu-icon i) {
    transform: rotate(90deg);
}

.sidebar ul li a.active .nav-text,
.sidebar ul li a.active .menu-icon i {
    transition: all 0.4s ease;
    color: var(--red-600);
}

.sidebar ul li a.active {
    background-color: var(--red-100);
}

.sidebar ul li a .nav-text {
    font-size: 0.75rem;
    font-weight: 400;
    transition: all 0.4s ease;
    font-family: head, serif;
}

.sidebar ul li a .toggle-nav-text {
    opacity: 0
}

.sidebar ul li a:hover .nav-text,
.sidebar ul li a:hover .menu-icon i {
    transition: all 0.4s ease;
    color: var(--red-600);
}

.sidebar ul li a .menu-icon {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    height: auto;
    width: auto;
    text-align: center;
    border-radius: 0.125rem;
    line-height: 1;
    margin-right: 0.5em;
}

.sidebar ul li a .menu-icon i {
    color: #888888;
    font-size: 1.1em;
}

.sidebar ul li a .menu-icon i:before {
    line-height: 1.5
}

.sidebar ul li .card-body {
    border: 0;
}

.sidebar ul li .collapse {
    position: relative;
}

.sidebar ul li .toggle-card-body {
    position: fixed;
    left: 3rem;
    width: 12rem;
    border: 1px solid var(--gray);
}

.sidebar ul li .toggle-card-body .nav-text {
    opacity: 1 !important;
    display: block !important;
}

.sidebar ul li .card-body a {
    position: relative;
}

.sidebar ul li .card-body a:before {
    content: "";
    position: absolute;
    width: 0.5rem;
    border-bottom: 2px solid var(--red-600);
    left: 0.5rem;
    top: 1.2rem;
    transition: all 0.4s ease;
}

.sidebar ul li .card-body a:hover {
    padding-left: 2.2rem;
}

.sidebar ul li .card-body a:hover:before {
    width: 1rem;
}

.content {
    margin-left: 15rem;
    padding: 1.875rem;
    background-color: #f3f3f3;
    width: auto;
    transition: all .4s ease;
}

.toggle-content {
    margin-left: 3.7rem;
}

@media (max-width: 1000px) {
    .content {
        padding: 0.575rem;
        margin-left: 0;
    }
}

.content .content-body {
    background-color: #fff;
    border: 1px solid var(--gray);
    border-radius: 0.375rem;
    padding: 1.875rem;
    min-height: calc(100vh - 4.125rem);
    position: relative;
}

@media (max-width: 1000px) {
    .content .content-body {
        padding: 1rem 0.575rem;
    }
}

.breadcrumb {
    width: 100%;
    border-bottom: 1px solid var(--gray);
    height: 45px;
    max-height: 45px;
    overflow: hidden;
    background-color: var(--white);
    margin: 4.125rem 0 0 15rem;
    padding: 0 1.875rem;
    transition: all .4s ease;
}

.toggle-breadcrumb {
    margin-left: 3.7rem;
}

@media (max-width: 1000px) {
    .breadcrumb {
        margin-left: 0;
    }

    .breadcrumb h5 {
        display: none !important;
    }
}

.breadcrumb p,
.breadcrumb h5 {
    display: inline-block;
    padding: 0;
    margin: 0;
}

.breadcrumb h5 {
    margin-right: 2rem;
}

.breadcrumb p {
    font-family: head, arial, helvetica, sans-serif;
    font-size: 0.8em
}

.breadcrumb p i {
    color: var(--red-600);
    font-size: 1.5em;
    margin: 0 5px
}

.breadcrumb p i:before {
    line-height: 1.2
}

.breadcrumb p a {
    font-size: 0.9em;
    font-family: head, arial, helvetica, sans-serif;
}


/********* COURSES PAGE *********/
.statistics {
    width: calc(100% + 1.875rem * 2);
    margin: -1.875rem;
    background-color: #f3f3f3;
    outline: 1px solid #f3f3f3;
    padding-bottom: 1.875rem;
    border-bottom: 1px solid var(--gray);
}

.statistics .icon-box {
    height: 3.375rem;
    min-height: 3.375rem;
    width: 3.375rem;
    min-width: 3.375rem;
    line-height: 3.375rem;
    text-align: center;
}

.statistics .row .col-xl-3:nth-child(1) .icon-box {
    background: rgba(13, 153, 255, 0.1);
}
.statistics .row .col-xl-3:nth-child(2) .icon-box {
    background: rgba(58, 201, 119, 0.1);
}
.statistics .row .col-xl-3:nth-child(3) .icon-box {
    background: rgb(187, 107, 217, 0.1);
}
.statistics .row .col-xl-3:nth-child(4) .icon-box {
    background: rgba(255, 98, 98, 0.1);
}

.statistics .row .col-xl-3:nth-child(1) .icon-box i,
.statistics .row .col-xl-3:nth-child(1) .count {
    color: rgb(13, 153, 255);
}

.statistics .row .col-xl-3:nth-child(2) .icon-box i,
.statistics .row .col-xl-3:nth-child(2) .count {
    color: rgb(58, 201, 119);
}

.statistics .row .col-xl-3:nth-child(3) .icon-box i,
.statistics .row .col-xl-3:nth-child(3) .count {
    color: rgb(187, 107, 217);
}

.statistics .row .col-xl-3:nth-child(4) .icon-box i,
.statistics .row .col-xl-3:nth-child(4) .count {
    color: rgb(255, 98, 98);
}


.statistics .icon-box i {
    font-size: 1.8em;
}

.statistics .total span {
    font-size: 0.8em;
    font-family: head, arial, helvetica, sans-serif;
}

.courses-header {
    padding-top: 1rem;
    width: calc(100% + 1.875rem * 2);
    margin: -1.875rem;
    background-color: #f3f3f3;
    outline: 1px solid #f3f3f3;
    padding-bottom: 1.875rem;
    border-bottom: 1px solid var(--gray);
}

.courses-header .dropdown-toggle::after {
    display: none
}

.courses-header .icon-button {
    justify-content: space-evenly;
}

.courses-header .icon-button .chevron {
    font-size: 0.8em;
}

.courses-header .icon-button .filter {
    font-size: 1.2em;
}

.courses-header .dropdown-menu .dropdown-item {
    /*font-family: head, arial, helvetica, sans-serif;*/
    font-size: 0.8em;
    /*font-weight: bold;*/
}

.courses-header .dropdown-menu .dropdown-item.active {
    color: var(--red-600);
    background-color: var(--red-100);
}

.header-row {
    align-items: center;
    padding: 1rem;
    background-color: var(--white);
    border: 1px solid var(--gray);
    border-radius: 0.375rem;
}

/*.course .edit-course {*/
/*    opacity: 0;*/
/*    visibility: hidden;*/
/*    cursor: pointer;*/
/*    transition: all .5s ease-in-out;*/
/*    border-top-left-radius: var(--bs-card-inner-border-radius);*/
/*    border-top-right-radius: var(--bs-card-inner-border-radius);*/
/*}*/

/*.course:hover .edit-course {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*}*/

.course .edit-course i {
    /*font-size: 1.3em;*/
    /*color: var(--red-700);*/
    /*color: var(--black) !important;*/
    /*line-height: 0;*/
}

.course .card-img-top {
    height: 175px;
    object-fit: cover;
    width: 95%;
    margin: auto;
    margin-top: 2.5%;
}

.course .status-button {
    line-height: 1.2;
    border-radius: 0.25rem;
    font-size: 0.6em;
    font-weight: bold;
    padding: 5px 7px;
    border: 0.0625rem solid transparent;
    min-width: 75px;
    margin-bottom: .7rem;
}

.course .status-button-active,
.course .status-button-active:hover {
    border-color: #b2eaca !important;
    background-color: #daf5e6 !important;
    color: #3AC977 !important;
}

.course .status-button-disabled,
.course .status-button-disabled:hover {
    background-color: #ffdede !important;
    border-color: #FF5E5E !important;
    color: #FF5E5E !important;
}

.course .card-title {
    font-size: 1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.course .date-added {
    font-size: 0.7em;
    color: #888888;
    margin-bottom: 10px;
    display: inline-block;
}

.course .card-body,
.course .card-footer {
    padding: 0.5rem 0.5rem;
}

.course .card-text {
    font-size: 0.8em;
    text-align: justify;
    padding: 0 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    transition: all .5s ease-in-out;
    max-height: 130px;
    /*min-height: 130px;*/
}

.course .card-text:hover {
    -webkit-line-clamp: none;
    line-clamp: none;
    overflow: auto;
}

.course .students {
    overflow: hidden;
}

.course .students h6 {
    font-size: .9em;
}

.course .students .images {
    padding: 0 5px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    transition: all .5s ease-in-out;
    max-height: 70px;
    /*min-height: 80px;*/
}

.course .students .images:hover {
    -webkit-line-clamp: none;
    line-clamp: none;
    /*max-height: 100px;*/
    overflow: auto;
}

.course .students .images img {
    border-radius: 50%;
    height: 35px;
    width: 35px;
    display: inline-block;
    position: relative;
    object-fit: cover;
    margin-inline-end: -13px;
    border: 3px solid #fff;
    transition: all 0.3s ease-in-out;
}

.course .students .images img:hover {
    z-index: 1;
}

.course .files .attachment {
    position: relative;
}

.course .files a i:not(.delete-attach) {
    font-size: 1.3em;
    color: var(--red-600);
    margin: 0 5px;
}

.course .files .attachment .delete-attach {
    opacity: 0;
    font-size: 0.8em;
    color: var(--black);
    position: absolute;
    top: -5px;
    right: -2px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.course .files .attachment:hover .delete-attach {
    opacity: 1;
}

.course .files {
    display: flex;
    justify-content: start;
    width: 45%;
    flex-direction: row;
}

.course .dropdown {
    width: 45%;
    text-align: right;
}

.course .dropdown .dropdown-toggle:not(.edit-course-button) {
    border: 2px solid var(--red-600);
    background-color: unset;
    width: 80%;
    margin: auto;
    color: var(--red-600);
    padding: 2px 10px;
    font-size: 0.9em;
    font-weight: 500;
    border-radius: 0.25rem;
    line-height: 0
}

.course .dropdown .dropdown-toggle:not(.edit-course-button):after {
    display: none;
}

.course .dropdown .dropdown-toggle:not(.edit-course-button) label {
    color: var(--red-600);
    padding: 5px;
    margin: 0;
}

.course .dropdown .dropdown-toggle:not(.edit-course-button) label i {
    margin-left: 5px;
}


/********* EXAMS PAGE *********/
.exam-header .dropdown-toggle::after {
    display: none;
}

.add-exam .questions {
   max-height: 48rem;
    overflow-y: auto;
    /*border: 1px solid;*/
    /*overflow: hidden;*/
}

.add-exam .questions .question {
    border: 1px solid rgba(0, 0, 0, 0.175);
    margin-bottom: 2rem;
    margin-left: 1rem;
    width: 97%;
    border-radius: 5px;
    position: relative;
    margin-top: 2rem;
    padding-top: 15px;
}

.add-exam .questions .question .question-counter {
    position: absolute;
    top: -20px;
    left: 20px;
    background-color: var(--white);
    padding: 7px;
    color: #979797;
    font-family: head, arial, helvetica, sans-serif;
    font-size: 0.8em;
    width: auto;
}

.add-exam .questions .question .question-close {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--white);
    padding: 3px;
    color: #979797;
    font-size: 1.2em;
    width: 27px;
    height: 27px;
    line-height: 0;
    cursor: pointer;
}

.exam .dropdown button:checked,
.exam .dropdown button:active {
    border: 0;
}

.exam .dropdown button i {
    font-size: 1.2em;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background-color: var(--white);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s linear
}

.exam .dropdown button i:hover {
    background-color: var(--gray);
}

.exam .card-footer {
    background-color: var(--white);
}

.exam .card-footer .heading {
    font-family: head, arial, helvetica, sans-serif;
    padding: 0;
    margin: 0
}

.exam .options div {
    position: relative;
}

.exam .options div i {
    opacity: 0;
    font-size: 1em;
    color: var(--black);
    position: absolute;
    top: -5px;
    right: -2px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.exam .options div:hover i {
    opacity: 1;
}

/********* LEVELS PAGE *********/
.level:hover {
    transform: none;
}

.level .card-head {
    background-color: rgba(0,0,0,.04);
}

.level .card-body h6 {
    font-size: 0.85em;
    padding: 0;
    margin: 0;
}

.level .dropdown button i {
    font-size: 1.2em;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background-color: transparent;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s linear;
}

.level .dropdown button i:hover {
    background-color: var(--gray);
}

.level .card-body {
    /*background-color: rgba(0,0,0,.02);*/
}

.level .students {
    max-height: 360px;
    overflow-y: auto;
    overflow-x: hidden;
    /*position: relative;*/
}

.level .card-body .student {
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.2);
    width: 98%;
    margin: auto auto 0.7rem;
    border-radius: 3px;
}

.level .img-text-column img {
    height: 2.013rem;
    width: 2.013rem;
}

.level .img-text-column h6 {
    font-size: 0.65em;
    margin-bottom: 5px;
}

.level .img-text-column p {
    font-size: 0.55em;
    margin: 0;
}

.level .img-text-column .drag-level {
    cursor: grab;
}

.level .img-text-column .drag-level i {
    font-size: 1.5em
}

@keyframes dropout {
    0% {
        transform: scale(1) rotate(-1deg)
    }
    50% {
        transform: scale(1.1) rotate(-2deg)
    }
    100% {
        transform: scale(1) rotate(0deg)
    }
}
.dropout {
    opacity: 1;
    transition: opacity .5s ease;
    animation: dropout .4s ease forwards;
}

/********* CERTIFICATES PAGE *********/

.certificate .cert-img {
    contain: content;
    max-height: 200px;
}

.certificate:hover {
    transform: none;
}

/********* CERTIFICATE LOG PAGE *********/

.certificate-log {
    position: relative;
    width: calc(100% + 2.2rem);
    margin: -2rem;
    left: calc(1.8rem / 2);
}

.secondary-table thead tr th:first-of-type {
    border-top-left-radius: 0px;
}

.secondary-table thead tr th:last-of-type {
    border-top-right-radius: 0px;
}

.secondary-table thead tr th {
    background-color: var(--red-700) !important;
    color: var(--white) !important;
    font-family: head, arial, helvetica, sans-serif;
    font-weight: unset;
    font-size: 0.8em;
}

.secondary-table > :not(caption) > * > * {
    border-bottom-width: 0 !important;
}

table tbody tr:nth-of-type(2n) {
    --bs-table-bg: unset;
    background-color: unset;
}

.secondary-table tr:last-of-type {
    border-bottom: 0 !important;
}

.secondary-table tbody tr:hover, table tbody tr:nth-of-type(2n):hover {
    box-shadow: unset;
}

.secondary-table {
    border-collapse: collapse;
}

.secondary-table td {
    padding: 5px !important;
    vertical-align: middle;
    border-bottom-color: var(--gray) !important;
    border-bottom-width: 1px !important;
    border-bottom-style: solid !important;
}

.secondary-table thead tr th i {
    color: var(--white) !important;
}

/********* FEEDBACK PAGE *********/
.feedback {
    border: 0
}

.feedback .student-icon {
    width: fit-content;
    display: flex;
    align-items: start;
    position: relative;
}

.feedback .student-icon img {
    height: 2.813rem;
    width: 2.813rem;
    border-radius: 50%;

}

.feedback .feedback-body .card-body {
    position: relative;
    background-color: #f1f1f1;
    border-radius: 0px 8px 8px 8px;
}

.feedback .message-pointer {
    position: absolute;
    top: 0%;
    left: -13px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0px 15px 15px;
    border-color: transparent transparent #f1f1f1 transparent;
    transform: rotate(270deg);
}

.rate i {
    color: var(--red-700)
}

.feedback .link i {
    color: var(--red-700)
}

.feedback .link {
    display: block;
    font-size: 0.7em;
    color: var(--link);
    font-weight: normal;
}

.feedback .link i {
    color: var(--link);
}

.filter-button .text {
    color: var(--red-800);
    transition: all 0.3s linear;
}
.filter-button:hover .text {
    color: var(--white) !important
}
.student .card-head img {
    width: 7rem;
    height: 7rem;
    object-fit: contain;
    border-radius: 100%;
    position: relative;
    display: inline-block;
}
.resend {
    min-width: unset;
    border: 2px solid var(--red-600);
    background-color: unset;
    width: auto;
    margin: auto;
    color: var(--red-600);
    padding: 4px 14px;
    font-weight: normal;
    border-radius: 0.25rem;
    font-family: head, monospace;
    font-size: .7em;
}

.resend-secondary {
    background-color: var(--red-600);
    color: var(--white);
    margin: unset !important
}

/********* Student PAGE *********/
.ProgressBar {
    position: relative
}

.ProgressBar .Bar {
    width: 99px;
    height: 99px;
    border-radius: 50%;
    background-color: #f3f3f3;
    position: relative;
}

.ProgressBar .Bar .Outer {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 50px);
    top: calc(50% - 50px);
    width: 100px;
    height: 100px;
    clip: rect(0, 100px, 100px, 50px);
}

.Bar .Outer .Fill {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 50px);
    top: calc(50% - 50px);
    width: 100px;
    height: 100px;
    clip: rect(0, 50px, 100px, 0);
    background-color: rgb(255, 98, 98);
    transform: rotate(0deg);

}

.ProgressBar .Bar .Draw {
    content: "";
    position: absolute;
    border-radius: 50%;
    left: calc(50% - 85px/2);
    top: calc(50% - 85px/2);
    width: 85px;
    height: 85px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: head, arial, helvetica;
}

.ProgressBar .not-halfway {
    background-color: rgb(255, 98, 98);
}

.ProgressBar .halfway {
    background-color: #3AC977;
}

.ProgressBar .Bar.not-halfway .Outer {
    clip: rect(0, 50px, 100px, 0);
}

.ProgressBar .Bar.halfway .Outer {
    clip: rect(0, 50px, 100px, 0);
}
.ProgressBar .Bar.halfway .Outer .Fill {
    clip: rect(0, 100px, 100px, 50px);
    background: #f3f3f3;
}

.ProgressBar .Bar.not-halfway .Outer .Fill {
    clip: rect(0, 100px, 100px, 50px);
    background: #f3f3f3;
}

.ProgressBar .Bar.complete.halfway,
.ProgressBar .Bar.complete .Fill
{
    background-color: #3AC977 !important;
}

.ProgressBar .Bar.complete.not-halfway,
.ProgressBar .Bar.complete .Fill
{
    background-color: rgb(255, 98, 98);
}

.card.disabled {
    opacity: 0.5; /* Lower the opacity */
    cursor: not-allowed; /* Change the cursor */
    pointer-events: none; /* Prevent any interaction */
    background-color: #f2f2f2; /* Optional: Slightly change background */
}


/********* HOME PAGE *********/
.totals {
    background-color: var(--white);
    border: 0;
    padding: 0;
    border-radius: 5px;
}

.totals .card,
.totals .card:hover {
    box-shadow: none
}

.totals .row .col-xl-2:nth-child(1) .icon-box {
    background: rgba(13, 153, 255, 0.1);
}
.totals .row .col-xl-2:nth-child(2) .icon-box {
    background: rgba(58, 201, 119, 0.1);
}
.totals .row .col-xl-2:nth-child(3) .icon-box {
    background: rgb(187, 107, 217, 0.1);
}
.totals .row .col-xl-2:nth-child(4) .icon-box {
    background: rgba(255, 98, 98, 0.1);
}
.totals .row .col-xl-2:nth-child(5) .icon-box {
    background: rgba(255, 193, 7, 0.1);
}
.totals .row .col-xl-2:nth-child(6) .icon-box {
    background: rgba(238, 130, 238, 0.1);
}

.totals .row .col-xl-2:nth-child(1) .icon-box i,
.totals .row .col-xl-2:nth-child(1) .count {
    color: rgb(13, 153, 255);
}

.totals .row .col-xl-2:nth-child(2) .icon-box i,
.totals .row .col-xl-2:nth-child(2) .count {
    color: rgb(58, 201, 119);
}

.totals .row .col-xl-2:nth-child(3) .icon-box i,
.totals .row .col-xl-2:nth-child(3) .count {
    color: rgb(187, 107, 217);
}

.totals .row .col-xl-2:nth-child(4) .icon-box i,
.totals .row .col-xl-2:nth-child(4) .count {
    color: rgb(255, 98, 98);
}

.totals .row .col-xl-2:nth-child(5) .icon-box i,
.totals .row .col-xl-2:nth-child(5) .count {
    color: rgb(255, 193, 7);
}

.totals .row .col-xl-2:nth-child(6) .icon-box i,
.totals .row .col-xl-2:nth-child(6) .count {
    color: rgb(238, 130, 238)
}

.home-statistics {
    border: 0
}

.home-statistics .card,
.home-statistics .card:hover {
    box-shadow: none;
}

.home-card {
    border-radius: 5px;
    background: var(--white)
}

.top-courses .course {
    border-bottom: 1px solid var(--gray);
}

.top-courses .course:nth-of-type(1) {
    border-top: 1px solid var(--gray);
}

.top-courses .course img {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
    border-radius: 100%;
    position: relative;
    display: inline-block;
}

.activities {
    max-height: 25rem;
    overflow-x: scroll;
}

.activity {
    border-bottom: 1px solid var(--gray);
    margin-bottom: 1rem
}

.activity img {
    width: 2rem;
    height: 2rem;
    object-fit: fill;
    border-radius: 100%;
    position: relative;
    display: inline-block;
}

.quick-links .quick-link .icon {
    font-size: 1.8rem;
    color: var(--red-600)
}

.quick-links .quick-link .link-box {
    height: 3.375rem;
    min-height: 3.375rem;
    width: 3.375rem;
    min-width: 3.375rem;
    line-height: 3.375rem;
    text-align: center;
    background: rgba(248, 59, 83, 0.1);
}

/********* REPORT PAGE *********/
.reports-container .data-fields-container {
    /*display: flex;*/
    /*flex-direction: row;*/
    /*width: 100%;*/
    /*overflow-y: auto;*/
    padding-bottom: 1.5rem;
    /*scrollbar-color: var(--red-600) #fff0;*/
}

.reports-container .data-fields-container p {
    display: inline-block;
    min-width: 120px;
    margin: .5rem;
    cursor: grab;
    text-align: center;
}

.reports-container .data-drop-container {
    border: 0.0625rem dashed #979797;
    min-height: 6.325rem;
    border-radius: 0.375rem;
    text-align: center;
    /*display: flex;*/
    /*justify-content: start;*/
    /*align-items: start;*/
    /*width: 100%;*/
    /*overflow-y: auto;*/
    padding: 14px 0 1.5rem;
    scrollbar-color: var(--red-600) #fff0;
}

.reports-container .data-drop-container p {
    display: inline-block;
    min-width: 120px;
    margin: .5rem;
    cursor: grab;
    text-align: center;
}