/* Estilos globales */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  margin-right: 100px;
  display: flex;
  justify-content: center;
  align-items: top;
  height: 100vh;
  margin: 0;
}


.chat-container {
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 10px;
  margin-top: 20px;
  margin-bottom: 70px;
}

.chat-message {
  margin-bottom: 10px;
}

.chat-bubble {
  display: inline-block;
  background-color: #30C2E0;
  color: #fff;
  border-radius: 20px;
  padding: 10px 15px;
  max-width: 70%;
  word-wrap: break-word;
  clear: both;
}

.chat-bubble.other {
  background-color: #f3f3f3;
  color: #000000;
  float: left;
  /* margin-right: 120px; */
  margin-bottom: 15px;
  margin-top: 10px;
}

.chat-bubble.own {
  background-color: #30C2E0;
  color: #000000;
  float: right;
  margin-left: 120px;
  margin-bottom: 15px;
  margin-top: 10px;
}

.chat-messages {
  height: calc(95vh - 150px);
  /* width: 410px; */
  overflow-y: auto;
  padding: 5px;
  /* margin-right: 20px; */
  /* margin-left: 20px; */
}

.chat-input {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #f9f9f9;
}

.chat-input textarea {
  flex-grow: 1;
  resize: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  width: 2500px;
  height: 100px;
}

.chat-input button {
  background-color: #0C82C5;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

.telegram-button {
  background-color: transparent;
  border: none;
  padding: 0;
}

.telegram-button img {
  width: 20px;
  height: 20px;
}

.emoji-button {
  background-color: transparent;
  border: none;
  padding: 0;
}

.emoji-button img {
  width: 20px;
  height: 20px;
}

.cont-chat-btns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  margin-left: 10px;
}

.cont-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: .1rem;
  cursor: pointer;
}

.cont-1 {
  grid-area: 1 / 1 / 3 / 2;
}

.cont-2 {
  grid-area: 1 / 2 / 2 / 3;
}

.cont-3 {
  grid-area: 2 / 2 / 3 / 3;
}

.cont-3 i {
  pointer-events: none;
}


.chat-title {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background-color: #0C82C5;
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin-bottom: 5%;
}

.chat-title::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #00FF00;
  /* Color verde */
  border-radius: 50%;
  margin-left: 5px;
  /* Espacio entre el punto y el texto */
}

.chat-title img {
  width: 40px;
  height: 40px;
  margin-right: 5px;
}

.chat-close-button {
  background-color: transparent;
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.container {
  margin-right: 15px;
}

.emoji-picker {
  transform: scale(0.7);
}

.formulario {
  /* width: 400px; */
  max-width: 400px;
  padding: 20px;
  background-color: #f2f2f2;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  /* margin-top: 200px; */
  text-align: center;
}

.formulario label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

.formulario input[type="number"],
.formulario input[type="text"],
.formulario select,
.formulario textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.formulario textarea {
  height: 100px;
}

.formulario .checkbox-group {
  margin-bottom: 10px;
}

.formulario .checkbox-group label {
  display: inline-block;
  margin-right: 10px;
}

.formulario button[type="submit"] {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.formulario button[type="submit"]:hover {
  background-color: #45a049;
}