/*
 * Embed for Tally: the "Basic" button style and the "Load form" placeholder.
 *
 * Basic is a fixed look that should not change with the theme. Some themes
 * style every <button> with very specific selectors (Twenty Twenty-One uses
 * `button:not(:hover):not(:active):not(.has-background)`), so these rules
 * repeat a class to rank higher without resorting to !important. Sites can
 * still restyle it with a selector of equal or higher specificity.
 */
.wpeft-form .wpeft-button.wpeft-button--basic.wpeft-button--basic {
	display: inline-block;
	margin: 0;
	padding: 0.65em 1.4em;
	border: 0;
	border-radius: 6px;
	background: #1a1a1a;
	box-shadow: none;
	color: #fff;
	font: inherit;
	font-weight: 600;
	letter-spacing: normal;
	line-height: 1.2;
	text-decoration: none;
	text-transform: none;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.wpeft-form .wpeft-button.wpeft-button--basic.wpeft-button--basic:hover,
.wpeft-form .wpeft-button.wpeft-button--basic.wpeft-button--basic:focus,
.wpeft-form .wpeft-button.wpeft-button--basic.wpeft-button--basic:active {
	background: #1a1a1a;
	color: #fff;
	opacity: 0.85;
}

.wpeft-form .wpeft-button.wpeft-button--basic.wpeft-button--basic:focus-visible {
	outline: 2px solid #1a1a1a;
	outline-offset: 2px;
}

/* The "Load form" placeholder shown before an inline form is loaded. */
.wpeft-consent {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	justify-content: center;
	padding: 32px 24px;
	border: 1px solid rgba(128, 128, 128, 0.35);
	border-radius: 8px;
	text-align: center;
}

.wpeft-consent__text {
	max-width: 46ch;
	margin: 0;
}

.wpeft-form iframe[hidden] {
	display: none;
}
