/**
 * Az WC VIES VAT Exemption — checkout feedback styles.
 */

.az-vies-hidden {
	display: none !important;
}

.az-vies-controls {
	margin-top: 6px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.az-vies-controls .az-vies-verify {
	flex: 0 0 auto;
}

.az-vies-feedback {
	font-size: 0.9em;
	line-height: 1.3;
	display: inline-block;
}

.az-vies-feedback:empty {
	display: none;
}

.az-vies-feedback.az-vies-valid {
	color: #1a7f37;
	font-weight: 600;
}

.az-vies-feedback.az-vies-invalid {
	color: #b32d2e;
	font-weight: 600;
}

.az-vies-feedback.az-vies-warning {
	color: #bf6a02;
	font-weight: 600;
}

.az-vies-feedback.az-vies-checking {
	color: #555;
	font-style: italic;
}

/* Simple inline spinner while checking. */
.az-vies-feedback.az-vies-checking::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	vertical-align: -2px;
	border: 2px solid #ccc;
	border-top-color: #555;
	border-radius: 50%;
	animation: az-vies-spin 0.7s linear infinite;
}

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