body{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.text-primary{
  color: #028ca7!important;
}

.btn-primary {
  color: #fff;
  background-color: #028ca7!important;
  border-color: #028ca7!important;
}

.boton-eye{
  background-color: #028ca7!important;
  border-color: #028ca7!important;
  color: #fff!important;
  width: 45.6px;
}

.container>.row>.col-12{
  padding-left: 32px;
}

.welcome-alert {
  
  border-radius: 0.5rem;
  padding: 1rem;
  background-color: #cce8ed;
  color: #212529;
  border: 1px solid #015f74;
  margin-bottom: 1rem;
  gap: 15px;
}
.welcome-alert .fa {
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

a {
  color: #028ca7;
  text-decoration: none!important;

}
#loading {
  display: none
}
.dropdown-item{
  cursor: pointer;
}


.mb-83{
  margin-top: -83px;
}
.z-index-9{
  z-index: 9!important;
}
.navbar-nav a{
cursor: pointer;
}
/* 404 not found */

.notfound{
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
}
.notfound img{
 max-width: 500px;
 width: 100%;
}

/* index */

.bg-blue-celeste{

background-color: #028ca7!important;

}
.bg-gray{

background-color: #dadada!important;

}

.color-black{
color: #000000!important;
}
.color-white{
color: #ffffff!important;
}

.custom-rounded-circle-right{
  border-radius: 16px 16px 0 16px;
}
.custom-rounded-circle-left{
  border-radius: 0px 16px 16px 16px;
}

.custom-avatares{
  display: flex;
    
    
}

.chat-off {
  display: none!important;
}
.chat-on {
  display: block!important;
}

.logo{
  width: 200px;
  height: auto;
  object-fit: contain;
}

#chat-container {
  height: calc(100vh - 260px);
  overflow-y: scroll;
}

@media screen and (max-width: 992px) {
  #chat-container {
    height: calc(100vh - 417px);
  }
  #history-container {
    max-height: 200px;
    height: 100%;
}
  
}

#dropArea{
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  width: 2px !important;
  background-color: #028ca7;
  border-radius: 8px; 
}

#typing-indicator {
  display: none;
  text-align: left;
  margin-top: 10px;
}

  #wave {
    position: relative;
    text-align: left;
}
.dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  margin-right: 3px;
  background: #000000;
  opacity: 0;
  animation: wave 1.5s infinite;
}
.dot:nth-child(1) {
  animation-delay: 0s;
}
.dot:nth-child(2) {
  animation-delay: 0.3s;
}
.dot:nth-child(3) {
  animation-delay: 0.6s;
}
@keyframes wave {
  0%, 20%, 60%, 100% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
  80% {
    opacity: 0;
    transform: translateY(0);
  }
}



#loading {
  display: none;
}

.chat-online {
color: #34ce57
}

.chat-offline {
color: #e4606d
}

.chat-messages {
display: flex;
flex-direction: column;
max-height: 800px;
overflow-y: scroll
}

.chat-message-left,
.chat-message-right {
display: flex;
flex-shrink: 0
}

.chat-message-left {
margin-right: auto
}

.chat-message-right {
flex-direction: row-reverse;
margin-left: auto
}
.py-3 {
padding-top: 1rem!important;
padding-bottom: 1rem!important;
}
.px-4 {
padding-right: 1.5rem!important;
padding-left: 1.5rem!important;
}
.flex-grow-0 {
flex-grow: 0!important;
}
.border-top {
border-top: 1px solid #dee2e6!important;
}


/* login */

.custom-section-login{
  height: 100vh;
  width: 100vw;
  display: grid;
  place-items: center;
}

/* crear usuario */


.page-header {
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  margin: 1.5rem 0 1.5rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0;
  position: relative;
  min-height: 50px;
  margin: 1.8rem 0 1.5rem 0;
  border-radius: 7px;
}

div.dataTables_wrapper div.dataTables_length label {
  justify-content: start;
  margin-bottom: 1rem;
}

