/* Lucide Icons CSS */
.lucide {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

/* Icon sizes */
.lucide-sm {
  width: 0.875rem;
  height: 0.875rem;
  stroke-width: 2.5;
}

.lucide-lg {
  width: 1.5rem;
  height: 1.5rem;
  stroke-width: 1.5;
}

.lucide-xl {
  width: 2rem;
  height: 2rem;
  stroke-width: 1.5;
}

.lucide-2xl {
  width: 3rem;
  height: 3rem;
  stroke-width: 1;
}

/* Icon colors */
.lucide-primary {
  color: var(--primary-color, #6366f1);
}

.lucide-success {
  color: var(--success-color, #10b981);
}

.lucide-warning {
  color: var(--warning-color, #f59e0b);
}

.lucide-error {
  color: var(--error-color, #ef4444);
}

.lucide-muted {
  color: var(--text-muted, #9ca3af);
}

/* Icon animations */
.lucide-spin {
  animation: lucide-spin 1s linear infinite;
}

.lucide-pulse {
  animation: lucide-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.lucide-bounce {
  animation: lucide-bounce 1s infinite;
}

@keyframes lucide-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes lucide-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes lucide-bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* Icon wrapper styles */
.lucide-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  transition: all 0.15s ease-in-out;
}

.lucide-wrapper:hover {
  transform: scale(1.1);
}

.lucide-wrapper-sm {
  padding: 0.25rem;
}

.lucide-wrapper-md {
  padding: 0.5rem;
}

.lucide-wrapper-lg {
  padding: 0.75rem;
}

/* Icon button styles */
.lucide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: currentColor;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.lucide-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.05);
}

.lucide-btn:active {
  transform: scale(0.95);
}

/* Icon in text */
.lucide-inline {
  margin-right: 0.25rem;
  vertical-align: text-bottom;
}

/* Icon grid */
.lucide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(2rem, 1fr));
  gap: 0.5rem;
}

/* Icon list */
.lucide-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lucide-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.15s ease-in-out;
}

.lucide-list-item:hover {
  background: rgba(0, 0, 0, 0.05);
}
