@font-face {
  font-family: 'Davivienda Bold';
  src: url('fonts/Daviplata/Davivienda-Bold.otf') format("opentype");
}

@font-face {
  font-family: 'Davivienda Regular';
  src: url('fonts/Daviplata/Davivienda-Regular.otf') format("opentype");
}
@font-face {
  font-family: 'Davivienda Light';
  src: url('fonts/Daviplata/Davivienda-Light.otf') format("opentype");
}

:root {
    --color-red: #c9242c;
    --color-white: #f5eeed;
    --color-black: #100e0c;
    --color-brown: #6d5252;
    --color-darkgray: #373333;
    --color-lightgray: #484d51;
    --color-blue: #7e8f9d;
    --color-bluegray: #78808f;
    --color-darkblue: #2f3c4d;
    --font-family: 'Davivienda Light' , sans-serif;
}

.sigma-container {
  height: 100%;
  width: 100vw;
  left: 0rem;
  background: linear-gradient(167.91deg, #F8F8F8 0%, #EBEEF5 100%);
}

* {
  font-family: var(--font-family);
  font-size: 14px;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
  *,
  select,
  textarea,
  input {
    font-size: 15px !important;
  }
}

@media (max-width: 500px) {
  .sigma-message-incoming {
    width: 80% !important;
  }
}

br + br {
  display: block;
  content: '';
  margin-bottom: 8px;
}

.sigma-messages {
  height: 91% !important;
}


.sigma-send-message {
  width: 5% !important;
  align-items: center;
}

#sigma-input-msg {
  width: 100%;
}

.sigmaHeaderChat,
.sigma-message-outcoming-image-download,
.sigma-message-incoming-html-download {
  display: none !important;
}
a {
  color: var(--color-red) !important
}

strong[style="color: black "] a {
  color: black !important
}

.sigma-container {
  border-radius: 0px;
}

.sigma-form {
  opacity: 0;
  background: none !important;
  border: none;
}

.sigma-component-send-message {
  padding: 1vh;
  padding-top: 3vh;
  padding-bottom: 1.5rem;
  width: 100vw;
  left: 0;
  bottom: 0;
  position: fixed;
  align-items: center;
}

.sigma-input[type="text"] {
  border-radius: .5rem;
  height: 3rem !important;
}

.sigma-input[type="text"]:focus {
  border-color: rgb(198, 195, 214) !important;
}

.sigma-send-message>div {
  width: 88%;
}

.sigma-assistent-message {
  padding-top: 0.5rem;
}

.sigma-btn {
  border: 1px solid #d8d8d8;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: transparent;
  background-image: url(img/send.svg);
  padding: 15px;
  background-size: 35%;
  border-radius: 50% !important;
  display: inline-block;
  width: 40px !important;
  height: 40px !important;
  cursor: pointer;
  transition: all 0.1s;
  margin: 0 !important;
  margin-bottom: 0.7rem !important;
}

.sigma-user_client {
  align-items: normal;
}

/* .sigma-btn-message {
  background: none;
  color: var(--color-red);
  border-radius: 100px;
  padding: 5px 0px;
  margin: 3px 0px;
  border: 0;
  cursor: pointer;
  box-shadow: 0px 2px 6px -6px #ee1f2b59;
  display: block;
  max-width: 260px;
  text-overflow: ellipsis;
  text-align: center;
  overflow: hidden;
  border: 5px solid var(--color-red);
  font-weight: 600 !important;
  margin-bottom: 0.8rem !important;
} */

.sigma-btn-message-selected {
  border: 1px solid var(--color-red);
}

.sigma-btn-message:disabled {
  background: var(--color-red);
  color: var(--color-white);
}

.sigma-btn-message-selected:hover {
  background: var(--color-red) !important;
}

.sigma-btn-message-selected:after {
  font-family: 'Font Awesome 5 Free';
  content: '\f00c';
  display: none;
  color: white;
}

.sigma-message-incoming-image-download,
.sigma-message-incoming-image-download {
  background: #d41011 !important;
  color: white !important;
}

.sigma-message-incoming-image-download:hover,
.sigma-message-incoming-image-download:hover {
  background: #b70d0d !important;
  color: white !important;
}

/* .sigma-message-incoming-video:before,
.sigma-message-incoming-image:before,
.sigma-message-incoming-audio:before,
.sigma-message-incoming-html:before,
.sigma-message-incoming:before {
  content: "";
  position: relative;
  display: inline-block;
  top: 1.9rem;
  right: 0.8125rem;
  width: 0px;
  height: 0px;
  height: 0px;
  border: 12px solid white;
  border-left-color: transparent;
  border-bottom-color: transparent;
  z-index: 999;
} */

