/* Checkout fields and the monobank waiting screen.
   Deliberately plain: the theme owns the look of the checkout, and a gateway
   that repaints it stands out as foreign. */

.cciw-fields .cciw-banks {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0 0 10px;
}

.cciw-fields .cciw-bank {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}

.cciw-fields .cciw-hint {
	display: block;
	margin: 4px 0 0;
	font-size: .875em;
	opacity: .75;
}

.cciw-fields select,
.cciw-fields input[type="tel"] {
	max-width: 100%;
}

.cciw-wait {
	max-width: 34em;
	margin: 0 auto;
	padding: 24px 0;
	text-align: center;
}

.cciw-wait__title {
	font-size: 1.15em;
	font-weight: 600;
	margin: 0 0 8px;
}

.cciw-wait__hint {
	margin: 0 0 16px;
	opacity: .8;
}

.cciw-wait__status:not(:empty) {
	margin: 0;
	padding: 10px 14px;
	border-left: 3px solid currentColor;
	text-align: left;
}

/* A quiet "something is happening" mark — the screen can sit here for a while
   while the buyer looks for their phone. */
.cciw-wait__title::after {
	content: "";
	display: block;
	width: 28px;
	height: 28px;
	margin: 14px auto 0;
	border: 3px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	opacity: .45;
	animation: cciw-spin 1s linear infinite;
}

@keyframes cciw-spin {
	to {
		transform: rotate( 360deg );
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.cciw-wait__title::after {
		animation: none;
	}
}
