/* ══════════════════════════════════════════════════
   UNIFIED SHARED UI — all pages
   Single source of truth for top nav switch + bottom bar
   ══════════════════════════════════════════════════ */

/* Navigation elements with data-nav */
[data-nav] {
    cursor: pointer;
}

/* ── VIEW SWITCH (top bar – 3 buttons) ── */
.view-switch {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}

.view-switch .switch-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    width: 36px;
    height: 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}

.view-switch .switch-btn:hover {
    color: #fff;
}

.view-switch .switch-btn.active {
    background: #fff;
    color: #5e2880;
}

/* ── BOTTOM NAV BAR ── */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: rgba(10, 6, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 999;
}

.bnav-left,
.bnav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.bnav-left {
    justify-content: flex-start;
}

.bnav-right {
    justify-content: flex-end;
}

.bnav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex: 1;
}

.bnav-text-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.2s;
}

.bnav-text-link:hover {
    color: #fff;
}

.bnav-brand {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: none;
}

.bnav-settings-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.bnav-settings-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.bnav-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.bnav-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.bnav-btn.locked {
    color: #ed5f7f;
    background: rgba(237, 95, 127, 0.15);
}

.bnav-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
}