/* Global Public Footer Stylesheet (public/css/footer.css) */
    /* Premium Redesigned Footer Styling */
    .premium-footer {
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        background-color: var(--footer-bg, #2a267b) !important;
        background: var(--footer-bg, #2a267b) !important;
        color: var(--footer-text, #ffffff) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.25rem 1.5rem 1rem 1.5rem;
        position: relative;
        z-index: 20;
        box-sizing: border-box;
        transition: all 0.3s ease;
    }
    
    .premium-footer.premium-footer-compact {
        padding: 0.75rem 1.5rem !important;
    }
    
    /* Apply offset only if sidebar layout is active */
    @media (min-width: 768px) {
        body.has-sidebar .premium-footer {
            margin-left: 14.3rem; /* Match sidebar width */
        }
    }

    /* Mobile view: suppress footer */
    @media (max-width: 768px) {
        .premium-footer,
        .main-ad-footer-wrapper {
            display: none !important;
        }
    }
    

    .premium-footer-container {
        max-width: var(--header-max-width, 1325px);
        margin: 0 auto;
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
    }

    .premium-footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
        width: 100%;
    }

    @media (min-width: 768px) {
        .premium-footer-grid {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 2rem;
            width: 100%;
        }

        .premium-footer-col:first-child {
            flex: 1 1 360px;
            max-width: 440px;
        }

        .premium-footer-col:nth-child(2),
        .premium-footer-col:nth-child(3) {
            flex: 0 1 auto;
            min-width: 140px;
        }

        .premium-footer-col:last-child {
            flex: 0 1 auto;
            min-width: 160px;
        }
    }

    .premium-footer-col {
        display: flex;
        flex-direction: column;
    }

    .premium-footer-brand {
        font-size: 1.25rem;
        font-weight: 800;
        letter-spacing: -0.5px;
        margin: 0 0 0.35rem 0;
        text-align: left;
        line-height: 1.2;
        color: var(--footer-text, #94a3b8) !important;
    }

    .premium-footer-logo-link {
        display: block;
        text-align: left;
        margin: 0.25rem 0 0.5rem 0;
    }

    .premium-footer-logo {
        max-height: 48px;
        width: auto;
        object-fit: contain;
        margin: 0;
        margin-left: 0;
        margin-right: auto;
        border-radius: 4px;
        display: block;
    }

    .premium-footer-desc {
        font-size: 0.75rem;
        line-height: 1.4;
        opacity: 0.85;
        margin: 0;
        color: var(--footer-text, #94a3b8) !important;
    }

    .premium-footer-col h3 {
        font-size: 0.8rem;
        font-weight: 700;
        margin: 0 0 0.5rem 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        position: relative;
        padding-bottom: 0.25rem;
        opacity: 0.95;
        color: var(--footer-text, #94a3b8) !important;
    }

    .premium-footer-col h3::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 14px;
        height: 2px;
        background: currentColor;
        opacity: 0.35;
        border-radius: 1px;
    }

    .premium-footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
    }

    .premium-footer-links a {
        color: var(--footer-text, #94a3b8) !important;
        text-decoration: none;
        font-size: 0.775rem;
        opacity: 0.85;
        transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        display: inline-block;
    }

    .premium-footer-links a:hover {
        opacity: 1;
        transform: translateX(4px);
        text-decoration: underline;
    }

    .premium-footer-socials {
        display: flex;
        gap: 0.4rem;
        margin-top: 0.25rem;
    }

    .premium-footer-social-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: rgba(128, 128, 128, 0.15);
        border: 1px solid currentColor;
        color: var(--footer-text, #94a3b8) !important;
        text-decoration: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 0.8rem;
    }

    .premium-footer-social-btn:hover {
        transform: translateY(-2px) scale(1.05);
        color: #ffffff !important;
        border-color: transparent;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }

    .premium-footer-social-btn.facebook:hover { background-color: #1877F2; }
    .premium-footer-social-btn.twitter:hover { background-color: #000000; }
    .premium-footer-social-btn.instagram:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
    .premium-footer-social-btn.whatsapp:hover { background-color: #25D366; }
    .premium-footer-social-btn.youtube:hover { background-color: #FF0000; }

    .premium-footer-divider {
        border: 0;
        height: 1px;
        background: currentColor;
        opacity: 0.18;
        margin: 1rem 0 0.75rem 0;
    }

    .premium-footer-bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        font-size: 0.775rem;
        opacity: 0.85;
        color: var(--footer-text, #94a3b8) !important;
    }

    @media (min-width: 640px) {
        .premium-footer-bottom {
            flex-direction: row;
        }
    }

    .premium-footer-security {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .premium-footer-sec-item {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        opacity: 0.85;
    }

    .premium-footer-sec-item i {
        font-size: 0.85rem;
        color: #a5b4fc;
    }

    /* Dark Mode Support for Public & Dashboard Footer */
    html.dark .premium-footer,
    body.dark .premium-footer {
        background-color: #0f172a !important;
        background: #0f172a !important;
        color: #f8fafc !important;
        border-top: 1px solid #1e293b !important;
    }

    html.dark .premium-footer-brand,
    body.dark .premium-footer-brand {
        color: #ffffff !important;
    }

    html.dark .premium-footer-desc,
    body.dark .premium-footer-desc {
        color: #cbd5e1 !important;
    }

    html.dark .premium-footer-col h3,
    body.dark .premium-footer-col h3 {
        color: #f1f5f9 !important;
    }

    html.dark .premium-footer-col h3::after,
    body.dark .premium-footer-col h3::after {
        background: #6366f1 !important;
    }

    html.dark .premium-footer-links a,
    body.dark .premium-footer-links a {
        color: #94a3b8 !important;
    }

    html.dark .premium-footer-links a:hover,
    body.dark .premium-footer-links a:hover {
        color: #38bdf8 !important;
    }

    html.dark .premium-footer-social-btn,
    body.dark .premium-footer-social-btn {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: rgba(255, 255, 255, 0.18) !important;
        color: #cbd5e1 !important;
    }

    html.dark .premium-footer-social-btn:hover,
    body.dark .premium-footer-social-btn:hover {
        color: #ffffff !important;
        border-color: transparent !important;
    }

    html.dark .premium-footer-divider,
    body.dark .premium-footer-divider {
        background: #1e293b !important;
        opacity: 0.8 !important;
    }

    html.dark .premium-footer-bottom,
    body.dark .premium-footer-bottom {
        color: #94a3b8 !important;
    }

    html.dark .premium-footer-sec-item,
    body.dark .premium-footer-sec-item {
        color: #94a3b8 !important;
    }

    html.dark .premium-footer-sec-item svg,
    body.dark .premium-footer-sec-item svg {
        stroke: #818cf8 !important;
    }
