.nfpp-widget {
	--nfpp-blue: #1d70b8;
	--nfpp-blue-dark: #155a96;
	--nfpp-orange: #e55325;
	--nfpp-amber-50: #fffdf9;
	--nfpp-amber-100: #fde8c8;
	--nfpp-amber-200: #f7d38f;
	--nfpp-slate-50: #f8fafc;
	--nfpp-slate-100: #f1f5f9;
	--nfpp-slate-200: #e2e8f0;
	--nfpp-slate-400: #94a3b8;
	--nfpp-slate-500: #64748b;
	--nfpp-slate-700: #334155;
	--nfpp-slate-800: #1e293b;
	--nfpp-slate-900: #0f172a;

	max-width: 1000px;
	margin: 0 auto;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	box-sizing: border-box;
}
.nfpp-widget *,
.nfpp-widget *::before,
.nfpp-widget *::after {
	box-sizing: border-box;
}

.nfpp-card {
	background: #fff;
	border-radius: 32px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
	border: 1px solid var(--nfpp-slate-200);
}

.nfpp-grid {
	display: grid;
	grid-template-columns: 1fr;
}
@media (min-width: 960px) {
	.nfpp-grid {
		grid-template-columns: 5fr 7fr;
	}
	/* Awareness poster column is currently disabled; let the form column fill the card. */
	.nfpp-grid .nfpp-right-col {
		grid-column: 1 / -1;
	}
}

/* --- Left column: awareness poster --- */
.nfpp-left-col {
	background: linear-gradient(to bottom, #fffbeb, #f8fafc 60%, #f8fafc);
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-bottom: 1px solid var(--nfpp-slate-200);
	text-align: center;
}
@media (min-width: 960px) {
	.nfpp-left-col {
		border-bottom: none;
		border-right: 1px solid var(--nfpp-slate-200);
	}
}

.nfpp-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nfpp-blue);
	background: #f0f9ff;
	border: 1px solid #e0f2fe;
	padding: 5px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.nfpp-poster-thumb {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--nfpp-slate-200);
	background: #fff;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
	max-width: 320px;
	width: 100%;
}
.nfpp-poster-thumb img {
	display: block;
	width: 100%;
	height: auto;
}
.nfpp-poster-thumb-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 23, 42, 0);
	transition: background 0.25s ease;
}
.nfpp-poster-thumb:hover .nfpp-poster-thumb-overlay {
	background: rgba(15, 23, 42, 0.15);
}
.nfpp-poster-thumb-overlay span {
	opacity: 0;
	transition: opacity 0.25s ease;
	background: rgba(255, 255, 255, 0.95);
	color: var(--nfpp-slate-800);
	font-size: 12px;
	font-weight: 700;
	padding: 7px 14px;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.nfpp-poster-thumb:hover .nfpp-poster-thumb-overlay span {
	opacity: 1;
}

/* --- Right column: form --- */
.nfpp-right-col {
	padding: 40px 32px 32px;
	text-align: center;
}

.nfpp-icon-badge {
	width: 76px;
	height: 76px;
	border-radius: 20px;
	overflow: hidden;
	margin: 0 auto;
	border: 2px solid var(--nfpp-slate-200);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
	background: #fff;
}
.nfpp-icon-badge img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nfpp-title {
	color: var(--nfpp-orange) !important;
	font-size: 1.875rem !important;
    line-height: 2.25rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.025em !important;
	margin: 18px 0 15px !important;
}
.nfpp-subtitle{
	font-size: 0.875rem !important;
    line-height: 1.25rem !important;
	font-weight: 500 !important;
	color: #475569 !important;
	margin-bottom: 20px;
}
.nfpp-quote-card {
	position: relative;
	max-width: 460px;
	margin: 0 auto 24px;
	padding: 24px 0px 24px 10px;
	background: rgba(240, 249, 255, 0.6);
	border: 1px solid #e0f2fe;
	border-radius: 16px;
	text-align: left;
	text-wrap: balance;
}
.nfpp-quote-mark {
	position: absolute;
	top: -14px;
	left: 16px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 52px;
	color: rgba(56, 189, 248, 0.5);
	line-height: 1;
	pointer-events: none;
}
.nfpp-quote {
	position: relative;
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	font-style: italic;
	color: var(--nfpp-slate-800);
	line-height: 1.6;
	text-align: left; 
	text-wrap: balance;
}

.nfpp-form {
	max-width: 420px;
	margin: 0 auto;
	text-align: left;
}

.nfpp-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--nfpp-slate-700);
	text-transform: uppercase;
	margin: 18px 0 6px;
}
.nfpp-req {
	color: #dc2626;
}
.nfpp-optional {
	color: var(--nfpp-slate-400);
	font-weight: 400;
	text-transform: none;
	letter-spacing: normal;
}

