
        /* Post Property - Premium UI (Property Listing Form style) */
:root {
    --primary: #b91c1c;
    --primary-light: #ef4444;
    --primary-dark: #991b1b;
    --accent: #dc2626;
    --accent-soft: #fee2e2;
    --success: #16a34a;
    --card-shadow: 0 10px 40px rgba(185, 28, 28, 0.08);
    --card-shadow-hover: 0 15px 50px rgba(185, 28, 28, 0.12);
    --border-radius: 16px;
    --radius-sm: 12px;
    --icon-bg: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
    --left-width: 25%;
    --right-width: 25%;
    --step-active: #ef4444;
    --step-done: #16a34a;
    /* Page / section bars stay previous teal (rest of UI uses --primary red) */
    --header-bar: #0f766e;
    --header-bar-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    background: #e2e8f0;
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.app-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ========== Left: Fixed - Steps, Quick Links, Score (ref: fixed, light grey) ========== */
.sidebar-left {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--left-width);
    max-width: 320px;
    min-width: 260px;
    background: #f1f5f9;
    box-shadow: 4px 0 24px rgba(0,0,0,0.06);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    padding: 1.5rem 1rem;
    flex-shrink: 0;
}

/* Step progress */
.steps-progress {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    padding: 0.5rem 0;
    cursor: pointer;
}

.step-item::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 36px;
    bottom: -4px;
    width: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.step-item.completed::before,
.step-item.active::before {
    background: var(--primary);
}

.step-item:last-child::before {
    display: none;
}

.step-dot {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #fff;
    z-index: 1;
    transition: all 0.2s;
}

.step-item.completed .step-dot {
    background: var(--step-done);
    border-color: var(--step-done);
    font-family: 'bootstrap-icons';
}

.step-item.completed .step-dot::after {
    content: '\F26B';
    font-size: 0.8rem;
    color: #fff;
}

.step-item.active .step-dot {
    background: var(--step-active);
    border-color: var(--step-active);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
}

.step-item.active .step-label {
    color: var(--step-active);
    font-weight: 600;
}

.step-item.completed .step-label {
    color: #475569;
}

/* Quick links */
.quick-links-block {
    display: none !important;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.quick-links-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #64748b;
    margin: 0 0 0.75rem 0;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.quick-link i {
    font-size: 1rem;
    color: var(--primary);
}

.quick-link:hover {
    color: var(--primary);
}

/* Property Score card */
.property-score-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    text-align: center;
}

.inline-score-card {
    display: none;
}

.score-circle-wrap {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 0.75rem;
}

.score-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 8;
}

.score-fill {
    fill: none;
    stroke: var(--step-done);
    stroke-width: 8;
    stroke-dasharray: 28 283;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s;
}

.score-value {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.score-pct {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    vertical-align: super;
}

.score-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.score-desc {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

/* ========== Center: No scroll (page/window scrolls, left/right fixed) ========== */
.main-content {
    flex: 1;
    margin-left: var(--left-width);
    margin-right: var(--right-width);
    min-height: 100vh;
    min-width: 0;
    overflow: visible;
    background: #fff;
}

.main-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* Page header - teal bar */
.page-header {
    background: var(--header-bar);
    color: #fff;
    padding: 1.25rem 1.5rem;
    margin: 0 -1.5rem 1.5rem -1.5rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--header-bar-shadow);
}

.page-header-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto;
}

.page-header-inner > i {
    font-size: 2rem;
    opacity: 0.95;
}

.page-header h1 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.page-header p {
    margin: 0.25rem 0 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.property-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-section {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.2s;
    padding-bottom: 15px;
}

.form-section:hover {
    box-shadow: var(--card-shadow-hover);
}

/* Two-column (col-6) layout - all fields half width except description */
.form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}
.form-section > * {
    grid-column: 1 / -1;
}
.form-section > .form-row {
    grid-column: span 1;
}
.form-section > .form-row.form-row-full {
    grid-column: 1 / -1;
}
/* Nested wrappers - two columns for their form-rows */
#rent-only-fields,
#wrap-rera-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}
#rent-only-fields .form-row,
#wrap-rera-details .form-row {
    grid-column: span 1;
}
/* Hostel/PG Details: 3 fields per line */
.hostel-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem 1.25rem;
}
.hostel-fields-grid .form-row.feature-col {
    min-width: 0;
    margin-bottom: 0;
}
.area-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}
.area-block .form-row {
    grid-column: span 1;
}
.area-block .sub-head {
    grid-column: 1 / -1;
}
.area-block .form-row:has(input[readonly]) {
    grid-column: span 1;
}
#wrap-plot-land-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}
#wrap-plot-land-grid .form-row,
#wrap-plot-land-grid .sub-head {
    grid-column: span 1;
}
#wrap-plot-land-grid .sub-head {
    grid-column: 1 / -1;
}
#wrap-amenities-corner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}
#wrap-amenities-corner .field-label,
#wrap-amenities-corner .checkbox-group {
    grid-column: 1 / -1;
}
#wrap-amenities-corner .mt-3 {
    grid-column: 1 / -1;
}

