@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);

#chat-container .form-control {
  border-top: none;
  border-right: none;
  border-left: none;
  border-radius: 0;
}

#chat-container .form-control:focus {
  border-color: transparent;
  box-shadow: inset 0px 0px 0px 1px transparent;
}

#chat-container {
  display: block;
  width: 100%;
  height: 100%;
}

#chat-container .row {
  max-width: 100%;
  height: 100%;
}

#chat-container .z-2 {
  place-self: start;
  background-color: #e7e7e7;
  border-radius: 15px;
  padding: 5px;
  padding-right: 30px;
  position: relative;
}

.badge-dot {
  border-radius: 50%;
  height: 10px;
  width: 10px;
  margin-left: 2.9rem;
  margin-top: -0.75rem;
}

.starrating>input {
  display: none;
}

.starrating>label:before {
  content: "\f005";
  margin: 2px;
  font-size: 1.8em;
  font-family: FontAwesome;
  display: inline-block;
}

.starrating>label {
  color: #222222b9;
}

.starrating>input:checked~label {
  color: #ffca08;
}

.starrating>input:hover~label {
  color: #ffca08;
}

.btn-msg-action {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  #mensajes>* {
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  #mensajes>* {
    max-width: 100%;
  }
}

.icono {
  width: 20px;
  height: 20px;
}

.mobile-action-menu {
  position: relative;
  display: none;
}

.mobile-action-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-action-dropdown {
  position: absolute;
  bottom: 100%;
  right: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 150px;
  display: none;
  z-index: 1000;
}

.mobile-action-dropdown.show {
  display: block;
}

.mobile-action-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
}

.mobile-action-item:hover {
  background-color: #f5f5f5;
}

.mobile-action-item img {
  margin-right: 8px;
}

/* Responsive behavior */
@media (max-width: 767px) {
  .action-buttons {
    display: none !important;
  }

  .mobile-action-menu {
    display: flex;
  }
}

.no-arrow::after {
  display: none;
}

/* Oculta el triángulo */

.dropdown-menu li {
  position: relative;
}

.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}

.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}

.dropdown-menu>li:hover>.dropdown-submenu {
  display: block;
}

.buscador {
  @media (max-width: 992px) {
    width: 100%;
  }

  @media (min-width: 992px) {
    width: 25%;
  }
}

#campo_texo {
  max-width: 200px;
}

.mobile-title-specialities {
  display: none;
  position: relative;
}

.mobile-login {
  display: block;
}

@media (max-width: 768px) {
  .mobile-title-specialities {
    display: block;
    text-align: center;
  }

  .title-specialities {
    display: none !important;
  }

  .mobile-login {
    display: none;
  }
}

.agent-progress-container {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: white;
}

.agent-progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.agent-progress-title {
  font-weight: bold;
  color: #2d3748;
}

.agent-progress-percent {
  color: #3182ce;
  font-weight: bold;
}

.agent-progress-bar {
  width: 0%;
  height: 8px;
  background: #3182ce;
  border-radius: 4px;
  transition: width 0.3s;
}

.btn-outline-dark:hover>a {
  color: white !important;
}

header {
  .inner-header-container {
    padding-left: 60px;
    padding-right: 60px;
  }

  select[name="language"] {
    background: white;
    color: #586063;
    border-radius: 100px;
    border: 1px solid #f5f5f5;
    box-shadow: 0px 2px 4px 0px #0000001a;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    /* removes default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;

    background: white url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><defs><linearGradient id='grad' x1='0%' y1='0%' x2='0%' y2='100%'><stop offset='0%' style='stop-color:%2332EECC;stop-opacity:1'/><stop offset='100%' style='stop-color:%231BDCDC;stop-opacity:1'/></linearGradient></defs><path d='M7 10l5 5 5-5z' fill='url(%23grad)'/></svg>") no-repeat right 6px center;
    background-size: 1.5em;
    padding-right: 2em;
    padding-right: 2em;
  }
}

.agentes-container {
  padding-left: 60px;
  padding-right: 60px;

  .agentes-inner-container {
    gap: 60px;
  }
}

