/* =========================================================
   POST PROPERTY STEP 1, 2026 REDESIGN (loaded after post-property.css)
   Compact card: light grey side panel, flat ad-type buttons, contact boxes with
   mobile OTP, short terms that open with "Read all terms".
========================================================= */
.bg-property {
	background: #f3f4f6;
}

.pp2 {
	grid-template-columns: 240px minmax(0, 1fr);
	max-width: 900px;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(10, 53, 87, 0.08);
	font-family: inherit;
}

.post-property-wrapper {
	font-family: inherit;
}

/* ---------------- Side panel ---------------- */
.pp2 .pp-side {
	padding: 22px 20px;
	border-right: 1px solid #e9ecf0;
	background: #f4f5f7;
	color: #33415c;
}

.pp2 .pp-free {
	padding: 3px 8px;
	background: #f7a21c;
	color: #1a1a1a;
	font-size: 10.5px;
}

.pp2 .pp-title {
	margin: 10px 0 4px;
	color: #0a3557;
	font-size: 16.5px;
	font-weight: 800;
}

.pp2 .pp-sub {
	margin-bottom: 18px;
	color: #6b7480;
	font-size: 12px;
}

.pp2 .pp-steps {
	gap: 10px;
}

.pp2 .pp-steps li {
	gap: 9px;
	color: #5b6573;
	font-size: 12.5px;
}

.pp2 .pp-steps li span {
	width: 22px;
	height: 22px;
	border: 1.5px solid #c5ccd6;
	background: #ffffff;
	color: #5b6573;
	font-size: 10.5px;
}

.pp2 .pp-steps li.is-current {
	color: #0a3557;
	font-weight: 700;
}

.pp2 .pp-steps li.is-current span {
	border-color: #f7a21c;
	background: #f7a21c;
	color: #1a1a1a;
}

.pp2 .pp-trust {
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid #e3e7ec;
	color: #33415c;
	font-size: 12px;
}

.pp2 .pp-trust i {
	color: #f7a21c;
}

/* ---------------- Form ---------------- */
.pp2-form {
	padding: 22px 26px;
}

.pp2-types {
	margin: 0 0 20px;
	padding: 0;
	border: 0;
}

.pp2-types legend {
	float: none;
	width: 100%;
	margin: 0 0 18px;
	text-align: center;
	color: #33415c;
	font-size: 15px;
	font-weight: 600;
}

.pp2-type-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px;
}

.pp2-type {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.pp2-type input {
	position: absolute;
	opacity: 0;
}

.pp2-type span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	border: 1px solid #e3e7ec;
	border-radius: 4px;
	background: #f1f3f5;
	color: #33415c;
	font-size: 13.5px;
	white-space: nowrap;
	transition: background 0.15s ease;
}

.pp2-type:hover span {
	background: #e8ebef;
}

.pp2-type input:checked + span {
	border-color: #0a3557;
	background: #0a3557;
	color: #ffffff;
	font-weight: 600;
}

.pp2-type input:focus-visible + span {
	outline: 2px solid #f7a21c;
	outline-offset: 2px;
}

.pp2-fields-h {
	margin: 4px 0 12px;
	color: #6b7480;
	font-size: 13px;
	font-weight: 600;
}

.pp2-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
	margin-bottom: 14px;
}

.pp2-field {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 38px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid #b8c2ce;
	border-radius: 8px;
	background: #ffffff;
}

.pp2-field:focus-within {
	border-color: #0a3557;
	box-shadow: 0 0 0 3px rgba(10, 53, 87, 0.08);
}

.pp2-field.is-ok {
	border-color: #1d8a4e;
}

.pp2-field input,
.pp2-field select {
	width: 100%;
	min-width: 0;
	border: 0;
	outline: 0;
	background: none;
	color: #1f2a37;
	font: inherit;
	font-size: 13px;
}

.pp2-field input::placeholder {
	color: #9aa3ae;
}

.pp2-field select {
	width: auto;
	min-width: 46px;
	padding-right: 8px;
	border-right: 1px solid #b8c2ce;
	color: #9aa3ae;
	appearance: none;
}

.pp2-otp-send {
	flex: none;
	height: 20px;
	padding: 0 0 0 10px;
	border: 0;
	border-left: 1px solid #e3e7ec;
	background: none;
	color: #1f5fa8;
	font: inherit;
	font-size: 12.5px;
	font-weight: 700;
}

.pp2-otp-send:disabled {
	color: #b8c2ce;
}

.pp2-otp-ok {
	flex: none;
	color: #1d8a4e;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.pp2-help {
	background: #f4f7fb;
	cursor: pointer;
}

.pp2-help input {
	width: 15px;
	height: 15px;
	accent-color: #0a3557;
}

.pp2-help b {
	color: #1a1a1a;
	font-size: 12.5px;
	font-weight: 600;
}

/* ---------------- OTP ---------------- */
.pp2-otp {
	grid-column: 1 / -1;
	padding: 12px 14px;
	border-radius: 10px;
	background: #f4f7fb;
}

.pp2-otp-t {
	margin: 0 0 8px;
	color: #5b6573;
	font-size: 12.5px;
}

.pp2-otp-t b {
	color: #1a1a1a;
}

.pp2-otp-test {
	margin: 0 0 8px;
	padding: 6px 10px;
	border-radius: 6px;
	background: #fff4e2;
	color: #7a4a00;
	font-size: 12px;
}

.pp2-otp-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.pp2-otp-digits {
	display: flex;
	gap: 6px;
}

