.reema-location-form {
	--reema-primary: #17683a;
	--reema-primary-dark: #0f4b29;
	--reema-border: #d6ddd8;
	--reema-soft: #f5f8f6;
	--reema-error: #a51d25;
	--reema-warning: #835900;
	box-sizing: border-box;
	width: min(100%, 880px);
	margin: 24px auto;
	color: #18221c;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.reema-location-form *,
.reema-location-form *::before,
.reema-location-form *::after {
	box-sizing: border-box;
}

.reema-form-brand,
.reema-form-footer-brand {
	text-align: center;
	margin: 0 0 20px;
}

.reema-location-logo {
	display: inline-block;
	width: auto;
	max-width: min(320px, 80%);
	max-height: 110px;
	object-fit: contain;
}

.reema-location-footer-banner {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.reema-form-intro {
	padding: 24px;
	background: var(--reema-primary);
	color: #fff;
	border-radius: 16px 16px 0 0;
}

.reema-form-intro h2 {
	color: inherit;
	font-size: clamp(25px, 5vw, 36px);
	line-height: 1.2;
	margin: 0 0 8px;
}

.reema-form-intro p {
	margin: 0;
	font-size: 16px;
}

.reema-location-form form {
	display: grid;
	gap: 16px;
	padding: 20px;
	background: var(--reema-soft);
	border: 1px solid var(--reema-border);
	border-top: 0;
	border-radius: 0 0 16px 16px;
}

.reema-form-section {
	padding: clamp(18px, 4vw, 28px);
	background: #fff;
	border: 1px solid var(--reema-border);
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(16, 55, 32, 0.05);
}

.reema-form-section.has-error {
	border-color: var(--reema-error);
	box-shadow: 0 0 0 2px rgba(165, 29, 37, 0.1);
}

.reema-form-section h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: #183523;
	font-size: clamp(21px, 4vw, 24px);
	line-height: 1.25;
}

.reema-form-section h3 > span {
	display: inline-grid;
	flex: 0 0 34px;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: var(--reema-primary);
	color: #fff;
	font-size: 17px;
}

.reema-form-section h3 b {
	color: var(--reema-error);
}

.reema-field-label {
	display: block;
	margin: 14px 0 7px;
	font-weight: 700;
}

.reema-field-label span {
	color: #5f6f64;
	font-size: 0.88em;
	font-weight: 400;
}

.reema-location-form input[type="text"],
.reema-location-form input[type="search"],
.reema-location-form input[type="tel"],
.reema-location-form select,
.reema-location-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid #9eada3;
	border-radius: 7px;
	background: #fff;
	color: #18221c;
	font: inherit;
}

.reema-location-form textarea {
	resize: vertical;
}

.reema-location-form input:focus,
.reema-location-form select:focus,
.reema-location-form textarea:focus,
.reema-location-form button:focus-visible {
	outline: 3px solid rgba(23, 104, 58, 0.24);
	outline-offset: 2px;
	border-color: var(--reema-primary);
}

.reema-location-form input:disabled,
.reema-location-form select:disabled,
.reema-location-form textarea:disabled {
	background: #eef1ef;
	color: #68746c;
	cursor: not-allowed;
}

.reema-modern-map-search gmp-place-autocomplete {
	display: block;
	width: min(72vw, 310px);
	min-height: 44px;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
	font: inherit;
	color: #18221c;
}

