@import 'styles/Variables.scss';

.leftPanel {
  height: 100vh;
  font-size: 0.8rem;
  flex-basis: 20em;
  display: flex;
  flex-flow: column nowrap;
  margin-left: 1rem;

  .listWrapper {
    flex: 1 1 auto;
    display: flex;
    padding: 6px;

    & > * {
      width: 100%;
    }

    &.emptyList .emptyState {
      align-self: center;
      text-align: center;
      margin-top: -100%;

      & > *:first-child {
        margin: 1em auto;
      }
    }
  }

  a {
    padding: 5px 1em 5px 2em;
    justify-content: space-between;
    align-content: space-around;
    flex-wrap: wrap;
  }
}

.filterWrapper {
  position: relative;

  :global(.close) {
    position: absolute;
    top: 1em;
    right: 1em;
  }
}

.filterInput {
  margin-left: 0;
  margin-right: 0;
  padding-right: 3em;
}

.dex,
.form {
  font-size: 0.8em;
  text-transform: capitalize;
}

.form {
  flex: 0 1 100%;
}
