/* Shared app footer + QA test banner.
   Extracted from the inline <style> blocks in views/general/app_footer.php
   (referenced via app_asset() so it is cache-busted). Keep render-only markup
   in the partial; style here. */

.qa-test-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    background: #1a1a2e;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-top: 2px solid #f59e0b;
}

.app-footer {
    background: #111;
    color: #ddd;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    margin-top: auto;
}
.app-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
/* Vertical padding lives on the inner wrapper rather than on the footer — the
   shape the retired system-message band needed, and harmless without it. */
.app-footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.5rem 15px;
}

/* The `.app-footer-sysmessage*` block that stood here — the muted teal operator
   system-message band across the top of the footer — is RETIRED (ClickUp
   868m069pv, 2026-09-02). The notice moved out of the footer entirely: it is now
   the floating dock in the bottom-right of the viewport (`.app-sysnotice-dock`
   in general.css, ClickUp 868m1j9kz), and an in-flow panel below the sign-in
   card on the login (`.login-sysnotice` in assets/login/login.css). Nothing
   renders that markup any more, so these rules would only be here to be
   copied. */

.app-footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.app-footer-logo {
    flex: 0 0 25%;
    max-width: 25%;
    text-align: center;
}
/* 46px, not the Investor Portal's 85px: this project's logo.png is a TIGHT crop
   (artwork fills 75.6% of the canvas height) where the Investor Portal's is the
   padded master (41.2%). 85 x (41.2 / 75.6) = 46 renders the wordmark at the
   same ~35px as the Investor Portal footer. Re-derive this cap if logo.png is
   ever replaced. */
.app-footer-logo img {
    max-height: 46px;
}
.app-footer-content {
    flex: 0 0 75%;
    max-width: 75%;
}
.app-footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 2rem;
    font-size: 14px;
}
.app-footer-links a {
    color: var(--accent);
    text-decoration: none;
}
.app-footer-links a:hover {
    text-decoration: underline;
}
.app-footer-phones {
    list-style: none;
    padding: 0;
    margin: 0 0 8px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0 2rem;
    font-size: 13px;
    color: #bbb;
}
.app-footer-phones a {
    color: var(--accent);
    text-decoration: none;
}
.app-footer-phones a:hover {
    text-decoration: underline;
}
.app-footer-copyright {
    font-size: 12px;
    color: #888;
}
@media (max-width: 768px) {
    .app-footer-row {
        flex-direction: column;
        text-align: center;
    }
    .app-footer-logo,
    .app-footer-content {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    .app-footer-links,
    .app-footer-phones {
        justify-content: center;
    }
    .app-footer-copyright {
        text-align: center;
    }
}
