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

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

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

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

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

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

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

:root {
    --main-color: #1200ff;
    --second-color: #EFDC4A;
}

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

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

body::-webkit-scrollbar-thumb {
    background: var(--main-color);
}

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

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


.tooltip {
    font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.second-color {
    color: var(--second-color);
}

[type="tel"],
[type="url"],
[type="email"],
[type="number"] {
    direction: ltr;
}


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

.text-blue-1 {
    color: #0893DF;
}

.phone-input {
    text-align: start;
    direction: ltr;
    height: 50px;
}

.placeholder-gray::placeholder,
.placeholder-gray .select2-selection__placeholder {
    font-size: 12px;
    color: #B7B8BE;
}


/* phone input */

.iti {
    width: 100%;
}

.iti__arrow {
    border-top-color: #727272 !important;
}

.iti__selected-flag {
    direction: ltr !important;
    outline: none;
}

.iti__country-name {
    font-size: 12px;
}

.iti__arrow--up {
    border-bottom-color: #727272 !important;
}

.iti__country-list {
    left: 0;
    right: auto;
    max-width: 290px;
    overflow-x: scroll !important;
    box-shadow: var(--bs-dropdown-box-shadow);
    background-color: var(--bs-dropdown-bg);
    border-color: var(--bs-gray-300)
}

.iti__country-name,
.iti__flag-box {
    margin-left: 6px;
}

.iti__country {
    direction: ltr;
    text-align: left;
}

.iti--separate-dial-code .iti__selected-dial-code {
    color: #585B6B;
    font-size: 14px;
    font-weight: 500;
}

.iti--separate-dial-code .iti__selected-flag {
    background: transparent;
    padding: 0 6px 0 15px;
}

.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background: transparent;
}

/* tel responsive */
@media (max-width: 1024px) {
    .iti__country-list {
        left: 0;
        right: auto;
    }
}

@media (max-width: 576px) {
    .iti__country-list {
        right: 0;
        left: auto;
    }
}


/* select 2 */
.input-group .input-group-text {
    border-start-start-radius: 50rem;
    border-end-start-radius: 50rem;
}

.select2-container--bootstrap5 .select2-selection--single {
    justify-content: flex-start;
}

.input-group .select2-container--bootstrap5 .select2-selection--single {
    border-start-start-radius: 50rem;
    border-end-start-radius: 50rem;
}

.select2-container--bootstrap5 .select2-selection--single.form-select-solid .select2-selection__placeholder {
    font-size: 12px;
    color: #B7B8BE;
}

.select2-container--bootstrap5 .select2-dropdown .select2-search .select2-search__field
{
    text-align: start !important;
}


.select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--selected:after {
    right: unset !important;
    left: auto !important;
    inset-inline-end: 1.25rem !important;
}

.select2-container--bootstrap5 .select2-selection--multiple .select2-search__field {
    text-align: start !important;
}

.select2-container--bootstrap5 .select2-selection--multiple {
    direction: ltr;
}

.select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    left: 5px !important;
    right: auto !important;
}


.select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__display {
    font-size: 12px !important;
}

.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) .select2-search__field {
    height: 12px;
    font-size: 12px;
}


@media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1116px;
    }
}

@media (min-width: 992px) {
    .app-container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}


@media (min-width: 992px) {
    .header-search form > .form-control {
        background-color: var(--bg-search) !important;
        color: var(--search-input-color) !important;
    }
}

@media (min-width: 992px) {
    .header-search form i {
        color: #B5B7C2 !important;
    }
}

.header-search form > .form-control::placeholder {
    color: #78829D;
    font-weight: normal;
}

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

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

.app-header .head-notification .badge span {
    position: relative;
    top: 1px;
}

.app-header .head-notification .badge-danger {
    background-color: #F1416C;
}

.app-header .app-navbar-item .btn.btn-icon {
    width: 35px;
}

.header-menu .menu-item .menu-link .menu-title {
    color: #FFFFFF;
}

