.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menuBtn {
  display: none;
  padding: 8px;
  border-radius: 8px;
  color: var(--text-secondary);
  transition: background 0.2s;
}

.menuBtn:hover {
  background: rgba(var(--primary-rgb) / 0.08);
}

.title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.notificationBtn,
.iconBtn {
  position: relative;
  padding: 10px;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: background 0.2s;
}

.notificationBtn:hover,
.iconBtn:hover {
  background: rgba(var(--primary-rgb) / 0.08);
  color: var(--primary);
}

.badge {
  position: absolute;
  top: 4px;
  inset-inline-end: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  border-radius: 999px;
  border: 2px solid white;
}

.profileWrap {
  position: relative;
}

.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  padding-inline: 14px 12px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.profile:hover,
.profileOpen {
  box-shadow: var(--glass-shadow);
  border-color: rgba(var(--primary-rgb) / 0.25);
}

.profileInfo {
  display: flex;
  flex-direction: column;
}

.name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.role {
  font-size: 12px;
  color: var(--text-muted);
}

.chevron {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.chevronOpen {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 180px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(31, 38, 135, 0.12);
  z-index: 60;
  animation: dropdownIn 0.15s ease;
}

.dropdownItem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: background 0.15s, color 0.15s;
}

.dropdownItem:hover {
  background: rgba(var(--primary-rgb) / 0.08);
  color: var(--primary);
}

.dropdownItem:last-child:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .menuBtn {
    display: flex;
  }

  .profileInfo {
    display: none;
  }

  .chevron {
    display: none;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 16px;
  }

  .title {
    font-size: 16px;
  }
}