.nfpp-input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--nfpp-slate-200);
	border-radius: 12px;
	font-size: 14px;
	font-weight: 500;
	color: var(--nfpp-slate-800);
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.nfpp-input::placeholder {
	color: var(--nfpp-slate-400);
}
.nfpp-input:focus {
	outline: none;
	border-color: transparent;
	box-shadow: 0 0 0 2px var(--nfpp-blue);
}

.nfpp-dropzone {
	position: relative;
	border: 2px dashed var(--nfpp-slate-200);
	border-radius: 12px;
	padding: 18px 12px;
	text-align: center;
	cursor: pointer;
	background: rgba(248, 250, 252, 0.5);
	transition: border-color 0.2s ease, background 0.2s ease;
}
.nfpp-dropzone:hover {
	border-color: var(--nfpp-blue);
	background: rgba(239, 246, 255, 0.4);
}
.nfpp-dropzone input[type="file"] {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
}
.nfpp-upload-icon {
	display: block;
	font-size: 20px;
	color: var(--nfpp-blue);
	margin-bottom: 4px;
}
.nfpp-dropzone-title {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--nfpp-slate-700);
}
.nfpp-dropzone small {
	display: block;
	color: var(--nfpp-slate-400);
	font-size: 10px;
	margin-top: 2px;
}

.nfpp-photo-selected {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px;
	background: var(--nfpp-slate-50);
	border: 1px solid var(--nfpp-slate-200);
	border-radius: 12px;
}
.nfpp-photo-preview {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	object-fit: cover;
	border: 1px solid var(--nfpp-slate-200);
	flex-shrink: 0;
}
.nfpp-photo-selected-text {
	flex: 1;
	overflow: hidden;
	text-align: left;
}
.nfpp-photo-selected-title {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--nfpp-slate-800);
}
.nfpp-photo-selected-sub {
	margin: 2px 0 0;
	font-size: 11px;
	color: var(--nfpp-slate-500);
}
.nfpp-photo-remove {
	background: none;
	border: none;
	color: var(--nfpp-slate-400);
	font-size: 20px;
	line-height: 1;
	padding: 6px 10px;
	border-radius: 8px;
	cursor: pointer;
}
.nfpp-photo-remove:hover {
	color: #dc2626;
	background: #fef2f2;
}

.nfpp-error {
	background: #fef2f2;
	color: #b91c1c;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
	margin-top: 14px;
}

.nfpp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	text-align: center;
	padding: 14px;
	border-radius: 12px;
	border: none;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 22px;
	text-decoration: none;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
	transition: background 0.2s ease, box-shadow 0.2s ease;
}
.nfpp-btn-primary {
	background: var(--nfpp-blue);
	color: #fff;
}
.nfpp-btn-primary:hover {
	background: var(--nfpp-blue-dark);
	color: #fff;
}
.nfpp-btn-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.nfpp-btn-whatsapp {
	background: #25d366 !important;
	color: #fff;
}
.nfpp-btn-whatsapp:hover {
	background: #1eb857 !important;
}

