#chat-messages {
    list-style: none;
}

.input-wrapper {
    position: relative;
}

#fileName {
    color: #F6F6F6;
    font-size: 10px;
    position: absolute;
    top: 45px;
    left: 2px;
}

.input-wrapper label {
    background-color: #008080;
    color: #F6F6F6;
    cursor: pointer;
}

#message-input {
    border-radius: 10px;
    padding: 12px;
}

.message-sent {
    text-align: right;
    border-radius: 15px;
    background-color: #00453D;
}

.message-received {
    text-align: left;
    border-radius: 15px;
    background-color: #E8E8E8;
    color: black;
}

.message-sent, .message-received {
    max-width: 70%;
    min-width: 15%;
    margin-bottom: 15px;
    /* padding: 10px; */
    overflow-wrap: break-word
}

.message-meta {
    position: absolute;
    bottom: 3px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 5px; /* Espaço entre o horário e o status */
}

.message-time, .message-status {
    font-size: 0.9rem; /* Tamanho da fonte ajustável */
    color: #6c757d; /* Cor do texto ajustável */
}

.read {
    color: #53bdeb;
}

.receiver {
    background-color: #E8E8E8; /* Cor de fundo do balão do destinatário */
    align-self: flex-start;
    border-bottom-left-radius: 0;
    margin-right: auto; /* Alinha à esquerda */
}

.receiver::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 0;
    width: 0;
    height: 0;
    /* border-right: 10px solid #E8E8E8; */
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.sender {
    background-color: #00453D; /* Cor de fundo do balão do remetente */
    align-self: flex-end;
    border-bottom-right-radius: 0;
    margin-left: auto; /* Alinha à direita */
}

.sender::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    width: 0;
    height: 0;
    /* border-left: 10px solid #00453D; */
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

#sentButton {
    margin: 10px;
}

#addFileImage {
    cursor: pointer;
    margin: 10px;
}


/* typing_indicator.css */
.typing-indicator .dots {
    display: flex;
    margin-left: 8px;
  }
  
  .typing-indicator .dot {
    width: 6px;
    height: 6px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    animation: blink 1.4s infinite;
  }
  
  .typing-indicator .dot:nth-child(2) {
    animation-delay: 0.2s;
  }
  .typing-indicator .dot:nth-child(3) {
    animation-delay: 0.4s;
  }
  
  @keyframes blink {
    0%, 80%, 100% { opacity: 0.2 }
    40% { opacity: 1 }
  }
  