/* Rmakash Campaign System — shared error popup + field highlighting
   (used by every front-end form; see assets/js/rmakash-feedback.js). */

.rmakash-fb-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 100010;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.rmakash-fb-overlay[style*="display: none"] {
	display: none !important;
}

.rmakash-fb-box {
	background: #fff;
	border-top: 5px solid #d63638;
	border-radius: 8px;
	max-width: 440px;
	width: 100%;
	padding: 22px 24px 20px;
	text-align: center;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.rmakash-fb-icon {
	width: 44px;
	height: 44px;
	margin: 0 auto 10px;
	border-radius: 50%;
	background: #d63638;
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	line-height: 44px;
}

.rmakash-fb-text {
	white-space: pre-line;
	text-align: start;
	font-size: 15px;
	line-height: 1.5;
	color: #1d2327;
	max-height: 50vh;
	overflow-y: auto;
	margin-bottom: 16px;
}

.rmakash-fb-ok {
	background: #d63638;
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 9px 28px;
	font-size: 15px;
	cursor: pointer;
}

.rmakash-fb-ok:hover,
.rmakash-fb-ok:focus {
	background: #b32d2e;
}

/* Highlighted fields. !important because themes style inputs heavily. */
.rmakash-field-error {
	border: 2px solid #d63638 !important;
	background-color: #fff5f5 !important;
	box-shadow: 0 0 0 3px rgba(214, 54, 56, 0.18) !important;
	outline: none;
}

.rmakash-has-error > label,
.rmakash-has-error > .rmakash-label {
	color: #b32d2e;
}
