/* Topbar moderno */
.topbar {
  height: 60px;
  margin-left: 70px;
  background-color: #ffffff;
  border-bottom: 1px solid #f0e6e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  transition: margin-left 0.3s;
}

.topbar h4 {
  margin: 0;
  font-weight: 600;
  color: #555;
}

.topbar .user-dropdown i {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  color: #555;
}

.topbar .dropdown-menu {
  border-radius: 0.5rem;
  border: 1px solid #f0e6e6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Mueve topbar solo si el sidebar está hover */
.sidebar:hover ~ .topbar {
  margin-left: 220px;
}

/* Responsive */
@media (max-width: 768px) {
  .topbar { margin-left: 60px; }
}
