@charset "UTF-8";

* {
  -moz-font-feature-settings: "ss02";
  -webkit-font-feature-settings: "ss02";
  font-feature-settings: "ss02";
}

/* --- Bootstrap Overrides --- */
.btn {
  --bs-btn-padding-x: 1.3rem;
}

.list-group {
  --bs-list-group-item-padding-y: 0.7rem;
}

.nav-link {
  --bs-navbar-nav-link-padding-x: 0.7rem;
  --bs-navbar-nav-link-padding-y: 0.7rem;
}

/* --- Global Font Assignments (Montserrat First Priority) --- */
#template-customizer {
  font-family: 'Montserrat', 'Noto+Kufi+Arabic', sans-serif !important;
}

html body,
option,
select,
.menu-sub,
p,
html table,
html h1, html .h1,
html h2, html .h2,
html h3, html .h3,
html h4, html .h4,
html h5, html .h5,
html h6, html .h6,
html .custom-option-icon .custom-option-body .custom-option-title,
html span,
.text-capitalize,
small {
  font-family: 'Montserrat', 'Noto+Kufi+Arabic', sans-serif;
}

.menu-vertical .menu-item .menu-link,
.dropdown-item {
  font-size: 0.9rem !important;
}

p,
html table {
  line-height: 2 !important;
}

h6, .h6, h5, .h5, h4, .h4, 
.custom-option-icon .custom-option-body .custom-option-title,
.timeline-event p,
small {
  line-height: 1.6 !important;
}

.h3, h3, .h2, h2, .h1, h1 {
  line-height: 1.2 !important;
}

/* --- Font Weights --- */
.fw-lighter, 
.fw-light, 
.fw-normal, 
.fw-medium, 
.fw-semibold, 
.fw-bold, 
.fw-bolder {
  font-family: 'Montserrat', 'Noto+Kufi+Arabic', sans-serif !important;
}

/* --- Dark Style Overrides --- */
.dark-style .dropdown-item span,
.dark-style h3, .dark-style .h3,
.dark-style h4, .dark-style .h4,
.dark-style h5, .dark-style .h5,
.dark-style h6, .dark-style .h6 {
  font-family: 'Montserrat', 'Noto+Kufi+Arabic', sans-serif;
}

.dark-style .layout-navbar .navbar-dropdown.dropdown-notifications .dropdown-notifications-list .dropdown-notifications-item p,
.dark-style small,
.dark-style .fw-medium {
  font-family: 'Montserrat', 'Noto+Kufi+Arabic', sans-serif !important;
}

.dark-style .layout-navbar .navbar-dropdown.dropdown-notifications .dropdown-notifications-list .dropdown-notifications-item p {
  font-size: 0.9rem !important;
}

/* --- Global overrides for libraries --- */
.tooltip,
.apexcharts-tooltip,
.apexcharts-canvas .apexcharts-tooltip .apexcharts-tooltip-title,
.apexcharts-canvas .apexcharts-tooltip-text,
.leaflet-map,
.swal2-modal.swal2-popup,
.swal2-popup .swal2-title,
label.form-label,
th,
td {
  font-family: 'Montserrat', 'Noto+Kufi+Arabic', sans-serif !important;
}

label.form-label {
  font-size: 14px !important;
  line-height: normal !important;
}

th, td {
  font-size: 14px; 
}

/* --- Print Styles --- */
@media print {
    .no-print,
    .sidebar {
        display: none !important;
    }
}

/* --- Utilities --- */
.separator {
  display: inline-block;
  unicode-bidi: bidi-override;
  direction: ltr;
  margin: 0 5px;
}

.horizontal-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-item {
    text-align: center;
    margin: 0 10px;
}

.stat-item h2 {
    font-size: 2rem;
    font-weight: bold;
}

.stat-item p {
    font-size: 1rem;
    color: #6c757d;
}