/* Section header - teal bar (ref: rounded bottom corners) */
.section-header.bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.85rem 1.25rem;
    background: var(--header-bar);
    color: #fff;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.section-header.bar .section-icon {
    width: 36px;
    height: 36px;
    margin: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 1.1rem;
}

.section-header.bar h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.form-section .section-header.bar + .subsection,
.form-section .section-header.bar + .form-row,
.form-section .section-header.bar + * {
    padding-top: 1.25rem;
}

.form-section > *:not(.section-header) {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.form-section > *:not(.section-header):last-child {
    padding-bottom: 1.25rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f1f5f9;
}

.section-header:not(.bar) {
    padding-left: 0;
}

.section-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--icon-bg);
    color: #fff;
    border-radius: 12px;
    font-size: 1.25rem;
}

.section-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
}

/* Subsection labels (Property Category, Property Type style) */
.subsection {
    margin-bottom: 0.75rem;
}

.subsection-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.subsection-label i {
    color: var(--primary);
}

.subsection-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    padding: 0.75rem 0;
    border-top: 1px solid #e2e8f0;
}
.subsection-bar i {
    font-size: 1.1rem;
}

.label-hint {
    font-size: 0.75rem;
    font-weight: 400;
    color: #64748b;
    margin-left: 0.35rem;
}

.subsection-heading-conditional {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.subsection-heading-conditional i {
    color: var(--primary);
}

/* Option cards - checkbox-like buttons with icons */
.option-cards .radio-card {
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-sm);
}

.property-type-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding-bottom: 0.5rem;
}

.property-type-scroll .checkbox-group,
.property-type-scroll .radio-group {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.property-type-scroll label {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.property-type-scroll label:hover {
    border-color: var(--primary-light);
    background: #fff1f2;
}

.property-type-scroll label:has(input:checked) {
    border-color: var(--primary);
    background: #fff1f2;
    color: var(--primary-dark);
}

/* Single property-type list: labels control which listing mode shows each option */
#property-type-wrap.listing-type-rent .property-type-label.pt-sell {
    display: none !important;
}

/* Property category (Residential / Commercial / Other) filters visible types */
#property-type-wrap.cat-residential .property-type-label:not(.pt-cat-residential),
#property-type-wrap.cat-commercial .property-type-label:not(.pt-cat-commercial),
#property-type-wrap.cat-other .property-type-label:not(.pt-cat-other) {
    display: none !important;
}

/* Premium gem accent (category + property type options) */
.premium-gem {
    color: #c5a028;
    font-size: 0.6rem;
    margin-right: 0.15rem;
    vertical-align: 0.12em;
    flex-shrink: 0;
}
.property-category-card .premium-gem {
    margin-right: 0.35rem;
}
.property-type-scroll .property-type-label {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    position: relative;
}

/* Property Type options: no visible radio circle */
#property-type-wrap input[type="radio"][data-pt-token] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}
.property-type-collapsible {
    overflow: hidden;
    transition: max-height 0.28s ease, opacity 0.22s ease, margin-top 0.28s ease, margin-bottom 0.28s ease, padding-top 0.28s ease, padding-bottom 0.28s ease;
    max-height: 520px;
    opacity: 1;
}
.property-type-collapsible.is-collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    pointer-events: none;
}
.property-category-row .radio-card {
    gap: 0.35rem;
}

/* City/Area searchable dropdown (open on click, search at top) */
.searchable-select-native {
    display: none !important;
}
.searchable-select {
    position: relative;
}
.searchable-select-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    text-align: left;
    cursor: pointer;
}
.searchable-select-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 1200;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
    padding: 0.5rem;
}
.searchable-select-panel.hidden {
    display: none !important;
}
.searchable-select-panel .searchable-select-input {
    margin-bottom: 0.5rem;
}
.searchable-select-options {
    max-height: 220px;
    overflow: auto;
}
.searchable-option {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
}
.searchable-option:hover,
.searchable-option.active {
    background: #fff1f2;
}
.searchable-empty {
    color: #64748b;
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
}

/* Prevent Location dropdown clipping under next sections */
#section-location {
    overflow: visible !important;
    position: relative;
    z-index: 30;
}
#section-location .searchable-select {
    z-index: 40;
}
#section-location .searchable-select-panel {
    z-index: 2500;
}