.nfpp-count {
	text-align: center !important;
	color: var(--nfpp-slate-500);
	font-size: 13px;
	margin-top: 20px;
}
#nfpp-count-number{
	color: #383737; 
}

/* --- Result panel --- */
.nfpp-result {
	padding: 40px 32px;
	text-align: center;
	max-width: 460px;
	margin: 0 auto;
}
.nfpp-result-success {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #d1fae5;
	color: #059669;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}
.nfpp-result-success svg {
	width: 30px;
	height: 30px;
}
.nfpp-result-title {
	font-size: 22px;
	font-weight: 800;
	color: var(--nfpp-slate-900);
	margin: 0 0 20px;
}
.nfpp-poster-wrap {
	margin: 12px 0 8px;
}
.nfpp-poster-image {
	max-width: 100%;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}
.nfpp-result-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.nfpp-result-actions .nfpp-btn {
	margin-top: 0;
}
.nfpp-link-btn {
	background: none !important;
	border: none;
	color: var(--nfpp-blue)!important;
	font-size: 14px;
	font-weight: 700 !important;
	cursor: pointer !important;
	margin-top: 18px !important;
	padding: 6px !important;
}

.nfpp-spinner {
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-top-color: #fff;
	border-radius: 50%;
	animation: nfpp-spin 0.7s linear infinite;
	margin-right: 8px;
	vertical-align: -3px;
}
@keyframes nfpp-spin {
	to { transform: rotate(360deg); }
}

/* --- Poster lightbox modal --- */
.nfpp-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(15, 23, 42, 0.8);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}
.nfpp-modal-card {
	position: relative;
	max-width: 640px;
	width: 100%;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.nfpp-modal-header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid var(--nfpp-slate-100);
	padding-bottom: 12px;
	margin-bottom: 12px;
}
.nfpp-modal-header h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--nfpp-slate-900);
}
.nfpp-modal-close {
	background: none;
	border: none;
	font-size: 22px;
	line-height: 1;
	color: var(--nfpp-slate-400);
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 999px;
}
.nfpp-modal-close:hover {
	color: var(--nfpp-slate-700);
	background: var(--nfpp-slate-100);
}
.nfpp-modal-body {
	max-height: 70vh;
	overflow-y: auto;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--nfpp-slate-50);
	border-radius: 16px;
	padding: 8px;
}
.nfpp-modal-body img {
	max-height: 65vh;
	width: auto;
	max-width: 100%;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.nfpp-modal-close-btn {
	max-width: 200px;
	margin-top: 16px !important;
}

/* --- Photo crop modal --- */
.nfpp-crop-card {
	max-width: 360px;
}
.nfpp-crop-viewport {
	position: relative;
	width: 260px;
	height: 260px;
	max-width: 100%;
	overflow: hidden;
	background: var(--nfpp-slate-900);
	border: 1px solid var(--nfpp-slate-200);
	touch-action: none;
	cursor: grab;
}
.nfpp-crop-viewport.is-circle {
	border-radius: 50%;
}
.nfpp-crop-viewport:active {
	cursor: grabbing;
}
.nfpp-crop-image {
	position: absolute;
	top: 0;
	left: 0;
	max-width: none;
	max-height: none;
	user-select: none;
	pointer-events: none;
}
.nfpp-crop-hint {
	font-size: 11px;
	color: var(--nfpp-slate-500);
	text-align: center;
	margin: 10px 0 0;
}
.nfpp-crop-zoom {
	width: 100%;
	max-width: 260px;
	margin: 10px 0 0;
	accent-color: var(--nfpp-blue);
}
.nfpp-crop-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	max-width: 260px;
}
.nfpp-crop-actions .nfpp-btn {
	margin-top: 14px;
	width: auto;
	flex: 1;
}
.nfpp-crop-cancel-btn {
	background: var(--nfpp-slate-100) !important;
	color: var(--nfpp-slate-700) !important;
}
.nfpp-crop-cancel-btn:hover {
	background: var(--nfpp-slate-200) !important;
}
