/* Buttons – базовые, БЕЗ центрирования */

.btn {
  border-radius: 999px;
  border: none;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--tg-accent) 0%, var(--tg-accent-strong) 100%);
  color: var(--button-primary-text);
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(77, 163, 255, 0.24);
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  padding: 10px 20px;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(77, 163, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled,
.btn-primary.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.btn-ghost {
  background: var(--button-ghost-bg);
  color: var(--button-ghost-text);
  border: 1px solid var(--tg-border-soft);
  font-size: 12px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--tg-text);
  border-color: rgba(77, 163, 255, 0.28);
  transform: translateY(-1px);
}

.btn-danger {
  background: #ff4b55;
  color: #fff;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 12px;
}

.btn-xs {
  padding: 4px 8px;
  font-size: 11px;
}

/* Индивидуальные кнопки */

#btn-add-prize {
  margin-top: 6px;
}

#btn-add-channel {
  margin-top: 6px;
}

#btn-send-broadcast {
  margin-top: 6px;
}

.pagination .btn {
  padding: 6px 12px;
}

/* Кнопки настроек */
.btn-settings-card {
  background: linear-gradient(180deg, rgba(18, 24, 31, 0.98) 0%, rgba(12, 17, 23, 0.98) 100%);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 600;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.btn-settings-card:hover {
  background: linear-gradient(180deg, rgba(23, 29, 37, 0.98) 0%, rgba(15, 20, 27, 0.98) 100%);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.btn-settings-card:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}


.btn-text-danger {
  color: #ff6b76 !important;
  border-color: rgba(255, 107, 118, 0.24);
}

.btn-text-danger:hover {
  color: #ff8d96 !important;
  border-color: rgba(255, 107, 118, 0.38);
  background: rgba(255, 107, 118, 0.08);
}

.section-filter-btn {
  min-width: 108px;
}