/* Form section inner padding for content after bar */
.form-section > .subsection,
.form-section > #property-type-wrap {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.form-section > .form-row {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 1rem;
}

.sub-head {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    margin: 1rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-row {
    margin-bottom: 1rem;
}

.form-row:last-child {
    margin-bottom: 0;
}

.field-label {
    display: block;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.field-label i {
    margin-right: 0.35rem;
    color: var(--primary);
}

.field-label-sm {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

/* Form field block: label above input (ref design) */
.form-field {
    margin-bottom: 1rem;
}
.form-field:last-child { margin-bottom: 0; }

.form-control {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #f8fafc;
    color: #1e293b;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15);
    background: #fff;
}

/* Readonly convert fields (Area Convert to Sqft, Price Convert Lac/Cr) */
.form-control-readonly {
    background: #f1f5f9;
    color: #64748b;
    cursor: default;
}
.form-control-readonly::placeholder {
    color: #94a3b8;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
    appearance: auto;
}

.radio-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
}

.radio-card input {
    margin: 0;
}

/* Listing Type, Property Category: no visible radio circle (card + label click only) */
.option-cards .radio-card input[type="radio"],
.property-category-row .radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.radio-card:hover {
    border-color: var(--primary-light);
    background: #fff1f2;
}

.radio-card:has(input:checked) {
    border-color: var(--primary);
    background: #fff1f2;
    color: var(--primary-dark);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-weight: 500;
    color: #475569;
}

.checkbox-group label i {
    color: var(--primary);
}

.checkbox-group input {
    margin: 0;
}

/* Amenities & Fire Safety - button style like property type */
.checkbox-group-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}
.checkbox-group-icons label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.checkbox-group-icons label:hover {
    border-color: var(--primary-light);
    background: #fff1f2;
}
.checkbox-group-icons label:has(input:checked) {
    border-color: var(--primary);
    background: #fff1f2;
    color: var(--primary-dark);
}
.checkbox-group-icons label i {
    font-size: 1rem;
}

/* Media section: checkbox buttons + conditional fields */
.media-checkbox-buttons {
    margin-bottom: 1rem;
}
.media-checkbox-buttons.label {
    margin-bottom: 0.5rem;
}
.media-field {
    margin-bottom: 1rem;
}
.media-field.hidden {
    margin-bottom: 0;
}

.input-group-duo {
    display: flex;
    gap: 0.5rem;
}

.input-group-duo .form-control:first-child {
    flex: 1;
}

.input-group-duo .price-unit {
    max-width: 100px;
}

.price-row .convert-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.35rem;
}

.area-block .form-row {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
}

.area-block .form-row input[type="text"]:first-child {
    flex: 1;
}

.area-block .unit-select {
    max-width: 140px;
}

/* Area one-line: Value | Unit Type | Convert to Sqft (ref design) */
.area-line { margin-bottom: 1.25rem; }
/* Area: area name + Unit Type + Convert to Sqft all on same heading line */
.area-line .area-row { margin-bottom: 0; }
.area-line + .area-line .area-row { margin-top: 0; }
#wrap-carpet-built .area-row { margin-bottom: 1rem; }
#wrap-carpet-built .area-row:last-child { margin-bottom: 0; }
.area-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: end;
}
.area-row .area-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.area-row .area-col .field-label {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    min-height: 1.25em;
    line-height: 1.25;
}
.area-row .form-control,
.area-row .unit-select { width: 100%; }

/* Location: Country, City, State one line */
.location-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1rem;
}
.location-row .form-field { min-width: 0; margin-bottom: 0; }
.location-row .area-col .field-label { margin-bottom: 0.4rem; }
.location-row-2 { grid-template-columns: 1fr 1fr; }
.location-row-2 .form-field:only-child { grid-column: 1 / -1; }

/* Floor, Room No., Bungalow one line after BHK - Bungalow only for HouseVilla */
.floor-room-bungalow-row { margin-top: 0.75rem; }
.floor-room-bungalow-row .area-row { margin-bottom: 0; grid-template-columns: 1fr 1fr; }
.floor-room-bungalow-row .area-row.show-bungalow { grid-template-columns: 1fr 1fr 1fr; }
/* Cabins, Seats, Pantry - always one line */
#wrap-cabins-seats-pantry .area-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; flex-wrap: nowrap; }
#wrap-cabins-seats-pantry .area-col { min-width: 0; }

/* Price: single row of 3 inputs (Lac/Cr row removed) */
.price-row-1 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem 1.25rem;
    align-items: end;
}
.price-row-1 .form-field { min-width: 0; margin-bottom: 0; }

.row-cols-6 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}
.row-cols-6 .col-6 { min-width: 0; }

