* {
  box-sizing: border-box;
}

body {
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

code {
  font-weight: bold;
  font-size: 1rem;
}

.loading {
  font-size: 2rem;
  text-align: center;
}
#app {
  width: 100%;
  max-width: 1000px;
}

.text {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.input-wrapper {
  position: relative;

  .hint {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border: 1px solid transparent;
    color: #ccc;
    user-select: none;
  }
  
  input {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    border: 1px solid #ccc;
    background: transparent;
    color: #000000;
  }

  input,
  .hint {
    padding: 8px;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.2;
    white-space: pre;
  }
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;

  li {
    width: 100%;
    max-width: 1000px;
    padding: 4px 16px;
    border: 1px solid #ccc;
    border-top: none;

    &.selected {
      background: #9bbee0;
    }
  }
}
