/* Equidog - retour visuel du champ piece d'identite (mu-plugin equidog-cni-compress, 2026-10-26) */
.eq-cni-status:empty { display: none; }
.eq-cni-status {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 10px 0 4px;
	padding: 10px 12px;
	border-radius: 6px;
	border: 1px solid transparent;
	font-size: 15px;
	line-height: 1.4;
	max-width: 100%;
	box-sizing: border-box;
	word-break: break-word;
}
.eq-cni-ok { background: #ecf7ee; border-color: #9fd3a9; color: #1d6b2e; }
.eq-cni-error { background: #fdecee; border-color: #f0a8b0; color: #a1121f; font-weight: 600; }
.eq-cni-pending { background: #f4f5f7; border-color: #d9dce1; color: #444; }
.eq-cni-text { display: flex; flex-direction: column; min-width: 0; }
.eq-cni-meta { font-size: 13px; color: #3f5f46; }
.eq-cni-thumb {
	width: 72px;
	height: 72px;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid #c9dfcd;
	background: #fff;
	flex: 0 0 auto;
}
.eq-cni-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 60px;
	border-radius: 4px;
	background: #fff;
	border: 1px solid #c9dfcd;
	color: #a1121f;
	font-weight: 700;
	font-size: 13px;
}
.eq-cni-spinner {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	border: 3px solid #cfd3d9;
	border-top-color: #555;
	border-radius: 50%;
	animation: eq-cni-spin .8s linear infinite;
}
@keyframes eq-cni-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .eq-cni-spinner { animation: none; } }
/* 2026-11-23 : bouton « Prendre une photo » (ecrans tactiles) */
.eq-cni-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 4px 0 8px; }
.eq-cni-camera-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 0;
	border-radius: 6px;
	background: #1d6b2e;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	max-width: 100%;
}
.eq-cni-camera-btn:hover, .eq-cni-camera-btn:focus { background: #155224; color: #fff; }
.eq-cni-camera-btn:focus-visible { outline: 3px solid #9fd3a9; outline-offset: 2px; }
.eq-cni-or { font-size: 14px; color: #444; }
.eq-cni-camera-input { position: fixed !important; left: -9999px !important; top: 0 !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
