/* --------------------- Type showcase (interactief) --------------------- */

.type-showcase .container {
  display: flex;
  flex-direction: column;
  min-height: 60vh;
  padding-top: 40px;
  padding-bottom: 40px;
}

.type-showcase__title {
  margin-bottom: 24px;
}

.type-showcase__empty {
  color: #9ca3af;
  font-family: 'BricolageGrotesque', sans-serif;
}

.type-showcase__controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 20px;
  margin-bottom: 24px;
}

.type-showcase__controls-left {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.type-showcase__controls-right {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.type-showcase__select {
  font-family: 'BricolageGrotesque', sans-serif;
  font-size: .9rem;
  color: var(--black);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  border-radius: 100px;
  background-color: var(--pink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding: 12px 46px 12px 20px;
  cursor: pointer;
}

.type-showcase__slider-label {
  font-family: 'BricolageGrotesque', sans-serif;
  font-size: .85rem;
  opacity: .7;
}

.type-showcase__slider-pill {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 100px;
  background-color: var(--pink);
}

.type-showcase__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: transparent;
  cursor: pointer;
}

.type-showcase__slider::-webkit-slider-runnable-track {
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

.type-showcase__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--black);
  cursor: pointer;
}

.type-showcase__slider::-moz-range-track {
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

.type-showcase__slider::-moz-range-progress {
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

.type-showcase__slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--black);
  cursor: pointer;
  box-sizing: border-box;
}

.type-showcase__preview-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, .12);
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  transition: border-color .15s;
}

.type-showcase__preview-wrap:focus-within {
  border-color: rgba(0, 0, 0, .35);
}

.type-showcase__preview {
  line-height: 1.15;
  outline: none;
  text-align: center;
  word-break: break-word;
}

@media screen and (max-width: 900px) {
  .type-showcase .container {
    min-height: 50vh;
  }

  .type-showcase__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .type-showcase__controls-right {
    min-width: 0;
  }
}
