/**
 * LifyHomes — Post Property Wizard + Listings topbar
 */

/* ── Wizard shell ── */
body.quick_listing_add,
body.agent_post_property {
	background: var(--lify-surface, #f8fafc) !important;
}

.lify-agent-post .agent-listing-wizard-wrap,
.lify-agent-post .tz-2 {
	background: transparent !important;
	box-shadow: none !important;
}

.lify-agent-post .breadcumbs.ddd__lead__l ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.lify-agent-post .breadcumbs.ddd__lead__l ul li {
	color: var(--lify-text-muted, #64748b);
	font-size: 13px;
}

.lify-agent-post .breadcumbs.ddd__lead__l ul li a {
	color: var(--lify-primary, #0f4c81);
	font-weight: 600;
}

.lify-post-wizard {
	max-width: 920px;
	margin: 0 auto;
}

.lify-post-wizard .wrap-content_slide {
	background: #fff;
	border-radius: var(--lify-radius, 16px);
	border: 1px solid var(--lify-border, #e2e8f0);
	box-shadow: 0 12px 40px rgba(15, 76, 129, 0.08);
	padding: 28px 24px 36px;
}

/* Progress steps */
.lify-post-wizard #progressbar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.lify-post-wizard #progressbar li {
	flex: 1 1 auto;
	min-width: 100px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	color: var(--lify-text-muted, #64748b);
	position: relative;
	padding-top: 36px;
}

.lify-post-wizard #progressbar li:before {
	content: counter(step);
	counter-increment: step;
	width: 28px;
	height: 28px;
	line-height: 28px;
	display: block;
	margin: 0 auto 8px;
	border-radius: 50%;
	background: var(--lify-surface, #f8fafc);
	border: 2px solid var(--lify-border, #e2e8f0);
	color: var(--lify-text-muted, #64748b);
	font-size: 13px;
	font-weight: 700;
}

.lify-post-wizard #progressbar li.active:before,
.lify-post-wizard #progressbar li.active {
	color: var(--lify-primary, #0f4c81);
}

.lify-post-wizard #progressbar li.active:before {
	background: var(--lify-primary, #0f4c81);
	border-color: var(--lify-primary, #0f4c81);
	color: #fff;
}

/* Quality score panel */
.lify-post-wizard .listing-quality-panel {
	background: linear-gradient(135deg, #f0f9ff, #fff);
	border: 1px solid #bae6fd;
	border-radius: 12px;
	padding: 16px 18px;
	margin-bottom: 24px;
}

.lify-post-wizard .listing-quality-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 10px;
	font-size: 14px;
}

.lify-post-wizard .listing-quality-pct {
	color: var(--lify-accent, #00aeef);
	font-size: 18px;
}

.lify-post-wizard .listing-quality-tip {
	margin: 10px 0 0;
	font-size: 13px;
	color: var(--lify-text-muted, #64748b);
}

.lify-post-wizard .progress {
	height: 10px;
	background: #e2e8f0;
	border-radius: 999px;
	overflow: hidden;
	margin: 0;
}

.lify-post-wizard .listing-progress {
	background: linear-gradient(90deg, #00aeef, #0f4c81) !important;
	font-size: 0;
}

.lify-post-wizard .listing-draft-banner {
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 10px;
	padding: 12px 16px;
	margin-bottom: 20px;
	font-size: 14px;
	color: #92400e;
}

/* Step titles */
.lify-post-wizard .fs-title {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--lify-primary, #0f4c81);
	margin: 0 0 8px;
	text-align: center;
}

.lify-post-wizard .fs-subtitle {
	text-align: center;
	color: var(--lify-text-muted, #64748b);
	font-size: 14px;
	margin: 0 0 28px;
}

/* Field blocks */
.lify-post-wizard .listing-field-block {
	margin-bottom: 24px;
}

.lify-post-wizard .only_labelss,
.lify-post-wizard label.only_labelss {
	font-weight: 600;
	font-size: 14px;
	color: var(--lify-text, #1e293b);
	margin-bottom: 10px;
	display: block;
}

.lify-post-wizard .color_sa {
	color: var(--lify-primary, #0f4c81);
}

/* Ownership / purpose cards */
.lify-post-wizard .listing-option-row,
.lify-post-wizard .listing-type-card-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lify-post-wizard .listing-radio-option,
.lify-post-wizard .listing-type-card {
	border: 1px solid var(--lify-border, #e2e8f0) !important;
	border-radius: 10px !important;
	padding: 12px 16px 12px 40px !important;
	background: #fff !important;
	transition: all 0.2s ease;
	cursor: pointer;
	min-width: 110px;
}

.lify-post-wizard .listing-radio-option:hover,
.lify-post-wizard .listing-type-card:hover {
	border-color: var(--lify-accent, #00aeef) !important;
	box-shadow: 0 4px 12px rgba(0, 174, 239, 0.15);
}

.lify-post-wizard .listing-type-card.is-selected,
.lify-post-wizard .listing-radio-option input:checked ~ .listing-radio-text {
	color: var(--lify-primary, #0f4c81);
	font-weight: 600;
}

.lify-post-wizard .listing-type-card.is-selected {
	border-color: var(--lify-primary, #0f4c81) !important;
	background: #f0f9ff !important;
}

/* Inputs */
.lify-post-wizard .steps input:not([type="radio"]):not([type="checkbox"]),
.lify-post-wizard .steps textarea,
.lify-post-wizard .steps select {
	border: 1px solid var(--lify-border, #e2e8f0) !important;
	border-radius: 10px !important;
	padding: 12px 14px !important;
	font-size: 14px !important;
	background: #fff !important;
}

.lify-post-wizard .steps input:focus,
.lify-post-wizard .steps textarea:focus,
.lify-post-wizard .steps select:focus {
	border-color: var(--lify-accent, #00aeef) !important;
	box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15) !important;
	outline: none !important;
}

/* Buttons */
.lify-post-wizard .action-button,
.lify-post-wizard input.action-button,
.lify-post-wizard .next1,
.lify-post-wizard .next2,
.lify-post-wizard .next3,
.lify-post-wizard .next4,
.lify-post-wizard .next5 {
	background: linear-gradient(135deg, #00aeef, #0090c8) !important;
	color: #fff !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 12px 28px !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lify-post-wizard .action-button:hover,
.lify-post-wizard .next1:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0, 174, 239, 0.35);
}

.lify-post-wizard .action-button-secondary,
.lify-post-wizard .listing-pg-shortcut {
	background: #fff !important;
	color: var(--lify-primary, #0f4c81) !important;
	border: 1px solid var(--lify-border, #e2e8f0) !important;
	border-radius: 10px !important;
	padding: 10px 18px !important;
	font-weight: 600 !important;
}

.lify-post-wizard .previous,
.lify-post-wizard input.previous {
	background: var(--lify-surface, #f8fafc) !important;
	color: var(--lify-text-muted, #64748b) !important;
	border: 1px solid var(--lify-border, #e2e8f0) !important;
	border-radius: 10px !important;
}

/* Fieldsets */
.lify-post-wizard fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

.lify-post-wizard fieldset:not(:first-of-type) {
	display: none;
}

/* Photo upload area */
.lify-post-wizard .upload_heres,
.lify-post-wizard .uploadf_heres {
	border: 2px dashed var(--lify-border, #e2e8f0);
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	background: var(--lify-surface, #f8fafc);
}

/* Listings topbar */
.lify-listings-topbar {
	background: linear-gradient(135deg, #0f4c81, #0a3558);
	padding: 14px 0;
	margin-bottom: 0;
}

.lify-listings-topbar__hint {
	margin: 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: 14px;
	font-weight: 500;
}

.lify-listings-topbar__hint i {
	margin-right: 8px;
	color: var(--lify-highlight, #ffb703);
}

@media (max-width: 767px) {
	.lify-post-wizard .wrap-content_slide {
		padding: 16px 12px 24px;
		border-radius: 12px;
	}

	.lify-post-wizard #progressbar li {
		min-width: 72px;
		font-size: 10px;
		padding-top: 32px;
	}

	.lify-post-wizard .fs-title {
		font-size: 1.25rem;
	}
}
