.hotkey-display-group {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.25rem;
  background: var(--color-bg-base);
  border: 1px solid var(--color-border-subtle);
  transition: all 0.2s;
}

.hotkey-display-group:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-elevated);
}

.hotkey-display-group.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background-color: var(--color-bg-base);
}

.hotkey-display-group.disabled:hover {
  border-color: var(--color-border-subtle);
  background: var(--color-bg-base);
}

.hotkey-display-group.recording {
  background: var(--color-error-bg-strong);
  border-color: var(--color-error);
  color: var(--color-error);
  animation: pulse-red 1.5s infinite;
}

.key-cap {
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border-muted);
  border-bottom: 0.125rem solid var(--color-border-deep);
  border-radius: 0.1875rem;
  padding: 0.125rem 0.375rem;
  font-family: "CascadiaCode", monospace;
  font-size: 0.75rem;
  color: var(--color-text-primary);
  box-shadow: 0 1px 0 var(--color-shadow-key);
}

.key-plus {
  color: var(--color-text-secondary);
  margin: 0 0.25rem;
  font-weight: bold;
}

.conflict-warning {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-error);
  background: var(--color-error-bg);
  border: 1px solid var(--color-error-border);
  padding: 0.375rem 0.625rem;
  border-radius: 0.25rem;
}

@keyframes pulse-red {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.8;
  }
}
