/* Dashboard Drawer Styles */
.dashboard-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

.dashboard-drawer.open {
  right: 0;
}

.dashboard-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.dashboard-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.dashboard-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.dashboard-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.dashboard-error {
  padding: 20px;
  text-align: center;
}

@media (max-width: 768px) {
  .dashboard-drawer {
    width: 100%;
    right: -100%;
  }
}

.btn-username {
  background: transparent;
  border: none;
  color: inherit;
  padding: 0.25rem 0.5rem;
  transition: all 0.2s ease;
}

.btn-username:hover {
  background: rgba(255, 255, 255, 0.1);
}

.avatar-circle {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.avatar-initials {
  line-height: 1;
}
