@font-face {
    font-family: 'Cairo';
    src: url("../fonts/Cairo-ExtraLight.ttf") format('truetype');
    font-weight: 200;
    font-display: swap
}

@font-face {
    font-family: 'Cairo';
    src: url("../fonts/Cairo-Light.ttf") format('truetype');
    font-weight: 300;
    font-display: swap
}

@font-face {
    font-family: 'Cairo';
    src: url("../fonts/Cairo-Regular.ttf") format('truetype');
    font-weight: 400;
    font-display: swap
}

@font-face {
    font-family: 'Cairo';
    src: url("../fonts/Cairo-SemiBold.ttf") format('truetype');
    font-weight: 500;
    font-display: swap
}

@font-face {
    font-family: 'Cairo';
    src: url("../fonts/Cairo-Bold.ttf") format('truetype');
    font-weight: 600;
    font-display: swap
}

@font-face {
    font-family: 'Cairo';
    src: url("../fonts/Cairo-Black.ttf") format('truetype');
    font-weight: 700;
    font-display: swap
}

:root {
    --main-color: #31BACC;
    --second-color: #EFDC4A;
}

body {
    font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    direction: rtl;
    text-align: right;
}

body::-webkit-scrollbar-track {
    background: #FFF;
}

body::-webkit-scrollbar-thumb {
    /* background: var(--main-color); */
    background: linear-gradient(#2C42A0 0, #4149A4 50%, #AA69B8 80%, #EF7FC5 100%);
}

body::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

a:hover {
    color: var(--main-color);
}

.rounded-20 {
    border-radius: 20px !important;
}

.text-color {
    color: #252F4A;
}

.text-blue {
    color: #404FAC;
}

.text-color-gray {
    color: #78829D;
}

.h-32px {
    height: 32px;
}

.btn {
    transition: background 0.3s !important;
}

.rest-btn {
    background: transparent;
    border: 0;
    padding: 0;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* aside-menu */
.app-sidebar {
    background-image: linear-gradient(45deg, #EF7FC5 0, #AA69B8 1%, #4149A4 50%, #2C42A0 80%);
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}

.app-sidebar:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, #2C42A0 0, #4149A4 60%, #AA69B8 80%, #EF7FC5 100%);
    opacity: 0.31;
    backdrop-filter: blur(64px);
    z-index: 0;
    user-select: none;
}

.app-sidebar-logo,
.app-sidebar-menu {
    position: relative;
    z-index: 2;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-title {
    color: #FFF;
    font-size: 13px;
    font-weight: 500;
}

.menu-sub-indention .menu-sub:not([data-popper-placement])  .menu-item .menu-link .menu-title {
    font-size: 12px;
    opacity: 0.7;
    font-weight: 500;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-bullet .bullet {
    background-color: #FFF;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link .menu-arrow:after {
    background-color: #FFF;
}

[data-kt-app-layout=dark-sidebar] .app-sidebar .menu .menu-item .menu-link.active {
    background-color: #6e77c9;
}


.app-header .head-notification {
    position: relative;
}

.app-header .head-notification .badge {
    width: 13.15px;
    height: 13.15px;
    border-radius: 50%;
    padding: 0;
    font-size: 9px;
    position: absolute;
    inset-block-start: 10px;
    inset-inline-end: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
}

.app-header .head-notification .badge-danger {
    background-color: var(--main-color);
}

.main-card {
    padding-top: 25px;
    padding-bottom: 25px;
    padding-inline-start: 30px;
    padding-inline-end: 30px;
    border-radius: 7px;
}

@media (max-width: 767px) {
    .main-card {
        padding-inline-start: 15px;
        padding-inline-end: 15px;
    }
}

/* reports-cards-boxs */

.reports-cards-boxs .report-card {
    border-radius: 20px;
    background: #FFFFFF;
    border: 1px solid #DADADA;
    padding: 9px 11px;
    min-height: 99px;
    transition: all .3s;
    display: flex;
    align-items: flex-start;
    position: relative;
    gap: 5px;
}

.reports-cards-boxs .report-card .card-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: 0.4s;
}

.reports-cards-boxs .report-card:hover .card-icon {
    transform: translateX(-5px);
}

.reports-cards-boxs .report-card .card-icon svg {
    width: 100%;
    height: 100%;
}

.reports-cards-boxs .report-card .card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 5px;
    transition: 0.4s;
}

.reports-cards-boxs .report-card:hover .card-info {
    transform: translateX(-5px);
}

.reports-cards-boxs .report-card .card-info h4 {
    color: #78829D;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0;
}

.reports-cards-boxs .report-card .card-info .card-number {
    color: #636D86;
    font-size: 30px;
    font-weight: 500;
}

.reports-cards-boxs .report-card .card-info .card-number span:nth-child(2) {
    font-size: 20px;
}

@media (max-width:1354px) {
    .reports-cards-boxs .report-card .card-info h4 {
        font-size: 12px;
    }

    .reports-cards-boxs .report-card .card-info .card-number {
        font-size: 25px;
    }

    .reports-cards-boxs .report-card .card-info .card-number span:nth-child(2) {
        font-size: 18px;
    }
}

.reports-cards-boxs .report-card .card-svg {
    position: absolute;
    inset-inline-end: 9px;
    bottom: 11.6px;
    width: auto;
    user-select: none;
    transition: 0.4s
}

.reports-cards-boxs .report-card:hover .card-svg {
    inset-inline-end: 15px;
}

/* apex chart */
.apexcharts-legend-text,
.apexcharts-text,
.apexcharts-title-text {
    font-family: 'Cairo', sans-serif !important;
}

.apexcharts-legend-marker {
    margin-inline-end: 5px;
}

.apexcharts-tooltip-marker {
    margin-inline-end: 4px;
}


/* custom-table */
.custom-table > thead {
    background: rgba(120, 130, 157, 0.06);
}

.custom-table thead th {
    font-size: 13px;
    font-weight: 600;
    color: #252F4A;
    padding: 13px 10px;
    text-align: center;
}

.custom-table tbody tr td {
    color: #78829D;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    vertical-align: middle;
}

.custom-table tbody tr td a {
    color: #78829D;
}

.custom-table tbody tr td a:hover {
    color: var(--main-color);
}

.custom-table tbody tr:nth-child(even) {
    background-color: rgba(120, 130, 157, 0.06);
}

.custom-table thead tr th:nth-child(1) {
    text-align: start;
}

.custom-table thead tr th:last-child {
    padding-inline-end: 10px;
}

.custom-table thead tr th:first-child {
    padding-inline-start: 20px;
}

.custom-table tbody tr td:nth-child(1) {
    text-align: start;
}

.custom-table tbody tr td:last-child {
    padding-inline-end: 10px;
}

.custom-table tbody tr td:first-child {
    padding-inline-start: 20px;
}

/* data table */
.d-table thead tr th:nth-child(1) {
    text-align: center;
}

.d-table tbody tr td:nth-child(1) {
    text-align: center;
}

.d-table thead th {
    padding: 13px 10px !important;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
    text-align: center;
}

table.dataTable > thead > tr > td:not(.sorting_disabled),
table.dataTable > thead > tr > th:not(.sorting_disabled) {
    padding-right: 1.25rem;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control {
    padding-right: 30px !important;
    padding-left: 0.75rem !important;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
    right: 2px;
    left: auto;
    background-color: var(--main-color);
    box-shadow: none;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
    padding: 10px;
}

div.dataTables_wrapper div.dataTables_paginate {
    padding-inline-end: 10px;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.child,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.child,
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dataTables_empty {
    text-align: start;
}

table.dataTable > tbody > tr.child span.dtr-data {
    display: inline-block;
}

table.dataTable > tbody > tr.child ul.dtr-details {
    width: 100%;
}

/* data table pagenation */
.page-item .page-link {
    height: 22px;
    width: 22px;
    padding: 3px;
    font-size: 13px;
    color: #D6D6D6;
    font-weight: 500;
}

.page-link.active,
.active > .page-link {
    background: linear-gradient(-132deg, #2C42A0 0, #4149A4 40%, #AA69B8 99%, #EF7FC5 100%);
}

.page-item .page-link .next,
.page-item .page-link .previous
{
    background-color: #404FAC !important;
}

.page-item.disabled .page-link .previous,
.page-item.disabled .page-link .previous {
    background-color: #BABBBD !important;
}

.dtr-data .form-check-custom {
    margin-top: 5px;
}

.cut-text {
    -webkit-box-orient: vertical;
    display: block;
    display: -webkit-box;
    overflow: hidden !important;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
}

.tooltip .tooltip-inner {
    font-family: "Cairo";
    font-size: 11px;
    color: #78829D;
}


/* dialog-modal */
@media (min-width: 992px) {
    .dialog-modal .modal-dialog {
        max-width: 367px;
    }
}

.dialog-modal .modal-content {
    border: none;
    box-shadow: none;
    position: relative;
    border-radius: 24px;
}

.dialog-modal .modal-body {
    padding: 37px 25px 28px !important;
}

@media (min-width: 992px) {
    .form-modal .modal-dialog {
        max-width: 832px;
    }
}

.form-modal .modal-content {
    border: none;
    box-shadow: none;
    position: relative;
    border-radius: 22px;
}

.form-modal .modal-body {
    padding: 24px 31px 34px !important;
}


.modal-backdrop {
    background-color: rgba(0,0,0,0.6);
}

.modal-backdrop.show {
    backdrop-filter: blur(8px);
    opacity: 1;
}

.btn-outline-secondary {
    border: 1px solid #DADADA !important;
    color: #78829D !important;
    background: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:active,
.btn-outline-secondary:focus {
    color: #78829D !important;
    background: #DADADA;
}

.btn-gradient {
    background: linear-gradient(-132deg, #2C42A0 0, #4149A4 40%, #AA69B8 99%, #EF7FC5 100%);
    color: #FFF !important;
}

.btn-gradient:hover,
.btn-gradient:active,
.btn-gradient:focus {
    background: linear-gradient(132deg, #2C42A0 0, #4149A4 40%, #AA69B8 99%, #EF7FC5 100%);
}

.btn-primary-shadow {
    filter: drop-shadow(1px 1px 10px rgba(97,182,255, 0.25));
}

.btn-sm-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(193, 199, 217, 0.20);
    border-radius: 5px;
    transition: 0.3s;
    padding: 0 !important;
}

.btn-sm-icon:hover {
    background: rgba(193, 199, 217, 0.50);
}


/* sign-body */
.sign-body {
    background: url(../images/sign-bg-2.jpg) no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.sign-page {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 76px;
    padding-bottom: 50px;
    width: 100%;
}

.sign-page .logo img {
    width: 156px;
}

@media (max-width: 577px) {
    .sign-page .logo img {
        width: 100px;
    }
}

.sign-page .back-btn {
    position: absolute;
    z-index: 4;
    top: 46px;
    inset-inline-start: 57px;
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 991px) {
    .sign-page .back-btn {
        top: 25px;
        inset-inline-start: 25px;
    }
}

.sign-page .sign-box {
    width: 478px;
    border-radius: 24px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    color: #FFF;
    margin-top: 50px;
    padding: 25.7px 24px;
}

@media (max-width: 577px) {
    .sign-page .sign-box {
        width: 90%;
        margin-top: 35px;
        
    }
}

.sign-page .sign-box .sign-box-head {
    margin-bottom: 24px;
    text-align: center;
}

.sign-page .sign-box .sign-box-head h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFF;
}

@media (max-width: 577px) {
    .sign-page .sign-box .sign-box-head h1 {
        font-size: 19px;
    }
}

.sign-page .sign-box .sign-box-head h2 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #FFF;
    line-height: 1.8;
}

@media (max-width: 577px) {
    .sign-page .sign-box .sign-box-head h2 {
        font-size: 15px;
    }
}

.sign-page .sign-box .sign-form .form-group {
    margin-bottom: 26px;
}

.sign-page .sign-box .sign-form .form-control {
    background: #9089CE;
    color: #FFF;
    border: none;
    border-radius: 12px;
    height: 47.52px;
    direction: rtl;
    font-weight: 500;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.16));
}

/* password-box component */
.password-box {
    position: relative;
}

.password-box .show-hide-pass-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    inset-inline-end: 16px;
    cursor: pointer;
}

.password-box .show-hide-pass-btn:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #FFF;
    transform: translate(-50%, -50%) rotate(-140deg);
    inset-inline-end: 10px;
    top: 50%;
    display: block;
}

.password-box .show-hide-pass-btn.gray-icon:after {
    background: #BBC0CE;
}

.password-box .show-hide-pass-btn.icon-eye-on:after {
    display: none;
}

.sign-page .sign-box .sign-form .form-control::placeholder {
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
}

.sign-page .sign-box .sign-form .sign-foot .form-check-input {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.16));
    background-color: #9089CE;
}

