/* ELIT AI Property Search – form styles
   Palette tuned to globalfinanceplatform.com (navy + orange) */

.elit-pf {
	--ink:    #1b2a4a;   /* navy headings / footer tone */
	--accent: #f5a623;   /* site orange */
	--accent-ink: #8a5a00;
	--bg:     #f6f7f9;
	--card:   #ffffff;
	--border: #e2e6ee;
	--muted:  #6b7280;
	--field-border: #ccd2e3;

	max-width: 960px;
	margin: 32px auto;
	padding: 0 16px;
	color: var(--ink);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
	box-sizing: border-box;
}
.elit-pf *, .elit-pf *::before, .elit-pf *::after { box-sizing: border-box; }

.elit-pf-form {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: 0 12px 34px rgba(27, 42, 74, 0.07);
	padding: 36px;
}
@media (max-width: 600px) { .elit-pf-form { padding: 22px 18px; } }

/* Header */
.elit-pf-head { border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.elit-pf-eyebrow {
	margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
	text-transform: uppercase; color: var(--accent-ink);
}
.elit-pf-head h1 { margin: 0 0 8px; font-size: 26px; line-height: 1.2; color: var(--ink); }
.elit-pf-lead { margin: 0 0 10px; color: #475068; }
.elit-pf-note { margin: 0; font-size: 12.5px; color: var(--muted); }

/* Sections */
.elit-pf-section { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--border); }
.elit-pf-section:first-of-type { border-top: 0; }
.elit-pf-section h2 {
	display: flex; align-items: center; gap: 12px;
	margin: 0 0 16px; font-size: 19px; color: var(--ink);
}
.elit-pf-section h2 span {
	display: inline-grid; place-items: center;
	width: 30px; height: 30px; border-radius: 8px;
	background: var(--ink); color: #fff;
	font-size: 13px; font-weight: 700;
}
.elit-pf-section h3 {
	margin: 20px 0 10px; font-size: 14px; font-weight: 700;
	color: var(--ink); text-transform: none;
}

/* Fields */
.elit-pf-field { margin-bottom: 14px; }
.elit-pf-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #2c3650; }
.elit-pf-field small { display: block; margin-top: 5px; font-size: 11.5px; color: var(--muted); }
.elit-pf input[type=text],
.elit-pf input[type=number],
.elit-pf input[type=url],
.elit-pf textarea,
.elit-pf select {
	width: 100%; padding: 10px 12px;
	border: 1px solid var(--field-border); border-radius: 9px;
	font-size: 14px; color: var(--ink); background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.elit-pf input:focus, .elit-pf select:focus, .elit-pf textarea:focus {
	outline: none; border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.18);
}
.elit-pf select:disabled { background: #f1f3f8; color: #9aa3b8; cursor: not-allowed; }
.elit-pf input[readonly] { background: #f6f8fc; color: #45506b; }

.elit-pf-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.elit-pf-narrow { max-width: 320px; }
@media (max-width: 560px) { .elit-pf-grid-2 { grid-template-columns: 1fr; gap: 0; } }

/* Checkbox groups */
.elit-pf-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.elit-pf-checks label {
	display: inline-flex; align-items: center; gap: 7px;
	font-size: 13.5px; font-weight: 500; color: #2c3650; cursor: pointer;
}
.elit-pf-checks input { width: 16px; height: 16px; accent-color: var(--accent); }

/* Prices */
.elit-pf-prices { list-style: none; margin: 12px 0 0; padding: 0; max-width: 360px; }
.elit-pf-prices li {
	display: flex; justify-content: space-between; align-items: center;
	padding: 10px 14px; border: 1px solid var(--border);
	border-radius: 9px; margin-bottom: 8px; background: var(--bg);
}
.elit-pf-prices strong { color: var(--accent-ink); }

/* Disclaimer */
.elit-pf-disclaimer {
	font-size: 12px; color: #5b6377; background: var(--bg);
	border: 1px solid var(--border); border-radius: 10px; padding: 16px;
}
.elit-pf-disclaimer p { margin: 0 0 10px; }
.elit-pf-disclaimer p:last-child { margin-bottom: 0; }

/* Submit */
.elit-pf-actions { margin-top: 28px; }
.elit-pf-submit {
	appearance: none; border: 0; cursor: pointer;
	background: var(--accent); color: #2a1a00;
	font-size: 15px; font-weight: 700;
	padding: 13px 30px; border-radius: 999px;
	transition: transform .08s ease, filter .15s ease;
}
.elit-pf-submit:hover { filter: brightness(1.04); }
.elit-pf-submit:active { transform: translateY(1px); }
.elit-pf-submit:focus-visible { outline: 3px solid rgba(27,42,74,.4); outline-offset: 3px; }

/* Success panel */
.elit-pf-success {
	margin-top: 18px; padding: 16px 18px;
	border: 1px solid #bfe3c6; background: #effaf1; border-radius: 10px;
	color: #1f6b34; font-size: 14px;
}
.elit-pf-success strong { display: block; margin-bottom: 3px; }
.elit-pf-success span { color: #2f7a45; font-size: 13px; }

/* Address autocomplete dropdown (Photon / Nominatim) */
.elit-pf .elit-ac {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 50;
	background: #fff; border: 1px solid var(--field-border);
	border-radius: 9px; margin-top: 4px; overflow: hidden;
	box-shadow: 0 12px 28px rgba(27, 42, 74, 0.14);
	max-height: 280px; overflow-y: auto;
}
.elit-pf .elit-ac-item {
	padding: 10px 12px; font-size: 13.5px; color: var(--ink); cursor: pointer;
	border-bottom: 1px solid #f0f2f7;
}
.elit-pf .elit-ac-item:last-child { border-bottom: 0; }
.elit-pf .elit-ac-item:hover { background: #f4f6fb; }
.elit-pf .elit-ac-empty { padding: 10px 12px; font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
	.elit-pf * { transition: none !important; }
}

/* Payment error under the submit button */
.elit-pf .elit-pf-payerror {
	margin: 12px 0 0; font-size: 13px; color: #b42318;
	background: #fef3f2; border: 1px solid #fecdc9; border-radius: 9px; padding: 10px 12px;
}

/* Payment status page */
.elit-pf-status { text-align: center; }
.elit-pf-status h1 { font-size: 24px; margin: 18px 0 8px; }
.elit-pf-status p { color: #475068; max-width: 460px; margin: 0 auto; }
.elit-spinner {
	width: 46px; height: 46px; margin: 0 auto; border-radius: 50%;
	border: 4px solid #e2e6ee; border-top-color: var(--accent);
	animation: elit-spin 0.9s linear infinite;
}
@keyframes elit-spin { to { transform: rotate(360deg); } }
.elit-check {
	width: 56px; height: 56px; margin: 0 auto; border-radius: 50%;
	background: #effaf1; color: #1f9d4d; border: 2px solid #bfe3c6;
	font-size: 30px; line-height: 54px; font-weight: 700;
}
@media (prefers-reduced-motion: reduce) { .elit-spinner { animation-duration: 2.5s; } }

/* Direct-test result box */
.elit-pf .elit-pf-testresult {
	margin-top: 16px; padding: 14px 16px;
	border: 1px solid #bcd9f5; background: #eef6fe; border-radius: 10px;
	color: #14457a; font-size: 14px;
}
.elit-pf .elit-pf-testresult strong { display: block; margin-bottom: 3px; }
.elit-pf .elit-pf-testresult span { display:block; color: #2c5b88; font-size: 13px; }

/* Tooltip helper (uses native title; styled hint circle) */
.elit-pf .elit-tip {
	display: inline-flex; align-items: center; justify-content: center;
	width: 16px; height: 16px; margin-left: 4px;
	border-radius: 50%; background: #e6ebf3; color: #1b2a4a;
	font-size: 11px; font-weight: 700; cursor: help; vertical-align: middle;
}
.elit-pf .elit-tip:hover { background: #f5a623; color: #fff; }
