/* Design System - Progress Bars */

/* Base progress bar */
.ds-progress {
  width: 100%;
  height: 0.5rem;
  background-color: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
}

.ds-progress-bar {
  height: 100%;
  background-color: #384E8F;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Progress bar variants */
.ds-progress-bar-success {
  background-color: #22C55E;
}

.ds-progress-bar-warning {
  background-color: #F59E0B;
}

.ds-progress-bar-error {
  background-color: #EF4444;
}

.ds-progress-bar-info {
  background-color: #3B82F6;
}

/* Progress item - from dashboard */
.ds-progress-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  align-self: stretch;
}

.ds-progress-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.ds-progress-item-label {
  color: #111827;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.375rem;
  letter-spacing: -0.18px;
}

.ds-progress-item-value {
  color: #374151;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.ds-progress-item-label {
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
}

.ds-progress-item-value {
  color: #111827;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
}

.ds-progress-item-bar {
  width: 100%;
  height: 0.5rem;
  background-color: #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
}

.ds-progress-item-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Progress bar gradient variants */
.ds-progress-item-fill-green {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.3) 0%, #10B981 100%);
}

.ds-progress-item-fill-orange {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.3) 0%, #F59E0B 100%);
}

.ds-progress-item-fill-red {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.3) 0%, #EF4444 100%);
}

/* Size variants */
.ds-progress-sm {
  height: 0.375rem;
}

.ds-progress-md {
  height: 0.5rem;
}

.ds-progress-lg {
  height: 0.75rem;
}
