.tester-container{
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 2001;
}
.chatbot-button{
    position: fixed;
    bottom: 0;
    right: 0;
    background: #133154;
    border-radius: 100%;
    height: 90px;
    width: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin: 0.5em;
    cursor: pointer;
}
.chatbot-button i{
    font-size: 35px;
}
.chatbot-container{
    display: none;
    background-color: #f6f6f6;
    position: absolute;
    right: 0;
    bottom: 0;
    margin-right: 70px;
    margin-bottom: 70px;
    height: 50em;
    width: 35em;
    /* display: flex; */
    flex-direction: column;
    box-shadow: 5px 5px 10px gray;
    border-radius: 10px;
}

/* Celulares */
@media (max-width: 768px) {
  .chatbot-container {
    margin-right: 0;
    margin-bottom: 0;
    height: 100vh !important;
    width: 100vw !important;
  }

  /* .chatbot-button{
    display: none;
  } */
}



.chatbot-header {
  width: 100%;
  background: linear-gradient(to right, #40699A, #03080E);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  padding: 1.2em;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
}

.header-left{
    display: flex;
    align-items: center;
    justify-content: center;
    /* flex: 1; */
}

.header-right{
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-right i{
    font-size: 18px;
    padding: 0 0.5em;
}

.header-p{
    font-size: 14px;
    /* font-weight: 600; */
    margin: 0;
    color: #fff;
}
.header-title{
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #fff;
    /* white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; */
}
.header-icon{
    font-size: 40px;
    color: #ffffff;
}

.chatbot-body{
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}
.chatbot-footer{
    padding: 1.5em;
    display: flex;
    align-items: center;
}
.chatbot-footer input{
    flex: 1;
}

.footer-icon{
    font-size: 25px;
    color: #898989;
    padding: 0 0.2em;
    cursor: pointer;
}
.footer-icon:hover{
    color: #133154;
}
.chatbot-input{
    all: unset;
    font-family: 'Overpass';
    border: none !important;
    background: none;
    outline: none;
    box-shadow: none;
    font-size: 16px;
}
.chatbot-input::placeholder{
    font-family: 'Overpass';
}

.divide-line{
    background: #a4a4a4;
    width: 90%;
    margin: 0 auto;
    height: 1px;
    border: none;
}

.chatbot-body{
    padding: 1.5em;
}
.bot-message{
    /* background: linear-gradient(to right, #40699A, #03080E);
    color: #fff; */
    background: var(--BID_SOFT);
    color: var(--BID_PRIMARY_BLACK_2A);
    padding: 1em;
    border-radius: 10px;
    font-family: 'Overpass';
    max-width: 80%;
    margin: 0.5em 0;
    width: fit-content;

    /* margin-right: auto; */
}

.user-message{
    background: #c4c4c4;
    color: #2e2e2e;
    padding: 1em;
    border-radius: 10px;
    font-family: 'Overpass';
    margin: 0.5em 0;
    max-width: 80%;
    margin-left: auto;
    width: fit-content;
}

.chart-message{
    background: #ffffff !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
    box-shadow: 1px 1px 5px gainsboro;
}
.date-label{
    color: #133154;
    text-align: center;
    font-weight: 100;
    font-size: 0.9em;
}

.follow-container{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 10px;
}
.follow-question{
    display: flex;
    align-items: center;
    text-wrap: nowrap;
    text-overflow: ellipsis;
    font-family: 'Overpass';
    /* font-size: 13px; */
    border: 2px solid #565656;
    border-radius: 30px;
    padding: 0.2em 1em;
    cursor: pointer;
}
.follow-question:hover{
    background: #565656;
    color: #ffffff;
}

.sources-container {
    display: flex;
    border-radius: 12px;
    font-family: 'Overpass';
    font-size: 10px;
    padding-bottom: 10px;
}

.source-item {
    background: #f0f0f0;
    border-radius: 20px;
    margin-right: 15px;
}

.source-item a {
    text-decoration: none;
    color: #133154;
    padding: 5px 5px;
    display: block;

}

.custom-tooltip {
  position: relative;
  cursor: pointer;
}

.custom-tooltip::after {
  content: attr(data-url);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 5px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  font-size: 12px;
}

.custom-tooltip:hover::after {
  opacity: 1;
}


.options-window::before{
     content: "";
    position: relative;
    /* top: 0; */
    background: blue;
    width: 0;
    height:0;
    border-left: 10px solid none ;
    border-right: 10px solid none ;
    border-top: 10px solid none ;
    border-bottom: 10px solid blue ;
    z-index: 2000;
}
.options-window{
    background: #333333;
    position: absolute;
    display: flex;
    height: 6em;
    flex-direction: column;
    bottom: 0;
    /* right: 0; */
    transform: translateY(6em);
    /* border-radius: 10px; */
    z-index: 1001;
}
.options-selector{
    flex: 1;
    display: flex;
    padding: 0 1em;
    align-items: center;
    font-family: 'Overpass' !important;
    color: #ffffff;
    cursor: pointer;
    text-wrap: nowrap;
}
.options-selector i{
    font-size: 12px;
}
.options-selector:hover{
    background: #898989;
}



.chat-bubble.typing {
  /* background-color: #eee; */
  /* border-radius: 20px; */
  /* padding: 10px 15px; */
  width: fit-content;
  display: flex;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 100%;
  animation: blink 1.5s infinite;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}
.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0% { opacity: 0.2; transform: translateY(0); }
  20% { opacity: 1; transform: translateY(-3px); }
  100% { opacity: 0.2; transform: translateY(0); }
}

