/*!
 * FontAwesome 6 Subset - Custom build for Qsensor
 * Only includes icons actually used in the codebase
 * Original: ~90KB | This subset: ~5KB
 */

/* Core FontAwesome styles */
.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
}

/* Font faces - self-hosted for zero external connections */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/fa-brands-400.woff2") format("woff2");
}

/* Override the old FA 4.7 @font-face from theme-bootstrap4.css
   This prevents the browser from downloading the 77KB fontawesome-webfont.woff2 */
@font-face {
  font-family: 'FontAwesome';
  font-style: normal;
  font-weight: normal;
  font-display: swap;
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
}

/* Solid icons */
.fa-solid,
.fas,
.fa {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

/* Brand icons */
.fa-brands,
.fab {
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
}

/* ============================================
   SOLID ICONS (fa-solid / fas)
   ============================================ */

/* Search */
.fa-magnifying-glass::before,
.fa-search::before {
  content: "\f002";
}

/* Angles/Chevrons */
.fa-angle-down::before {
  content: "\f107";
}

.fa-angle-left::before {
  content: "\f104";
}

.fa-angle-right::before {
  content: "\f105";
}

.fa-chevron-down::before {
  content: "\f078";
}

/* Actions */
.fa-plus::before {
  content: "\2b";
}

.fa-check::before {
  content: "\f00c";
}

.fa-arrow-left::before {
  content: "\f060";
}

/* Time */
.fa-clock::before {
  content: "\f017";
}

/* Alerts */
.fa-check-circle::before,
.fa-circle-check::before {
  content: "\f058";
}

.fa-exclamation-circle::before,
.fa-circle-exclamation::before {
  content: "\f06a";
}

.fa-exclamation-triangle::before,
.fa-triangle-exclamation::before {
  content: "\f071";
}

.fa-info-circle::before,
.fa-circle-info::before {
  content: "\f05a";
}

/* Charts */
.fa-chart-line::before {
  content: "\f201";
}

.fa-chart-bar::before {
  content: "\f080";
}

.fa-calendar-week::before {
  content: "\f784";
}

/* Travel */
.fa-plane::before {
  content: "\f072";
}

.fa-plane-departure::before {
  content: "\f5b0";
}

.fa-calendar-check::before {
  content: "\f274";
}

.fa-thumbs-up::before {
  content: "\f164";
}

.fa-thumbs-down::before {
  content: "\f165";
}

.fa-lightbulb::before {
  content: "\f0eb";
}

/* Time of day - best/worst time to fly widget */
.fa-sun::before {
  content: "\f185";
}

.fa-cloud-sun::before {
  content: "\f6c4";
}

.fa-cloud-moon::before {
  content: "\f6c3";
}

.fa-moon::before {
  content: "\f186";
}

/* Navigation */
.fa-arrow-right::before {
  content: "\f061";
}

.fa-arrow-down::before {
  content: "\f063";
}

.fa-arrow-up::before {
  content: "\f062";
}

.fa-minus::before {
  content: "\f068";
}

/* Objects */
.fa-building::before {
  content: "\f1ad";
}

.fa-globe::before {
  content: "\f0ac";
}

/* Sorting */
.fa-sort-amount-down::before {
  content: "\f160";
}

.fa-font::before {
  content: "\f031";
}

/* ============================================
   BRAND ICONS (fa-brands / fab)
   ============================================ */

.fa-facebook-f::before {
  content: "\f39e";
}

.fa-instagram::before {
  content: "\f16d";
}

.fa-twitter::before {
  content: "\f099";
}

.fa-google-play::before {
  content: "\f3ab";
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Sharp style support (maps to solid) */
.fa-sharp {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

/* Size modifiers */
.fa-2x { font-size: 2em; }
.fa-3x { font-size: 3em; }
