{* ONOX Panel — Admin Area Shortcuts Widget *}
{* Rendered in WHMCS Admin → Clients → Products/Services → service detail *}

<div class="onox-admin-widget">
    {if $login_url && $login_url neq '#'}
        <a href="{$login_url|escape:'html'}"
           target="_blank"
           rel="noopener noreferrer"
           class="btn btn-primary btn-sm me-2">
            <i class="fas fa-sign-in-alt me-1"></i>
            Panele Admin Girişi
        </a>
    {/if}

    {if $account_id}
        <a href="/admin/onox-account/{$account_id|escape:'url'}"
           class="btn btn-outline-secondary btn-sm me-2">
            <i class="fas fa-tachometer-alt me-1"></i>
            Detaylar
        </a>
    {/if}

    {if $error}
        <span class="text-danger small">
            <i class="fas fa-exclamation-circle me-1"></i>
            {$error|escape:'html'}
        </span>
    {/if}
</div>
