<?php
/**
 * Admin view: the Branding panel of the settings screen.
 *
 * Included by admin/views/settings.php inside that tab's own form, so the
 * closures and the $s array defined there are in scope here.
 *
 * @package BitForgeNet_Guest_Tickets
 */

defined( 'ABSPATH' ) || exit;

// This file is a template: it is included from a method -- never at file
// scope -- so everything declared here belongs to that method's variable
// scope and not to the global one. PHPCS reads each file on its own and has
// no way to see where the include happens, so it reads these as globals.
// Stated once, for the whole file, per this plugin's suppression rule.
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
?>
	<div class="bfnet-panel">
		<div class="bfnet-panel__head"><h2><?php esc_html_e( 'Branding', 'bitforgenet-guest-tickets' ); ?></h2></div>
		<div class="bfnet-panel__body">
			<div class="bfnet-field">
				<label for="s-brand"><?php esc_html_e( 'Brand name', 'bitforgenet-guest-tickets' ); ?></label>
				<input type="text" id="s-brand" name="bfnet_settings[brand_name]" value="<?php echo esc_attr( $s['brand_name'] ); ?>">
			</div>
			<div class="bfnet-row bfnet-row--3">
				<div class="bfnet-field">
					<label for="s-c1"><?php esc_html_e( 'Primary', 'bitforgenet-guest-tickets' ); ?></label>
					<input type="text" id="s-c1" name="bfnet_settings[brand_primary]" value="<?php echo esc_attr( $s['brand_primary'] ); ?>">
				</div>
				<div class="bfnet-field">
					<label for="s-c2"><?php esc_html_e( 'Dark', 'bitforgenet-guest-tickets' ); ?></label>
					<input type="text" id="s-c2" name="bfnet_settings[brand_secondary]" value="<?php echo esc_attr( $s['brand_secondary'] ); ?>">
				</div>
				<div class="bfnet-field">
					<label for="s-c3"><?php esc_html_e( 'Accent', 'bitforgenet-guest-tickets' ); ?></label>
					<input type="text" id="s-c3" name="bfnet_settings[brand_accent]" value="<?php echo esc_attr( $s['brand_accent'] ); ?>">
				</div>
			</div>
		</div>
	</div>
