<?php
/**
 * Alias Card - Reusable partial for all export types.
 *
 * @package PrimeLink
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

/**
 * Variables expected:
 * - $alias_hint: Custom hint text for aliases (optional)
 */
$alias_hint = isset( $alias_hint ) ? $alias_hint : __( 'Add custom synonyms for export columns.', 'primelink' );
?>

<!-- Custom auto-map aliases -->
<section class="mt_primelink-card mt_primelink-card--glass mt_primelink-alias-card">
    <div class="mt_primelink-card-header">
        <div>
            <h3><?php esc_html_e( 'Auto-map Aliases', 'primelink' ); ?></h3>
            <div class="mt_primelink-groups-hint"><?php echo esc_html( $alias_hint ); ?></div>
        </div>
        <button type="button" class="button" id="mt_primelink-add-alias"><?php esc_html_e( 'Add alias', 'primelink' ); ?></button>
    </div>
    <div class="mt_primelink-card-body" id="mt_primelink-alias-wrap">
        <div class="mt_primelink-empty"><?php esc_html_e( 'No custom aliases yet.', 'primelink' ); ?></div>
    </div>
</section>
