/**
 * Pay button.
 *
 * Every value is a custom property with a neutral default, so a theme can
 * restyle the button without !important and without editing this file. The
 * defaults are deliberately NOT brand colours: they are not defined here because
 * the brand palette lives in gyvar-web, and a second copy would drift.
 */

.gyvar-pay-button {
	--gyvar-pay-bg: #111111;
	--gyvar-pay-fg: #ffffff;
	--gyvar-pay-bg-hover: #000000;
	--gyvar-pay-radius: 8px;
	--gyvar-pay-padding: 0.75rem 1.5rem;

	display: inline-block;
	padding: var(--gyvar-pay-padding);
	border: 0;
	border-radius: var(--gyvar-pay-radius);
	background-color: var(--gyvar-pay-bg);
	color: var(--gyvar-pay-fg);
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.gyvar-pay-button:hover,
.gyvar-pay-button:focus {
	background-color: var(--gyvar-pay-bg-hover);
	color: var(--gyvar-pay-fg);
	text-decoration: none;
}

/* Keyboard focus must stay visible: this is a button that moves money. */
.gyvar-pay-button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.gyvar-pay-button--center {
	display: block;
	width: fit-content;
	margin-inline: auto;
}

.gyvar-pay-button--right {
	display: block;
	width: fit-content;
	margin-inline-start: auto;
}

.gyvar-pay-notice {
	padding: 0.75rem 1rem;
	border: 1px dashed currentColor;
	border-radius: 6px;
	opacity: 0.75;
	font-size: 0.875rem;
}
