@use "sae-lib/src/styles/variables.scss" as variables;

.panel-more-inside {
  border-radius: 10px;
  background: #F5F5F5;
  padding: 20px 16px;
  height: 100vh;
  margin-top: 14px;


  .main-title {
    color: #1E1F22;

    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }

  .sources-list {
    margin-top: 17px;
    height: 90vh;
    overflow: auto;
  }

  .source {
    border-radius: 4px;
    background: #ECF3FA;
  }

  .bottom-gradient {
    border-radius: 8px 8px 0 0;
    background: linear-gradient(354deg, #F5F5F5 27.6%, rgba(255, 255, 255, 0.72) 47.82%, rgba(245, 245, 245, 0.00) 72.79%);
  }

  .filter {
    cursor: pointer;
    border-radius: 8px;
    background: rgba(59, 135, 204, 0.5);
    display: flex;
    width: 34px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 100px;
    top: 170px;
  }

}

.chips-container {
  display: inline-flex;
  padding: 4px 10px 6px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  background: #979797;
  margin-left: 12px;
  margin-right: 12px;
  position: relative;
  top: -3px;

  i {
    color: white;
  }

  .label {

    color: #FFF;
    text-align: center;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 8px; /* 66.667% */
  }

}

.export-chat-button {
  position: relative;
  right: 0;

  display: inline-flex;
  height: 44px;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;

  border-radius: 8px;
  border: 1px solid #005AA2;
  color: #005AA2;
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 100px; /* 500% */

  &:hover {
    background: #005AA2;
    color: white;
  }
}

// Dropdown styles for export buttons
.dropdown {
  position: relative;
  display: inline-block;

  &.is-active,
  &.is-hoverable:hover {
    .dropdown-menu {
      display: block;
    }
  }

  .dropdown-trigger {
    display: inline-block;
  }

  .dropdown-menu {
    display: none;
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 0;
    min-width: 175px;
    background-color: white;
    border-radius: 10px;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-top: 2px;
    margin-right: 0;

    box-shadow: 0 4px 13px 0 rgba(37, 91, 142, 0.10);

  }

  .dropdown-content {
    padding: 0.5rem 0;
  }

  .dropdown-item {
    color: #4a4a4a;
    display: block;
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 0.375rem 1rem;
    position: relative;
    cursor: pointer;
    padding-bottom: 20px;

    &:hover {
      background-color: #f5f5f5;
      color: #0a0a0a;
    }

    &.is-active {
      background-color: #3273dc;
      color: white;
    }

    i {
      margin-right: 16px;
      width: 20px;
      height: 20px;
    }

    hr {
      stroke-width: 0.5px;
      stroke: #ABABAB;
      color: #ABABAB;
      border-color: #ABABAB;
      margin-bottom: 20px;
    }
  }
}

.aside-toggle-button {
  color: white;
  color: #FFF;
  font-family: Barlow;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;

  .label {
    margin-right: 22px;
  }
}

.llm-avatar {
  background: white url("./../../../public/chatbot.png") no-repeat center center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background-size: contain;
  margin-right: 10px;
}
