.header { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; position: sticky; top: 0; z-index: 50; background: var(--header-bg, var(--glass-bg-strong, var(--glass-bg))); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); border-bottom: 1px solid var(--glass-border); isolation: isolate; transform: translateZ(0); } .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; } .iconBtn { position: relative; padding: 10px; border-radius: 50%; color: var(--text-secondary); transition: background 0.2s, color 0.2s; } .iconBtn:hover { background: rgba(var(--primary-rgb) / 0.08); color: var(--primary); } .badge { position: absolute; top: 4px; right: 4px; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-glow) 0%, var(--primary) 100%); color: white; font-size: 10px; font-weight: 600; border-radius: 50%; border: 2px solid white; } .profileWrap { position: relative; } .profile { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: 50px; background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--glass-border); cursor: pointer; } .profileInfo { display: flex; flex-direction: column; padding: 0 4px; } .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); right: 0; min-width: 180px; padding: 6px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); box-shadow: 0 12px 32px rgba(var(--primary-rgb) / 0.14); z-index: 60; animation: dropdownIn 0.15s ease; } .dropdownItem { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--text-secondary); transition: background 0.15s, color 0.15s; text-align: left; } .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; } }