@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: 95%;
  }
}
@media (min-width: 768px) {
  #mensajes > * {
    max-width: 80%;
  }
}

.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;
}
