button {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  background: var(--button-bg);
  color: var(--button-text);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.3s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: var(--button-shadow-hover);
}

button:active {
  transform: translateY(0);
  box-shadow: var(--button-shadow-active);
}

.secondary-button {
  background: var(--button-secondary-bg);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.6);
  color: var(--family-primary-color);
  font-size: 16px;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.3s ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  box-shadow: var(--button-shadow-hover);
}

.icon-button:active {
  transform: translateY(0);
  box-shadow: var(--button-shadow-active);
}

.icon-button.danger {
  border-color: rgba(233, 156, 187, 0.7);
  color: #7a3f54;
  background: rgba(255, 225, 235, 0.8);
}

.icon-button.subtle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border-color: var(--input-border);
  background: transparent;
  color: var(--muted-text-color);
  box-shadow: none;
}

.icon-button.subtle:hover,
.icon-button.subtle:focus {
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-color);
  box-shadow: none;
}

.icon-button.subtle:active {
  box-shadow: none;
}

.ghost-button {
  background: transparent;
  border: 1px dashed var(--input-border);
  color: var(--muted-text-color);
  padding: 10px 18px;
  transition: border 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ghost-button:hover,
.ghost-button:focus {
  border-color: var(--input-focus-border);
  background: rgba(255, 255, 255, 0.4);
  color: var(--text-color);
}

.link-button {
  background: transparent;
  color: var(--link-color);
  padding: 0;
  font-size: 13px;
  font-weight: 600;
}

.link-button:hover {
  box-shadow: none;
  transform: none;
  text-decoration: underline;
}

.link-button:active {
  box-shadow: none;
}
