/* Estilos Personalizados para la Barra de Navegación */
.custom-navbar {
  position: relative;
  z-index: 1030;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease-in-out;
}

.custom-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f172a !important;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.custom-brand:hover {
  color: #2563eb !important;
}

.nav-link {
  font-weight: 500;
  color: #475569 !important;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
  border-radius: 6px;
}

.nav-link:hover, .nav-link:focus {
  color: #2563eb !important;
  background-color: #f8fafc;
}

.dropdown-menu {
  z-index: 1035;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 0.5rem;
}

.dropdown-item {
  font-size: 0.9rem;
  padding: 8px 14px;
  color: #334155;
  border-radius: 6px;
  transition: all 0.12s ease-in-out;
}

.dropdown-item:hover {
  background-color: #eff6ff;
  color: #2563eb;
}

.dropdown-item i {
  font-size: 1.05rem;
}

.avatar-img {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  transition: border-color 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.avatar-img:hover {
  border-color: #2563eb;
  transform: scale(1.05);
}

#userMenuDropdown::after {
  display: none !important;
}

@media (max-width: 991.98px) {
  .custom-navbar .navbar-collapse {
    background-color: #ffffff;
    padding: 1rem 0;
  }
}
