/* BO Postcode Check — styles */

/* -----------------------------------------------------------------------
   Status message strip (shown below postcode + huisnummer row)
----------------------------------------------------------------------- */
.bo-postcode-status {
	display: block;
	font-size: 13px;
	line-height: 1.4;
	min-height: 1.4em;
	margin-top: 4px;
	padding: 0;
	width: 100%;
}

/* Loading */
.bo-postcode-loading {
	color: #666;
}
.bo-postcode-loading::before {
	content: '';
	display: inline-block;
	width: 11px;
	height: 11px;
	margin-right: 6px;
	vertical-align: middle;
	border: 2px solid #ccc;
	border-top-color: #555;
	border-radius: 50%;
	animation: bo-spin 0.75s linear infinite;
}

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

/* Success */
.bo-postcode-success {
	color: #2e7d32;
}
.bo-postcode-success::before {
	content: '✓ ';
	font-weight: bold;
}

/* Error */
.bo-postcode-error {
	color: #c62828;
}
.bo-postcode-error::before {
	content: '✕ ';
	font-weight: bold;
}

/* -----------------------------------------------------------------------
   Auto-filled field highlight: brief green glow when a value is inserted
----------------------------------------------------------------------- */
@keyframes bo-fill-flash {
	0%   { box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.35); }
	100% { box-shadow: 0 0 0 3px rgba(46, 125, 50, 0); }
}

.bo-field-filled {
	animation: bo-fill-flash 1.5s ease-out forwards;
}
