/*
 * Site header and footer for the member panel. The footer rules are a copy of the inline
 * <style> in app/Views/footer.php (without the cookie banner); keep them in step with it.
 * Static markup and CSS only: no ad, analytics or other third-party script is carried over.
 */
    main > .container:last-child {
        margin-bottom: 1.5rem !important;
    }
    .footer-accent-line {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, #1e3a8a, #2563eb, #38bdf8, #60a5fa, #2563eb, #1e3a8a);
        background-size: 300% 100%;
        animation: footerGlowLine 5s linear infinite;
        z-index: 10;
        box-shadow: 0 0 14px rgba(37, 99, 235, 0.55);
        will-change: background-position;
    }
    @keyframes footerGlowLine {
        0% {
            background-position: 0% 50%;
        }
        100% {
            background-position: 300% 50%;
        }
    }
    footer.site-footer {
        display: block !important;
        text-align: left !important;
        padding: 40px 0 25px 0 !important;
        background: #090e1a !important; /* Cohesive deep navy matching hero header & navbar */
        border-top: none !important;
        margin-top: 25px !important;
        width: 100% !important;
        position: relative !important;
    }
    footer.site-footer .container {
        width: 100% !important;
        max-width: 1140px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    footer.site-footer .footer-brand-wrap {
        display: block !important;
        margin-bottom: 16px !important;
        float: none !important;
        text-decoration: none !important;
    }
    footer.site-footer .footer-brand-wrap img {
        display: block !important;
        height: 28px !important;
        width: auto !important;
        max-width: 180px !important;
    }
    footer.site-footer .footer-desc {
        color: #94a3b8 !important;
        font-size: 0.88rem !important;
        line-height: 1.65 !important;
        margin: 0 !important;
        max-width: 340px !important;
        display: block !important;
        clear: both !important;
    }
    footer.site-footer .footer-title {
        color: #ffffff !important;
        font-size: 0.95rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.04em !important;
        text-transform: uppercase !important;
        margin-top: 0 !important;
        margin-bottom: 18px !important;
        padding: 0 !important;
    }
    footer.site-footer ul.footer-links-vertical {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
    }
    footer.site-footer ul.footer-links-vertical li {
        display: block !important;
        float: none !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        text-align: left !important;
        width: 100% !important;
    }
    footer.site-footer ul.footer-links-vertical li a {
        display: inline-block !important;
        padding: 2px 0 !important;
        font-size: 0.88rem !important;
        font-weight: 400 !important;
        text-transform: none !important;
        color: #cbd5e1 !important;
        text-decoration: none !important;
        line-height: 1.5 !important;
        transition: color 0.15s ease, transform 0.15s ease !important;
    }
    footer.site-footer ul.footer-links-vertical li a:hover {
        color: #38bdf8 !important;
        transform: translateX(4px) !important;
    }
    footer.site-footer .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        margin-top: 36px !important;
        padding-top: 20px !important;
        font-size: 0.85rem !important;
        color: #94a3b8 !important;
        text-align: center !important;
        display: block !important;
        width: 100% !important;
    }
    footer.site-footer .footer-bottom a {
        color: #60a5fa !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        text-transform: none !important;
        padding: 0 !important;
        display: inline !important;
        transition: color 0.15s ease !important;
    }
    footer.site-footer .footer-bottom a:hover {
        color: #93c5fd !important;
    }
    @media (max-width: 767.98px) {
        main > .container:last-child {
            margin-bottom: 1rem !important;
        }
        footer.site-footer {
            padding-top: 28px !important;
            padding-bottom: 20px !important;
            margin-top: 18px !important;
        }
        footer.site-footer .footer-desc {
            max-width: 100% !important;
        }
    }

/* Navigation: the language menu and mobile drawer are driven by assets/js/panel-chrome.js */
.navbar .dropdown { position: relative; }
.navbar .dropdown-toggle { background: none; border: 0; cursor: pointer; }
.navbar .nav-link { text-decoration: none; }
.navbar #signOut { background: none; border: 0; width: 100%; text-align: left; cursor: pointer; font-size: inherit; text-transform: none; }
.navbar .close-mobile-drawer { background: none; border: 0; cursor: pointer; }
.navbar .navbar-nav .dropdown-menu { right: 0; left: auto; }
.navbar .headericons { width: 18px; height: 18px; flex-shrink: 0; }
@media (min-width: 992px) {
  .navbar .headericons { margin-right: 6px; }
  .navbar .navbar-nav .dropdown-menu:not(.show) { display: none; }
}
body.panel-page { min-height: 100vh; }
