/* =============================================================
    Shared navigation look (map info panel, top bar, footer)
    ============================================================= */

[hidden] {
    display: none !important;
}

.satcam-nav-link {
    display: inline-flex;
    align-items: center;
    gap: var(--satcam-space-sm);
    padding: var(--satcam-space-xs) var(--satcam-space-md);
    border-radius: var(--satcam-radius);
    color: var(--satcam-color-text);
    font-family: var(--satcam-font-family-ui);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.satcam-nav-link:hover,
.satcam-nav-link:focus-visible {
    background: var(--satcam-color-highlight);
}

.satcam-nav-link.is-active {
    color: var(--satcam-color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Highlighted entry (e.g. Support), independent of the configured symbol */
.satcam-nav-link.satcam-pill {
    border: var(--satcam-border);
    border-radius: var(--satcam-radius-pill);
    background: var(--satcam-color-surface-solid);
    padding: var(--satcam-space-xs) var(--satcam-control-padding-x);
}

.satcam-nav-link.satcam-pill:hover,
.satcam-nav-link.satcam-pill:focus-visible {
    background: var(--satcam-color-highlight);
}

.satcam-nav-symbol {
    display: block;
    flex: 0 0 auto;
    width: var(--satcam-control-icon-size-small);
    height: var(--satcam-control-icon-size-small);
    background-color: currentColor;
    -webkit-mask: var(--satcam-symbol-url) center / contain no-repeat;
    mask: var(--satcam-symbol-url) center / contain no-repeat;
}

.satcam-pill > .satcam-nav-symbol {
    color: var(--satcam-color-support);
}

/* Keep highlighted symbols visible on the yellow hover background. */
.satcam-pill:hover > .satcam-nav-symbol,
.satcam-pill:focus-visible > .satcam-nav-symbol {
    color: var(--satcam-color-support-hover);
}
