.header { background: var(--surface); border-bottom: 1px solid var(--border); height: var(--header-height); flex-shrink: 0; } .header-inner { max-width: 1400px; height: 100%; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; } .header-brand { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--primary); letter-spacing: -0.01em; justify-self: start; } .header-nav { display: flex; align-items: center; gap: 28px; justify-self: center; } .header-nav-item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; border: none; background: none; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s; } .header-nav-item svg { flex-shrink: 0; } .header-nav-item:hover { color: var(--text); } .header-nav-item.active { color: var(--primary); border-bottom-color: var(--primary); } .header-actions { display: flex; align-items: center; gap: 12px; justify-self: end; } .header-admin-btn { padding: 8px 18px; border: 1.5px solid var(--primary); border-radius: 24px; background: transparent; color: var(--primary); font-size: 0.9rem; font-weight: 500; transition: background 0.15s, color 0.15s; } .header-admin-btn:hover { background: var(--primary-light); } .header-icon-btn { width: 40px; height: 40px; border: none; border-radius: 50%; background: transparent; color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: background 0.15s, color 0.15s; } .header-icon-btn:hover { background: var(--surface-2); color: var(--text); } .header-avatar { width: 40px; height: 40px; border: none; border-radius: 50%; background: #e8e8e8; color: var(--text-muted); display: flex; align-items: center; justify-content: center; transition: background 0.15s; } .header-avatar:hover { background: #ddd; } @media (max-width: 900px) { .header-inner { grid-template-columns: auto 1fr; grid-template-rows: auto auto; height: auto; padding: 12px 16px; gap: 12px; } .header-brand { grid-column: 1; grid-row: 1; font-size: 1.15rem; } .header-actions { grid-column: 2; grid-row: 1; } .header-nav { grid-column: 1 / -1; grid-row: 2; justify-self: start; gap: 16px; overflow-x: auto; } .header-nav-item span { white-space: nowrap; } .header-admin-btn { display: none; } } @media (max-width: 480px) { .header-nav-item span { font-size: 0.85rem; } }