﻿/* ============================================ */
/* Footer Styles - RubikCare                    */
/* ⭐ Selectors قوية لضمان التغلب على أي قواعد */
/* ============================================ */

body .main-wrapper footer.footer,
body footer.footer,
footer.footer {
    background: linear-gradient(135deg, var(--rubik-primary-dark, #0F3B52) 0%, var(--rubik-primary, #1B5A7A) 100%) !important;
    background-image: linear-gradient(135deg, var(--rubik-primary-dark, #0F3B52) 0%, var(--rubik-primary, #1B5A7A) 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 1.2rem 0 !important;
    margin-top: auto !important;
    font-family: 'Cairo', 'Segoe UI', sans-serif !important;
    color: rgba(255, 255, 255, 0.8) !important;
    display: block !important;
    width: 100% !important;
}

    body footer.footer .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }

    body footer.footer .footer-links {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
    }

        body footer.footer .footer-links li {
            display: inline-block;
            list-style: none !important;
        }

    body footer.footer a {
        color: rgba(255, 255, 255, 0.75) !important;
        text-decoration: none !important;
        transition: all 0.25s ease !important;
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
        border-radius: 20px;
        font-weight: 500;
    }

        body footer.footer a:hover {
            color: #ffffff !important;
            background: rgba(255, 255, 255, 0.15) !important;
            text-decoration: none !important;
        }

    body footer.footer .separator {
        color: rgba(255, 255, 255, 0.2) !important;
        font-size: 0.7rem;
    }

    body footer.footer .copyright {
        color: rgba(255, 255, 255, 0.5) !important;
        font-size: 0.7rem;
        text-align: center;
        margin-top: 0.75rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

@media (max-width: 576px) {
    body footer.footer {
        padding: 1rem 0 !important;
    }

        body footer.footer .footer-links {
            flex-direction: column;
            gap: 0.25rem;
        }

        body footer.footer .separator {
            display: none;
        }

        body footer.footer a {
            padding: 0.3rem 1rem;
            font-size: 0.8rem;
        }

        body footer.footer .copyright {
            font-size: 0.65rem;
        }
}

[dir="rtl"] body footer.footer a:hover {
    transform: translateY(-1px);
}