/* .sigma-message-outcoming:before {
    content: "";
    position: relative;
    display: inline-block;
    bottom: 0.1123rem;
    right: -0.4rem;
    width: 0px;
    height: 0px;
    height: 0px;
    border: 12px solid #E3E2E3;
    float: right;
    border-left-color: transparent;
    border-bottom-color: transparent;
    transform: rotate(135deg);
} */

.sigma-message-incoming {
  background: white;
  color: black;
  border: 1px solid white;
  border-bottom-left-radius: 0.7rem;
}

.sigma-message-incoming,
.sigma-message-outcoming,
.sigma-message-incoming-html,
.sigma-message-incoming-video,
.sigma-message-incoming-image,
.sigma-message-incoming-audio {
  width: auto;
}
.sigma-message-incoming-attachment-video,
.sigma-message-incoming-attachment-image,
.sigma-message-incoming-attachment-audio,
.sigma-message-incoming-attachment-html {
  margin-inline: auto;
}

.sigma-message-outcoming {
    background: #E3E2E3;
    color: black;
    border: 1px solid #E3E2E3;
    border-bottom-left-radius: 0.7rem;
}

.sigma-message-incoming-name,
.sigma-message-outcoming-name,
button {
  font-family: 'Davivienda Bold' !important;
}

.sigma-message-outcoming-name {
  justify-content: flex-start;
}

.sigma-message-incoming-name>img {
    border-radius: 0px !important;
}

.sigma-user_client
.sigma-message-incoming-name {
    width: 50px;
    margin-right: 0px;
}

.sigma-message-incoming-icon,
.sigma-message-outcoming-icon {
  display: block !important;
}

.sigma-message-incoming-icon {
  margin-top: .0rem !important;
  margin-left: -0.5rem !important;
}
.sigma-message-outcoming-icon {
  margin-top: -0.5rem !important;
  margin-left: -0.5rem !important;
}

.sigma-message-incoming-name>img {
  width: 65px !important;
  height: 55px !important;
}

.sigma-message-outcoming-icon > img {
  width: 65px !important;
  height: 55px !important;
}

.sigma-user_client .sigma-message-outcoming-name {
  background-color: transparent;
  width: auto;
}

.sigma-messages>div {
  justify-content: start;
  flex-direction: row-reverse;
}

.sigma-user_client {
  margin: 0;
  padding: 0;
}

.sigma-message-incoming,
.sigma-message-outcoming,
.sigma-message-incoming-html,
.sigma-message-incoming-video,
.sigma-message-incoming-image,
.sigma-message-incoming-audio {
  background: none !important;
  border: none !important;
}

.sigma-message-outcoming-text,
.sigma-message-incoming-text {
  text-align: left;
  word-break: unset;
  margin: 0;
}

.sigma-time {
display: none;
}

div:has(.sigma-time) {
margin-bottom: 0;
}

.sigma-mesage-incoming-content,
.sigma-message-outcoming-text,
.sigma-mesage-incoming-html-content,
.sigma-mesage-incoming-video-content,
.sigma-mesage-incoming-image-content,
.sigma-mesage-incoming-audio-content {
  /* padding: 1rem; */
  padding-left: 0;
  margin-bottom: 0;
  color: black;
}

.sigma-mesage-incoming-content,
.sigma-mesage-incoming-html-content,
.sigma-mesage-incoming-video-content,
.sigma-mesage-incoming-image-content,
.sigma-mesage-incoming-audio-content {
  border-bottom-left-radius: 0.7rem;
  border-bottom-right-radius: 0.7rem;
  border-top-right-radius: 0.7rem;
}

.sigma-mesage-incoming-html-content,
.sigma-mesage-incoming-video-content,
.sigma-mesage-incoming-audio-content,
.sigma-mesage-incoming-image-content{
  display: flex;
  flex-direction: column;
}

.sigma-message-outcoming-text {
  border-top-right-radius: 0.7rem;
  border-bottom-left-radius: 0.7rem;
  border-top-left-radius: 0.7rem;
  border-bottom-right-radius: 0.7rem;
}

.sigma-message-outcoming-time,
.sigma-message-outcoming-time-attachment,
.sigma-message-incoming-time,
.sigma-message-incoming-time-attachment {
  color: #b8b8b8;
  margin-left: 1rem;
  display: none;
}
.sigma-message-incoming-time-attachment {
  float: left;
}
.sigma-message-outcoming-time {
  float: right !important;
  margin-left: 0;
  margin-right: 1.5rem !important;
  display: none;
}

.sigma-assistent-message  {
  margin-left: .6rem;
  margin-top: 0;
}

.sigma-btn-options {
  margin: 0;
  margin-top: 0.8rem !important;
  display: flex;
  flex-direction: column;
  max-width: 99%;
}

