.AccentButton {
  font-family: inherit;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  text-transform: lowercase;
  text-align: center;
  position: relative;
  isolation: isolate;
}

/* Apply filter to background only via pseudo-element */
.AccentButton::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--accent-color);
  border-radius: 8px;
  filter: var(--user-content-filter);
  z-index: -1;
}

.AccentButton--large {
  font-size: 1.125rem;
  padding: 1rem 3rem;
  min-width: 200px;
}

.AccentButton--medium {
  font-size: 1rem;
  padding: 0.875rem 2rem;
  min-width: 160px;
}

@media (hover: hover) {
  .AccentButton:hover:not(:disabled) {
    transform: translateY(-2px) scale(1.02);
  }
}

.AccentButton:active:not(:disabled) {
  transform: scale(0.98);
  transition-duration: 0.05s;
}

.AccentButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .AccentButton--large {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    min-width: 160px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .AccentButton--medium {
    padding: 0.75rem 1.5rem;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