.pp2-otp-digits input {
	width: 34px;
	height: 38px;
	border: 1px solid #b8c2ce;
	border-radius: 6px;
	outline: 0;
	background: #ffffff;
	color: #1a1a1a;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}

.pp2-otp-digits input:focus {
	border-color: #0a3557;
	box-shadow: 0 0 0 3px rgba(10, 53, 87, 0.1);
}

.pp2-otp-verify {
	height: 38px;
	padding: 0 18px;
	border: 0;
	border-radius: 6px;
	background: #0a3557;
	color: #ffffff;
	font: inherit;
	font-size: 13px;
	font-weight: 700;
}

.pp2-otp-verify:disabled {
	background: #b8c2ce;
}

.pp2-otp-err {
	margin: 8px 0 0;
	color: #d33;
	font-size: 12px;
}

.pp2-otp-re {
	margin: 8px 0 0;
	color: #6b7480;
	font-size: 12px;
}

.pp2-link {
	padding: 0;
	border: 0;
	background: none;
	color: #1f5fa8;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
}

.pp2-link:disabled {
	color: #8a94a3;
}

/* ---------------- Terms ---------------- */
.pp2-terms {
	margin-bottom: 6px;
	padding: 12px 14px;
	border: 1px solid #e3e7ec;
	border-radius: 10px;
}

.pp2-terms-h {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.pp2-terms-h b {
	color: #0a3557;
	font-size: 13px;
}

.pp2-terms-h .pp2-link i {
	margin-left: 3px;
	font-size: 10px;
}

/* Hidden until "Read all terms" (post-property.js adds .expanded) */
.pp2-tlist {
	display: none;
	grid-template-columns: 1fr 1fr;
	gap: 10px 18px;
	margin: 4px 0 12px;
	padding: 12px 0 0;
	border-top: 1px dashed #e3e7ec;
	list-style: none;
}

.pp2-tlist.expanded {
	display: grid;
}

.pp2-tlist li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}

.pp2-tlist i {
	flex: none;
	width: 16px;
	margin-top: 2px;
	color: #0a3557;
	font-size: 12.5px;
	text-align: center;
}

.pp2-tlist span {
	color: #6b7480;
	font-size: 12px;
	line-height: 1.45;
}

.pp2-tlist b {
	display: block;
	color: #1a1a1a;
	font-size: 12.5px;
	font-weight: 600;
}

.pp2-tlist li.is-key {
	margin: -8px -10px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #fff4e2;
}

.pp2-tlist li.is-key i {
	color: #a85f00;
}

.pp2-tlist li.is-key span {
	color: #7a4a00;
}

.pp2-tlist li.is-wide {
	grid-column: 1 / -1;
}

.pp2-agree {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #33415c;
	font-size: 12.5px;
	cursor: pointer;
}

.pp2-agree input {
	width: 15px;
	height: 15px;
	accent-color: #0a3557;
}

.pp2-agree a {
	color: #1f5fa8;
	font-weight: 600;
}

.pp2-go {
	display: block;
	height: 44px;
	margin: 10px auto 0;
	padding: 0 28px;
	border: 0;
	border-radius: 8px;
	background: #0a3557;
	color: #ffffff;
	font: inherit;
	font-size: 15.5px;
	font-weight: 700;
}

.pp2-go:hover {
	background: #13497a;
}

.pp2-go:disabled {
	background: #b8c2ce;
	cursor: not-allowed;
}

/* ---------------- Phones and tablets ---------------- */
@media (max-width: 991px) {

	.pp2 {
		grid-template-columns: 1fr;
		border-radius: 12px;
	}

	.pp2 .pp-side {
		padding: 16px;
		border-right: 0;
		border-bottom: 1px solid #e9ecf0;
	}

	.pp2 .pp-title {
		margin: 0 0 2px;
		font-size: 15px;
	}

	.pp2 .pp-progress i {
		background: #d6dce4;
	}

	.pp2 .pp-progress i.is-current {
		background: #f7a21c;
	}

	.pp2 .pp-progress-text {
		color: #6b7480;
		font-size: 12px;
	}

	.pp2-form {
		padding: 16px;
	}

	.pp2-type-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.pp2-type span {
		font-size: 13px;
	}
}

@media (max-width: 575px) {

	.pp2-fields,
	.pp2-tlist {
		grid-template-columns: 1fr;
	}
}

/* Chrome paints saved (autofilled) values light blue; keep the boxes plain white */
.pp2-field input:-webkit-autofill,
.pp2-field input:-webkit-autofill:hover,
.pp2-field input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #ffffff inset;
	-webkit-text-fill-color: #1f2a37;
	caret-color: #1f2a37;
	transition: background-color 9999s ease-out 0s;
}

/* Less empty grey above the form: page starts closer to the menu bar */
main.page-content:has(.pp2) {
	padding-top: 0;
}

main.page-content:has(.pp2) .post-property-wrapper {
	padding-top: 45px;
}

/* Same grey space below the form box as above it */
main.page-content:has(.pp2) {
	padding-bottom: 0;
}

main.page-content:has(.pp2) .post-property-wrapper {
	padding-bottom: 28px;
}

/* "Post your property for free": not bold */
.pp2 .pp-title {
	font-weight: 400 !important;
}

/* "Post your property for free": plain regular text, like the rest of the page */
.pp2 .pp-title {
	font-family: "Segoe UI", system-ui, Arial, sans-serif !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	color: #1f2a37 !important;
	letter-spacing: 0 !important;
}

/* The strip under the menu bar: same grey as the rest of the page */
body:has(.pp2) {
	background: #f3f4f6;
}

/* Commercial-only fee lines stay hidden for other ad types */
.pp2-tlist li[hidden] {
	display: none;
}
