/* ========================================
   DC Preset Manager
   ======================================== */

.dc-preset-manager {
  background: var(--sf-surface-dark, #1a1a2e);
  color: var(--sf-text-primary, #ddd);
}

.preset-manager {
  padding: 16px;
}

.preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.preset-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  cursor: default;
  transition: all 0.2s;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.preset-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.preset-card.add-new {
  border-style: dashed;
  color: #888;
  cursor: pointer;
}

.preset-card.add-new:hover {
  color: #ddd;
  border-color: rgba(255, 255, 255, 0.3);
}

.preset-card .preset-dc-large {
  font-size: 2.5em;
  font-family: var(--font-mono, monospace);
  color: var(--sf-accent-success, #4ecdc4);
  font-weight: 700;
}

.preset-card .delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.15s;
  opacity: 0;
}

.preset-card:hover .delete-btn {
  opacity: 1;
}

.preset-card .delete-btn:hover {
  background: rgba(255, 100, 100, 0.2);
  color: #ff6b6b;
}
