<?php
/**
 * @var \Afd\Pce\Block\Afd $block
 */
?>
<script nonce="<?php echo $block->getNonce(); ?>">
    require(['afdCountry']);
</script>
<style>
    /* Styles for the AFD Country Control */
    afd-country-input {
        width: 100%;
        display: block;
    }

    /* Match Magento's form field styling */
    afd-country-input .afd-country-input {
        height: 32px;
        padding: 0 9px;
        border: 1px solid #c2c2c2;
        border-radius: 1px;
        font-size: 14px;
        background-color: #fff;
    }

    /* Style the dropdown to match Magento's */
    afd-country-list {
        border: 1px solid #c2c2c2;
        border-radius: 1px;
        box-shadow: 0 3px 3px rgba(0,0,0,0.15);
    }
</style>
