.candles-property-wizard {
	margin: 24px 0;
	padding: 22px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	direction: rtl;
}

#submit-property-form:not(.submit-property-form-wizard) .dashboard-tabs-nav {
	display: none;
}

#submit-property-form:not(.submit-property-form-wizard) .dashboard-tab-content {
	display: block !important;
	margin-bottom: 26px;
	padding: 22px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
}

#submit-property-form:not(.submit-property-form-wizard) .dashboard-tab-content:before {
	content: attr(data-content-title);
	display: block;
	margin-bottom: 18px;
	color: #111827;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

#submit-property-form:not(.submit-property-form-wizard) #previous,
#submit-property-form:not(.submit-property-form-wizard) #next {
	display: none !important;
}

.candles-property-wizard h3 {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.4;
}

.candles-wizard-note {
	margin: 0 0 18px;
	color: #6b7280;
}

.candles-wizard-label,
.candles-field label {
	display: block;
	margin-bottom: 8px;
	color: #111827;
	font-weight: 700;
}

.candles-wizard-label em,
.candles-field label em {
	color: #dc2626;
	font-style: normal;
}

.candles-card-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}

.candles-option-card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 74px;
	padding: 14px;
	border: 2px solid #e5e7eb;
	border-radius: 8px;
	background: #f9fafb;
	cursor: pointer;
	text-align: center;
	transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.candles-option-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.candles-option-card:has(input:checked) {
	border-color: var(--dashboard-primary-color, #1ea69a);
	background: rgba(30, 166, 154, .08);
	color: #0f766e;
}

.candles-wizard-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.candles-field {
	margin: 0 0 4px;
}

.candles-field input[type="text"],
.candles-field input[type="number"],
.candles-field select {
	width: 100%;
	min-height: 44px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #fff;
}

.candles-field-check {
	display: flex;
	align-items: end;
	min-height: 76px;
}

.candles-field-check label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 12px 14px;
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	background: #f9fafb;
	font-weight: 600;
}

.candles-is-hidden,
.candles-hidden-realhomes-field {
	display: none !important;
}

.candles-has-error {
	border-color: #dc2626;
	box-shadow: 0 0 0 1px rgba(220, 38, 38, .12);
}

.candles-field-error {
	border-color: #dc2626 !important;
}

.candles-details-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.candles-details-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	background: #fff;
}

.candles-details-list .title {
	color: #6b7280;
	font-weight: 700;
}

.candles-details-list .value {
	color: #111827;
	text-align: left;
}

.candles-sold-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 18px;
	border: 2px solid rgba(255, 255, 255, .9);
	border-radius: 8px;
	background: #dc2626;
	color: #fff;
	font-size: 18px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	box-shadow: 0 10px 24px rgba(127, 29, 29, .34), 0 2px 6px rgba(0, 0, 0, .22);
}

.candles-single-sold-section {
	margin-bottom: 18px;
	text-align: right;
}

.single-property .rh_page__property_price .status.candles-single-status-sold {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin: 0 0 10px;
	padding: 10px 22px;
	border: 2px solid rgba(255, 255, 255, .94);
	border-radius: 10px;
	background: #dc2626;
	color: #fff;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.15;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .18);
	box-shadow: 0 14px 32px rgba(127, 29, 29, .42), 0 2px 8px rgba(0, 0, 0, .28);
}

.single-property .rh_page__property_price .status.candles-single-status-sold + .price {
	margin-top: 0;
}

.candles-dashboard-sold-note {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 6px 10px;
	border-radius: 6px;
	background: #fef2f2;
	color: #991b1b;
	font-weight: 700;
}

.post-actions-wrapper .candles-mark-sold {
	background: #b91c1c;
	color: #fff;
}

.candles-dashboard-notice {
	position: fixed;
	top: 18px;
	left: 18px;
	z-index: 99999;
	max-width: min(420px, calc(100vw - 36px));
	padding: 12px 16px;
	border-radius: 6px;
	background: #ecfdf5;
	color: #065f46;
	font-weight: 800;
	box-shadow: 0 12px 30px rgba(15, 23, 42, .16);
}

.candles-dashboard-notice.is-error {
	background: #fef2f2;
	color: #991b1b;
}

.rh_prop_card .candles-sold-badge {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 9;
	min-width: 96px;
	letter-spacing: 0;
}

.rtl .rh_prop_card .candles-sold-badge {
	right: auto;
	left: 14px;
}

.rh-property-tags-wrapper .candles-sold-badge,
.rh_bottom_tags_box .candles-sold-badge {
	position: static;
	min-height: 38px;
	padding: 8px 16px;
	font-size: 17px;
}

@media (max-width: 767px) {
	.candles-card-options,
	.candles-wizard-grid,
	.candles-details-list {
		grid-template-columns: 1fr;
	}
}
