.pane {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 50%; /* Default width for desktop */
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateX(100%);
    opacity: 0;
    z-index: 50;
}

/* Full width for mobile devices */
@media (max-width: 768px) {
    .pane {
        width: 100%; /* 100% width for mobile */
    }
}

.pane.open {
    transform: translateX(0); /* Slide into view */
    opacity: 1; /* Fully visible */
}

.pane.closed {
    transform: translateX(100%); /* Slide out of view */
    opacity: 0; /* Hidden */
}

.badge {
    background-color: #ff5733; /* Badge color */
    color: white;
    border-radius: 50%;
    padding: 0.2em 0.5em;
    font-size: 0.75rem;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.notification-bell {
    color: white; /* Color por defecto para el escritorio */
}

/* Cambiar el color en pantallas pequeñas (móviles) */
@media (max-width: 768px) { /* Ajusta el ancho según sea necesario */
    .notification-bell {
        color: black; /* Color para móviles */
    }
}

.chat-icon {
    font-size: 1.5rem;
  }

  .min-w-72 {
    min-width: 18rem;
  }

  /* Estilo adicional para el panel de chat */
  .transition-transform {
    transition: transform 0.3s ease-in-out; /* Duración y estilo de transición */
  }

  /* Estilo del botón de cerrar */
  .fa-times {
    cursor: pointer;
    font-size: 1.5rem; /* Tamaño del icono */
  }

  /* Limitar el ancho del panel a 50% de la pantalla */
  .fixed {
    max-width: 50%; /* Cambiado para que se abra hasta el 50% */
  }