/* Reel Edge Media — Local Business Spotlight form
   Brand: primary #1a52d5 · navy #0d1b4b · bg #f4f6fb */

.rems-form-wrap {
	max-width: 760px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #1e293b;
}

.rems-form-title {
	font-size: 2rem;
	line-height: 1.2;
	color: #0d1b4b;
	margin: 0 0 8px;
}

.rems-form-sub {
	font-size: 1.05rem;
	color: #475569;
	margin: 0 0 28px;
	line-height: 1.6;
}

/* Sections */
.rems-section {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 24px 26px 20px;
	margin: 0 0 22px;
	background: #fff;
}

/* Float the legend so it sits INSIDE the card instead of straddling the top
   border (the default fieldset/legend behaviour, which left the number circle
   half outside the card). */
.rems-section legend {
	float: left;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.25rem;
	font-weight: 700;
	color: #0d1b4b;
	padding: 0;
	margin: 0 0 6px;
}

.rems-section legend + * { clear: both; }

.rems-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #1a52d5;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
	flex: 0 0 auto;
}

.rems-section-intro {
	color: #64748b;
	font-size: 0.95rem;
	margin: 6px 0 18px;
}

/* Fields */
.rems-field-group {
	margin-bottom: 18px;
}

.rems-field-group label {
	display: block;
	font-weight: 600;
	color: #0d1b4b;
	margin-bottom: 6px;
}

.rems-field-group label span[aria-hidden] {
	color: #1a52d5;
}

.rems-help {
	display: block;
	color: #94a3b8;
	font-size: 0.85rem;
	margin: -2px 0 8px;
}

.rems-form input[type="text"],
.rems-form input[type="email"],
.rems-form input[type="tel"],
.rems-form input[type="url"],
.rems-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 1rem;
	font-family: inherit;
	color: #1e293b;
	background: #f8faff;
	transition: border-color .15s, box-shadow .15s;
	box-sizing: border-box;
}

.rems-form input:focus,
.rems-form textarea:focus {
	outline: none;
	border-color: #1a52d5;
	box-shadow: 0 0 0 3px rgba(26, 82, 213, .15);
	background: #fff;
}

.rems-form input[type="file"] {
	display: block;
	width: 100%;
	padding: 10px;
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	background: #f8faff;
	font-size: 0.95rem;
}

.rems-form textarea {
	resize: vertical;
	min-height: 90px;
}

/* Checkboxes */
.rems-check {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin-bottom: 14px;
	font-weight: 500;
	color: #334155;
	line-height: 1.5;
	cursor: pointer;
}

.rems-check input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	accent-color: #1a52d5;
}

.rems-check span[aria-hidden] {
	color: #1a52d5;
}

/* Submit */
.rems-submit-btn {
	display: inline-block;
	width: 100%;
	padding: 16px 28px;
	background: linear-gradient(135deg, #1a52d5, #0d1b4b);
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 1.1rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform .12s, box-shadow .12s, opacity .12s;
	box-shadow: 0 6px 18px rgba(26, 82, 213, .25);
}

.rems-submit-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(26, 82, 213, .35);
}

.rems-submit-btn:disabled {
	opacity: .65;
	cursor: progress;
	transform: none;
}

.rems-privacy-note {
	text-align: center;
	color: #94a3b8;
	font-size: 0.85rem;
	margin: 14px 0 0;
}

/* Notices */
.rems-notice {
	border-radius: 10px;
	padding: 18px 22px;
	margin: 0 0 24px;
	line-height: 1.55;
}

.rems-notice strong { display: block; margin-bottom: 4px; }

.rems-notice--success {
	background: #f0fff4;
	border: 1px solid #38a169;
	color: #22543d;
}

.rems-notice--error {
	background: #fff5f5;
	border: 1px solid #e53e3e;
	color: #742a2a;
}

.rems-field-invalid input,
.rems-field-invalid textarea {
	border-color: #e53e3e !important;
	background: #fff5f5 !important;
}

@media (max-width: 600px) {
	.rems-form-title { font-size: 1.6rem; }
	.rems-section { padding: 20px 18px 14px; }
}