.sign-page .sign-box .sign-form .sign-action {
    height: 47.52px;
    width: 100%;
    margin-top: 31px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    color: #FFF;
    border-radius: 12px;
    transition: 0.3s;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.16));
}


/* verification-code-inputs */
.sign-page .sign-box .sign-form .verification-code-inputs {
    display: flex;
    gap: 12.2px;
    direction: ltr;
}

.sign-page .sign-box .sign-form .verification-code-inputs .form-control {
    height: 68.25px;
    text-align: center;
    font-size: 20px;
}

@media (max-width: 991px) {
    .sign-page .sign-box .sign-form .verification-code-inputs .form-control {
        height: 50px;
        border-radius: 8px;
    }
}

.sign-page .sign-box .sign-form .verification-code-number {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    gap: 4px;
}

@media (max-width: 991px) {
    .sign-page .sign-box .sign-form .verification-code-number {
        margin-top: 20px;
    }
}
.sign-page .sign-box .sign-form .verification-code-number p {
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 991px) {
    .sign-page .sign-box .sign-form .verification-code-number p {
        font-size: 14px;
    }
}

.sign-page .sign-box .sign-form .verification-code-number .code-return-btn.disabled {
    opacity: 1;
}

.sign-page .sign-box .sign-form .verification-code-number .code-return-btn {
    color: #FFF;
    font-weight: normal;
}

