    <style>
        body {
            font-family: <?= ($lang ?? 'en') === 'ar' ? "'Noto Sans Arabic', Tahoma, sans-serif" : "system-ui, -apple-system, sans-serif" ?>;
        }

        <?php if (($lang ?? 'en') === 'ar'): ?>
        /* RTL fixes */
        body {
            direction: rtl;
            text-align: right;
        }
        .top-header {
            flex-direction: row-reverse;
        }
        .top-header .back-btn {
            margin-right: 0;
            margin-left: 1rem;
        }
        .support-hero {
            text-align: right;
        }
        .support-card {
            text-align: right;
        }
        .contact-option {
            flex-direction: row-reverse;
        }
        .contact-option i {
            margin-right: 0;
            margin-left: 1.2rem;
        }
        .contact-option .text {
            text-align: right;
        }
        .bottom-nav > div {
            flex-direction: row-reverse;
        }
        <?php endif; ?>

        /* Language dropdown styling */
        .lang-dropdown .btn {
            background-color: #f8f9fa;
            border: 1px solid #ced4da;
            color: #333;
            font-weight: 500;
            padding: 0.45rem 0.9rem;
            border-radius: 6px;
            transition: all 0.2s ease;
        }
        .lang-dropdown .btn:hover,
        .lang-dropdown .btn:focus {
            background-color: #e9ecef;
            border-color: #adb5bd;
        }
        .lang-dropdown .dropdown-menu {
            min-width: 130px;
            border-radius: 6px;
        }
        .lang-dropdown .dropdown-item {
            padding: 0.5rem 1rem;
        }
        .lang-dropdown .dropdown-item.active {
            background-color: #0d6efd;
            color: white;
        }
        .lang-dropdown .dropdown-item i {
            margin-right: 0.5rem;
        }
    </style>