.history-actions {
  margin-bottom: var(--space-lg);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}

.theme-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
}

.theme-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.theme-card-colors {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.theme-card-color {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.theme-card-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.theme-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.theme-card-prefix {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.theme-card-actions {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.theme-card:hover .theme-card-actions {
  opacity: 1;
}

.theme-card-delete {
  width: 24px;
  height: 24px;
  padding: 0;
  font-size: 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-muted);
}

.theme-card-delete:hover {
  background: var(--danger);
  color: white;
}

.empty-state {
  text-align: center;
  padding: var(--space-2xl);
  color: var(--text-muted);
}

.empty-state.hidden {
  display: none;
}

.empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: var(--space-md);
  opacity: 0.3;
}

.empty-state .subtle {
  font-size: 0.8rem;
  margin-top: var(--space-xs);
}