/* Neo topnav — unieke kleur per tab + glow pill effect */ .topnav { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.4rem 0.85rem; padding-bottom: 0.55rem; } /* Shared pill base */ .nav-pill, .topnav-herman.nav-pill { --pill-color: #38bdf8; --pill-glow: rgba(56, 189, 248, 0.45); --pill-bg: rgba(56, 189, 248, 0.12); position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 0.45rem 0.85rem; border-radius: 10px; font-size: 0.8rem; font-weight: 600; text-decoration: none; white-space: nowrap; color: #cbd5e1; border: 1px solid color-mix(in srgb, var(--pill-color) 28%, rgba(255, 255, 255, 0.06)); background: rgba(15, 23, 42, 0.6); transition: transform 0.2s, box-shadow 0.25s, border-color 0.25s, color 0.2s; overflow: hidden; isolation: isolate; } .nav-pill::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, var(--pill-bg), transparent 70%); opacity: 0.85; z-index: -1; transition: opacity 0.25s; } .nav-pill::after { content: ""; position: absolute; top: -50%; left: -60%; width: 50%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent); transform: skewX(-20deg); opacity: 0; transition: opacity 0.3s, left 0.5s; pointer-events: none; } .nav-pill:hover { transform: translateY(-2px); color: #f8fafc; border-color: color-mix(in srgb, var(--pill-color) 50%, transparent); box-shadow: 0 4px 20px var(--pill-glow), 0 0 0 1px color-mix(in srgb, var(--pill-color) 25%, transparent); } .nav-pill:hover::after { opacity: 1; left: 120%; } .nav-pill.active { color: #fff; border-color: var(--pill-color); box-shadow: 0 0 0 1px color-mix(in srgb, var(--pill-color) 40%, transparent), 0 0 22px var(--pill-glow), inset 0 0 18px color-mix(in srgb, var(--pill-color) 18%, transparent); text-shadow: 0 0 12px var(--pill-glow); animation: nav-pill-pulse 2.5s ease-in-out infinite; } .nav-pill.active::before { opacity: 1; background: linear-gradient(145deg, color-mix(in srgb, var(--pill-color) 35%, transparent), color-mix(in srgb, var(--pill-color) 8%, transparent)); } @keyframes nav-pill-pulse { 0%, 100% { box-shadow: 0 0 0 1px color-mix(in srgb, var(--pill-color) 40%, transparent), 0 0 18px var(--pill-glow), inset 0 0 14px color-mix(in srgb, var(--pill-color) 15%, transparent); } 50% { box-shadow: 0 0 0 1px var(--pill-color), 0 0 28px var(--pill-glow), inset 0 0 22px color-mix(in srgb, var(--pill-color) 22%, transparent); } } /* Herman — reset legacy gold tab, use neo pill */ .topnav-herman.nav-pill { margin-right: 0; margin-bottom: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: rgba(15, 23, 42, 0.6); color: #cbd5e1; box-shadow: none; } .topnav-herman.nav-pill.active { color: #fff; background: rgba(15, 23, 42, 0.6); } .nav-pill-herman { --pill-color: #fbbf24; --pill-glow: rgba(251, 191, 36, 0.55); --pill-bg: rgba(251, 191, 36, 0.2); font-weight: 700; font-size: 0.88rem; padding: 0.5rem 1.1rem; } /* CRM */ .nav-pill-clients { --pill-color: #38bdf8; --pill-glow: rgba(56, 189, 248, 0.5); --pill-bg: rgba(56, 189, 248, 0.15); } .nav-pill-deals { --pill-color: #4ade80; --pill-glow: rgba(74, 222, 128, 0.5); --pill-bg: rgba(74, 222, 128, 0.12); } .nav-pill-products { --pill-color: #a855f7; --pill-glow: rgba(168, 85, 247, 0.5); --pill-bg: rgba(168, 85, 247, 0.12); } .nav-pill-suppliers { --pill-color: #fb923c; --pill-glow: rgba(251, 146, 60, 0.5); --pill-bg: rgba(251, 146, 60, 0.12); } /* Intel */ .nav-pill-beurs { --pill-color: #b8ff3c; --pill-glow: rgba(184, 255, 60, 0.45); --pill-bg: rgba(184, 255, 60, 0.1); } .nav-pill-retail { --pill-color: #0066cc; --pill-glow: rgba(0, 102, 204, 0.55); --pill-bg: rgba(0, 102, 204, 0.18); } .nav-pill-browser { --pill-color: #14b8a6; --pill-glow: rgba(20, 184, 166, 0.5); --pill-bg: rgba(20, 184, 166, 0.12); } .nav-pill-documents { --pill-color: #94a3b8; --pill-glow: rgba(148, 163, 184, 0.4); --pill-bg: rgba(148, 163, 184, 0.1); } /* Hermes */ .nav-pill-telegram { --pill-color: #2aabee; --pill-glow: rgba(42, 171, 238, 0.55); --pill-bg: rgba(42, 171, 238, 0.15); } /* Agents */ .nav-pill-agents { --pill-color: #00e5ff; --pill-glow: rgba(0, 229, 255, 0.5); --pill-bg: rgba(0, 229, 255, 0.1); } .nav-pill-marketing { --pill-color: #ff6b9d; --pill-glow: rgba(255, 107, 157, 0.5); --pill-bg: rgba(255, 107, 157, 0.12); } .nav-pill-chat { --pill-color: #fcd34d; --pill-glow: rgba(252, 211, 77, 0.45); --pill-bg: rgba(252, 211, 77, 0.12); } .nav-pill-studio { --pill-color: #ec4899; --pill-glow: rgba(236, 72, 153, 0.5); --pill-bg: rgba(236, 72, 153, 0.12); } .nav-pill-reports { --pill-color: #6366f1; --pill-glow: rgba(99, 102, 241, 0.5); --pill-bg: rgba(99, 102, 241, 0.12); } /* System */ .nav-pill-analytics { --pill-color: #8b5cf6; --pill-glow: rgba(139, 92, 246, 0.5); --pill-bg: rgba(139, 92, 246, 0.12); } .nav-pill-voice { --pill-color: #f97316; --pill-glow: rgba(249, 115, 22, 0.5); --pill-bg: rgba(249, 115, 22, 0.12); } .nav-pill-ops { --pill-color: #22d3ee; --pill-glow: rgba(34, 211, 238, 0.5); --pill-bg: rgba(34, 211, 238, 0.12); } .nav-pill-settings { --pill-color: #e2e8f0; --pill-glow: rgba(226, 232, 240, 0.35); --pill-bg: rgba(226, 232, 240, 0.08); } /* Group labels — subtiel gekleurd */ .topnav-group { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.3rem; padding: 0.35rem 0.65rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.04); background: rgba(0, 0, 0, 0.15); } .topnav-group:first-of-type { border-left: none; } .topnav-group-system { margin-left: auto; } .topnav-label { font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.1em; color: #64748b; margin-right: 0.15rem; padding: 0.2rem 0.35rem; border-radius: 4px; background: rgba(255, 255, 255, 0.03); } .topnav-group-crm .topnav-label { color: #38bdf8; } .topnav-group-intel .topnav-label { color: #b8ff3c; } .topnav-group-hermes .topnav-label { color: #2aabee; } .topnav-group-agents .topnav-label { color: #00e5ff; } /* Override legacy palantir topnav link styles */ .topnav-group a.nav-pill { margin: 0; } .topnav-group a.nav-pill:hover, .topnav-group a.nav-pill.active { background: rgba(15, 23, 42, 0.6); } .topbar { padding: 0.65rem 1.25rem 0.35rem; } @media (max-width: 900px) { .topnav-label { display: none; } .nav-pill { padding: 0.4rem 0.65rem; font-size: 0.75rem; } .topnav-group { padding: 0.25rem 0.4rem; } } @media (prefers-reduced-motion: reduce) { .nav-pill.active { animation: none; } .nav-pill:hover { transform: none; } }