    /* Botão flutuante */
    .floating-button {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: transparent;
      background-image: url('https://cdn-icons-png.flaticon.com/256/2021/2021646.png');
      background-size: cover;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      border: none;
      z-index: 1000; /* Garante que esteja acima de outros elementos */
    }

    /* Tooltip */
    .floating-button:hover .tooltip-wiki {
      display: block;
    }

    .tooltip-wiki {
      position: absolute;
      background-color: #7f590e;
      color: yellow;
      padding: 10px;
      border-radius: 5px;
      display: none; /* Inicia oculto */
      bottom: calc(16% + 10px); /* Posiciona abaixo do botão flutuante */
      right: -106%; /* Posiciona à direita do botão flutuante */
      transform: translateX(-50%);
      white-space: nowrap; /* Evita que o texto quebre em várias linhas */
      z-index: 1100; /* Acima do botão flutuante */
    }

    /* Setinha à direita do tooltip */
   .tooltip-wiki::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -14px;
    transform: rotate(180deg);
    border-width: 8px;
    border-style: solid;
    border-color: transparent #7f590e transparent transparent;
}


 *, *::before, *::after {
    box-sizing: border-box;
  }
  .bg {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: url('https://images.unsplash.com/photo-1451186859696-371d9477be93?crop=entropy&fit=crop&fm=jpg&h=975&ixjsv=2.1.0&ixlib=rb-0.3.5&q=80&w=1925') no-repeat 0 0;
    filter: blur(80px);
    transform: scale(1.2);
  }
.chat {
    position: fixed;
    bottom: 5px;
    right: 12px;
    width: 470px;
    padding: 1px;
    border: 1px solid #e7e7e73d;
    height: 92vh;
    max-height: 92VH;
    font-size: 20px;
    z-index: 199;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    background: rgb(35 22 1 / 97%);
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    transition: transform 0.3s ease-out;
    transform: translateY(100%);
}
.chat-visible {
 transform: translateY(0); /* Transformação para mostrar o chat */
}
.chat-title {
    flex: 0 1 43px;
    position: relative;
    z-index: 2;
    background: rgb(0 0 0 / 40%);
    color: #fff;
    text-transform: uppercase;
    text-align: left;
    padding: 10px 10px 10px 50px;
}
.chat-title h1, .chat-title h2 {
    font-size: 18px;
    margin: 0;
    color: #e2ff00;
    padding: 0;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 1px black;
    font-family: 'PT Sans';
}
.chat-title h2 {
    color: rgb(0 206 255 / 92%);
    font-size: 10px;
    letter-spacing: 1px;
}
  .chat-title .avatar {
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 9px;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.24);
  }
  .chat-title .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .messagewikis {
    flex: 1 1 auto;
    color: rgba(255, 255, 255, .5);
    overflow: hidden;
    position: relative;
    width: 100%;
  }
  .messagewikis-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 101%;
    width: 100%;
  }
.messagewiki {
    clear: both;
    float: left;
    padding: 6px 10px 7px;
    border-radius: 10px 10px 10px 0;
    background: rgba(0, 0, 0, .3);
    margin: 8px 0;
    font-size: 20px;
    line-height: 1.4;
    width: 85%;
    color: #ffffffba;
    margin-left: 35px;
    position: relative;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .2);
}
  .timestamp {
    position: absolute;
    bottom: -15px;
    font-size: 9px;
    color: rgba(255, 255, 255, .3);
  }
  .messagewiki::before {
    content: '';
    position: absolute;
    bottom: -6px;
    border-top: 6px solid rgba(0, 0, 0, .3);
    left: 0;
    border-right: 7px solid transparent;
  }
  .messagewiki .avatar {
    position: absolute;
    z-index: 1;
    bottom: -15px;
    left: -35px;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.24);
  }
  .messagewiki .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.messagewiki.messagewiki-personal {
    float: right;
    color: #fff;
    max-width: fit-content;
    text-align: right;
    background: linear-gradient(120deg, #248a52, #257287);
    border-radius: 10px 10px 0 10px;
}
  .messagewiki.messagewiki-personal::before {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 5px solid transparent;
    border-top: 4px solid #257287;
    bottom: -4px;
  }
  .messagewiki:last-child {
    margin-bottom: 30px;
  }
  .messagewiki.new {
    transform: scale(0);
    transform-origin: 0 0;
    animation: bounce 500ms linear both;
  }
  .messagewiki.loading::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    z-index: 2;
    margin-top: 4px;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    border: none;
    animation-delay: 0.15s;
  }
  .messagewiki.loading span {
    display: block;
    font-size: 0;
    width: 20px;
    height: 10px;
    position: relative;
  }
  .messagewiki.loading span::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    z-index: 2;
    margin-top: 4px;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    margin-left: -7px;
  }
  .messagewiki.loading span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: '';
    display: block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    z-index: 2;
    margin-top: 4px;
    animation: ball 0.45s cubic-bezier(0, 0, 0.15, 1) alternate infinite;
    margin-left: 7px;
    animation-delay: 0.3s;
  }
  .messagewiki-box {
    flex: 0 1 40px;
    width: 100%;
    background: rgba(0, 0 , 0, 0.3);
    padding: 10px;
    position: relative;
  }
