/* Custom SVG icon CSS - replaces FontAwesome with theme-aware SVG icons */

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -0.125em;
}

/* RSS Icon - now using custom SVG */
.rss-icon {
  width: 24px;
  height: 24px;
  color: var(--link-color);
  transition: color 0.3s ease;
}

.rss-icon:hover {
  color: var(--link-hover-color);
}

/* Music Icon */
.fa-music::before,
.fa-solid.fa-music::before {
  content: "🎵";
  font-style: normal;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

/* User Icon */
.fa-user::before,
.fa-solid.fa-user::before {
  content: "👤";
  font-style: normal;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

/* Disc Icon */
.fa-compact-disc::before,
.fa-solid.fa-compact-disc::before {
  content: "💿";
  font-style: normal;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

/* File Icons */
.fa-file-lines::before,
.fa-solid.fa-file-lines::before {
  content: "📄";
  font-style: normal;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.fa-folder::before,
.fa-solid.fa-folder::before {
  content: "📁";
  font-style: normal;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.fa-file-code::before,
.fa-solid.fa-file-code::before {
  content: "📝";
  font-style: normal;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.fa-file-alt::before,
.fa-solid.fa-file-alt::before {
  content: "📋";
  font-style: normal;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

.fa-book-open::before,
.fa-solid.fa-book-open::before {
  content: "📖";
  font-style: normal;
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
}

/* Eye Icon - now using custom SVG */
.eye-icon {
  color: var(--text-muted-color);
  transition: color 0.3s ease;
}

.eye-icon:hover {
  color: var(--text-color);
}

/* Cog Icon for FAB - now using custom SVG */
.cog-icon {
  color: var(--background-color);
  transition: color 0.3s ease;
}

.cog-icon:hover {
  color: var(--text-color);
}

/* GitHub Icon Fallback */
.github-icon {
  fill: currentColor;
  width: 24px;
  height: 24px;
}

/* Ensure icons maintain proper spacing and fallbacks */
.fas, 
.fa-solid {
  font-weight: 900;
}

[class^="fa-"]:before,
[class*=" fa-"]:before {
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fallback for browsers that don't support SVG data URIs */
@supports not (background-image: url('data:image/svg+xml;charset=utf-8,<svg></svg>')) {
  .fa-rss::before,
  .fas.fa-rss::before {
    content: "[RSS]";
    background-image: none;
  }
}