button.sigma-btn-message.sigma-chumbo:first-child,
button.sigma-btn-message:not(.sigma-chumbo) + button.sigma-btn-message.sigma-chumbo {
  margin-top: 40px;
}

button:disabled {
  cursor: not-allowed;
}

.sigma-message-incoming-attachment-image,
.sigma-message-outcoming-attachment-image {
  width: 19rem;
}

.sigma-label-attachment {
  background: none;
}

.sigma-label-attachment {
  background: url(img/attachment.svg) no-repeat;
  padding-bottom: 0vw;
  padding-left: 0vw;
  padding-top: 0vw;
}

.sigma-label-attachment > svg {
  opacity: 0;
}

.sigma-time .sigma-message-outcoming-time {
  display: none;
}

.sigma-btn:disabled {
  background: none;
  border: none;
  background-image: url(img/send.svg);
  background-repeat: no-repeat;
  background-position: center center;
}

.sigma-btn:disabled:hover {
  background-color: transparent !important;
}

.sigma-btn[type="submit"] {
  border: none;
  background-size: inherit;
}
.sigma-btn[type="submit"]:focus,
.sigma-btn[type="submit"]:hover {
  background-color: transparent !important;
}

.sigma-btn-message:disabled:not(.sigma-btn-message-selected),
.sigma-btn-message:disabled:hover:not(.sigma-btn-message-selected) {
  color: var(--color-red) !important;
  background: transparent !important;
}

.sigma-message-outcoming-text {
  overflow-wrap: anywhere;
  padding-top: 0;
}

.sigma-mesage-outcoming-content {
  padding-top: .8rem;
}

/* @media (min-width: 200px) and (max-width: 450px) {
  .sigma-mesage-incoming-content {
    max-width: 80%;
  }
  #sigma-input-msg {
    max-width: 85% !important;
  }
}

@media (max-width: 700px) {
  #sigma-input-msg {
    width: auto;
  }
} */

.sigma-btn-message:hover,
.sigma-btn-message-selected {
  background: linear-gradient(180deg, rgba(221, 20, 29, 1) 44%, rgba(247, 89, 139, 1) 100%);
  color: var(--color-white) !important;
  border: 1px solid transparent;
}

.sigma-mesage-incoming-content:has(.sigma-options-incoming) {
  padding-bottom: 0 !important;
}

.sigma-btn-message:disabled,
.sigma-btn-message:disabled:hover {
  background: linear-gradient(#DD141D 50%, #F7598B) padding-box,
              linear-gradient(180deg, #DD141D, #F7598B) border-box !important;
  color: #fff !important;
  outline: none !important;
}
.sigma-btn-message,
.sigma-btn-message:disabled:not(.sigma-btn-message-selected):hover,
.sigma-btn-message:disabled:not(.sigma-btn-message-selected) {
  padding: 5px 0px;
  margin: 3px 0px;
  font-size: 18px;
  color: #DD141D !important;
  background: linear-gradient(167.91deg, #F8F8F8 0%, #EBEEF5 100%), linear-gradient(180deg, #DD141D, #F7598B) border-box !important;
  border: 1px solid transparent;
  border-radius: 24px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
  background-clip: padding-box, border-box !important;
  max-width: 260px;
}

.sigma-btn-message:hover {
  background: linear-gradient(#DD141D 50%, #F7598B) padding-box,
              linear-gradient(180deg, #DD141D, #F7598B) border-box !important;
  color: #fff;
  outline: none;
}

.sigma-btn-message-text {
  font-family: 'Davivienda Bold' !important;
}

.sigma-btn-message-text{
  /* background: linear-gradient(180deg, rgba(221, 20, 29, 1) 50%, rgb(224 213 217) 100%) !important; */
  /* -webkit-background-clip: text !important; */
  /* background-clip: text; */
  /* -webkit-text-fill-color: transparent; */
  display: inline-block;
  margin: 0;
  font-weight: bold;
  font-family: 'Davivienda Bold' !important;
}

.sigma-btn-message-selected > .sigma-btn-message-text,
.sigma-btn-message:hover:not(.sigma-btn-message-selected)  > .sigma-btn-message-text{
  color: white;
  -webkit-text-fill-color: unset;
  background: none !important;
}

@media (max-width: 700px) {
  #sigma-input-msg {
    width: 83%;
  }
}

@media (max-width: 550px) {
  #sigma-input-msg {
    width: 80%;
  }
}

@media (max-width: 470px) {
  #sigma-input-msg {
    width: 78%;
  }
}

@media (max-width: 420px) {
  #sigma-input-msg {
    width: 75%;
  }
}

@media (max-width: 350px) {
  #sigma-input-msg {
    width: 70%;
  }
}