.playground {
  font-family: 'Inter', sans-serif;
}

.playground__form {
  padding: 1rem;
}

.playground__logo {
  display: block;
  margin-bottom: 2rem;
  margin-left: -.6rem;
}

.playground__logo-image {
  max-width: 12rem;
  width: 100%;
  height: auto;
}

.playground__container {
  display: flex;
  justify-content: center;
  align-items: safe center;
  padding: 0 1rem;
  background-image: linear-gradient(190deg,rgba(0, 222, 150, 1) 0%, rgba(3, 46, 97, 1) 100%);
}

.playground__calendar,
.playground__booking-flow,
.playground__my-environment {
  background-color: #fff;
  border-radius: 1rem;
  max-width: 30rem;
  width: 100%;
  padding: 1rem;
  margin: 2rem 0;
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, 0.15);
}

.playground__booking-flow {
  max-width: 70rem;
}

.playground__my-environment {
  max-width: 70rem;
  background-color: transparent;
  padding: 0;
  box-shadow: none;
}

.playground__form-group {
  margin-bottom: 1rem;
}

.playground__form-label {
  font-size: .875rem;
  display: block;
  margin-bottom: .5rem;
  color: #555;
}

.playground__form-control {
  display: block;
  width: 100%;
  height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid #ccc;
  border-radius: .5rem;
}

.playground__form-control:focus {
  border: 1px solid #fdbb2d;
  box-shadow: 0 0 0 4px rgba(253, 187, 45, 0.2);
  outline: none;
}

.playground__button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  padding: 0 1rem;
  background-color: #fdbb2d;
  border-radius: .5rem;
  cursor: pointer;
  transition: background-color .1s ease;
}

.playground__button:hover,
.playground__button:focus {
  background-color: #e6a323;
}

.playground__docs {
  background-color: #eee;
  color: #333;
}

.playground__docs:hover,
.playground__docs:focus {
  background-color: #ddd;
  color: #333;
}

.playground__form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.playground__tooltip {
  position: relative;
  display: inline-flex;
  margin-left: .3125rem;
}

.playground__tooltip-icon {
  font-style: italic;
  font-family: serif;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background-color: #eee;
  transition: background-color .1s ease;
}

.playground__tooltip-icon:hover,
.playground__tooltip-icon:focus {
  background-color: #ddd;
}

.playground__tooltip-content {
  display: none;
  position: absolute;
  bottom: calc(100% + .5rem);
  left: -.5rem;
  min-width: 15rem;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: .5rem;
  padding: 1rem;
  z-index: 1000;
}

.playground__tooltip:hover .playground__tooltip-content {
  display: block;
}

.playground__route-toggle {
  display: flex;
  align-items: center;
  column-gap: .25rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: .5rem;
  padding: .25rem;
}

.playground__route-toggle a {
  flex-grow: 1;
  text-decoration: none;
  color: #333;
  text-align: center;
  padding: .75rem 1.25rem;
  border-radius: .5rem;
  background-color: #fafafa;
  font-size: .875rem;
  border-radius: .25rem;
}

.playground__route-toggle a:hover,
.playground__route-toggle a:focus {
  background-color: #eee;
}

.playground__route-toggle a.is-active {
  background-color: #555;
  color: #fff;
}

@media (min-width: 768px) {
  .playground__container {
    padding: 0 2rem;
  }

  .playground__calendar,
  .playground__booking-flow {
    padding: 2rem;
  }
}

@media (min-width: 992px) {
  html,
  body {
    overscroll-behavior: contain;
  }

  .playground {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    height: 100vh;
  }

  .playground__form {
    grid-column: span 2;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .playground__container {
    grid-column: span 6;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
