body {
    direction: rtl;
    font-family: "Almarai", sans-serif;
    font-weight: 300;
    font-style: normal;
}
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.active-item {
    background-color: #e2f5fc;
    position: relative;
}
.active-item img {
    filter: brightness(0) saturate(100%) invert(38%) sepia(80%) saturate(430%)
        hue-rotate(163deg) brightness(93%) contrast(93%);
}
.active-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background-color: #2e77ae;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.dataTable {
    /* width: 90%; */
    border-collapse: collapse !important; /* Remove default border spacing */
    border: none !important; /* Remove default border */
    background: none !important; /* Remove default background */
    font-size: inherit !important; /* Use the default font size */
}
/* table.dataTable thead th {
    padding-left: 10px !important;
    padding-right: 10px !important;
} */
table.dataTable tbody th,
table.dataTable tbody td {
    padding: 16px 0 !important;
    text-align: center;
}
table.dataTable thead th {
    padding: 16px 0 !important;
    text-align: center;
}
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_length {
    background: none !important;
    border: none !important;
    font-size: inherit !important;
}

/* Remove header styles */
.dataTables_wrapper .dataTables_scrollHeadInner table {
    border-bottom: none !important;
}
.dataTable thead {
    background: none !important;
    border-bottom: none !important;
}
.dataTables_paginate {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}
.dataTable {
    border: none !important;
    text-align: left !important;
}

.paginate_button {
    color: #000 !important;
    border: 1px solid #ccc !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 3px !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    width: 40px !important;
    margin: 0px auto;
    height: 40px !important;
    font-size: 17px !important;
}

.paginate_button:hover {
    background-color: transparent !important;
}

.paginate_button.current {
    background-color: #2e77ae !important;
    color: white !important;
}

.paginate_button.disabled {
    background-color: transparent !important;
    color: #999 !important;
    cursor: not-allowed !important;
    border-radius: 10px;
}

.paginate_button.previous,
.paginate_button.next {
    font-weight: bold !important;
}
.dataTables_filter {
    position: relative !important;
}

.search-input {
    padding-left: 30px !important; /* Space for the icon */
}

.search-icon {
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #aaa !important; /* Adjust color as needed */
}
.dataTables_wrapper .dataTables_filter {
    display: none !important;
}
.dataTables_length select {
    display: none !important;
}
.dataTables_length label {
    display: none !important;
}
.dataTables_info {
    display: none !important;
}
.dataTables_wrapper .dataTables_paginate {
    display: flex !important;
    justify-content: end !important;
    padding: 10px !important;
    width: 100% !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    margin-right: 5px !important; /* Optional: add spacing between buttons */
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: white !important;
}
.move-left {
    position: relative !important;
    left: 40px !important;
}

.step.active .step-bg {
    background-color: #5c9ecf;
    color: white;
}
.step.active .step-text {
    font-weight: bold;
}

.step-label.active {
    color: #5c9ecf;
    font-weight: bold;
}

.step-content {
    display: none;
}

.step-content.active {
    display: block;
}

.content {
    display: none;
}
.content.active {
    display: block;
}
.btn.active {
    background-color: #2e77ae !important;
    color: white !important;
}
.step-btn {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    align-items: center;
    background-color: #2e77ae;
    color: white;
    padding: 12px 48px;
    border-radius: 8px;
}
.paginate_button.current {
    color: white !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: white !important;
}

nav.not-expand a {
    justify-content: center;
}
nav.not-expand li {
    justify-content: center;
}
nav.not-expand {
    width: 88px;
}
nav.not-expand ul > a > div > img:nth-child(2) {
    display: none;
}
nav.not-expand ul > li > a > div > span {
    display: none;
}

nav.not-expand ul > li {
    padding-right: 16px !important;
}
nav.not-expand ul > div {
    padding-right: 16px !important;
}
nav.not-expand ul > li > a > span {
    display: none;
}
nav.not-expand ul > li > a > div > img {
    width: 24px !important;
    height: 24px !important;
}
nav.not-expand ul > li > a > img {
    width: 24px !important;
    height: 24px !important;
}
nav.not-expand ul > li > a > div:nth-child(2) {
    display: none;
}

