/* Estilos personalizados para el botón de usuario */

.btn-user-custom {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  color: white !important;
  transition: all 0.3s ease;
}

.btn-user-custom:hover, .btn-user-custom:focus {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: white !important;
  color: white !important;
}

/* Eliminar el fondo blanco que Bootstrap añade al hacer clic */

.btn-user-custom.show, .btn-user-custom:not(.collapsed) {
  background-color: transparent !important;
  color: white !important;
  border-color: white !important;
  box-shadow: none !important;
}

/* Estilos para el dropdown */

.dropdown-menu {
  min-width: 280px;
  padding: 0;
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.user-info {
  padding: 1rem;
  background-color: #f8f9fa;
}

.user-avatar {
  width: 40px;
  height: 40px;
}

.dropdown-item {
  padding: 0.6rem 1rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background-color: #ff6f00;
  color: white !important;
}

.dropdown-divider {
  margin: 0.3rem 0;
}

/* Para navegadores WebKit (Chrome, Safari) */

.btn-user-custom::-webkit-focus-ring-color {
  outline: none !important;
}