.reema-text-control {
	display: inline-flex;
	margin: 12px 0 0;
	padding: 5px 0;
	border: 0;
	background: transparent;
	color: var(--reema-primary-dark);
	font: inherit;
	font-weight: 800;
	text-align: left;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.reema-inline-actions {
	min-height: 28px;
}

.reema-help,
.reema-map-guidance {
	margin: 7px 0 0;
	overflow-wrap: anywhere;
	color: #536158;
	font-size: 14px;
	line-height: 1.45;
}

.reema-map-guidance {
	margin-bottom: 14px;
	font-size: 15px;
}

.reema-field-error {
	min-height: 1px;
	margin: 8px 0 0;
	overflow-wrap: anywhere;
	color: var(--reema-error);
	font-size: 14px;
	font-weight: 700;
}

.reema-autocomplete {
	position: relative;
}

.reema-autocomplete-results {
	position: absolute;
	z-index: 20;
	top: calc(100% + 5px);
	right: 0;
	left: 0;
	max-height: 370px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #8d9a91;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(16, 38, 23, 0.18);
}

.reema-autocomplete-heading {
	padding: 9px 12px;
	background: #e7f1ea;
	color: #23482f;
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.reema-autocomplete-option {
	display: block;
	width: 100%;
	padding: 11px 12px;
	border: 0;
	border-bottom: 1px solid #e2e7e3;
	background: #fff;
	color: #18221c;
	text-align: left;
	cursor: pointer;
}

.reema-autocomplete-option:hover,
.reema-autocomplete-option:focus {
	background: #f1f7f3;
}

.reema-autocomplete-option strong,
.reema-autocomplete-option span {
	display: block;
}

.reema-autocomplete-option span {
	margin-top: 3px;
	color: #536158;
	font-size: 13px;
}

.reema-autocomplete-empty {
	margin: 0;
	padding: 13px;
	color: #536158;
}

.reema-map-shell {
	position: relative;
	margin-top: 12px;
}

.reema-map {
	width: 100%;
	height: clamp(320px, 58vw, 440px);
	border: 1px solid var(--reema-border);
	border-radius: 10px;
	background: #e8ece9;
}

.reema-map-search-control {
	width: min(72vw, 320px);
	margin: 10px 0 0 10px;
}

.reema-map-search-control input[type="search"] {
	min-height: 44px;
	padding: 8px 11px;
	border: 0;
	box-shadow: 0 2px 7px rgba(0, 0, 0, 0.28);
}

.reema-gps-button {
	width: 100%;
	margin-top: 14px;
}

.reema-evidence-control {
	margin-top: 16px;
	padding: 14px;
	border: 1px solid var(--reema-border);
	border-radius: 8px;
	background: #f8faf8;
}

.reema-evidence-control > p:first-child {
	margin: 0;
}

.reema-evidence-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 12px;
}

.reema-evidence-actions .reema-button-link {
	flex: 1 1 220px;
}

.reema-location-form [hidden] {
	display: none !important;
}

.reema-map-section.is-location-disabled .reema-map-shell,
.reema-map-section.is-location-disabled .reema-evidence-control,
.reema-map-section.is-location-disabled .reema-gps-button {
	opacity: 0.58;
}

.reema-location-lock {
	margin: 0 0 14px;
}

.reema-evidence-name {
	max-width: 100%;
	margin: 9px 0 0;
	overflow-wrap: anywhere;
	color: #3f5045;
	font-size: 13px;
	font-weight: 700;
}

.reema-map-actions {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin-top: 14px;
}

.reema-primary-button,
.reema-secondary-button,
.reema-tertiary-button {
	min-height: 50px;
	padding: 11px 16px;
	border-radius: 7px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.reema-primary-button {
	border: 1px solid var(--reema-primary);
	background: var(--reema-primary);
	color: #fff;
}

.reema-primary-button:hover:not(:disabled) {
	border-color: var(--reema-primary-dark);
	background: var(--reema-primary-dark);
}

.reema-secondary-button {
	border: 1px solid var(--reema-primary);
	background: #fff;
	color: var(--reema-primary);
}

.reema-button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.reema-tertiary-button {
	min-height: 42px;
	padding: 7px 10px;
	border: 0;
	background: transparent;
	color: #4c5e52;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.reema-accuracy-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.reema-accuracy-actions .reema-tertiary-button {
	grid-column: 1 / -1;
	justify-self: start;
}

.reema-accuracy-status {
	display: inline-flex;
	max-width: 100%;
	margin-top: 12px;
	overflow-wrap: anywhere;
	padding: 7px 11px;
	border-radius: 999px;
	background: #edf0ee;
	color: #465249;
	font-size: 14px;
	font-weight: 800;
}

.reema-accuracy-status[data-accuracy-state="good"] {
	background: #dff3e5;
	color: #115c31;
}

.reema-accuracy-status[data-accuracy-state="low"] {
	background: #edf3c9;
	color: #52610e;
}

.reema-accuracy-status[data-accuracy-state="poor"] {
	background: #f9dfe1;
	color: #8c1921;
}

.reema-accuracy-status[data-accuracy-state="manual"] {
	background: #fff0c9;
	color: #775400;
}

.reema-location-form button:disabled {
	opacity: 0.48;
	cursor: not-allowed;
}

.reema-location-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 12px;
	padding: 7px 11px;
	border-radius: 999px;
	background: #f4e7e8;
	color: #7b2027;
	font-size: 14px;
	font-weight: 800;
}

.reema-location-status::before {
	content: "×";
}

.reema-location-status[data-saved="true"] {
	background: #dff3e5;
	color: #115c31;
}

.reema-location-status[data-saved="true"]::before {
	content: "✓";
}

.reema-location-status::before {
	content: "\00d7";
}

.reema-location-status[data-saved="true"]::before {
	content: "\2713";
}

.reema-two-column-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.reema-consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 18px;
	line-height: 1.55;
}

