:host {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: var(--pine-spacing-100);
}

:host(.pds-loader--hidden),
.pds-loader--hidden {
  border-width: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.pds-loader--spinner svg {
  --color-background-spinner: var(--pine-color-blue-300);
  --number-spinner-timing: 2s;
  --number-spinner-path-timing: 1.5s;
  animation: rotate var(--number-spinner-timing) linear infinite;
  block-size: var(--sizing-spinner);
  color: var(--color-background-spinner);
  inline-size: var(--sizing-spinner);
}

.pds-loader__spinner-path {
  stroke-width: 8px;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}
.pds-loader--typing {
  --border-radius-typing: var(--pine-border-radius-200);
  --border-radius-typing-dot: var(--pine-border-radius-round);
  --box-shadow-typing: var(--pine-box-shadow-sm);
  --color-background-typing-default: var(--pine-color-grey-200);
  --color-background-typing-dot-default: var(--pine-color-grey-500);
  --number-typing-timing: 1s;
  --opacity-typing-dot-default: 0.4;
  --opacity-typing-dot-active: 1;
  --sizing-typing-dot: calc(var(--pine-spacing-150) / 2);
  --spacing-typing-gap: var(--pine-spacing-050);
  --spacing-typing-margin-block: var(--pine-spacing-0);
  --spacing-typing-margin-inline: auto;
  --spacing-typing-padding-block: 15px;
  --spacing-typing-padding-inline: var(--pine-spacing-250);
  align-items: center;
  background-color: var(--color-background-typing-default);
  border-radius: var(--border-radius-typing);
  box-shadow: var(--box-shadow-typing);
  display: inline-flex;
  gap: var(--spacing-typing-gap);
  margin-block: var(--spacing-typing-margin-block);
  margin-inline: var(--spacing-typing-margin-inline);
  padding-block: var(--spacing-typing-padding-block);
  padding-inline: var(--spacing-typing-padding-inline);
  position: relative;
}
.pds-loader--typing span {
  background-color: var(--color-background-typing-dot-default);
  block-size: var(--sizing-typing-dot);
  border-radius: var(--border-radius-typing-dot);
  inline-size: var(--sizing-typing-dot);
  opacity: var(--opacity-typing-dot-default);
}
.pds-loader--typing span:nth-of-type(1) {
  animation: var(--number-typing-timing) typing infinite 0.3333s;
}
.pds-loader--typing span:nth-of-type(2) {
  animation: var(--number-typing-timing) typing infinite 0.6666s;
}
.pds-loader--typing span:nth-of-type(3) {
  animation: var(--number-typing-timing) typing infinite 0.9999s;
}

@keyframes typing {
  50% {
    opacity: var(--opacity-typing-dot-active);
    transform: scale(1.2);
  }
}
.pds-loader__label {
  --typography-label-default: var(--pine-font-weight-semi-bold) var(--pine-font-size-100)/var(--pine-line-height-150) var(--pine-font-family-circular);
  font: var(--typography-label-default);
}