.ai-stat-bar-editor, .ai-stat-bar-frontend {
  width: 100%;
  margin: 0.5rem 0 1.5rem 0;
}

.ai-stat-bar-track {
  width: 100%;
  height: 22px;
  background: #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 8px rgba(37,99,235,0.04);
}

.ai-stat-bar-fill {
  height: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  padding-right: 18px;
  transition: width 0.7s cubic-bezier(.4,2,.6,1), background 0.3s;
  min-width: 40px;
  box-sizing: border-box;
  position: relative;
}

.ai-stat-bar-label {
  position: relative;
  z-index: 2;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Editor preview: add a border */
.ai-stat-bar-editor .ai-stat-bar-track {
  border: 1px dashed #2563eb;
}

/* Responsive */
@media (max-width: 600px) {
  .ai-stat-bar-track {
    height: 16px;
  }
  .ai-stat-bar-label {
    font-size: 0.85rem;
    padding-right: 8px;
  }
} 