/* SVG Icons styling */

/* Default icon styling */
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  fill: currentColor; /* Inherits text color by default */
  vertical-align: middle;
  transition: fill 0.3s ease, transform 0.3s ease;
}
/* Icon 
sizes */
.icon-small {
  width: 18px;
  height: 18px;
}

.icon-large {
  width: 32px;
  height: 32px;
}

/* Icons in buttons */
button svg.icon, 
.btn svg.icon {
  margin-right: 0.25rem;
}

.icon-btn svg.icon {
  margin: 0;
}

/* Specific icon styles to match material icons */
.light-icon,
.dark-icon {
  pointer-events: none;
}

/* Match existing Material Icon styles */
.trailing-icon {
  margin-left: 0.25rem;
}

.bookmark-add,
.bookmark {
  pointer-events: none;
}

/* Animation for interactive icons */
button:hover .icon,
a:hover .icon {
  transform: scale(1.1);
}

/* Style adjustments for specific areas */
.mobile-nav .icon {
  margin-bottom: 0.25rem;
}

.header .icon {
  margin: 0;
}

/* Dark/light theme icon visibility */
[data-theme="dark"] .light-icon,
[data-theme="light"] .dark-icon {
  display: none;
}

[data-theme="light"] .light-icon,
[data-theme="dark"] .dark-icon {
  display: inline-block;
}

/* Make SVG icons match material-symbols-outlined styling */
/* Card meta item icons */
.card .meta-item svg.icon {
  width: 1.8rem;
  height: 1.8rem;
  font-size: 1.8rem;
  margin-right: 2px;
}

/* Update time icons */
.card-info .update-time svg.icon {
  width: 1.4rem;
  height: 1.4rem;
  font-size: 1.4rem;
  margin-right: 2px;
}

