/* Career Fixx — public header, every page: logo, centred pill of links, dark LOGIN | REGISTER.
   Loaded in the layout after cf-header.css. */

/* ══ Header ════════════════════════════════════════════════════════════ */
html body .cfx-hdr.is-studio { font-family: 'Poppins', sans-serif; }
html body .cfx-hdr.is-studio .cfx-hdr-bar { max-width: 1440px; padding: 8px 24px; border-color: transparent; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
html body .cfx-hdr.is-studio .cfx-hdr-bar::before { display: none; }
/* glass behind the bar once the page moves, so it stays readable */
html body .cfx-hdr.is-studio.is-scrolled .cfx-hdr-bar { background: rgba(255, 255, 255, .82); box-shadow: 0 12px 34px rgba(60, 20, 140, .14); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
html[data-theme="dark"] body .cfx-hdr.is-studio.is-scrolled .cfx-hdr-bar { background: rgba(18, 12, 40, .85); }

@media (min-width: 1200px) {
    html body .cfx-hdr.is-studio .cfx-hdr-bar { display: grid; grid-template-columns: 1fr auto 1fr; }
    html body .cfx-hdr.is-studio .cfx-hdr-actions { justify-self: end; }
    html body .cfx-hdr.is-studio .cfx-burger { display: none; }
    /* the centred pill of links */
    html body .cfx-hdr.is-studio .cfx-hdr-nav {
        gap: clamp(4px, 1.4vw, 22px);
        padding: 3px 6px;
        border: 2px solid #fff;
        border-radius: 999px;
        background: linear-gradient(100deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .82) 70%, rgba(222, 160, 255, .85) 100%);
        box-shadow: 0 8px 26px rgba(150, 80, 255, .26);
    }
}
html body .cfx-hdr.is-studio .cfx-hdr-nav .cfx-hdr-link { padding: 7px 12px; border-radius: 999px; background: transparent; box-shadow: none; color: #1c1c1c; font-size: 13.5px; font-weight: 500; }
html body .cfx-hdr.is-studio .cfx-hdr-nav .cfx-hdr-link:hover,
html body .cfx-hdr.is-studio .cfx-hdr-nav .cfx-dd.is-open > .cfx-hdr-link { color: #5b21b6; background: rgba(124, 58, 237, .09); }
html body .cfx-hdr.is-studio .cfx-hdr-nav .cfx-hdr-link.is-active { color: #5b21b6; font-weight: 700; }
html body .cfx-hdr.is-studio .cfx-hdr-nav .cfx-hdr-link::after { bottom: 3px; }
html body .cfx-hdr.is-studio .cfx-hdr-nav .cfx-hdr-link.is-active::after { width: calc(100% - 24px); }

/* LOGIN | REGISTER */
.cfx-hdr-auth { display: inline-flex; align-items: center; padding: 0 8px; border-radius: 999px; background: #1f1f1f; }
.cfx-hdr .cfx-hdr-auth a { padding: 10px 8px; color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.2; text-transform: uppercase; }
.cfx-hdr .cfx-hdr-auth a:hover { color: #d8b4fe; }
.cfx-hdr-auth span { width: 1px; height: 14px; background: rgba(255, 255, 255, .6); }
html[data-theme="dark"] .cfx-hdr-auth { background: #6d28d9; }

html[data-theme="dark"] body .cfx-hdr.is-studio .cfx-hdr-nav { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); box-shadow: 0 8px 26px rgba(0, 0, 0, .35); }
html[data-theme="dark"] body .cfx-hdr.is-studio .cfx-hdr-nav .cfx-hdr-link { color: #ece8ff; }
html[data-theme="dark"] body .cfx-hdr.is-studio .cfx-hdr-nav .cfx-hdr-link.is-active { color: #d8b4fe; }

@media (max-width: 767.98px) { html body .cfx-hdr.is-studio .cfx-hdr-cta { background: #1f1f1f; box-shadow: none; } }
/* the logo's dark lettering needs lifting on the night colours */
html[data-theme="dark"] body .cfx-hdr.is-studio .cfx-hdr-logo img { filter: brightness(1.35) saturate(1.15) drop-shadow(0 0 10px rgba(180, 108, 255, .45)); }
