/**
 * Icon Styling for Feather Icons
 */

/* Header Icons */
.header-icon {
  width: 48px;
  height: 48px;
  vertical-align: middle;
  margin-right: 15px;
  stroke-width: 2;
  filter: drop-shadow(0 0 20px var(--primary-glow));
}

/* Card Icons */
.card-icon i {
  width: 80px;
  height: 80px;
  stroke-width: 1.5;
}

/* Sound Icons */
.sound-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  color: var(--primary-color);
}

/* Count Icon */
.count-icon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* Button Icons */
.btn i {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.btn-small i {
  width: 16px;
  height: 16px;
}

.btn-large i {
  width: 20px;
  height: 20px;
}

/* Delete Button Icon */
.btn-delete i {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

/* Playing Icon */
.playing-icon {
  width: 40px;
  height: 40px;
  stroke-width: 2;
  color: var(--primary-color);
}

/* Volume Icon */
.volume-icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  color: var(--secondary-color);
}

/* Empty State Icon */
.empty-icon i {
  width: 80px;
  height: 80px;
  stroke-width: 1.5;
  color: var(--text-muted);
}

/* Label Icons */
.label i,
.link-label i,
.toggle-text i {
  width: 18px;
  height: 18px;
  stroke-width: 2;
  vertical-align: middle;
  margin-right: 6px;
}

/* QR Code Styling */
.link-content {
  display: flex;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.link-display {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


.qr-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.qr-code-wrapper {
  background: white;
  padding: 12px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

#qrCanvas {
  display: block;
  border-radius: 6px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.qr-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  margin: 0;
  text-align: center;
}

/* Responsive QR Code */
@media (max-width: 768px) {
  .link-content {
    flex-direction: column;
    align-items: center;
  }
  
  .link-display {
    width: 100%;
  }
  
  .qr-code-container {
    margin-top: 15px;
  }
}

/* Icon Animations */
.playing-animation {
  animation: pulse-icon 1.5s ease-in-out infinite;
}

@keyframes pulse-icon {
  0%, 100% { 
    opacity: 1;
    transform: scale(1);
  }
  50% { 
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* Hover effects for icons */
.card-icon i {
  transition: all 0.3s;
}

.card:hover .card-icon i {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px currentColor);
}