@media (min-width: 992px) {
    .header-menu .menu > .menu-item > .menu-link .menu-title .menu-text {
        color: #FFFFFF;
        font-size: 14px;
        font-weight: 500;
    }

    .header-menu .menu > .menu-item.here > .menu-link .menu-text {
        color: #EFDC4A;
        font-weight: bold;
    }

    .header-menu .menu > .menu-item > .menu-link {
        border: none;
    }

    .header-menu .menu > .menu-item {
        flex-grow: unset;
        flex-basis: unset;
    }

    .header-menu .menu > .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-text,
    .header-menu .menu > .menu-item:not(.here) > .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-text {
        color: #EFDC4A;
    }
}

.header-menu-pattern {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    width: 414px;
    height: 70px;
}

.order-total-widgit {
    background: url('../images/widget-bg1.png') no-repeat;
    background-size: cover;
    height: 166px;
}


.h-166px {
    height: 166px;
    overflow: hidden;
}

.h-392px {
    height: 392px;
    overflow: hidden;
}

.timeline .timeline-line {
    left: unset;
    inset-inline-start: -12px;
}

.apexcharts-text, .apexcharts-title-text, .apexcharts-legend-text {
    font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}

/* welcome-modal */
@media (min-width: 576px) {
    .welcome-modal .modal-dialog {
        max-width: 418px;
    }
}

.btn-gradient {
    background: linear-gradient(to right, #00e7ff, #20B2C1);
    color: #FFF !important;
}

.btn-gradient:hover {
    background: linear-gradient(to right, #20B2C1, #00e7ff);
}

.statistics-bg {
    background: url('../images/widget-bg2.png') no-repeat;
    background-size: cover;
}

.btn-light-primary:hover svg path[fill],
.btn-light-primary:active svg path[fill],
.btn-light-primary:focus svg path[fill] {
    fill: #FFFFFF;
}

.btn-light-primary:hover svg path[stroke],
.btn-light-primary:active svg path[stroke],
.btn-light-primary:focus svg path[stroke] {
    stroke: #FFFFFF;
}

.btn-32 {
    width: 32px;
    height: 32px;
}

/* custom table */
.custom-table tr:last-child,
.custom-table th:last-child,
.custom-table td:last-child {
    padding-right: 0.75rem;
}

.custom-table thead {
    background: var(--bs-gray-100);
}

.custom-table tbody tr td {
    font-size: 13px !important;
}

.custom-table tbody tr td a {
    color: inherit !important;
}

.custom-table .badge {
    font-weight: normal;
    font-size: 13px;
    padding: 7px 18px;
}

.custom-table tr:first-child,
.custom-table th:first-child,
.custom-table td:first-child {
    padding-left: 15px !important;
}

.table:not(.table-bordered) tr:last-child,
.table:not(.table-bordered) th:last-child,
.table:not(.table-bordered) td:last-child {
    padding-right: 15px;
}

/* filter-modal */

.filter-modal .form-group-box .select2-container--bootstrap5 .select2-selection--single {
    height: 35px;
}

.filter-modal .select2-container--bootstrap5 .select2-selection--single .select2-selection__placeholder {
    color: #BFBABA;
    font-size: 12px;
}

.filter-modal .select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
    font-size: 12px;
}

.filter-modal .form-check-custom .form-check-input {
    border-radius: 2px !important;
}




/* pagination */
.pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav.pagination {
    border-top: 1px solid var(--bs-light);
    padding-top: 15px;
}

.pagination .page-item .page-link {
    padding: 0;
    display: flex;
    align-items: center;
    min-width: auto;
    padding: 8px;
    font-size: 12px !important;
    color: var(--bs-dark);
    font-weight: normal;
    background: transparent !important;
}

.pagination .page-item.disabled {
    opacity: 0.5;
}

.pagination .page-item.active .page-link {
    color: var(--main-color);
    background: transparent !important;
    font-weight: bold;
}

.pagination .page-item .page-link:hover,
.pagination .page-item .page-link:hover {
    background: transparent !important;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    min-width: auto;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bs-gray-200) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.pagination .page-item:first-of-type .page-link:hover,
.pagination .page-item:last-of-type .page-link:hover {
    background: var(--main-color) !important;
}

.pagination .page-item:first-of-type .page-link:hover svg path,
.pagination .page-item:last-of-type .page-link:hover svg path {
    fill: #FFFFFF;
}


@media (min-width: 992px) {
    .financial-modal .modal-dialog  {
        max-width: 516.54px !important;
    }
}

@media (min-width: 992px) {
    .modal-588px .modal-dialog  {
        max-width: 588px !important;
    }
}

@media (min-width: 992px) {
    .modal-440px .modal-dialog  {
        max-width: 440px !important;
    }
}

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

.form-modal .modal-body {
    padding: 32px 27px 20px !important;
}

@media (max-width: 992px) {
    .form-modal .modal-body {
        padding: 20px 15px !important;
    }
}

.form-modal .close-modal {
    position: absolute;
    inset-inline-end: 10px;
    inset-block-start: 10px;
    width: 31px;
    height: 31px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}


/* payment-box */
.payment-box .form-check-input {
    height: 18px;
    width: 18px;
    border-color: #D5D9DD;
}

.payment-box .attach-file {
    border: 1px solid var(--main-color);
}

.number-noarrow::-webkit-outer-spin-button,
.number-noarrow::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.number-noarrow[type=number] {
    -moz-appearance: textfield;
}

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

.small-modal .close-modal {
    position: absolute;
    inset-inline-end: 16px;
    inset-block-start: 14px;
    width: 31px;
    height: 31px;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.small-modal .modal-body {
    padding: 37px 20px !important;
}

.small-modal .small-modal-body p {
    line-height: 32px;
}

.small-modal .small-modal-action {
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12.5px;
}

.small-modal .small-modal-action .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    margin-top: 14px;
    width: 100%;
    height: 45px;
    font-weight: 500;
    border-radius: 25px;
}



/* dialog-modal */
@media (min-width: 992px) {
    .dialog-modal .modal-dialog {
        max-width: 341px;
    }
}
@media (min-width: 992px) {
    .cancel-order-modal .modal-dialog {
        max-width: 386px !important;
    }
}

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

.dialog-modal .modal-body {
    padding: 46px 25px 26px !important;
}

/* dropzone */
.dropzone {
    border-color: var(--bs-gray-300);
    background: transparent;
    min-height: 82px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.dropzone.dz-started {
    justify-content: flex-start;
}

.dropzone .dz-message
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropzone.dz-started .dz-message {
    margin-bottom: 20px;
}

.dropzone .dz-preview .dz-image {
    width: 100px !important;
    height: 100px !important;
}

.dropzone .dz-preview .dz-image img {
    width: 100% !important;
    height: 100% !important;
}

.dropzone .dz-error-mark svg {
    height: 35px !important;
    width: 35px !important;
}

.dropzone .dz-preview {
    margin: 8px !important;
}

/* toast */
#toast-container>div {
    box-shadow: none !important;
    padding: 15px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

#toastr-container > div:hover {
    opacity: 1 !important;
}

.toastr.toastr-success {
    background-color: #04CD85;
}

#toastr-container > .toastr {
    background-image: none !important;
    min-width: 250px;
    width: auto;
    overflow: hidden;
    padding: 1.25rem 4.5rem 1.25rem 1.25rem !important;
    opacity: 1 !important;
}

