/* EPPI Заявка за качване на обява */
.eppi-req {
	--eppi-primary: #f9a11b;
	--eppi-primary-dark: #e08a07;
	--eppi-text: #515666;
	--eppi-heading: #2a2e39;
	--eppi-muted: #8a90a2;
	--eppi-border: #e5e5f8;
	--eppi-radius: 2px;
	--eppi-heading-font: "Exo 2", "Poppins", sans-serif;
	color: var(--eppi-text);
	font-size: 15px;
	margin: 0 0 40px;
}
.eppi-req *, .eppi-req *::before, .eppi-req *::after { box-sizing: border-box; }

.eppi-req-form {
	position: relative;
	background: #fff;
	border: 1px solid var(--eppi-border);
	box-shadow: 0 10px 30px rgba(42, 46, 57, .06);
	padding: 30px;
}
.eppi-req-form::before {
	content: "";
	position: absolute;
	left: -1px; right: -1px; top: -1px;
	height: 3px;
	background: var(--eppi-primary);
}
.eppi-req .eppi-req-title {
	font-family: var(--eppi-heading-font);
	color: var(--eppi-heading);
	font-size: 24px;
	font-weight: 600;
	margin: 0 0 8px;
}
.eppi-req-intro { margin-bottom: 22px; color: var(--eppi-muted); }
.eppi-req-intro p { margin: 0; }

.eppi-req-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}
.eppi-req-full { grid-column: 1 / -1; }

.eppi-req .eppi-req-label {
	display: block;
	margin: 0 0 7px;
	font-size: 13px;
	font-weight: 500;
	color: var(--eppi-heading);
}
.eppi-req-star { color: var(--eppi-primary); }

.eppi-req input[type="text"],
.eppi-req input[type="email"],
.eppi-req input[type="tel"],
.eppi-req input[type="number"],
.eppi-req select,
.eppi-req textarea {
	width: 100%;
	margin: 0;
	padding: 0 14px;
	height: 46px;
	font: inherit;
	font-size: 15px;
	color: var(--eppi-text);
	background: #fff;
	border: 1px solid var(--eppi-border);
	border-radius: var(--eppi-radius);
	box-shadow: none;
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	-webkit-appearance: none;
	appearance: none;
}
.eppi-req textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 120px; }
.eppi-req input:focus,
.eppi-req select:focus,
.eppi-req textarea:focus {
	border-color: var(--eppi-primary);
	box-shadow: 0 0 0 3px rgba(249, 161, 27, .18);
}
.eppi-req ::placeholder { color: #a9aebd; opacity: 1; }

.eppi-req-select { position: relative; }
.eppi-req-select select { padding-right: 34px; cursor: pointer; }
.eppi-req-select::after {
	content: "";
	position: absolute;
	right: 14px; top: 50%;
	width: 7px; height: 7px;
	border-right: 2px solid var(--eppi-muted);
	border-bottom: 2px solid var(--eppi-muted);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}

.eppi-req-choices { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 4px; }
.eppi-req-choice {
	display: inline-flex !important;
	align-items: flex-start;
	gap: 9px;
	margin: 0 !important;
	font-weight: 400;
	cursor: pointer;
	line-height: 1.4;
}
.eppi-req-choice input {
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 18px;
	width: 18px; height: 18px;
	margin: 1px 0 0;
	border: 1px solid #c9cddb;
	background: #fff;
	cursor: pointer;
	position: relative;
	transition: all .15s;
}
.eppi-req-choice input[type="radio"] { border-radius: 50%; }
.eppi-req-choice input[type="checkbox"] { border-radius: 2px; }
.eppi-req-choice input[type="radio"]:checked { border-color: var(--eppi-primary); background: var(--eppi-primary); box-shadow: inset 0 0 0 4px #fff; }
.eppi-req-choice input[type="checkbox"]:checked { border-color: var(--eppi-primary); background: var(--eppi-primary); }
.eppi-req-choice input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 5px; top: 1px;
	width: 6px; height: 11px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.eppi-req-choice input:focus-visible { box-shadow: 0 0 0 3px rgba(249, 161, 27, .3); }
.eppi-req-consent { font-size: 14px; color: var(--eppi-muted); }
.eppi-req-consent a { color: var(--eppi-primary); }

.eppi-req-error { display: none; margin-top: 5px; font-size: 13px; color: #d63638; }
.eppi-req-field.has-error .eppi-req-error { display: block; }
.eppi-req-field.has-error input,
.eppi-req-field.has-error select,
.eppi-req-field.has-error textarea { border-color: #d63638; }

.eppi-req-hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.eppi-req-actions {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--eppi-border);
}
.eppi-req-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 190px;
	height: 48px;
	padding: 0 34px;
	border: 0;
	border-radius: var(--eppi-radius);
	background: var(--eppi-primary);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .2s, transform .1s;
}
.eppi-req-btn:hover, .eppi-req-btn:focus-visible { background: var(--eppi-primary-dark); color: #fff; }
.eppi-req-btn:active { transform: translateY(1px); }
.eppi-req-btn[disabled] { opacity: .6; cursor: default; }
.eppi-req-note { font-size: 14px; }
.eppi-req-note.is-error { color: #d63638; }

.eppi-req-success {
	margin-bottom: 20px;
	padding: 18px 22px;
	background: #f2faf3;
	border: 1px solid #b7e0bd;
	border-left: 4px solid #2e9e45;
	color: #1e5c2c;
}
.eppi-req-success p { margin: 0; }

.eppi-req-done { text-align: center; padding: 30px 10px; }
.eppi-req-done .eppi-req-done-icon {
	display: block;
	width: 56px; height: 56px;
	margin: 0 auto 16px;
	border-radius: 50%;
	background: var(--eppi-primary);
	color: #fff;
	font-size: 30px;
	line-height: 56px;
}

@media (max-width: 767px) {
	.eppi-req-form { padding: 20px 16px; }
	.eppi-req-grid { grid-template-columns: 1fr; }
	.eppi-req-btn { width: 100%; }
	.eppi-req-actions { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
	.eppi-req * { transition: none !important; }
}