.btn-show-menu-agente {
  display: none;
}

input {
  height: 45px;
  min-height: 45px;
  border-radius: 45px !important;
  border: 1px solid #f5f5f5;
  background: #ffffff;
  box-shadow: 0px 1px 4px 0px #0000001a;
}

.btn-biodigital {
  width: 350px;
  height: 45px;
  opacity: 1;
  border-radius: 45px !important;
  padding: 10px;
  gap: 10px;
  background: linear-gradient(90deg, #32eecc 0%, #1bdcdc 100%);
  border: 1.5px solid;
  border-image-source: linear-gradient(90deg, #32eecc 0%, #1bdcdc 100%);
  box-shadow: 0px 2px 4px 0px #0000001a;
  font-size: 20px;
  font-weight: 600;
}

#login_container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #32eecc1a;
}

#logo-login {
  height: 58px;
  width: 58px;
  margin-bottom: 40px;
}

.form-signin {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 40px;

  .form {
    position: relative;
  }

  #login-username,
  #login-password {
    width: 350px;
    margin-bottom: 20px;
    padding-left: 50px;
  }

  .input-icon {
    position: absolute;
    top: 16px;
    left: 20px;
  }
}

.footer-logo {
  flex-grow: 0;
  margin-bottom: 80px;
}

.color-biodigital {
  color: #32eecc !important;
}

.navbar-biodigital {
  width: 100%;
  justify-content: center;
}

.footer-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

.menu-agente {
  width: 228px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: linear-gradient(white, white) padding-box,
    /* fondo interior */
    linear-gradient(90deg, #32eecc 4.27%, #1bdcdc 96.28%) border-box;
  padding: 1px;
}

.inner-menu-agente {
  background: #32eecc14;
  border-radius: 12px;
  width: 100%;
}

.open-menu-conversations {
  width: 30px;
  height: 30px;
  color: #1BDCDC;
  border: solid 1px;
}

.empty-agent-chat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;

  .empty-agent-chat-logo {
    height: 100px;
    width: 100px;
    margin-bottom: 20px;
  }
}

#controles-conversacion-agente {
  width: 100%;
  border: 1px solid #f5f5f5;
  border-radius: 100px;
  overflow: auto;
  box-shadow: 0px 1px 4px 0px #0000001a;

  textarea {
    border: none;
    resize: none;
    overflow: hidden;
    border-right: 1px solid #f5f5f5;
  }

  button {
    border-right: 1px solid #f5f5f5;
  }

  #enviar {
    background: linear-gradient(90deg, #32eecc 4.27%, #1bdcdc 96.28%);
    border-radius: 0;
  }
}

.message.user-message {
  background: #32eecc4d;
  opacity: 1;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  padding-top: 20px;
  padding-right: 30px;
  padding-bottom: 20px;
  padding-left: 30px;
}

.message.message-container {
  background: #32eecc0d;
  opacity: 1;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  padding-top: 20px;
  padding-right: 30px;
  padding-bottom: 20px;
  padding-left: 30px;
}

.user-initials {
  width: 45px;
  height: 45px;
  border-radius: 45px;
  background: linear-gradient(223.48deg, #32eecc 24.34%, #1bdcdc 75.66%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  margin-left: 10px;
  box-shadow: 0px 2px 4px 0px #0000001a;
}

.logo-chat {
  width: 45px;
  height: 45px;
  opacity: 1;
  border-radius: 100px;
  border-width: 1px;
  padding: 12px;
  background: linear-gradient(223.48deg, #32eecc 24.34%, #1bdcdc 75.66%);
  border: 1px solid;
  border-image-source: linear-gradient(180deg, #1bdcdc 0%, #32eecc 100%);
  box-shadow: 0px 2px 4px 0px #0000001a;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}

.current-conversation {
  background-color: #32EECC1A;
  padding: 6px;
  text-align: start;
}

.active-conversation {
  color: black;
  padding: 6px;
  text-align: start;
}

.inactive-conversation {
  color: #BABABA;
  padding: 6px;
  text-align: start;
}

.ia-generated {
  font-size: 0.75em;
  color: #BABABA;
  align-self: start;
}
