/* ================================================
   CASEBUDDY SHARED HEADER
   Unified navigation bar - all platform components
   ================================================ */

@keyframes cbLogoBreath {
    0%, 100% { box-shadow: 0 0 3px 1px rgba(201,168,76,0.08); }
    50%       { box-shadow: 0 0 10px 3px rgba(201,168,76,0.28); }
}

/* ── BASE BAR ─────────────────────────────────── */
.cb-header {
    background: #0E2535;
    padding: 0 20px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
    position: relative; /* for ::after */
    box-sizing: border-box;
}

/* Gold accent line */
.cb-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #C9A84C 50%, transparent 100%);
    pointer-events: none;
}

/* ── LAYOUT SECTIONS ──────────────────────────── */
.cb-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cb-header-center {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 16px;
    min-width: 0;
}

.cb-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ── CASEBUDDY LOGO BOX ───────────────────────── */
.cb-logo {
    border: 1.5px solid #C9A84C;
    border-radius: 3px;
    padding: 0.22rem 0.6rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: #C9A84C;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    animation: cbLogoBreath 4s ease-in-out infinite;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
}

/* ── BREADCRUMB / SECTION TITLE ───────────────── */
.cb-breadcrumb {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* ── UNIVERSAL HEADER BUTTON ──────────────────── */
.cb-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid rgba(255,255,255,0.22);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.73rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
    line-height: 1;
    box-sizing: border-box;
}
.cb-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.38);
    color: #fff;
}
.cb-btn svg {
    flex-shrink: 0;
    opacity: 0.8;
}
.cb-btn:hover svg { opacity: 1; }
