@import "src/style/vars_mixins";

.wn-container {
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  margin-top: 1rem;

  .skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .accordion {
    &:last-child {
      margin-bottom: 1rem;
    }
  }

  .wn-item, .wn-item-content, .wn-item-skeleton {
    border: 1px solid $border-color;

    @include font-size(0.875rem);
    @include border-radius(1rem);
    @include padding(0.75rem);
  }

  .wn-item {
    color: $primary;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;

    &:hover, &:focus, &:active {
      color: darken($primary, 20);
    }

    &-skeleton {

    }
  }

  .wn-label {
    opacity: 0.5;
    font-weight: 500;
    margin-bottom: 0;

    @include font-size(0.875rem);
  }

  .wn-item-content {
    line-height: 1.25;
    background-color: rgba($primary, 0.05);
    border: 0;

    @include font-size(0.875rem);
    @include padding(1rem);
    @include margin-top(0.5rem);

    h2 {
      font-weight: bold;
      color: $secondary;

      @include font-size(1rem);
    }

    ul {
      @include padding(1rem);

      li {
        @include padding(0.5rem);

        &:first-child {
          padding-top: 0;
        }

        &:last-child {
          padding-bottom: 0;
        }
      }
    }
  }
}