#toastr-container > div {
    background-image: none !important;
}

/* ar */
#toastr-container {
    left: 12px !important;
    right: auto !important;
    bottom: 12px !important;
    top: unset !important;
}



#noteDesc * {
    font-family: 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--bs-gray-800);
    line-height: 25px;
}

#noteDesc p {
    margin-bottom: 0;
}

/* track-item */
.track-item {
    display: grid;
    gap: 7px;
    grid-template-columns: 26px 1fr;
}

.track-item.disabled {
    pointer-events: none;
    user-select: none;
    position: relative;
}

.track-item.disabled:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--bs-white);
    opacity: 0.51;
}


.track-item .icon {
    position: relative;
}

.track-item .icon .icon-circle {
    position: relative;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #EEE1EE;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.track-item .icon:after {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-end: 50%;
    transform: translateX(50%);
    width: 1px;
    height: 100%;
    border: 1px dashed #E9EAEF;
    z-index: 0;
}

.track-item:last-child .icon:after {
    display: none;
}

.track-item .details {
    margin-bottom: 30px;
}

.track-item .details .name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 7px;
}

.track-item .details .name p {
    color: #1E272E;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 0;
}

.track-item .details .name p span {
    color: #009EF7;
}

.track-item .details .name .date {
    color: #A1A5B7;
    font-size: 11px;
}

.track-item .details p {
    color: #A1A5B7;
    font-size: 13px;
    margin-bottom: 0;
}

