@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn[wght].woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-feature-settings: "ss01";
    font-display: swap;
}

body {
    font-family: 'Vazirmatn', tahoma, sans-serif;
}

.ltr {
    direction: ltr;
}

.rtl {
    direction: rtl;
}

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

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.header-navbar, .navigation, .tooltip-inner, select > option, .swal2-title, .swal2-confirm, .swal2-cancel, .swal2-html-container {
    font-family: 'Vazirmatn', tahoma, sans-serif;
}

.navigation {
    font-size: 1rem;
}

.tooltip-inner {
    font-size: 0.8rem;
}

.alert {
    font-size: 10pt;
}

.menu .app-brand {
    height: 64px;
}

.app-brand-text {
    font-size: 1.2rem;
    line-height: 28px;
}

.table th {
    letter-spacing: 0;
}

.pagination{
    justify-content: end;
}

html[data-bs-theme=dark] .table > thead {
    background-color: #2f3349;
}

html[data-bs-theme=light] .table > thead {
    background-color: #fff;
}

.dt-button {
    font-size: 0.8rem;
}

.dt-print-view {
    direction: rtl;
}

.dt-date {
    direction: ltr;
    min-width: 130px;
}

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

table.dataTable tbody td {
    font-size: 15px;
    text-align: center;
}

[dir="rtl"] div.card-datatable table.dataTable thead th:first-child, [dir="rtl"] div.card-datatable table.dataTable tbody td:first-child, [dir="rtl"] div.card-datatable table.dataTable tfoot th:first-child {
    padding-right: 1rem;
}

[dir="rtl"] table.dataTable thead th, [dir="rtl"] table.dataTable tbody td, [dir="rtl"] table.dataTable tfoot th {
    padding-right: 0.35rem;
    text-align: center;
}

.table > :not(caption) > * > * {
    padding: 0.55rem 0.35rem;
}

.table th {
    font-size: 14px;
}

.table thead tr th {
    padding-block: .7rem;
}

.dt-buttons button {
    font-size: 10pt;
}

div.dt-processing {
    padding-top: 25px;
    padding-bottom: 15px;
}

div.dt-processing > div:last-child > div {
    background: #584cd4;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 78px !important;
}

.menu-vertical .menu-item .menu-link {
    font-size: 16px;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

.swal2-modal.swal2-popup .swal2-title {
    font-size: 1.6rem;
    max-width: inherit;
}


.datepicker-plot-area {
    font: 15px 'Vazirmatn', tahoma, sans-serif;
    border-radius: 10px;
    width: 280px;
}

.datepicker-plot-area .datepicker-day-view .table-days td {
    height: 40px;
}

.datepicker-plot-area .datepicker-day-view .table-days td span {
    height: 40px;
    line-height: 38px;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
}

html[data-bs-theme=dark] .datepicker-plot-area .datepicker-day-view .table-days td span {
    border-color: #1c2539 !important;
}

.datepicker-plot-area .datepicker-day-view .table-days td.disabled span:hover {
    background-color: #f1f1f1;
    color: #ccc;
}

.datepicker-plot-area .datepicker-time-view .divider {
    margin: 0;
}

.datepicker-plot-area .datepicker-navigator .pwt-btn-next, .datepicker-plot-area .datepicker-navigator .pwt-btn-switch, .datepicker-plot-area .datepicker-navigator .pwt-btn-prev {
    height: 38px;
    line-height: 40px;
    direction: ltr;
}

.pwt-datepicker-input-element-container {
    position: relative;
    z-index: auto;
}

.pwt-datepicker-input-element {
    position: absolute;
    bottom: 62%;
    z-index: 99;
    right: 23px;
    display: none;
}

.pwt-datepicker-input-element.bottom-float {
    bottom: initial;
    top: 100%;
}

.pwt-datepicker-input-element.inline {
    position: relative;
    right: initial;
}

.pwt-datepicker-input-element.inline .datepicker-plot-area-inline-view {
    float: none;
    margin: 0 auto;
}

.datepicker-plot-area .datepicker-day-view .table-days td.selected span,
.datepicker-plot-area .datepicker-year-view .year-item.selected,
.datepicker-plot-area .datepicker-month-view .month-item.selected {
    background: #584cd4;
}

.datepicker-plot-area .datepicker-day-view .table-days td.selected span .datepicker-plot-area .datepicker-day-view .table-days td:hover,
.datepicker-plot-area .datepicker-day-view .table-days td span:hover,
.datepicker-plot-area .datepicker-year-view .year-item:hover,
.datepicker-plot-area .datepicker-month-view .month-item:hover {
    background-color: #7367f0;
}

.datepicker-plot-area .datepicker-day-view .table-days td.today span {
    background-color: #9a90ff;
    color: #ffffff;
    font-weight: bold;
    line-height: 39px;
    text-shadow: none;
}

.datepicker-plot-area .datepicker-day-view .table-days td.today.selected span {
    background-color: #584cd4;
}

.datepicker-plot-area .datepicker-day-view .table-days td.selected span {
    text-shadow: none;
}

.datepicker-plot-area .datepicker-day-view .table-days td.selected span,
.datepicker-plot-area .datepicker-year-view .year-item.selected,
.datepicker-plot-area .datepicker-month-view .month-item.selected {
    background: #584cd4;
}

.datepicker-plot-area .datepicker-day-view .table-days td.selected span .datepicker-plot-area .datepicker-day-view .table-days td:hover,
.datepicker-plot-area .datepicker-day-view .table-days td span:hover,
.datepicker-plot-area .datepicker-year-view .year-item:hover,
.datepicker-plot-area .datepicker-month-view .month-item:hover {
    background-color: #7367f0;
}

.datepicker-plot-area .toolbox .pwt-btn-submit,
.datepicker-plot-area .toolbox .pwt-btn-calendar,
.datepicker-plot-area .toolbox .pwt-btn-today {
    background: #eee;
    border-radius: 5px;
    height: 28px;
    line-height: 28px;
    font-size: 13px;
    padding: 0 20px;
}

html[data-bs-theme=light] .apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-title,
html[data-bs-theme=light] .apexcharts-canvas .apexcharts-tooltip-text {
    font-family: 'Vazirmatn', tahoma, sans-serif !important;
}

.leaflet-control-attribution {
    display: none !important;
}

[dir="rtl"] .leaflet-map .leaflet-control-container .leaflet-left {
    left: 0;
    right: unset;
}

[dir="rtl"] .leaflet-map .leaflet-control-container .leaflet-left .leaflet-control-zoom,
[dir="rtl"] .leaflet-map .leaflet-control-container .leaflet-left .leaflet-control-layers {
    margin-right: 0;
    margin-left: 10px;
}

.leaflet-draw, .leaflet-pane {
    direction: ltr;
}

.sk-timeline {
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    right: -0.65rem;
    left: auto;
}

.sk-success .sk-bounce-dot {
    background-color: #28c76f;
}

.sk-warning .sk-bounce-dot {
    background-color: #ff9f43;
}

.sk-info .sk-bounce-dot {
    background-color: #00cfe8;
}

.sk-danger .sk-bounce-dot {
    background-color: #ea5455;
}

.dz-message {
    margin: 3rem 0 0;
}

.dz-message::before {
    top: 1rem;
    left: calc(50% - 24px);
}

.swal2-container .swal2-modal.swal2-popup .swal2-title {
    max-inline-size: inherit !important;
}