@import '../../theme.scss';

$background-color: rgba(33, 33, 33, 0.9);

.root {
  display: flex;
  flex-direction: column;
  text-align: left;
  color: #cccccc;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  // TODO: remove once player fix the font
  * {
    font-family: sans-serif;
    font-style: normal;
  }
}

.header-container {
  padding: 12px 16px 0 16px;

  .header {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 29px;
    width: 100%;
    font-size: 14px;
    border-bottom: 1px solid rgba(102, 102, 102, 0.9);
  }

  .title {
    margin-left: 9px;
    line-height: 28px;
    font-size: 15px;
    color: #cccccc;
  }

  .close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: none;
    margin-top: 2px;
    width: 32px;
    height: 24px;
    cursor: pointer;
    background: transparent;
  }
}

.flexible-main {
  @include plugin-scrollbar();
  flex: 1 1 0%;
  overflow: auto;
  margin-left: 16px;
  margin-right: 6px;
  padding-right: 6px;
}

.footer {
  position: relative;
  margin: 8px 16px 14px 16px;
}

.no-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.no-Question-wrapper {
  width: 100%;
  height: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.empty-list-img-properties {
  height: 50%;
  width: 70%;
  max-width: 70%;
  margin: 4px 0 8px 0;
  background-size: contain;
  display: contents;
  svg {
    width: 50%;
  }
}

.empty-list-title {
  font-size: 18px;
  font-weight: bold;
  color: rgba(153, 153, 153, 0.9);
  text-align: center;
}

.empty-list-sub-title {
  text-align: center;
  font-size: 14px;
  color: rgba(153, 153, 153, 0.9);
}

.messages-end-anchor {
  float: left;
  clear: both;
}

.scroll-down-button {
  position: absolute;
  z-index: 0;
  top: -40px;
  right: 2px;
  transition-property: top;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  transition-duration: 0.15s;
}

.scroll-down-button-hidden {
  visibility: hidden;
  top: 1px;
  transition-property: top;
  transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.scroll-down-button-hidden-announcement-only {
  top: 20px;
}
