@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

:root {
    --white: #fff;
    --card-color-title: #1169ae;
    --card-color-body: #9d9ea0;
    --card-border-color: #603086;
    --sidebar-bc-blue: #0075b6;
    --sidebar-bc-purple: #652a83;
    --sidebar-active: #244c86;
    --btn-bc1: #285b9f;
    --table-head-bc: #efeff5;
    --table-head-color: #111110;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Almarai', sans-serif;
}

.modal-buttons{
    text-align:center;
}
html {
    scroll-behavior: smooth;
}

body {
    font-size: initial !important;
    line-height: initial !important;
    font-weight: initial !important;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover,
a:active {
    color: inherit;
}

.main__container {
    display: flex;
}

aside {
    flex: 1;
    min-width: 236px;
    max-width: 215px;
    background: linear-gradient(
        173deg,
        var(--sidebar-bc-blue) 0%,
        var(--sidebar-bc-purple) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    gap: 2.5rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    padding-top: 0.5rem;
    background: linear-gradient(#0075b6 10%, #fff 100%);
}

.logo img {
    /* padding-top: 1rem; */
    width: 50%;
    /* height: 100%; */
    object-fit: contain;
    transform: scale(1.5);
    -webkit-transform: scale(1.5);
    -moz-transform: scale(1.5);
    -ms-transform: scale(1.5);
    -o-transform: scale(1.5);
}

aside ul {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 0.5rem;
}

aside ul a {
    align-self: center;
    width: 100%;
    padding-right: 1.5rem;
    height: 2.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
}

aside ul a li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

aside ul a:hover {
    background-color: var(--sidebar-active);
}

aside ul a li span {
    margin-right: 0.5rem;
}

.active {
    background-color: var(--sidebar-active);
}

main {
    flex: 3;
    width: 100%;
}

nav {
    width: 100%;
    height: 3rem;
    padding: 0 3.7rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    box-shadow: 0px 3px 5px 0px #ddd;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav ul .header_nav_item button {
    margin: 0;
    padding: 0;
}

.dropdown-item {
    text-align: right;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.3rem 1rem;
}

.notification img {
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
}

.notification .text {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.notification .text h4 {
    color: #777;
    font-size: 16px;
    margin-top: 3px;
}

.notification .text p {
    color: #aaa;
    font-size: 12px;
}

.humb_btn {
    width: auto;
    height: 90%;
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    display: none;
    cursor: pointer;
    border: none;
    background: linear-gradient(var(--btn-bc1), var(--sidebar-bc-purple));
}

.line {
    height: 0.2rem;
    width: 2.5rem;
    background-color: var(--white);
    margin-bottom: 0.6rem;
    transition: width 0.3s;
}

.line1,
.line3 {
    width: 2.5rem;
}

.humb_btn:hover .line {
    width: 2.5rem;
}

.checkbox:checked ~ main .sidebar {
    display: flex;
}

.checkbox:checked ~ main .line1 {
    transform: rotate(-415deg) translate(-10px, 7px);
    width: 2.5rem;
    -webkit-transform: rotate(-415deg) translate(-10px, 7px);
    -moz-transform: rotate(-415deg) translate(-10px, 7px);
    -ms-transform: rotate(-415deg) translate(-10px, 7px);
    -o-transform: rotate(-415deg) translate(-10px, 7px);
}

.checkbox:checked ~ main .line2 {
    opacity: 0;
}

.checkbox:checked ~ main .line3 {
    transform: rotate(415deg) translate(-10px, -7px);
    width: 2.5rem;
    -webkit-transform: rotate(415deg) translate(-10px, -7px);
    -moz-transform: rotate(415deg) translate(-10px, -7px);
    -ms-transform: rotate(415deg) translate(-10px, -7px);
    -o-transform: rotate(415deg) translate(-10px, -7px);
}

.sidebar {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(
        173deg,
        var(--sidebar-bc-blue) 0%,
        var(--sidebar-bc-purple) 100%
    );
    padding-bottom: 0.5rem;
    gap: 1rem;
}

.sidebar .logo {
    padding-bottom: 1rem;
    width: 100%;
    background: linear-gradient(#0075b6 10%, #fff 100%);
}

.sidebar .logo img {
    width: 100px;
}

.sidebar ul {
    width: 100%;
    height: auto;
    display: flex;
    align-items: baseline;
    justify-content: center;
    padding: 1rem 0;
}

.sidebar_left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar_right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar a {
    width: 100%;
    color: var(--white);
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar a li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-right: 0.3rem;
    width: 100%;
    height: 100%;
}

.main__body {
    width: 100%;
    padding: 0rem 2rem 2rem 3.7rem;
}

.cards {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.4rem;
    padding: 2rem 0 0 0;
    flex-wrap: wrap;
}

.card {
    flex: 1 1 auto;
    width: 154px;
    padding: 1rem;
    border: 1px solid var(--card-border-color);
    border-radius: 1.5rem;
    filter: drop-shadow(0px 4px 24px rgba(96, 48, 134, 0.12));
    -webkit-filter: drop-shadow(0px 4px 24px rgba(96, 48, 134, 0.12));
    -webkit-border-radius: 1.5rem;
    -moz-border-radius: 1.5rem;
    -ms-border-radius: 1.5rem;
    -o-border-radius: 1.5rem;
}

.card__header h2 {
    color: var(--card-color-title);
    font-size: 32px;
    font-weight: bold;
}

.card__body {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card__body span {
    color: var(--card-color-body);
    font-size: 13px;
    font-weight: 400;
}

.filters {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    width: 100%;
}

.filter_inputs {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.input_search {
    flex: 1;
    width: 223px;
    height: 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.input_search_any {
    width: 30%;
    height: 2.5rem;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
}

.input_search_any input {
    width: 100%;
    height: 100%;
    position: absolute;
    padding-right: 0.7rem;
    color: var(--card-color-body);
    font-size: 13px;
    font-weight: 400;
    outline: none;
    border: 1px solid #dcdcdc;
    border-radius: 0.5rem;
    -webkit-border-radius: 0.5rem;
    -moz-border-radius: 0.5rem;
    -ms-border-radius: 0.5rem;
    -o-border-radius: 0.5rem;
}

.search_icon {
    position: absolute;
    left: 2%;
}

.input_search input {
    width: 100%;
    height: 100%;
    position: absolute;
    padding-right: 0.7rem;
    color: var(--card-color-body);
    font-size: 13px;
    font-weight: 400;
    outline: none;
    border: 1px solid #dcdcdc;
    border-radius: 0.5rem;
    -webkit-border-radius: 0.5rem;
    -moz-border-radius: 0.5rem;
    -ms-border-radius: 0.5rem;
    -o-border-radius: 0.5rem;
}

.search_icon {
    position: absolute;
    left: 2%;
}

.input_filter {
    flex: 1;
    width: 223px;
    height: 2.5rem;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0.5rem;
}

.input_filter select {
    width: 100%;
    height: 100%;
    padding: 0 0.7rem;
    color: var(--card-color-body);
    font-size: 13px;
    font-weight: 400;
    outline: none;
    border: 1px solid #dcdcdc;
    border-radius: 0.5rem;
    position: absolute;
    appearance: none;
}

select option:checked {
    background-color: var(--card-color-title);
    color: #fff;
}

.arrow {
    position: absolute;
    left: 2%;
}

.button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 2.5rem;
}

.button button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    border: none;
    border-radius: 0.6rem;
    padding: 0 1rem;
    filter: drop-shadow(0px 4px 24px rgba(96, 48, 134, 0.16));
    background: linear-gradient(var(--btn-bc1), var(--sidebar-bc-purple));
    -webkit-border-radius: 0.6rem;
    -moz-border-radius: 0.6rem;
    -ms-border-radius: 0.6rem;
    -o-border-radius: 0.6rem;
}

html:not([data-theme=dark]) {
     --kt-header-bg-color: auto !important;
    --kt-header-border-bottom: auto !important;
    --kt-header-box-shadow: auto !important;
    --kt-footer-bg-color: auto !important;
}

table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-radius: 0.4rem !important;
    overflow: hidden !important;
    -webkit-border-radius: 0.4rem !important;
    -moz-border-radius: 0.4rem !important;
    -ms-border-radius: 0.4rem !important;
    -o-border-radius: 0.4rem !important;
}

thead {
    background-color: #ddd;
}

tr,
td,
th {
    border: 1px solid #ccc !important;
}

tr:nth-child(even) {
    background-color: #ddd !important;
}

th {
    text-align: center !important;
    height: 2rem !important;
    color: var(--table-head-color) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

td {
    text-align: center !important;
    color: var(--table-head-color) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

.pagination {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.5rem !important;
    padding-top: 0.5rem !important;
}

.pagination a {
    background: inherit !important;
    padding: 0.3rem 0.5rem !important;
    border: 1px solid var(--card-color-body) !important;
    color: var(--table-head-color) !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    border-radius: 0.4rem !important;
}

.pagination a:hover {
    background-color: #603086 !important;
    color: #fff !important;
}

.pagination_button_active {
    background-color: #603086 !important;
    color: #fff !important;
}

.pagination_button_active a {
    background-color: #603086 !important;
    color: #fff !important;
}

.modal-dialog {
    max-width: 100% !important;
}

.modal_exit {
    width: 30px;
    height: 30px;
    background: inherit;
    padding: 7px;
    border: 1px solid var(--card-color-body);
    color: var(--table-head-color);
    font-weight: 400;
    border-radius: 0.4rem;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 2rem;
}

.row {
    /*gap: 0.5rem;*/
}

.col_modal {
    width: 100%;
    margin-bottom: 5px;
    height: 3rem;
    color: var(--card-color-body);
    font-weight: 600;
    outline: none;
    color: var(--table-head-color);
    border: 1px solid #ccc;
    border-radius: 0.2rem;
    -webkit-border-radius: 0.2rem;
    -moz-border-radius: 0.2rem;
    -ms-border-radius: 0.2rem;
    -o-border-radius: 0.2rem;
    padding-right: 5px;
    padding-left: 5px;
}

.row div {
    display: flex;
    flex-direction: column;
}
.modal-body .row div{
    display: block !important;
}
.btn_save {
    background: linear-gradient(var(--btn-bc1), var(--sidebar-bc-purple));
    color: var(--white);
}

@media (max-width: 1340px) {
    .card {
        width: 20%;
    }
}

@media (max-width: 992px) {
    main nav {
        padding: 0 2.5rem;
    }

    .card {
        width: 154px;
    }

    .main__body {
        padding: 0rem 1.5rem 1.5rem 2.5rem;
    }

    .sidebar {
        display: none;
    }

    .filters {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0;
        width: 100%;
    }

    .filter_inputs {
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .input_search {
        flex: 1 1 auto;
    }

    .input_filter {
        flex: 1 1 auto;
        padding: 0;
    }

    .button {
        align-self: flex-end;
    }

    .button button {
        padding: 0.5rem;
    }

    table {
        width: 100%;
    }
}

@media (max-width: 750px) {
    main nav {
        padding: 0 1.5rem;
    }

    .main__body {
        padding: 0rem 1rem 1rem 1.5rem;
    }

    aside {
        display: none;
    }

    nav {
        justify-content: space-between;
    }

    .modal-dialog {
        max-width: 90%;
        margin: 1.75rem auto;
    }

    .logo img {
        transform: scale(3);
        -webkit-transform: scale(3);
        -moz-transform: scale(3);
        -ms-transform: scale(3);
        -o-transform: scale(3);
    }

    .humb_btn {
        display: block;
    }

    .input_search_any {
        width: 50%;
    }
}

@media (max-width: 577px) {
    .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
}

@media (max-width: 400px) {
    main nav {
        padding: 0 0.5rem;
    }

    .main__body {
        padding: 0rem 0.5rem 0.5rem 0.5rem;
    }

    .sidebar {
        overflow: hidden;
    }

    .input_search_any {
        width: 100%;
    }

    .modal-dialog {
        max-width: 98%;
    }
}

@media (max-width: 360px) {
    .sidebar ul {
        height: auto;
    }

    .sidebar ul a {
        width: 100%;
        padding-right: 2rem;
    }

    .filter_inputs {
        flex-direction: column;
    }

    .input_search {
        width: 100%;
    }

    .input_filter {
        width: 100%;
    }

    .modal-dialog {
        max-width: 100%;
        margin: 3rem auto;
    }

    form .row {
        flex-direction: column;
        gap: 0.5rem;
    }

    form .row input {
        padding: 1rem;
    }
}

/* Mostafa */
.btn:not(.btn-outline):not(.btn-dashed):not(.border-hover):not(.border-active):not(.btn-flush):not(.btn-icon) {
    border: 0;
    padding: calc(0.2rem + 1px) calc(0.5rem + 1px) !important;
}

.table tr:last-child, .table th:last-child, .table td:last-child {
    padding-left: 0;
    padding-right: 0;
}

.modal-header {
    padding: 1rem 1.75rem !important;
}
button.disabled{
    background: rgba(129, 129, 129, 0.42) !important;
    color: #756e6e;
}
.table > :not(caption) > * > *{
    padding: 7px!important;
}
.svg-icon {
    line-height: 1;
    color: inherit !important;
}
input.validation-danger,select.validation-danger,textarea.validation-danger{
    border-color: red!important;
}
select option{
    font-size: 16px;
}
