#chat3 .form-control {
    border-color: transparent;
}

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

#chat3 {
    border-radius: 15px;
    background-color: rgb(227, 227, 227);
    border: 0;
}

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

/* Mensajes chat */

#boxMessages {
    position: relative;
    height: 70vh;
    overflow-y: scroll;
    scroll-behavior: smooth;
}

#messages-content {
    display: flex;
    flex-direction: column-reverse;
}

.mensaje-box {
    display: flex;
    flex-direction: row;
    max-width: 80%;
}

.mensaje-box img {
    width: 35px;
    height: fit-content;
}

.mensaje-box i {
    font-size: 40px;
}

.enviado-box {
    justify-content: flex-end;
    margin-left: auto;
}

.recibido-box {
    justify-content: flex-star;
}

.mensaje-text {
    font-size: .875rem;
    padding: .5rem;
    margin-left: 0.5rem;
    border-radius: 18px;
    word-break: break-word;
    margin-bottom: 0;
}

.enviado-text {
    color: white;
    background-color: rgba(var(--bs-primary-rgb), 1);
    border-bottom-right-radius: 5px;
}

.recibido-text {
    color: black;
    background-color: rgba(var(--bs-tertiary-bg-rgb), 1);
    border-bottom-left-radius: 5px;
}

.mensaje-date {
    font-size: .75rem;
    color: rgb(150, 150, 150);
    margin-bottom: 2px;
}

.mensaje-date-enviado {
    text-align: right;
    margin-right: 1rem;
}

.mensaje-date-recibido {
    text-align: left;
    margin-left: 1rem;
    float: right;
}

.rating > label {
    color: #222222b9;
    margin-left: 5px;
    font-size: 20px;
}

.rating > .star5:checked ~ label, .rating > .star5:hover ~ label {
    color: #1b610f;
}

.rating > .star4:checked ~ label, .rating > .star4:hover ~ label {
    color: #7c9c11;
}
.rating > .star3:checked ~ label, .rating > .star3:hover ~ label {
    color: #fcc029;
}

.rating > .star2:checked ~ label, .rating > .star2:hover ~ label {
    color: #ff5700;
}

.rating > .star1:checked ~ label, .rating > .star1:hover ~ label {
    color: #bc3a34;
}


@media (max-width: 767.98px) {
    /* Ajustes para la lista de chats en móvil */
    .chat-list-sidebar {
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      height: 100%;
      z-index: 1050;
      background-color: white;
      transition: left 0.3s ease;
      box-shadow: 0 0 15px rgba(0,0,0,0.2);
    }
    
    .chat-list-sidebar.show {
      left: 0;
    }
    
    /* Ajustes para los mensajes */
    .mensaje-box {
      max-width: 85%;
    }
    
    #boxMessages {
      height: calc(70vh - 55px) !important;
    }
    
    /* Input de mensaje más grande en móvil */
    .input-group .form-control {
      padding: 12px;
    }
    
    .input-group .btn {
      padding: 12px 16px;
    }
}
  