.scrollChat {
  height: 250px;
  width: 100%;
  overflow: auto;
  border-style: solid;
  border-color: rgba(21, 0, 255, 0);
  background-color: #e5ddd5;
}

.scrollChatVisor {
  height: 230px;
  width: 100%;
  overflow: auto;
  border-style: solid;
  border-color: rgba(21, 0, 255, 0);
  background-color: #e5ddd5;
}

.sidebar {
  width: 30%;
}

.chat-container {
  margin-top: 20px;
}

.chat-header {
  background-color: #075e54;
  padding: 10px;
  text-align: center;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 15px;
  background-color: #e5ddd5;
}

.message {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-end;
}

.message-content {
  max-width: 70%;
  padding: 10px 15px;
  border-radius: 15px;
  position: relative;
}

.message-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.message-sender {
  font-weight: bold;
  font-size: 0.9em;
}

.received .message-content {
  background-color: #fff;
  margin-left: 10px;
  border-top-left-radius: 0;
}

.sent .message-content {
  background-color: #dcf8c6;
  margin-right: 10px;
  border-top-right-radius: 0;
}

.sent {
  flex-direction: row-reverse;
}

.user-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #fff;
}

.received .user-icon {
  background-color: #075e54;
}

.sent .user-icon {
  background-color: #128c7e;
}

.message-date {
  font-size: 0.7em;
  color: #999;
  margin-top: 5px;
  text-align: right;
}

.chat-input {
  display: flex;
  padding: 15px;
  background-color: #f0f0f0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.chat-input input {
  flex-grow: 1;
  padding: 10px;
  border: none;
  border-radius: 20px;
  margin-right: 10px;
}

.chat-input button {
  background-color: #075e54;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
}

.chat-input button:hover {
  background-color: #128c7e;
}

.chat-container {
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 70vh;
}

.chat-header {
  background-color: #075e54;
  color: white;
  padding: 15px;
}

.header-minimal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recipient-brief {
  display: flex;
  align-items: center;
}

.recipient-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.recipient-avatar div {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #0db4eb;
  font-size: 30px;
}

.recipient-name {
  font-size: 24px;
  font-weight: bold;
}

.toggle-info-btn {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 24px;
}

.toggle-info-btn-muestra {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 24px;
}

.recipient-info {
  display: none;
  margin-top: 15px;
}

.recipient-info.show {
  display: block;
}

.recipient-details {
  margin-top: 10px;
  text-align: left;
}

.recipient-title {
  font-size: 16px;
  opacity: 0.8;
}

.recipient-extra {
  font-size: 16px;
  margin-top: 5px;
}

.online-status {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #4CAF50;
  display: inline-block;
  margin-right: 5px;
}

.chat-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 15px;
  background-image: url('/public/img/perfil/fondoChat.png');
}

.message {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-end;
}

.message-content {
  max-width: 70%;
  padding: 10px 15px;
  border-radius: 15px;
  position: relative;
}

.received .message-content {
  background-color: #fff;
  margin-left: 10px;
  border-top-left-radius: 0;
}

.sent .message-content {
  background-color: #dcf8c6;
  margin-right: 10px;
  border-top-right-radius: 0;
}

.sent {
  flex-direction: row-reverse;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}

.message-sender {
  font-weight: bold;
  font-size: 0.9em;
}

.message-date {
  font-size: 0.7em;
  color: #999;
}

.chat-input {
  display: flex;
  padding: 15px;
  background-color: #f0f0f0;
}

.chat-input input {
  flex-grow: 1;
  padding: 10px;
  border: none;
  border-radius: 20px;
  margin-right: 10px;
}

.chat-input button {
  background-color: #075e54;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
}

.chat-input button:hover {
  background-color: #128c7e;
}