:root {
  --body-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --msger-bg: #fff;
  /*--border: 2px solid #ddd;*/
  --left-msg-bg: #ececec;
  --right-msg-bg: #579ffb;
  
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-image: var(--body-bg);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.msger {
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  width: 100%;
  max-width: 867px;
  margin: 25px 10px;
  height: calc(100% - 50px);
  border: var(--border);
  border-radius: 5px;
  background: var(--msger-bg);
  box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
}

.msger-header {
  /* display: flex; */
  font-size: medium;
  justify-content: space-between;
  padding: 10px;
  text-align: center;
  border-bottom: var(--border);
  background: #007bff;
  color: rgb(255, 255, 255);
  border-radius: 10px 10px 0px 0px;
}

.msger-chat {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
.msger-chat::-webkit-scrollbar {
  width: 6px;
}
.msger-chat::-webkit-scrollbar-track {
  background: #ddd;
}
.msger-chat::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}
.msg {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}


.msg-img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  /*background: #ddd;*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /*border-radius: 80%;*/
}

.msg-img-contenido {
  width: 100%;
  height: 280px;
  margin-right: 0px;
  /*background: #ddd;*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /*border-radius: 80%;*/
}
.msg-bubble {
  max-width: 450px;
  padding: 15px;
  border-radius: 15px;
  background: var(--left-msg-bg);
}
.msg-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.msg-info-name {
  margin-right: 10px;
  font-weight: bold;
}
.msg-info-time {
  font-size: 0.85em;
}

.left-msg .msg-bubble {
  border-bottom-left-radius: 0;
}

.right-msg {
  flex-direction: row-reverse;
}
.right-msg .msg-bubble {
  background: var(--right-msg-bg);
  color: #fff;
  border-bottom-right-radius: 0;
}
.right-msg .msg-img {
  margin: 0 0 0 10px;
}

.msger-inputarea {
  display: flex;
  padding: 10px;
  border-top: var(--border);
  background: #eee;
}
.msger-inputarea * {
  padding: 10px;
  border: none;
  border-radius: 3px;
  font-size: 1em;
}
.msger-input {
  flex: 1;
  background: rgb(255, 255, 255);
}
.msger-send-btn {
  margin-left: 10px;
  background: rgb(0, 196, 65);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.23s;
}
.msger-send-btn:hover {
  background: rgb(0, 180, 50);
}

.msger-chat {
  background-color: #fcfcfe;
}
.msg-btn-full{
  width: 100%;
}
.msg-btn-opcion{
  display: inline;
  width: 30%;
  min-width: 130px;
  padding: 5px 5px 5px 5px;
  border-radius: 50px;
  margin-top: 5px;
  background: #ffffff;
  color: #000;
  margin-left: 5px;
  margin-right: 5px;

  font-weight: bold;
  cursor: pointer;
}

.msg-btn-text-opcion{
  display: block;
  padding: 5px 10px 5px 10px;
  border-radius: 50px;
  min-width: 130px;
  margin-top: 5px;
  background: #ffffff;
  color: #000;
  margin-left: 5px;
  margin-right: 5px;

  font-weight: bold;
  cursor: pointer;
}


.msg-img-opcion {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-right: 5px;
  /*background: #ddd;*/
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  /*border-radius: 80%;*/
}

.msger-send-btn {
  margin-left: 10px;
  background: rgb(0, 196, 65);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.23s;
}


#google{
  background-image: url(/recursos/img/fondo_google.jpg) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}


#fondo{
  background-image: url(/recursos/img/fondo_blanco.jpg) !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}