/* BHK checkboxes below property type */
.bhk-checkbox-wrap { margin-top: 0.75rem; }
.bhk-checkbox-wrap .subsection-label { margin-bottom: 0.5rem; }
.bhk-checkbox-wrap .checkbox-group { flex-wrap: wrap; gap: 0.5rem; }
.bhk-checkbox-wrap label {
    padding: 0.4rem 0.65rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.85rem;
}
.bhk-checkbox-wrap label:has(input:checked) {
    border-color: var(--primary);
    background: #fff1f2;
}

/* Features grid col-6 */
/* Features: 3 fields per row */
.features-grid {
    display: grid;
    gap: 1rem 1.25rem;
}
.features-grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.features-grid-3 .form-row.feature-col { min-width: 0; margin-bottom: 0; }
.features-grid #wrap-rera-details { grid-column: 1 / -1; }
.features-grid #wrap-open-sides { min-width: 0; }

.hidden {
    display: none !important;
}

.mt-3 { margin-top: 1rem; }

/* Previous / Next */
.form-nav-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 0.5rem;
   /* margin: 0 -1.25rem 0;*/
    border-top: 1px solid #f1f5f9;
}

.btn-prev, .btn-next {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    border: none;
}

.btn-prev {
    background: #e2e8f0;
    color: #475569;
}

.btn-prev:hover {
    background: #cbd5e1;
    color: #1e293b;
}

.btn-next {
    background: var(--primary);
    color: #fff;
}

.btn-next:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.3);
}

.form-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
}

.btn-submit {
    padding: 0.85rem 1.75rem;
    background: var(--icon-bg);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(185, 28, 28, 0.35);
}

.btn-reset {
    padding: 0.85rem 1.75rem;
    background: #fff;
    color: #64748b;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-reset:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ========== Right: Fixed - Offers & Help (ref: fixed, light grey like left) ========== */
.sidebar-right {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    width: var(--right-width);
    max-width: 320px;
    min-width: 260px;
    background: #f1f5f9;
    box-shadow: -4px 0 24px rgba(0,0,0,0.06);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    padding: 1.5rem 1rem;
    flex-shrink: 0;
}

.offers-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.offers-header i {
    font-size: 1.1rem;
    color: var(--primary);
}

.offer-card {
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
    transition: box-shadow 0.2s;
    overflow: hidden;
    background: #fff;
}
.offer-card-header {
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.offer-card-header-teal {
    background: var(--primary);
}
.offer-card-header-purple {
    background: #7c3aed;
}
.offer-card-header .offer-tag {
    position: static;
    background: rgba(255,255,255,0.25);
    color: #fff;
}
.offer-card-body {
    padding: 1rem 1.25rem;
    position: relative;
}

.offer-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.offer-tag {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.offer-card-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    padding-right: 2rem;
}

.offer-card-body p {
    font-size: 0.85rem;
    color: #475569;
    margin: 0.2rem 0;
    line-height: 1.4;
}

.offer-link {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: var(--primary);
    font-size: 1.1rem;
    text-decoration: none;
}

.offer-link:hover {
    color: var(--primary-dark);
}

.help-card {
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 1.25rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.help-card h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

.help-card h4 i {
    color: var(--primary);
}

.help-card p {
    font-size: 0.85rem;
    color: #475569;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.help-card a {
    color: var(--primary);
    text-decoration: none;
}

.help-card a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
    .sidebar-left { width: 260px; max-width: none; }
    .sidebar-right { width: 280px; max-width: none; }
    .main-content { margin-left: 260px; margin-right: 280px; }
}

@media (max-width: 768px) {
    .form-section {
        grid-template-columns: 1fr;
    }
    .form-section > .form-row {
        grid-column: 1 / -1;
    }
    .area-row,
    .location-row,
    .location-row-2 {
        grid-template-columns: 1fr;
    }
    #wrap-cabins-seats-pantry .area-row {
        grid-template-columns: 1fr;
    }
    .price-row-1 {
        grid-template-columns: 1fr;
    }
    .row-cols-6 {
        grid-template-columns: 1fr;
    }
    .features-grid-3 {
        grid-template-columns: 1fr;
    }
    #rent-only-fields,
    #wrap-rera-details,
    .hostel-fields-grid,
    .area-block,
    #wrap-plot-land-grid,
    #wrap-amenities-corner {
        grid-template-columns: 1fr;
    }
    #rent-only-fields .form-row,
    #wrap-rera-details .form-row,
    .hostel-fields-grid .form-row,
    .area-block .form-row,
    #wrap-plot-land-grid .form-row {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .sidebar-left, .sidebar-right {
        display: none;
    }
    .inline-score-card {
        display: block;
        margin: 1rem 0 1.25rem;
    }
    .main-content {
        margin-left: 0;
        margin-right: 0;
    }
}
