:root {
  --error400: #ef4444;
  --error500: #e63535;
}

* {
  font-family: "SF Pro Display", sans-serif;
}

.align-button-table {
  vertical-align: right;
}

.texto {
  width: 25vw; /* Defina a largura desejada para a sua div */
  overflow: hidden;
  text-overflow: ellipsis;
}

.texto:hover {
  white-space: normal;
}

.container-margin-top {
  margin-top: 69px;

  @media screen and (max-width: 1023px) {
    margin-top: 69px;
  }
}

.content-Personalizado {
  background-image: url(https://br.pinterest.com/pin/920915823773024634/);
}

.input-error {
  color: var(--error400);
}

/* Estilo para o elemento de loading */
.loading {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -20px;
  margin-left: -20px;
  z-index: 99999;
}

.invalid-button {
  background-color: var(--error400);
  color: white;

  &&:hover {
    background-color: var(--error500);
    color: white;
  }
  &&:active {
    background-color: var(--error500);
    color: white;
  }
}

.invalid-informations-auth {
  background-color: #fee2e2;
  border-color: #e63535;

  &&::placeholder {
    color: #e63535;
  }

  &&:focus {
    background-color: #fee2e2;
    border-color: #e63535;
  }
}

/* Animação de rotação */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.conversation-list {
  border-bottom: 1px solid #ddd;
  padding: 15px;
  display: flex;
  align-items: center;
}
.conversation-list:hover {
  background-color: #f5f5f5;
  cursor: pointer;
}
.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}
.search-bar {
  border-radius: 20px;
}

.header {
  background-color: #075e54;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
}
.header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
.header h4 {
  margin: 0;
  font-size: 18px;
}
.conversation-container {
  background-color: #fff;
  padding: 20px;
  height: calc(
    100vh - 60px
  ); /* Ajustando a altura para levar em conta o cabeçalho */
}
.message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}
.message .sender {
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}
.message .message-text {
  background-color: #dcf8c6;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  max-width: 70%;
}
.your-message {
  align-items: flex-end;
}
.your-message .message-text {
  background-color: #dcf8c6;
}

#arquivosAnexados {
  margin-top: 10px;
}

.arquivo {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.nome-arquivo {
  margin-left: 10px;
}

.remover-arquivo {
  cursor: pointer;
  color: red;
  margin-left: 10px;
}

.btn-pncp {
  background-color: #405189;
  cursor: pointer;
  height: 37.5px;

  &&:hover {
    background-color: #364574;
  }
}

.svg-img svg path {
  fill: red; /* Define a cor de preenchimento do caminho dentro do SVG */
}

.notification {
  background-color: red;
  border-radius: 20px;
  width: 28px;
  height: 19px;
  text-align: center;
  position: fixed;
  top: 16px;
  margin-left: 23px;
  z-index: 9999;

  color: white;
}

.div-notificacoes-enable {
  opacity: 1;
  z-index: 99999;
  position: absolute;
  background-color: white;
  color: #495057;
  text-align: center;
  min-height: 70px;
  max-height: 300px;
  height: auto;
  top: 50px;
  margin-left: 0px;
  border-radius: 6px;
  width: 260px;
  box-shadow: 0 5px 10px rgba(30, 32, 37, 0.12);

  transition: all 0.5s
    linear(
      0 0%,
      0 1.8%,
      0.01 3.6%,
      0.03 6.35%,
      0.07 9.1%,
      0.13 11.4%,
      0.19 13.4%,
      0.27 15%,
      0.34 16.1%,
      0.54 18.35%,
      0.66 20.6%,
      0.72 22.4%,
      0.77 24.6%,
      0.81 27.3%,
      0.85 30.4%,
      0.88 35.1%,
      0.92 40.6%,
      0.94 47.2%,
      0.96 55%,
      0.98 64%,
      0.99 74.4%,
      1 86.4%,
      1 100%
    );
  transform: translate(-100%, 0%);
  overflow-y: hidden;
}

.div-notificacoes-enable.scrollable {
  overflow-y: scroll; /* Ative a barra de rolagem quando necessário */
}

.div-notificacoes.link-notificacao a {
  display: none;
}

.div-notificacoes {
  opacity: 0;
  z-index: 0;
  position: absolute;
  background-color: #f3f3f9;
  text-align: center;
  height: 0px;
  top: 50px;
  margin-left: 0px;
  border-radius: 6px;
  width: 0px;
  transform: translate(-100%, 0%);
}

.link-notificacao {
  min-height: 40px;
  height: 90px;
  display: flex;
  flex-direction: column;
}
.link-notificacao:hover {
  background-color: #f3f3f9;
}

@media (min-width: 1201px) {
  .div-notificacoes-enable {
    width: 500px; /* Altere o valor de acordo com suas necessidades */
  }
}
