/* Config domain overrides / tweaks (safe to edit without risking the core layout) */

/* All red-outline buttons on Config pages should be compact & consistent */
.ht-config .ht-btn-outline{
  font-size: 13px;
  padding: 10px 14px;
  line-height: 1.1;
}

/* Keep very small inline buttons from looking huge */
.ht-config .ht-btn-outline.small,
.ht-config .ht-btn-outline.btn-sm{
  font-size: 12px;
  padding: 8px 12px;
}

/* Avoid underlines in some browsers */
.ht-config__tabs a{ text-decoration: none; }

/* Keep the link card visually attached to the list */
.ht-pager + .ht-config__card{
  margin-top: 10px;
}

/* Upstream error alert (shown on Config pages when API calls fail) */
.ht-config__alert{
  border: 1px solid rgba(213,12,26,0.35);
  background: rgba(213,12,26,0.06);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 10px 0 14px;
}

.ht-config__alerttitle{
  font-family: var(--hyt-font-base);
  font-weight: 800;
  font-size: 14px;
  margin: 0 0 4px;
}

.ht-config__alertbody{
  font-family: var(--hyt-font-base);
  font-size: 13px;
  color: rgba(0,0,0,0.75);
  margin: 0;
}

.ht-config__alertmeta{
  font-family: var(--hyt-font-base);
  font-size: 12px;
  color: rgba(0,0,0,0.65);
  margin: 8px 0 0;
}

.ht-config__alertpre{
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  font-size: 12px;
  white-space: pre-wrap;
}


/* Breadcrumbs (Config) */
.ht-breadcrumb{
  margin: 8px 0 10px;
}
.ht-breadcrumb__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
}
.ht-breadcrumb__item{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ht-breadcrumb__link{
  color: var(--hyt-blue, #14539B);
  text-decoration: none;
}
.ht-breadcrumb__link:hover{
  text-decoration: underline;
}
.ht-breadcrumb__current{
  color: #111;
  opacity: .85;
}
.ht-breadcrumb__sep{
  color: #6b6b6b;
  opacity: .85;
}

/* Pump Type allowed-hose picker: bounded list, persistent selection across filters. */
.ht-pump-hoses { border: 1px solid #c8d7e6; border-radius: .5rem; padding: 1rem; }
.ht-pump-hoses > summary { cursor: pointer; }
.ht-pump-hoses__list { max-height: 24rem; overflow: auto; }
.ht-pump-hoses th { position: sticky; top: 0; background: #fff; z-index: 1; }
.ht-pump-hoses td { vertical-align: middle; overflow-wrap: anywhere; }
.ht-pump-hoses [data-hose-filter][aria-pressed="true"] { background: var(--hyt-blue, #14539b); color: #fff; }

/* Compact controls only inside the Pump Type hose picker. */
.ht-pump-hoses [data-hose-filter],
.ht-pump-hoses [data-hose-prev],
.ht-pump-hoses [data-hose-next] {
  min-height: 32px;
  padding: 5px 13px;
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.25;
}
