
#login {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

#login input {
    border-radius: 5px;
    border: 1px solid #393939;
    padding: 10px;
    font-size: 16px;
    max-width: 90%;
    background: #0d0d0d;
    color: #757575;
}

#login button {
    border-radius: 5px;
    border: 1px solid #000000;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: #3f3f3f;
    color: #a5a5a5;
}

#chat {
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.users {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  word-break: break-word;
}

.messages {
  height: 400px;
  overflow-y: auto;
  border: 1px solid #181818;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.message {
  padding: 5px 10px;
  margin: 5px 0;
  border-radius: 20px;
  max-width: 80%;
  word-wrap: break-word;
}

.message.self {
  background: #0088cc;
  color: #fff;
  align-self: flex-end;
  margin-left: auto;
}
.message.self b{
    display: none;
}
.message.other {
  background: #e4e6eb;
  color: #000;
  align-self: flex-start;
}

.typing {
  font-style: italic;
  color: #555;
  margin-bottom: 5px;
}

.input-area {
  display: flex;
  flex-wrap: wrap;
}

#msg {
  flex: 1;
  padding: 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
  min-width: 0;
}
#chatFooter{
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    gap: 5px;
}
#send {
    background-color: #0088cc;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    width: 37px;
    height: 37px;
}

#send:hover {
  background-color: #006699;
}

#send svg {
  width: 24px;
  height: 24px;
  stroke: white; /* face iconița albă */
}

.message.system {
  background: #ffcccc;
  color: #900;
  text-align: center;
  align-self: center;
  max-width: 100%;
  border-radius: 10px;
}

