/**
 * PicDriver Image Flipper - Tool Specific Styling
 */

.flipper-stage {
  position: relative;
  min-height: 420px;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

#flipper-canvas {
  max-width: 100%;
  max-height: 520px;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.flip-btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.btn-flip-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-flip-action:hover {
  border-color: var(--brand-primary);
  background: var(--bg-card);
  transform: translateY(-2px);
}

.btn-flip-action.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--brand-primary);
  color: #818cf8;
}

.btn-flip-action svg {
  transition: transform 0.2s ease;
}

.symmetry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.btn-symmetry {
  padding: 8px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-symmetry:hover {
  border-color: var(--brand-primary);
  color: #fff;
}

.btn-symmetry.active {
  background: rgba(99, 102, 241, 0.15);
  border-color: var(--brand-primary);
  color: #818cf8;
}

.flip-status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: #94a3b8;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  pointer-events: none;
  z-index: 10;
}
