.participants-screen-share-view {
  display: grid;
  grid-template-columns: 17fr 3fr;
  grid-template-rows: 1fr;
  grid-template-areas: 'speaker others';
  height: 100%;
  position: relative;
  gap: 2px;
  align-items: center;
}

.participants-screen-share-view__current-share {
  grid-area: speaker;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.participants-screen-share-view__button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  background: white;
}

.participants-screen-share-view__button:disabled {
  cursor: auto;
}

.participants-screen-share-view__previous-button {
  &:before {
    content: 'CLICK FOR THE OTHERS';
    display: block;
    padding: 20px 0;
  }
  color: white;
  grid-area: others;
  background: linear-gradient(0deg, rgba(13, 13, 13, 0) 0%, #0d0d0d 100%);
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 100%;

  &:after {
    content: '\e803';
    font-size: 24px;
    font-family: zocksiconfont, serif;
  }
}

.participants-screen-share-view__next-button {
  width: 100%;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0) 0%, #0d0d0d 100%);
  grid-area: others;
  position: absolute;
  bottom: 0;
  right: 0;
  color: white;

  &:before {
    content: 'CLICK FOR THE OTHERS';
    display: block;
    padding: 20px 0;
  }

  &:after {
    content: '\e800';
    font-size: 24px;
    font-family: zocksiconfont, serif;
  }
}

.participants-screen-share-view__participants-container {
  height: 100%;
  grid-area: others;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.participants-screen-share-view__participants {
  flex: 1 1 auto;
  height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--zocks-grey-2);
  flex-direction: column;
  display: flex;
  gap: 2px;
  scrollbar-width: none; /* Firefox 64 */
  -ms-overflow-style: none; /* Internet Explorer 11 */
  padding: 0;
  &::-webkit-scrollbar {
    /** WebKit */
    display: none;
  }

  > .participant {
    display: block;
    position: relative;
    height: unset;
    width: 100%;
    background: var(--zocks-grey-3);
    flex: 0 0 auto;
    &:not(video) {
      aspect-ratio: 16/9;
    }
  }
}
