.smart-holds-admin {
  padding: 1.5rem;
}

.smart-holds-admin__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--wa-color-text-normal);
}

.smart-holds-admin__note {
  margin: 0 0 1.5rem;
  color: var(--wa-color-text-quiet);
  font-size: 0.875rem;
}

.smart-holds-admin__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.smart-holds-admin__table th,
.smart-holds-admin__table td {
  text-align: left;
  padding: 0.5rem;
  border-bottom: 1px solid var(--wa-color-neutral-border-quiet);
}

.smart-holds-admin__status {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: var(--wa-border-radius-s);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.smart-holds-admin__status--ok {
  background: var(--wa-color-success-fill-quiet);
  color: var(--wa-color-success-fill-loud);
}

.smart-holds-admin__status--risk {
  background: var(--wa-color-danger-fill-quiet);
  color: var(--wa-color-danger-fill-loud);
}

.smart-holds-admin__edit {
  /* fill-normal resolves to brand-90 (#d9e4eb): ~1.3:1 on white. */
  color: var(--wa-color-text-link);
}

.smart-holds-admin__empty {
  color: var(--wa-color-text-quiet);
  padding: 2rem 0;
}

.smart-hold-form-page {
  max-width: 720px;
  padding: 1.5rem;
}

.smart-hold-form-page__title {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  color: var(--wa-color-text-normal);
}

.smart-hold-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.smart-hold-form__errors {
  background: var(--wa-color-danger-fill-quiet);
  border: 1px solid var(--wa-color-danger-border-normal);
  border-radius: var(--wa-border-radius-m);
  padding: 1rem;
  color: var(--wa-color-danger-on-quiet);
}

.smart-hold-form__errors ul {
  margin: 0;
  padding-left: 1.25rem;
}

.smart-hold-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.smart-hold-form__field label {
  font-size: 0.875rem;
  color: var(--wa-color-text-normal);
}

.smart-hold-form__field input,
.smart-hold-form__field select {
  padding: 0.5rem;
  border: 1px solid var(--wa-color-neutral-border-quiet);
  border-radius: var(--wa-border-radius-s);
  background: var(--wa-color-surface-default);
  color: var(--wa-color-text-normal);
}

.smart-hold-form__submit {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background: var(--wa-color-brand-fill-normal);
  color: var(--wa-color-brand-on-normal);
  border: none;
  border-radius: var(--wa-border-radius-s);
  font-weight: 600;
  cursor: pointer;
}
