:root {
  --font-size-xl: 2.5rem;
  --font-size-lg: 1.45rem;
  --font-size-md: 1.25rem;
  --font-size-sm: 1.02rem;
  --font-weight-bold: 700;
  --font-weight-normal: 400;
  --text-high: hsl(0, 0%, 100%);
  --text-med: hsl(220, 20%, 85%);
  --text-low: hsl(220, 20%, 70%);
  --text-accent: hsl(220, 100%, 75%);
  --space-xs: 0.4rem;
  --space-sm: 0.7rem;
  --space-md: 1.2rem;
  --space-lg: 2rem;
  --space-xl: 2.5rem;
}

/* Font Awesome 6 Icon Fix */
.fa-solid,
.fa-regular,
.fa-brands {
  font-family: "Font Awesome 6 Free", "FontAwesome", Arial, sans-serif !important;
  font-weight: 900 !important;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-regular {
  font-weight: 400 !important;
}

.fa-brands {
  font-family: "Font Awesome 6 Brands", "FontAwesome", Arial, sans-serif !important;
  font-weight: 400 !important;
}

/* Racing Title Shadow */
.racing-title-shadow {
  text-shadow: 3px 3px 0px rgba(37, 99, 235, 0.1);
}

/* Modal Utility Classes */
.modal-hidden {
  display: none !important;
}

.modal-visible {
  display: flex !important;
}

.modal-fade {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.modal-visible.modal-fade {
  opacity: 1;
}

/* Checkbox Utility Class - Ensures proper display after CSS cleanup */
.checkbox-native {
  appearance: auto;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  cursor: pointer;
}

/* Form Element Fixes - Override aggressive Tailwind resets */
input[type="checkbox"] {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
}