.messagewiki-input {
    background: none;
    border: none;
    outline: none !important;
    resize: none;
    color: rgba(255, 255, 255, .7);
    font-size: 17px;
    height: 24px;
    margin: 0;
    padding-right: 20px;
    width: 374px;
}
  .messagewiki-box textarea:focus:-webkit-placeholder {
    color: transparent;
  }
.messagewiki-submit {
    position: absolute;
    z-index: 1;
    top: 6px;
    right: 10px;
    color: #fff;
    border: none;
    background: #248a77;
    font-size: 18px;
    text-transform: uppercase;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 10px;
    outline: none !important;
    transition: background 0.2s ease;
}
  .messagewiki-submit:hover {
    background: #1d7745;
  }
  .mCSB_scrollTools {
    margin: 1px -3px 1px 0;
    opacity: 0;
  }
  .mCSB_inside > .mCSB_container {
    margin-right: 0px;
    padding: 0 10px;
  }
  .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background: #248a52;
  }
  .mCSB_scrollTools .mCSB_buttonDown {
    width: 10px;
    height: 10px;
    display: block;
    background: transparent;
    margin: 0 auto;
    border: none;
  }
  .mCSB_scrollTools .mCSB_draggerRail {
    margin: 0;
    width: 2px;
    background: transparent;
    right: 4px;
    left: auto;
  }
  @keyframes bounce {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    50% {
      transform: scale(1.2);
      opacity: 1;
    }
    100% {
      transform: scale(1);
    }
  }
  @keyframes ball {
    0% {
      opacity: 0.5;
      transform: translateY(0);
    }
    100% {
      opacity: 1;
      transform: translateY(-3px);
    }
  }
  .messagewiki-box::-webkit-input-placeholder {
    color: rgba(255, 255, 255, .3);
  }
  .messagewiki-box::-moz-placeholder {
    color: rgba(255, 255, 255, .3);
  }
  .messagewiki-box:-ms-input-placeholder {
    color: rgba(255, 255, 255, .3);
  }
  .messagewiki-box:-moz-placeholder {
    color: rgba(255, 255, 255, .3);
  }
  .fa-file-o, .fa-file-o:before {
    display: none !important;
  }
  .mCSB_scrollTools {
    right: 0;
  }
  
@keyframes ball {
  from {
    transform: translateY(0) scaleY(0.8);
  }
  from {
    transform: translateY(-10px);
  }
}
  .category-option-button {
      background-color: #cc8a20; /* Cor laranja */
      color: white; /* Texto branco */
      border: none;
      padding: 10px 20px;
      margin: 5px;
      text-shadow: 1px 1px 1px black;
      cursor: pointer;
      border-radius: 5px;
      outline: none;
    }

    .category-option-button:hover {
      background-color: #e67e22; /* Cor laranja mais escura no hover */
    }

    .category-option-button.clicked {
      background-color: #66ab0a; /* Cor verde quando clicado */
    }

 .category-button, .category-info-option {
    background-color: #1e1b16;
    color: white;
    font-weight: bold;
    border: 1px solid white;
    padding: 6px 10px;
    font-family: inherit;
    margin: 5px;
    cursor: pointer;
    text-shadow: 1px 1px 1px black;
    border-radius: 5px;
    outline: none;
}

    .category-button:hover, .category-info-option:hover {
      background-color: #e67e22; /* Cor laranja mais escura no hover */
    }

    .category-button.clicked, .category-info-option.clicked {
      background-color: #66ab0a; /* Cor verde quando clicado */
    }

    .back-button {
      background-color: #e74c3c; /* Cor vermelha */
      color: white; /* Texto branco */
      border: none;
        padding: 6px 10px;
      margin: 5px;
      cursor: pointer;
      border-radius: 5px;
      outline: none;
    }

    .back-button:hover {
      background-color: #c0392b; /* Cor vermelha mais escura no hover */
    }
	
	.wiki-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
      z-index: 100;
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}
.wiki-close-button:hover {
  color: #ff0000;
}