.track-item.disabled .icon .icon-circle {
    background: #F4F4F6;
    opacity: 0.5;
}

.btn-outline-danger {
    border: 1px solid #F1416C !important;
    color: #F1416C !important;
}

.btn-outline-danger:hover,
.btn-outline-danger:active,
.btn-outline-danger:focus
{
    background: #F1416C;
    color: #FFF !important;
}

.tooltip-inverse {
}

.tooltip-inverse .tooltip-inner {
    background-color: #0893DF;
    font-size: 14px;
    font-weight: 500;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: #0893DF;
}

.btn-light-danger:hover .svg-icon svg path {
    fill: #FFFFFF !important;
}

.border-primary {
    border-color: var(--main-color) !important;
}


/* textarea-input */
.textarea-input {
    position: relative;
}

.textarea-input label {
    cursor: pointer;
    width: 13.54px;
    height: 13.54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.textarea-input label .file-input {
    opacity: 0;
    visibility: hidden;
    width: 0;
    height: 0;
}

.textarea-input .attachment-inputs {
    position: absolute;
    inset-inline-end: 20px;
    top: 23px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
}

.reply-textarea {
    height: 40px;
    border-radius: 20px;
}

.form-check.form-check-success .form-check-input:checked {
    background-color: var(--bs-text-primary);
    border-color: var(--bs-text-primary);
}
.form-check.form-check-success .form-check-input {
    border-color: var(--bs-text-primary);
}

.accordion-button:not(.collapsed)::after {
    background-image: url('../images/minus.svg') !important;
    background-size: 18.92px 18.92px;
    width: 18.92px;
    height: 18.92px;
}

.accordion-button::after {
    background-image: url('../images/plus.svg') !important;
    background-size: 18.92px 18.92px;
    width: 18.92px;
    height: 18.92px;
}

.nav-line-tabs .nav-item .nav-link.active,
.nav-line-tabs .nav-item.show .nav-link,
.nav-line-tabs .nav-item .nav-link:hover:not(.disabled) {
    border-bottom: 3px solid var(--bs-primary);
}

.nav-line-tabs.nav-line-tabs-2x .nav-item .nav-link.active,
.nav-line-tabs.nav-line-tabs-2x .nav-item.show .nav-link,
.nav-line-tabs.nav-line-tabs-2x .nav-item .nav-link:hover:not(.disabled) {
    border-bottom-width: 3px;
}


.btn-gold {
    background: #EFDC4A !important;
    color: #FFF !important;
}

.btn-gold:hover,
.btn-gold:active,
.btn-gold:focus {
    background: #c7b52e !important;
}

/* deactivate-modal */
.form-modal.deactivate-modal .modal-body {
    padding: 31px 29px 18px;
}

@media (max-width: 992px) {
    .form-modal.deactivate-modal .modal-body {
        padding: 20px 15px !important;
    }
}


/* verification-code-modal */
.verification-code-modal .verification-code-number {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
}

.verification-code-modal .verification-code-number .code-return-btn {
    color: #8C8C8C;
    font-size: 16px;
    font-weight: normal;
    padding: 10px !important;
}

.verification-code-modal .verification-code-number .code-return-btn.displaybtn {
    pointer-events: none;
    opacity: 0.8;
}

.verification-code-modal .verification-code-number .timer-box {
    color: #009EF7;
    font-weight: bold;
    font-size: 16px;
    -webkit-padding-start: 5px;
    padding-inline-start: 5px;
}

.form-control[data-inputmask]:focus {
    border: 1px solid #0CAF60 !important;
}

.notification-icon {
    background: var(--bs-gray-200);
}

.withdraw-balance-header {
    background-color: var(--bs-light);
}

.bank-desc {
    background-color: var(--bs-body-bg);
}

.alert-primary-box {
    background-color: var(--bg-primary-box);
}

/* en style */

.arrow-back {
    transform: rotate(180deg);
}

.svg-arrow {
    transform: rotate(180deg);
}

.pagination .page-item:first-child .page-link svg,
.pagination .page-item:last-child .page-link svg {
    transform: rotate(180deg);
}

.app-toolbar  div + span svg {
    transform: rotate(180deg);
}
div.dataTables_wrapper div.dataTables_processing {
    width: 50%;
    text-align: center;
}
