/* Статус на къщите и запитвания - TEDBG, https://tedbg.com
   23.11.2026 (1.0.2): по указание на Кирил стилът е уеднаквен с бутоните на сайта ("Свържете се с нас"):
   зелен преливащ фон #38ef7d - #009443, заобляне 36px, Roboto, бял текст. Текстовете - цветовете на темата (#2c541d, #585858).
   02.12.2026 (1.0.5): отстояние под reCAPTCHA във формата за запитване. */

.tedbg-rpk-status-row { margin: 0 0 14px; text-align: center; }
.tedbg-rpk-status {
	display: inline-block;
	padding: 5px 16px;
	border: 0;
	border-radius: 36px;
	background: linear-gradient(to right, #38ef7d, #009443);
	color: #fff;
	font-family: Roboto, sans-serif;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: .02em;
	white-space: nowrap;
}
.tedbg-rpk-status.is-rezervirana,
.tedbg-rpk-status.is-prodadena {
	background: #e9ecea;
	color: #585858;
}

.tedbg-rpk-cena {
	margin: 18px 0 22px;
	padding: 18px 22px;
	border-radius: 18px;
	background: #f6f8f5;
	box-sizing: border-box;
	max-width: 100%;
}
.tedbg-rpk-cena p { margin: 0; }
.tedbg-rpk-cena__row { color: #2c541d; font-size: 18px; line-height: 1.4; }
.tedbg-rpk-cena.is-rezervirana .tedbg-rpk-cena__row,
.tedbg-rpk-cena.is-prodadena .tedbg-rpk-cena__row { color: #585858; font-size: 16px; }
.tedbg-rpk-cena__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 14px !important;
}

a.tedbg-rpk-btn,
.tedbg-rpk-forma .wpcf7-submit {
	display: inline-block;
	padding: 11px 28px;
	border: 0;
	border-radius: 36px;
	background: linear-gradient(to right, #38ef7d, #009443);
	color: #fff !important;
	font-family: Roboto, sans-serif;
	font-size: 17px;
	line-height: 1.5;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	max-width: 100%;
	box-sizing: border-box;
	text-align: center;
	transition: background .2s linear;
}
a.tedbg-rpk-btn:hover,
a.tedbg-rpk-btn:focus,
.tedbg-rpk-forma .wpcf7-submit:hover,
.tedbg-rpk-forma .wpcf7-submit:focus { background: linear-gradient(to right, #009443, #38ef7d); color: #fff !important; }
a.tedbg-rpk-btn:focus-visible,
.tedbg-rpk-forma .wpcf7-submit:focus-visible { outline: 2px solid #2c541d; outline-offset: 2px; }

/* Форма за запитване */
.tedbg-rpk-forma {
	max-width: 640px;
	margin: 35px auto;
	padding: 28px 26px;
	border-radius: 18px;
	background: #f6f8f5;
	box-sizing: border-box;
	scroll-margin-top: 24px;
}
.tedbg-rpk-forma__title { margin: 0 0 6px; color: #2c541d; font-size: 28px; line-height: 1.25; }
.tedbg-rpk-forma__intro { margin: 0 0 18px; color: #585858; }
.tedbg-rpk-forma__note { margin: 14px 0 0; color: #585858; font-size: 14px; line-height: 1.5; }
.tedbg-rpk-forma .wpcf7 { margin-top: 16px; }
.tedbg-rpk-forma .wpcf7 form p { margin: 0 0 14px; }
.tedbg-rpk-forma label { display: block; color: #2c541d; font-size: 15px; }
.tedbg-rpk-forma .wpcf7 input[type="text"],
.tedbg-rpk-forma .wpcf7 input[type="tel"],
.tedbg-rpk-forma .wpcf7 input[type="email"],
.tedbg-rpk-forma .wpcf7 textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	margin-top: 4px;
	padding: 10px 18px !important;
	border: 1px solid #c9d3c2 !important;
	border-radius: 36px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #000;
	font-family: inherit;
	font-size: 16px;
}
.tedbg-rpk-forma .wpcf7 textarea { height: 96px; min-height: 96px; resize: vertical; border-radius: 18px !important; }
.tedbg-rpk-forma .wpcf7 input:focus,
.tedbg-rpk-forma .wpcf7 textarea:focus { border-color: #009443 !important; outline: 1px solid #009443; outline-offset: 0; }
.tedbg-rpk-forma .wpcf7-submit { letter-spacing: normal !important; text-transform: none !important; }
.tedbg-rpk-forma .wpcf7-not-valid-tip { font-size: 14px; }
.tedbg-rpk-forma .wpcf7-response-output { margin: 12px 0 0 !important; border-radius: 18px; }
.tedbg-rpk-forma .wpcf7-spinner { vertical-align: middle; }
/* 02.12.2026 (1.0.5): отстояние между "Не съм робот" и бутона - преди беше 0 px (Кирил); общата форма има около 25 px */
.tedbg-rpk-forma .wpcf7-form-control-wrap.recaptcha { display: block; margin: 0 0 22px; }

/* Списък на къщите (Начало и Сгради) */
.tedbg-rpk-spisak {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	max-width: 900px;
	margin: 22px auto 0;
	padding: 0;
	box-sizing: border-box;
	scroll-margin-top: 24px;
}
a.tedbg-rpk-spisak__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-width: 0;
	padding: 10px 12px 10px 22px;
	border: 1px solid #d9e3d3;
	border-radius: 36px;
	background: #fff;
	color: #2c541d;
	text-decoration: none;
	box-sizing: border-box;
	transition: border-color .2s linear, background .2s linear;
}
a.tedbg-rpk-spisak__item:hover { border-color: #38ef7d; background: #f6f8f5; }
.tedbg-rpk-spisak__name { font-size: 17px; font-weight: 600; min-width: 0; }

@media (max-width: 767px) {
	.tedbg-rpk-spisak { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
	a.tedbg-rpk-spisak__item { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; padding: 12px 14px 12px 18px; border-radius: 18px; }
	.tedbg-rpk-forma { padding: 22px 16px; }
	.tedbg-rpk-forma__title { font-size: 24px; }
	.tedbg-rpk-cena { padding: 16px; }
}
@media (max-width: 380px) {
	.tedbg-rpk-spisak { grid-template-columns: minmax(0, 1fr); }
	a.tedbg-rpk-spisak__item { flex-direction: row; align-items: center; justify-content: space-between; border-radius: 36px; }
	a.tedbg-rpk-btn { width: 100%; }
}
