/* ============ GLOBAL HEADER ============ */
.app-header {
  height: var(--header-h);
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6e 50%, #1e5db5 100%);
  display: flex; align-items: center; justify-content: space-between;
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 20px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  border-bottom: 2px solid var(--blue-glow);
}
.app-header::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px);
  pointer-events: none;
}
.header-left { display: flex; align-items: center; gap: 12px; }
.header-center { display: flex; align-items: center; }
.header-right { display: flex; align-items: center; gap: 10px; }

.logo-header { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.logo-text { font-family: 'Orbitron', sans-serif; font-size: 22px; font-weight: 900; color: white; letter-spacing: 2px; }
.logo-text span { color: var(--green-main); }

.nav-btn { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 6px 14px; border-radius: 6px; cursor: pointer; font-family: 'Exo 2', sans-serif; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 6px; transition: all 0.2s; }
.nav-btn:hover { background: rgba(255,255,255,0.2); }

.header-icon-btn { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: all 0.2s; position: relative; }
.header-icon-btn:hover { background: rgba(255,255,255,0.22); }
.notif-badge { position: absolute; top: -3px; right: -3px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); font-size: 9px; font-weight: 700; color: white; display: flex; align-items: center; justify-content: center; }

.user-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--green-main); border: 2px solid var(--green-glow); color: white; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* ── Responsive header ─────────────────────────────────────── */
@media (max-width: 768px) {
  .app-header { padding: 0 10px; }
  .header-center { display: flex !important; }
  .header-icon-btn { width: 30px; height: 30px; font-size: 13px; }
  .user-avatar { width: 30px; height: 30px; font-size: 12px; }
  .logo-text { font-size: 16px !important; letter-spacing: 1px; }
}

@media (max-width: 480px) {
  .logo-text { display: none; }
}
