/* Shared Button Template - All Button Styles Consolidated */

.app-btn {
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: none;
  border-radius: 2px;
  padding: 0.6rem 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: var(--btn-glow);
  transition: transform 0.2s ease, filter 0.2s ease, background 1.6s ease, box-shadow 1.6s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
  text-transform: uppercase;
}

.app-btn:hover:enabled {
  transform: scale(1.05);
  filter: brightness(1.15);
}

.app-btn:active:enabled {
  transform: scale(0.98);
}

.app-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

.app-btn.w-100 {
  width: 100%;
}

/* Dialog Button Layouts */
.dialog-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.dialog-actions .app-btn {
  flex: 1;
  min-width: 120px;
}

/* Promotion Dialog Button Variant */
.promotion-choice {
  flex-direction: column;
  height: auto;
  padding: 16px;
  gap: 8px;
}

.promotion-choice .piece-symbol {
  font-size: 32px;
  line-height: 1;
}

.promotion-choice .piece-label {
  font-size: 11px;
}
