:host {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: var(--layout-padding);
  width: 100%;
  height: 100vh;
  box-sizing: border-box;

  header {
    display: flex;
    gap: 1rem;

    h1 {
      margin-block: 0;
    }
  }
}

.adev-playground-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.adev-embedded-editor-wrapper {
  flex: 1;
}

.adev-template-select {
  label {
    color: var(--quaternary-contrast);
    font-size: 0.875rem;
    margin-block-end: 0.3rem;
    margin-inline-start: 0.45rem;
    display: block;
  }

  // cdk select button
  button {
    font-size: 0.875rem;
    border: 1px solid var(--senary-contrast);
    border-radius: 0.25rem;
    width: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 0.5rem;
    font-weight: 400;
    transition: border 0.3s ease;
    span {
      color: var(--primary-contrast);
      transition: color 0.3s ease;
      margin-inline-start: 0.1rem;
    }

    docs-icon {
      font-size: 1.3rem;
      color: var(--quaternary-contrast);
      transition: color 0.3s ease;
    }
  }
}

// select dropdown
.adev-template-dropdown {
  border: 1px solid var(--senary-contrast);
  border-radius: 0.25rem;
  padding: 0;
  transform: translateY(-0.7rem);
  background: var(--page-background);

  li {
    list-style: none;
    width: 198px;
    box-sizing: border-box;

    button {
      background: var(--page-background);
      font-size: 0.875rem;
      width: 100%;
      text-align: left;
      padding-block: 0.5rem;
      color: var(--quaternary-contrast);
      transition:
        color 0.3s ease,
        background 0.3s ease;
      font-weight: 400;

      &:hover {
        background: var(--senary-contrast);
        color: var(--primary-contrast);
      }
    }
  }
}