table.dataTable td {

  height: 40px;
  vertical-align: middle;
}

@media (max-width: 575.98px) {
 
  .container>.row>.col-12 {
      padding-left: 16px;
  }
}

#chat-sidebar {
  border-radius: 8px 0 0 8px;
}
#chat-general {
  border-radius: 8px;
}

#selectAllCheckbox {
  transform: translateY(9px);
  float: right;
}

#history-container .custom-one-parrafo.active {
  font-weight: 700;
}

tbody .customdd{
  text-align: right;
}

.custom-trash{
  color: #e4606d;
  opacity: 0;
  transition: 0.2s all;
}
#history-container .list-group-item-action:hover .custom-trash{
  opacity: 1;
  transition: 0.2s all;
}
.custom-historial:hover .custom-trash{
  opacity: 1;
  transition: 0.2s all;
}

.profile-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  width: 100%;
  margin: auto;
  object-fit: cover;
}
  .card-body {
    text-align: center;
  }


  .rating-container i, .rating-container svg {
   font-size: 22px;
   cursor: pointer;
  }
  .rating-container .container-button-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    
  }
  .rating-container.active {
    transform: translateY(0px);
    transition: all 0.2s;
    opacity: 1;
  }

  .container-button-rating svg{
   font-size: 24px;
   cursor: pointer;
  }

  .custom-heigth {
    min-height: 431px;
  }
  
  @media screen and (max-width: 575px) {
    .custom-heigth {
      height: auto;
    }
 
    
  }
  
  .rating-container {
    position: absolute;
    bottom: 0;
    left: 0px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 29px;
    height: 83px;
    transition: width 1s ease, opacity 0.7s ease;

}

.rating-container.active {
    width: 284px; 
    padding: 10px; 
    opacity: 1; /* Visible al estar activo */
}

.rating-container .conversacionFlotante {
    position: absolute;
    opacity: 0; /* Comienza oculto */
    transition: opacity 0.7s ease; /* Controlamos el opacity de la conversación flotante */
    display: none;
}
.rating-container.active .conversacionFlotante {
    position: absolute;
    opacity: 0; /* Comienza oculto */
    transition: opacity 0.7s ease; /* Controlamos el opacity de la conversación flotante */
  
}



.rating-container .flecha-izquierda {
    width: 14px;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: absolute;
    left: -1px;
    z-index: 1001;
}

.rating-container.active .flecha-izquierda {
    display: none;
}

.mostrar {
    opacity: 0;
    display: none;
}

#conversationTable_length{
  text-align: left;
}

table.dataTable td {
 
  text-align: left;
}
table.dataTable td.text-right {

  text-align: right;
}

.content-cell{
  overflow: auto;
  max-height: 90px;
}

div.dataTables_wrapper div.dataTables_filter {
  text-align: right;
  position: absolute;
  visibility: hidden;
  left: -9999999px;
}

div.dataTables_wrapper div.dataTables_paginate {
  margin: 0;
  white-space: nowrap;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 16px;
}
div.dataTables_wrapper div.dataTables_paginate a {

  color: #000;
}

.paginate_button.current {
  font-weight: 700;
}
.paginate_button {
  padding: 0 5px;
  cursor: pointer;
}

#customSearch {
  padding: 1px 16px 1px 6px;
}

.contenedoBuscar{
  display: flex;
  align-items: center;
  gap: 5px;
}

.calificado {
  background-color: lightgreen; 
}

.text-success {
  color: #028ca7!important; /* Color verde para el thumbs up */
}

.text-danger {
  color: red; /* Color rojo para el thumbs down */
}

.customtext{
  font-size: 22px;
}

.sidebar-toggler i {
  font-size: 1.5rem; /* Tamaño del icono */
  cursor: pointer;
}
.sidebar-toggler svg {
  transition: 0.2s all;
  cursor: pointer;
}

.content.open .sidebar-toggler svg{
  transform: rotateY(180deg);
  transition: 0.2s all;
}