/* Font Awesome integration for DMR Dashboard Platform */
/* Enhanced Font Awesome loading with better fallbacks and local support */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");

/* Enhanced fallback styles to prevent FOUC and ensure consistent icon display */
.fa,
.fas,
.far,
.fal,
.fab,
.fad,
.fat {
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  font-weight: 900;
}

/* Added specific icon classes used in DMR Dashboard */
.fa-user::before {
  content: "\f007";
}
.fa-cog::before {
  content: "\f013";
}
.fa-home::before {
  content: "\f015";
}
.fa-database::before {
  content: "\f1c0";
}
.fa-users::before {
  content: "\f0c0";
}
.fa-chart-bar::before {
  content: "\f080";
}
.fa-bell::before {
  content: "\f0f3";
}
.fa-comments::before {
  content: "\f086";
}
.fa-radio::before {
  content: "\f8d7";
}
.fa-satellite::before {
  content: "\f7bf";
}
.fa-broadcast-tower::before {
  content: "\f519";
}
.fa-microchip::before {
  content: "\f2db";
}
.fa-network-wired::before {
  content: "\f6ff";
}
.fa-server::before {
  content: "\f233";
}
.fa-shield-alt::before {
  content: "\f3ed";
}
.fa-eye::before {
  content: "\f06e";
}
.fa-edit::before {
  content: "\f044";
}
.fa-trash::before {
  content: "\f1f8";
}
.fa-plus::before {
  content: "\f067";
}
.fa-download::before {
  content: "\f019";
}
.fa-upload::before {
  content: "\f093";
}
.fa-search::before {
  content: "\f002";
}
.fa-filter::before {
  content: "\f0b0";
}
.fa-sort::before {
  content: "\f0dc";
}
.fa-moon::before {
  content: "\f186";
}
.fa-sun::before {
  content: "\f185";
}
.fa-palette::before {
  content: "\f53f";
}
.fa-language::before {
  content: "\f1ab";
}
.fa-bars::before {
  content: "\f0c9";
}
.fa-times::before {
  content: "\f00d";
}
.fa-chevron-down::before {
  content: "\f078";
}
.fa-chevron-up::before {
  content: "\f077";
}
.fa-chevron-left::before {
  content: "\f053";
}
.fa-chevron-right::before {
  content: "\f054";
}

/* Added responsive icon sizing for different screen sizes */
@media (max-width: 768px) {
  .fa-lg {
    font-size: 1.2em;
  }
  .fa-2x {
    font-size: 1.8em;
  }
  .fa-3x {
    font-size: 2.5em;
  }
}

/* Added icon animation classes for enhanced UX */
.fa-spin-slow {
  animation: fa-spin 2s infinite linear;
}

.fa-pulse-soft {
  animation: fa-pulse 2s infinite;
}

@keyframes fa-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

/* Added theme-specific icon colors */
.icon-primary {
  color: #2dacd2;
}
.icon-secondary {
  color: #fed738;
}
.icon-success {
  color: #28a745;
}
.icon-danger {
  color: #dc3545;
}
.icon-warning {
  color: #ffc107;
}
.icon-info {
  color: #17a2b8;
}
.icon-light {
  color: #f8f9fa;
}
.icon-dark {
  color: #343a40;
}
