.stable-form select, .stable-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-background-secondary);
  color: var(--color-foreground);
  font: inherit;
}

.stable-form textarea {
  resize: vertical;
}

.client-delete-action {
  padding: 0.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-background-secondary);
  color: var(--color-red);
  font: inherit;
  cursor: pointer;
}

.stable-setup select:focus-visible, .stable-setup textarea:focus-visible, .client-delete-action:focus-visible {
  outline: 2px solid var(--color-foreground);
  outline-offset: 3px;
}

.index-card.horse-client-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem;
  border: 1px solid var(--color-border);
  align-items: start;
  gap: 0.5rem;
}

.horse-client-card .index-card__title {
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}

.horse-client-card .index-card__subtitle {
  margin-bottom: 0;
}

.horse-client-card .horse-fee {
  margin: 0.5rem 0;
}

.horse-client-history > summary .setup-form__section-heading {
  display: inline;
  margin: 0;
}

.horse-client-history > .index-cards {
  margin-top: 0.75rem;
}

.horse-clients-page > .stable-back-link {
  display: inline-block;
  margin-bottom: 1rem;
}
