/*
  report-shell.css — chrome for the STATIC marketing insights report.
  Replaces the app's real header/side-nav with a lightweight back-link + demo
  profile bar. Kept tiny and self-contained so the report stays modal-ready.
*/

.sn-report-topbar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 28px;
    background: rgba(20, 20, 25, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-work-sans), "Work Sans", sans-serif;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.sn-report-back {
    color: var(--color-darkgray, #afb1be);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.sn-report-back:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.sn-report-brand {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--color-white, #fff);
    margin-right: auto;
}

.sn-report-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.sn-report-profile img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/*
  Tab nav — shared by summary.html, match-history.html and analytics.html.
  These mirror the rules in summary.css so pages that don't load the summary
  layout still get the tabs. report-shell.css is loaded last everywhere, so
  the two definitions can't disagree.
*/
.tab-nav {
    display: flex;
    gap: 10px;
    position: relative;
    top: 60px;
    left: 90px;
    max-width: 560px;
}

.tab-link {
    padding: 8px 18px;
    background: var(--color-gray-100);
    color: #a8aaaf;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    border-radius: 999px;
    transition: all 0.2s ease;
    border: none;
    display: inline-block;
    white-space: nowrap;
}

.tab-link:hover {
    background: #383944;
    color: #fff;
}

.tab-link.active {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

/* Disabled tab (page not ported yet) */
.tab-nav .tab-link[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .tab-nav {
        left: 18px;
        max-width: calc(100% - 36px);
        overflow-x: auto;
    }
}
