/* ==========================================================================
   EarnSpot Payment QR Form — Stylesheet
   Frontend form + Admin (settings/submissions) dono ke styles yahan hain.
   ========================================================================== */

.earnspot-pf-wrap {
	--ep-maroon: #680D0A;
	--ep-gold: #D89A16;
	--ep-yellow: #F4C52A;
	--ep-cream: #FFF6DA;
	--ep-cream-light: #FFF9E9;
	--ep-border: #E8C45A;
	--ep-text: #3B2118;
	--ep-white: #FFFFFF;

	max-width: 560px;
	margin: 0 auto;
	background: var(--ep-white);
	border: 1px solid var(--ep-border);
	border-radius: 18px;
	padding: 32px 30px;
	box-shadow: 0 12px 34px rgba(104, 13, 10, 0.08);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--ep-text);
	box-sizing: border-box;
}
.earnspot-pf-wrap * { box-sizing: border-box; }

/* ---------- Step indicator ---------- */
.earnspot-pf-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-bottom: 28px;
}
.earnspot-pf-step-dot {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	opacity: .45;
	transition: opacity .3s ease;
}
.earnspot-pf-step-dot.active,
.earnspot-pf-step-dot.done { opacity: 1; }
.earnspot-pf-dot-num {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ep-cream-light);
	border: 2px solid var(--ep-border);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	color: var(--ep-maroon);
	transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.earnspot-pf-step-dot.active .earnspot-pf-dot-num {
	background: var(--ep-maroon);
	border-color: var(--ep-maroon);
	color: var(--ep-yellow);
}
.earnspot-pf-step-dot.done .earnspot-pf-dot-num {
	background: var(--ep-gold);
	border-color: var(--ep-gold);
	color: var(--ep-white);
}
.earnspot-pf-dot-label {
	font-size: 11px;
	font-weight: 600;
	color: var(--ep-text);
}
.earnspot-pf-step-line {
	width: 60px;
	height: 2px;
	background: var(--ep-border);
	margin-bottom: 18px;
}

/* ---------- Titles ---------- */
.earnspot-pf-title {
	font-size: 21px;
	font-weight: 700;
	color: var(--ep-maroon);
	margin: 0 0 20px;
	text-align: center;
}

/* ---------- Form rows ---------- */
.earnspot-pf-row { margin-bottom: 18px; }
.earnspot-pf-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ep-maroon);
	margin-bottom: 7px;
}
.earnspot-pf-row input[type="text"],
.earnspot-pf-row input[type="tel"],
.earnspot-pf-row input[type="email"],
.earnspot-pf-row input[type="file"] {
	width: 100%;
	border: 1.5px solid var(--ep-border);
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	background: var(--ep-cream-light);
	color: var(--ep-text);
	transition: border-color .25s, box-shadow .25s;
}
.earnspot-pf-row input:focus {
	outline: none;
	border-color: var(--ep-gold);
	box-shadow: 0 0 0 3px rgba(216, 154, 22, .18);
}
.earnspot-pf-amount-display {
	font-weight: 700;
	color: var(--ep-maroon);
}
.earnspot-pf-note {
	display: block;
	font-size: 12px;
	opacity: .65;
	margin-top: 6px;
}

/* ---------- Buttons ---------- */
.earnspot-pf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 20px;
	border-radius: 10px;
	background: var(--ep-maroon);
	color: var(--ep-white);
	font-weight: 700;
	font-size: 15px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: background .3s ease, transform .2s ease;
}
.earnspot-pf-btn:hover { background: var(--ep-gold); transform: translateY(-2px); color: var(--ep-white); }
.earnspot-pf-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.earnspot-pf-btn-outline {
	background: transparent;
	border: 1.5px solid var(--ep-maroon);
	color: var(--ep-maroon);
}
.earnspot-pf-btn-outline:hover { background: var(--ep-maroon); color: var(--ep-white); }

.earnspot-pf-actions { display: flex; gap: 12px; margin-top: 22px; }
.earnspot-pf-actions .earnspot-pf-btn { width: auto; flex: 1; }

/* ---------- Step 2 : Payment ---------- */
.earnspot-pf-amount-big {
	text-align: center;
	font-size: 34px;
	font-weight: 800;
	color: var(--ep-maroon);
	margin-bottom: 20px;
}
.earnspot-pf-qr-box {
	text-align: center;
	background: var(--ep-cream-light);
	border: 1.5px solid var(--ep-border);
	border-radius: 16px;
	padding: 22px;
	margin-bottom: 20px;
}
.earnspot-pf-qr-img {
	width: 100%;
	max-width: 220px;
	margin: 0 auto 14px;
	display: block;
	border-radius: 10px;
	border: 1px solid var(--ep-border);
	background: var(--ep-white);
}
.earnspot-pf-download-qr {
	display: inline-block;
	font-size: 13px;
	font-weight: 600;
	color: var(--ep-maroon);
	border: 1px solid var(--ep-border);
	background: var(--ep-white);
	border-radius: 8px;
	padding: 8px 16px;
	text-decoration: none;
}
.earnspot-pf-download-qr:hover { background: var(--ep-yellow); }
.earnspot-pf-warning {
	background: #fdecea;
	color: #a33;
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 13.5px;
	margin-bottom: 20px;
}

.earnspot-pf-pay-info { margin-bottom: 20px; }
.earnspot-pf-info-row {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px 14px;
	background: var(--ep-cream-light);
	border: 1px solid var(--ep-border);
	border-radius: 10px;
	margin-bottom: 10px;
	font-size: 14px;
}
.earnspot-pf-info-row span { opacity: .65; flex: none; min-width: 90px; }
.earnspot-pf-info-row b { flex: 1; color: var(--ep-maroon); word-break: break-all; }
.earnspot-pf-copy {
	flex: none;
	background: var(--ep-white);
	border: 1px solid var(--ep-border);
	border-radius: 6px;
	padding: 5px 12px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--ep-maroon);
	cursor: pointer;
}
.earnspot-pf-copy:hover { background: var(--ep-yellow); }

.earnspot-pf-upi-app-btn { margin-bottom: 20px; background: var(--ep-gold); }
.earnspot-pf-upi-app-btn:hover { background: var(--ep-maroon); }

.earnspot-pf-note-box {
	background: #fff8e1;
	border: 1.5px solid var(--ep-yellow);
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 13.5px;
	line-height: 1.6;
	margin-bottom: 20px;
}

/* ---------- Messages ---------- */
.earnspot-pf-message {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.6;
}
.earnspot-pf-message.is-success {
	background: #e9f7ef;
	color: #1b6b3c;
	border: 1px solid #a9dcc0;
}
.earnspot-pf-message.is-error {
	background: #fdecea;
	color: #a33;
	border: 1px solid #f2b8b5;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
	.earnspot-pf-wrap { padding: 24px 18px; border-radius: 14px; }
	.earnspot-pf-actions { flex-direction: column; }
}

/* ==========================================================================
   Admin Pages (Settings + Submissions)
   ========================================================================== */
.earnspot-pf-admin-wrap .form-table th { width: 220px; }

.earnspot-pf-status {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-transform: capitalize;
}
.earnspot-pf-status-pending { background: #fff3cd; color: #856404; }
.earnspot-pf-status-verified { background: #d4edda; color: #155724; }
.earnspot-pf-status-rejected { background: #f8d7da; color: #721c24; }