@media screen and (min-width: 1280px) {
    nav.not-expand ~ div {
        margin-right: 50px;
    }
    nav.not-expand a {
        justify-content: center;
    }
    nav.not-expand li {
        justify-content: center;
    }
    nav.not-expand {
        width: 88px;
    }
    nav.not-expand ul > div > img:nth-child(2) {
        display: none;
    }
    nav.not-expand ul > li > a > div > span {
        display: none;
    }

    nav.not-expand ul > li {
        padding-right: 16px !important;
    }
    nav.not-expand ul > div {
        padding-right: 16px !important;
    }
    nav.not-expand ul > li > a > span {
        display: none;
    }
    nav.not-expand ul > li > a > div > img {
        width: 24px !important;
        height: 24px !important;
    }
    nav.not-expand ul > li > a > img {
        width: 24px !important;
        height: 24px !important;
    }
    nav.not-expand ul > li > a > div:nth-child(2) {
        display: none;
    }
}
#breadCrumb li {
    display: none;
}
#breadCrumb li.active {
    display: flex;
}
/* #breadCrumb li.active:not(:first-of-type) {
    color: #2e77ae;
} */

#breadCrumb li.active-color {
    color: #2e77ae;
}
.nav-items,
.wrapper {
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-items::-webkit-scrollbar {
    display: none;
}
li:has(#toggle-menu.active) + #menu-item {
    display: flex !important;
}


li:has(#toggle-menu.active) {
    position: relative;
    background-color: #e2f5fc;
}
li:has(#toggle-menu.active)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 8px;
    height: 100%;
    background-color: #2e77ae;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
li:has(#toggle-menu.active) img {
    filter: brightness(0) saturate(100%) invert(38%) sepia(80%) saturate(430%)
        hue-rotate(163deg) brightness(93%) contrast(93%);
}
nav a {
    cursor: auto;
}
input[type="checkbox"] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    background-color: #fff !important;
    border: 2px solid #41474b !important;
    border-radius: 5px !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
}

#select:has(.toggle-select.active) + #select-data {
    display: block !important;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

input[type="date"]::-moz-calendar-picker-indicator {
    display: none;
}

input[type="date"]::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}
.dataTables_paginate.paging_full_numbers span {
    display: flex;
    align-items: center;
}

.student-status.active > button.active {
    color: white;
}
.student-status.active > button.active:first-of-type {
    background-color: #85c368;
}
.student-status.active > button.active:nth-of-type(2) {
    background-color: #df6060;
}
.student-status.active > button.active:nth-of-type(3) {
    background-color: #f58e16;
}
.student-status.active > button.active:nth-of-type(4) {
    background-color: #0d2237;
}
.student-status.active > button.active:nth-of-type(5) {
    background-color: #2e77ae;
}

.answer.active {
    border-color: #85c368;
}

.menu-item .active {
    color: #2e77ae !important;
}

input:not(input[type="radio"]),
textarea,
select {
    border: none;
    outline: none;
    box-shadow: none !important;
}

input[type="checkbox"]:checked {
    background-color: #2e77ae !important;
    border-color: #2e77ae !important;
}

input[type="checkbox"]:checked::before {
    content: "" !important;
    position: absolute !important;
    top: 2px !important;
    left: 6px !important;
    width: 6px !important;
    height: 10px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
}

/* Home Style */

/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

.swiper-wrapper {
    overflow: visible;
}

.swiper-slide {
    border-radius: 24px;
    padding: 70px;
    position: relative;
    cursor: pointer;
}
.swiper-slide > div {
    transform: scale(1);
    transition: all 0.2s;
}
.swiper-slide > div > img {
    margin-top: -50px !important;
    width: 60px !important;
    height: 60px !important;
}
.active-slide > div {
    transform: scale(1.2) !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: white;
    font-size: 24px;

    border-radius: 50%;
    padding: 10px;
}

.swiper-button-next {
    right: 10px;
}
.swiper-button-prev {
    left: 10px;
}

.parent {
    transition: all 0.2s;
    position: relative;
}
.parent:hover {
    cursor: pointer;
    background-color: transparent;
    border: none;
}

