.wpfpa-box {
	--wpfpa-accent: #066aab;
	border: 1px solid #d6e4f0;
	background: #f5f9fd;
	border-radius: 10px;
	padding: 18px 20px;
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.45;
}
.wpfpa-head { display: flex; gap: 14px; align-items: flex-start; }
.wpfpa-icon { width: 34px; height: 34px; flex: 0 0 34px; color: var(--wpfpa-accent); }
.wpfpa-title { margin: 0 0 2px !important; font-weight: 600; font-size: 16px; }
.wpfpa-text { margin: 0 !important; color: #475569; }

.wpfpa-drop {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 14px;
	min-height: 64px;
	border: 2px dashed #b9cfe3;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	transition: border-color .15s, background .15s;
	text-align: center;
	padding: 10px;
}
.wpfpa-drop:hover, .wpfpa-drop.is-over { border-color: var(--wpfpa-accent); background: #eef6fc; }
.wpfpa-drop strong { color: var(--wpfpa-accent); }
.wpfpa-file { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.wpfpa-box.is-busy .wpfpa-drop { pointer-events: none; opacity: .55; }
.wpfpa-box.is-done .wpfpa-drop { display: none; }

.wpfpa-status:empty { display: none; }
.wpfpa-status { margin-top: 12px; padding: 10px 12px; border-radius: 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wpfpa-status.is-busy { background: #fff; color: #334155; }
.wpfpa-status.is-ok { background: #e8f6ee; color: #14532d; }
.wpfpa-status.is-error { background: #fdecec; color: #8a1c1c; }
.wpfpa-check { font-weight: 700; }
.wpfpa-again {
	background: none !important; border: 0 !important; padding: 0 !important;
	color: var(--wpfpa-accent) !important; text-decoration: underline; cursor: pointer; font: inherit !important;
}

.wpfpa-spinner {
	width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid #cbd5e1; border-top-color: var(--wpfpa-accent);
	animation: wpfpa-spin .8s linear infinite;
}
@keyframes wpfpa-spin { to { transform: rotate(360deg); } }

/* Fields filled from the PDF – soft highlight until the applicant edits them. */
.wpforms-field.wpfpa-filled input:not([type=radio]):not([type=checkbox]),
.wpforms-field.wpfpa-filled select,
.wpforms-field.wpfpa-filled textarea {
	background-color: #fffbea !important;
	border-color: #e6c84f !important;
}
