/* Elevance Sans Font Definitions */

/* 
  If you have the actual Elevance Sans font files, uncomment and update the paths below:
  
  @font-face {
    font-family: 'ElevanceSans-Regular';
    src: url('../fonts/ElevanceSans-Regular.woff2') format('woff2'),
         url('../fonts/ElevanceSans-Regular.woff') format('woff'),
         url('../fonts/ElevanceSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: 'ElevanceSans-Medium';
    src: url('../fonts/ElevanceSans-Medium.woff2') format('woff2'),
         url('../fonts/ElevanceSans-Medium.woff') format('woff'),
         url('../fonts/ElevanceSans-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }
*/

/* Font Fallback Strategy */
/* The font declarations in site.css will fallback gracefully to system fonts if Elevance Sans is not available */

/* Utility Classes for Font Weights */
.font-regular {
  font-family: "ElevanceSans-Regular", "Elevance Sans Regular", "Elevance Sans", sans-serif;
  font-weight: 400;
}

.font-medium {
  font-family: "ElevanceSans-Medium", "Elevance Sans Medium", "Elevance Sans", sans-serif;
  font-weight: 500;
  color: #733ac4;
}

/* Component-specific font overrides */
.mud-typography-h1,
.mud-typography-h2,
.mud-typography-h3,
.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6 {
  font-family: "ElevanceSans-Medium", "Elevance Sans Medium", "Elevance Sans", sans-serif !important;
  font-weight: 500 !important;
}

.mud-typography-body1,
.mud-typography-body2,
.mud-typography-subtitle1,
.mud-typography-subtitle2,
.mud-typography-caption {
  font-family: "ElevanceSans-Regular", "Elevance Sans Regular", "Elevance Sans", sans-serif !important;
  font-weight: 400 !important;
}

/* Button font styling */
.mud-button {
  font-family: "ElevanceSans-Medium", "Elevance Sans Medium", "Elevance Sans", sans-serif !important;
  font-weight: 500 !important;
}

/* Input and form field styling */
.mud-input-root,
.mud-input-text,
.mud-select,
.mud-textarea {
  font-family: "ElevanceSans-Regular", "Elevance Sans Regular", "Elevance Sans", sans-serif !important;
  font-weight: 400 !important;
}

/* Label styling */
.mud-input-label,
.mud-field-label {
  font-family: "ElevanceSans-Medium", "Elevance Sans Medium", "Elevance Sans", sans-serif !important;
  font-weight: 500 !important;
}

/* Alert and notification styling */
.mud-alert {
  font-family: "ElevanceSans-Regular", "Elevance Sans Regular", "Elevance Sans", sans-serif !important;
  font-weight: 400 !important;
}

/* Card and paper content */
.mud-card,
.mud-paper {
  font-family: "ElevanceSans-Regular", "Elevance Sans Regular", "Elevance Sans", sans-serif !important;
}

/* Table styling */
.mud-table {
  font-family: "ElevanceSans-Regular", "Elevance Sans Regular", "Elevance Sans", sans-serif !important;
}

.mud-table th {
  font-family: "ElevanceSans-Medium", "Elevance Sans Medium", "Elevance Sans", sans-serif !important;
  font-weight: 500 !important;
}