@media (max-width: 991px) {
    .sign-page .sign-box .sign-form .verification-code-number .code-return-btn {
        font-size: 13px;
    }
}


/* nav-tabs-btn */

.nav-tabs-btn {
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-tabs-btn .nav-item .nav-link {
    border: 1px solid #DADADA;
    font-size: 14px;
    font-weight: 500;
    color: #78829D;
    border-radius: 6px;
    min-width: 96px;
    padding: 5px 8px;
    text-align: center;
    transition: background 0.3s;
}

.nav-tabs-btn .nav-item .nav-link:not(.active):hover {
    background: #f9f9f9;
}

.nav-tabs-btn .nav-item .nav-link.active {
    color: #FFF;
    background: linear-gradient(223deg, #2C42A0 0, #4149A4 40%, #AA69B8 99%, #EF7FC5 100%);
}

/* form-group components */
[type="tel"], [type="url"], [type="email"], [type="number"] {
    direction: rtl;
}


.form-group label {
    font-size: 12px;
    font-weight: 500;
    color: #78829D;
    margin-bottom: 6px;
}

.form-group .form-control,
.form-group .form-select {
    height: 35px;
    border-radius: 4px;
    border: 1px solid #DADADA;
    padding: 5px 10px;
    font-size: 12px;
    color: #78829D;
}

.input-group .input-group-text,
.input-group .form-control {
    border-color: #DADADA;
    border-radius: 4px;
}

.form-group .form-control::placeholder {
    color: rgba(120, 130, 157, 0.50);
}

.form-control.placeholder-fs-12px::placeholder {
    font-size: 12px !important;
}

.form-group .form-control:disabled,
.form-group .form-control.disabled {
    /* color: rgba(120, 130, 157, 0.50); */
    background: #f9f9f9;
    user-select: none !important;
}

.form-control.form-control-solid {
    background-color: #F5F5F5
}

.form-check-custom.form-check-solid .form-check-input {
    background-color: #E8E8E8;
    height: 25px;
}

.form-check-custom.form-check-solid .form-check-input:checked {
    background-color: #25E445 !important;
}

.select2-container {
    direction: rtl;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected:after {
    left: 1.25rem;
    right: 0;
}

.select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    inset-inline-end: 2px;
}

.select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    background-color: #F0F0F0;
}

.select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__display {
    font-size: 12px !important;
    color: #78829D;
    opacity: 0.8;
}

.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) {
    min-height: 35px;
}

.select2-container--bootstrap5 .select2-selection--single .select2-selection__rendered {
    font-size: 12px;
    color: #78829D;
}

.select2-container--bootstrap5 .select2-selection--single .select2-selection__placeholder {
    color: rgba(120, 130, 157, 0.50);
}

.select2-container--bootstrap5 .select2-dropdown .select2-search .select2-search__field {
    direction: rtl;
}

.image-input.image-input-circle [data-kt-image-input-action=change] {
    top: auto;
    bottom: 0;
}