pds-tab {
  align-items: center;
  display: inline-flex;
  position: relative;
}
.pds-tabs--pill pds-tab {
  flex: 1;
}

.pds-tab {
  appearance: none;
  background-color: transparent;
  border: var(--pine-border-width-none);
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  padding: var(--pine-dimension-none);
  align-items: center;
  color: var(--pine-color-text-secondary);
  display: inline-flex;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}
.pds-tab.is-active, .pds-tab[aria-selected=true] {
  color: var(--pine-color-text);
}
.pds-tab.is-active .pds-tab__content::after, .pds-tab[aria-selected=true] .pds-tab__content::after {
  opacity: 1;
}
.pds-tab:hover:not(:disabled) {
  color: var(--pine-color-text);
}
.pds-tab:focus {
  outline: none;
}
.pds-tab:focus-visible {
  outline: var(--pine-outline-focus);
  outline-offset: var(--pine-border-width);
}
.pds-tab:disabled, .pds-tab.is-disabled {
  color: var(--pine-color-text-disabled);
  cursor: not-allowed;
}
.pds-tab .pds-tab__content {
  font-family: var(--pine-font-family-body);
  font-size: var(--pine-font-size);
  font-weight: var(--pine-font-weight-medium);
  letter-spacing: var(--pine-letter-spacing);
  line-height: var(--pine-line-height-body);
  padding-block-end: 11px;
  position: relative;
}
.pds-tab .pds-tab__content::after {
  background-color: var(--pine-color-brand);
  content: "";
  height: 3px;
  inset-block-end: var(--pine-dimension-none);
  inset-inline-end: var(--pine-dimension-none);
  inset-inline-start: var(--pine-dimension-none);
  opacity: 0;
  position: absolute;
}
.pds-tab .pds-tab-edge {
  display: none;
}

.pds-tabs--availability {
  --color-background-tab: transparent;
}
.pds-tabs--availability .pds-tab {
  background-color: var(--color-background-tab);
  border-radius: calc(var(--pine-dimension-xs) * 1.25) calc(var(--pine-dimension-xs) * 1.25) var(--pine-dimension-none) var(--pine-dimension-none);
  color: var(--pine-color-text-secondary);
  padding: 8px 16px 13px;
}
.pds-tabs--availability .pds-tab.is-active, .pds-tabs--availability .pds-tab[aria-selected=true] {
  --color-background-tab: var(--pine-color-secondary);
  color: var(--pine-color-text);
}
.pds-tabs--availability .pds-tab.is-active .pds-tab__content::after, .pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab__content::after {
  opacity: 1;
}
.pds-tabs--availability .pds-tab.is-active .pds-tab-edge, .pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab-edge {
  z-index: var(--pine-z-index-raised);
}
.pds-tabs--availability .pds-tab:hover:not(.is-active, [aria-selected=true], :disabled) {
  --color-background-tab: var(--pine-color-secondary-hover);
  color: var(--pine-color-text);
}
.pds-tabs--availability .pds-tab:focus-visible {
  color: var(--pine-color-text-secondary);
}
.pds-tabs--availability .pds-tab:disabled, .pds-tabs--availability .pds-tab.is-disabled {
  --color-background-tab: transparent;
  color: var(--pine-color-text-disabled);
}
.pds-tabs--availability .pds-tab__content {
  padding-block-end: 7px;
}
.pds-tabs--availability .pds-tab-edge {
  bottom: 0;
  display: block;
  height: 8px;
  inset-inline-end: 100%;
  overflow: hidden;
  position: absolute;
  width: 8px;
}
.pds-tabs--availability .pds-tab-edge::before {
  border-radius: 50%;
  bottom: 0;
  box-shadow: 4px 4px 0 0 var(--color-background-tab);
  content: "";
  display: block;
  height: 200%;
  inset-inline-end: 0;
  position: absolute;
  width: 200%;
}
.pds-tabs--availability .pds-tab-edge--end {
  inset-inline-end: unset;
  inset-inline-start: 100%;
}
.pds-tabs--availability .pds-tab-edge--end::before {
  box-shadow: -4px 4px 0 0 var(--color-background-tab);
  inset-inline-end: unset;
  inset-inline-start: 0;
}

.pds-tabs--filter .pds-tab {
  background-color: var(--pine-color-background-muted);
  border-radius: 50px;
  color: var(--pine-color-text);
  padding: 6px 15px;
}
.pds-tabs--filter .pds-tab.is-active, .pds-tabs--filter .pds-tab[aria-selected=true] {
  background-color: var(--pine-color-primary);
  color: var(--pine-color-text-primary);
}
.pds-tabs--filter .pds-tab.is-active:hover:not(:disabled), .pds-tabs--filter .pds-tab[aria-selected=true]:hover:not(:disabled) {
  background-color: var(--pine-color-primary-hover);
}
.pds-tabs--filter .pds-tab:hover:not(.is-active, [aria-selected=true], :disabled) {
  background-color: var(--pine-color-border-disabled);
}
.pds-tabs--filter .pds-tab:disabled, .pds-tabs--filter .pds-tab.is-disabled {
  background-color: transparent;
  color: var(--pine-color-text-disabled);
}
.pds-tabs--filter .pds-tab:disabled.is-active, .pds-tabs--filter .pds-tab:disabled[aria-selected=true], .pds-tabs--filter .pds-tab.is-disabled.is-active, .pds-tabs--filter .pds-tab.is-disabled[aria-selected=true] {
  background-color: var(--pine-color-primary-disabled);
}
.pds-tabs--filter .pds-tab__content {
  padding-block-end: var(--pine-dimension-none);
}
.pds-tabs--filter .pds-tab__content::after {
  content: unset;
}

.pds-tabs--pill {
  --color-background-tab: transparent;
}
.pds-tabs--pill .pds-tab {
  background-color: var(--color-background-tab);
  border: var(--pine-border-width-thin) solid transparent;
  border-radius: var(--pine-dimension-xs);
  color: var(--pine-color-text-muted);
  flex: 1;
  height: 34px;
  justify-content: center;
}
.pds-tabs--pill .pds-tab .pds-tab__content {
  align-items: center;
  display: flex;
  justify-content: center;
  padding-block-end: 0;
}
.pds-tabs--pill .pds-tab.is-active, .pds-tabs--pill .pds-tab[aria-selected=true] {
  --color-background-tab: var(--pine-color-background-container);
  border-color: var(--pine-color-border);
  box-shadow: var(--pine-box-shadow-100);
  color: var(--pine-color-text-active);
}
.pds-tabs--pill .pds-tab.is-active:focus-visible, .pds-tabs--pill .pds-tab[aria-selected=true]:focus-visible {
  border-color: var(--color-border-focus);
  outline: var(--pine-outline-focus);
  outline-offset: var(--pine-border-width);
}
.pds-tabs--pill .pds-tab.is-active, .pds-tabs--pill .pds-tab[aria-selected=true] {
  /* stylelint-disable max-nesting-depth */
}
.pds-tabs--pill .pds-tab.is-active .pds-tab__content::after, .pds-tabs--pill .pds-tab[aria-selected=true] .pds-tab__content::after {
  opacity: 0;
}
.pds-tabs--pill .pds-tab.is-active, .pds-tabs--pill .pds-tab[aria-selected=true] {
  /* stylelint-enable max-nesting-depth */
}
.pds-tabs--pill .pds-tab:disabled, .pds-tabs--pill .pds-tab.is-disabled {
  color: var(--pine-color-text-disabled);
}