/**
 * YOYAKU Media Platform - Professional SVG Icons Stylesheet
 * Style: Outline (Material Design)
 * Author: Benjamin Belaga
 * Created: 2025-11-23
 */

/* Base icon class */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  fill: currentColor;
  stroke: currentColor;
}

/* Icon sizes */
.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 20px;
  height: 20px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

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

/* Icon in buttons - proper alignment */
button .icon {
  margin-right: 6px;
  vertical-align: text-bottom;
}

button .icon:last-child {
  margin-right: 0;
  margin-left: 6px;
}

/* Icon colors - contextual */
.icon-primary {
  color: var(--color-primary, #007bff);
}

.icon-success {
  color: var(--color-success, #28a745);
}

.icon-warning {
  color: var(--color-warning, #ffc107);
}

.icon-danger {
  color: var(--color-danger, #dc3545);
}

.icon-muted {
  color: var(--color-muted, #6c757d);
}

/* Specific icon styling for format selectors */
.format-icon .icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

/* Badge icons */
.status-badge .icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

/* Progress/action icons */
.progress-status .icon,
.completed-status .icon,
.failed-status .icon,
.cancelled-status .icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

/* Dashboard icons */
.dashboard-icon .icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Control panel icons */
.control-panel-header .icon {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

/* Animation for loading/processing states */
@keyframes icon-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.icon-spin {
  animation: icon-spin 1s linear infinite;
}

/* Hover states for interactive icons */
button:hover .icon {
  opacity: 0.8;
}

button:disabled .icon {
  opacity: 0.5;
}