.reema-consent input {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	accent-color: var(--reema-primary);
}

.reema-dialog-open {
	overflow: hidden;
}

.reema-dialog-backdrop {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 16px;
	background: rgba(10, 25, 15, 0.66);
}

.reema-dialog-backdrop[hidden] {
	display: none;
}

.reema-dialog {
	width: min(100%, 560px);
	max-height: calc(100vh - 32px);
	padding: clamp(20px, 5vw, 30px);
	overflow-y: auto;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.reema-dialog h2 {
	margin: 0 0 12px;
	color: #183523;
}

.reema-dialog li {
	margin-bottom: 6px;
	overflow-wrap: anywhere;
}

.reema-support-details {
	margin: 18px 0;
	padding: 14px;
	border-radius: 8px;
	background: var(--reema-soft);
	line-height: 1.55;
}

.reema-dialog-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.reema-dialog-tertiary {
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--reema-border);
	text-align: center;
}

.reema-form-notice {
	margin: 0 0 16px;
	padding: 14px 16px;
	overflow-wrap: anywhere;
	border: 1px solid transparent;
	border-radius: 8px;
	line-height: 1.5;
}

.reema-form-notice-warning {
	margin-top: 12px;
	border-color: #d7b55a;
	background: #fff7dc;
	color: var(--reema-warning);
}

.reema-form-notice-error {
	border-color: #dca7aa;
	background: #fff0f1;
	color: var(--reema-error);
}

.reema-form-notice-success {
	border-color: #83bd97;
	background: #e7f7ec;
	color: #115c31;
	font-size: 18px;
	font-weight: 800;
}

.reema-form-notice-info {
	border-color: #8db7d5;
	background: #edf7ff;
	color: #154b71;
}

.reema-form-submit-section .reema-primary-button {
	width: 100%;
}

.reema-form-footer-brand {
	margin: 22px 0 0;
}

.reema-location-unavailable {
	padding: 18px;
	border: 1px solid #d5b65e;
	border-radius: 8px;
	background: #fff8df;
	color: #624700;
}

.reema-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@media (max-width: 600px) {
	.reema-location-form {
		margin: 12px auto;
	}

	.reema-location-form form {
		padding: 10px;
	}

	.reema-form-section {
		padding: 16px 13px;
	}

	.reema-map-actions {
		grid-template-columns: 1fr;
	}

	.reema-accuracy-actions,
	.reema-dialog-actions,
	.reema-two-column-fields {
		grid-template-columns: 1fr;
	}

	.reema-evidence-actions {
		display: grid;
	}

	.reema-map {
		height: 350px;
	}

	.reema-map-search-control,
	.reema-modern-map-search gmp-place-autocomplete {
		width: min(72vw, 265px);
	}
}