/* .custom-radio input[type="radio"] {
    display: none;
}

.custom-radio input {
    display: none;
} */
.custom-radio .checkmark {
    position: relative !important;
    height: 20px !important;
    width: 20px !important;
    background-color: transparent !important;
    border-radius: 50% !important;
    display: inline-block !important;
    margin-right: 10px !important;
    cursor: pointer !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    transition: background-color 0.2s ease !important;
}

.custom-radio input:checked + .checkmark {
    background-color: #2196f3 !important;
}

.custom-radio .checkmark::after {
    content: "" !important;
    position: absolute !important;
    display: none !important;
    top: 50% !important;
    left: 50% !important;
    width: 10px !important;
    height: 10px !important;
    background: white !important;
    border-radius: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.custom-radio input:checked + .checkmark::after {
    display: block !important;
}

#dark-pattern {
    animation: spin 2s linear infinite;
    background-color: red !important;
}
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
#select:has(.toggle-select.active) + #select-data {
    display: block !important;
}
textarea {
    resize: none;
}

.active-item-nav {
    background-color: #20364e;
}

#cards-wrapper.active {
    height: auto;
}

/* [title="reCAPTCHA"]{
    width: 874px;
} */

/* [title="reCAPTCHA"] > #rc-anchor-container {
    width: 100% !important;
} */

#select:has(.toggle-select.active) + #select-data {
    display: block !important;
}

table.dataTable thead th {
    text-align: center !important;
}

.custom-confirm-button,
.custom-cancel-button,
.custom-change-button {
    width: 218px !important;
    font-size: 20px !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 8px !important;
    outline: none !important;
}
.custom-change-button {
    background-color: #f58e16 !important;
}

.custom-confirm-button {
    background-color: #df6060 !important;
}
.custom-confirm-button:hover {
    background-color: #df6060 !important;
}
.custom-cancel-button {
    background-color: #e2f5fc !important;
    color: #2e77ae !important;
}
.custom-actions {
    width: 90% !important;
    margin: 0px auto !important;
    justify-content: flex-start !important;
    border-radius: 8px !important;
}
.custom-swal-popup {
    width: 556px !important;
    height: 334px !important;
    display: flex;
    flex-direction: column !important;
    justify-content: space-between !important;
}
.custom-confirm-delete,
.custom-confirm-success {
    height: auto !important;
    width: 556px !important;
    position: absolute !important;
    top: -50% !important;
    left: 5% !important;
    margin: 0 !important;
    box-shadow: none !important;
}
.custom-confirm-delete {
    background-color: #fae7e7 !important;
}
.custom-confirm-success {
    background-color: #e7f3e1;
}

.select2-results__option {
    text-align: right;
}

@keyframes multi-border-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.7),
            0 0 0 10px rgba(52, 152, 219, 0.5),
            0 0 0 20px rgba(52, 152, 219, 0.3),
            0 0 0 30px rgba(52, 152, 219, 0.1);
    }
    100% {
        box-shadow: 0 0 0 30px rgba(52, 152, 219, 0),
            0 0 0 60px rgba(52, 152, 219, 0), 0 0 0 90px rgba(52, 152, 219, 0),
            0 0 0 120px rgba(52, 152, 219, 0);
    }
}

.multi-pulse {
    animation: multi-border-pulse 3s infinite ease-out;
}

.act-active {
    background-color: #2e77ae !important;
    color: white !important;
}

.stats-attendance .t-badge {
    padding: 0 2px;
    font-size: 10px;
    margin-left: 4px;
    min-width: 16px;
    height: 16px;
}
.app-stores a {
    transition: all ease-in-out .5s;
}
.app-stores a:hover {
    margin-top: -10px;
    transition: all ease-in-out .3s;
}
.overflow-auto::-webkit-scrollbar-track {
    width: 0;
}
.overflow-auto::-webkit-scrollbar {
    width: 0;
}
.overflow-auto::-webkit-scrollbar-thumb {
    width: 0;
}
.wrs_editor .wrs_tickContainer {
    display: none;
}
#question_title {
    margin-bottom: 40px;
}