
.dialog-root {
  .dialog-content {
    & > div:nth-child(2) {
      overflow: hidden;
    }
  }

  .dialog-body {
    overflow: hidden !important;
    height: 500px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
  }

  .search-container {
    margin: 16px 32px 0 32px;
  }

  .search-input {
    background: #374146;
    border-radius: 0;
    border: none;
    font-size: 12px;
    color: inherit;
    align-items: center;
  }

  .library-list {
    height: 100%;
    flex: 1;
    overflow-y: scroll;
    overflow-x: auto;
  }

  .library-empty {
    padding: 16px 32px;
    opacity: 0.7;
    font-size: 14px;
  }

  .library-list-skeleton {
    display: flex;
    flex-direction: column;
    padding: 12px 32px;
    gap: 20px;
    opacity: 0.1;
    width: 100%;
    @for $i from 1 through 5 {
      & :nth-child(#{$i}) {
        flex: none;
        height: 20px;
        width: percentage(calc((random(60) + 8) / 100));
      }
    }
  }

  ::-webkit-scrollbar {
    width: 16px;
  }

  ::-webkit-scrollbar-thumb {
    border: 4px solid #232b2e;
  }
}
