/**
 * Quicksand Font Override Styles
 * This file ensures Quicksand font is applied throughout the application
 * and overrides any template styles
 */

/* Font Face Definitions */
@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/Quicksand/Quicksand-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

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

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

@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/Quicksand/Quicksand-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/Quicksand/Quicksand-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Global Font Override */
html, body {
  font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Quicksand', sans-serif !important;
  font-weight: 600;
}

p, span, div, li, a, button, input, select, textarea, label, small {
  font-family: 'Quicksand', sans-serif !important;
}

/* Form Elements */
.form-control, .form-select, .btn, .dropdown-item, .nav-link {
  font-family: 'Quicksand', sans-serif !important;
}

/* Dashboard Components */
.page-main-header, .page-sidebar, .page-body-wrapper {
  font-family: 'Quicksand', sans-serif !important;
}

.sidebar-title, .sidebar-header, .sidebar-menu li {
  font-family: 'Quicksand', sans-serif !important;
}

/* Cards and Tables */
.card-header, .card-title, .card-body, .table, .breadcrumb-item {
  font-family: 'Quicksand', sans-serif !important;
}

/* Specific Weight Classes */
.font-light {
  font-weight: 300 !important;
}

.font-regular {
  font-weight: 400 !important;
}

.font-medium {
  font-weight: 500 !important;
}

.font-semibold {
  font-weight: 600 !important;
}

.font-bold {
  font-weight: 700 !important;
}

/* Ensure all dashboard components use Quicksand */
.badge, .alert, .dropdown-menu, .tooltip, .popover, .modal-title, .modal-body {
  font-family: 'Quicksand', sans-serif !important;
}
