/* WaveSite CSS overrides
   Loaded after app.css + build.css in wavesite/base.html.
   Hides Surf-specific chrome. Adds wavesite-specific styles.
   Variables are provided by app.css (:root + [data-theme="dark"]).
   This file should NOT redefine :root variables. */

/* ── Hide Surf-specific navigation chrome ── */

/* 5-mode nav (Research/Plan/Build/Grow/Chat) - defined in app.css line 67 */
.nav-modes {
    display: none !important;
}

/* Workspace switcher - defined in app.css line 81 */
.workspace-switcher {
    display: none !important;
}

/* Usage indicators (AI generations, site count) - defined in app.css line 846 */
.nav-usage {
    display: none !important;
}

/* Sub-navigation (mode-specific tabs: Grow tabs, Chat tabs) - defined in app.css line 75 */
.nav-sub {
    display: none !important;
}

/* Impersonation banner (admin tool) */
[hx-get="/api/impersonation-banner"] {
    display: none !important;
}

/* ── Wavesite nav branding ── */

/* Override nav brand to point home */
.wavesite-brand {
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ── Wavesite nav links (authenticated) ── */

.wavesite-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wavesite-nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color 0.15s, background-color 0.15s;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.wavesite-nav-link:hover {
    color: var(--text);
    background: var(--hover-bg);
}

.wavesite-nav-link-active {
    color: var(--primary);
    background: var(--primary-light);
}

/* ── Mobile: remove bottom nav bar ── */
/* On Surf, .nav-modes becomes a fixed bottom bar on mobile (app.css line 670).
   Wavesite hides it entirely, so reclaim the bottom padding. */
@media (max-width: 768px) {
    .nav-modes {
        display: none !important;
    }

    /* Remove bottom padding that compensates for fixed bottom nav */
    main {
        padding-bottom: 0;
    }
}

/* ── Wavesite footer ── */

.wavesite-footer {
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.wavesite-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.wavesite-footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.wavesite-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.wavesite-footer-links a:hover {
    color: var(--text);
}