/* ==========================================================================
   BrandNewHomes.in — Post Property Wizard Modern Stylesheet
   Kerala PropTech Design System: Emerald #0F5132, Gold #C5A880, Slate #0F172A
   Desktop: 880px Centered Card | Mobile: Native App Fluid Shell (44px min targets)
   ========================================================================== */

:root {
  --bnh-navy: #0A2540;
  --bnh-blue: #1463FF;
  --bnh-blue-bright: #2878FF;
  --bnh-cyan: #42C6FF;
  --bnh-ice: #EEF6FF;
  --bnh-surface-bg: #F6F9FE;
  --bnh-gradient: linear-gradient(135deg, #0B3EA8 0%, #1463FF 55%, #42C6FF 100%);
  --bnh-gradient-subtle: linear-gradient(135deg, #EEF6FF 0%, #E0F2FE 100%);
  /* Backward-compatible aliases so existing CSS rules automatically switch from Green to Royal Blue */
  --bnh-emerald: #1463FF;
  --bnh-emerald-dark: #0A2540;
  --bnh-emerald-light: #EEF6FF;
  --bnh-emerald-glow: rgba(20, 99, 255, 0.15);
  --bnh-gold: #C59B27;
  --bnh-gold-light: #fdfaf5;
  --bnh-surface: #ffffff;
  --bnh-bg: #F6F9FE;
  --bnh-border: #D8E4F2;
  --bnh-border-focus: #1463FF;
  --bnh-border-hover: #b9cee8;
  --bnh-text-primary: #0F172A;
  --bnh-text-secondary: #475569;
  --bnh-text-muted: #94a3b8;
  --bnh-danger: #dc2626;
  --bnh-danger-light: #fef2f2;
  --bnh-success: #16a34a;
  --bnh-success-light: #f0fdf4;
  --bnh-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --bnh-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --bnh-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --bnh-shadow-card: 0 4px 20px -2px rgba(10, 37, 64, 0.08);
  --bnh-radius-sm: 8px;
  --bnh-radius-md: 12px;
  --bnh-radius-lg: 16px;
  --bnh-radius-xl: 20px;
  --bnh-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

body.posting-flow-body {
  margin: 0;
  padding: 0;
  background-color: var(--bnh-bg);
  color: var(--bnh-text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Header & Progress Tracker
   ========================================================================== */
.posting-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bnh-border);
}

.posting-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--bnh-gradient);
}

.posting-header-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--bnh-emerald);
  font-size: 1.15rem;
  font-weight: 700;
  flex-shrink: 0;
}

.brand-logo .brand-icon {
  color: var(--bnh-emerald);
}

.brand-logo strong {
  color: var(--bnh-emerald-dark);
}

.brand-logo .logo-tld {
  color: var(--bnh-gold);
}

.posting-header-center {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-pill {
  background: var(--bnh-emerald-light);
  color: var(--bnh-emerald);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}

.draft-indicator {
  font-size: 0.78rem;
  color: var(--bnh-text-secondary);
  display: none;
}
@media (min-width: 640px) {
  .draft-indicator {
    display: inline-block;
  }
}

.posting-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.free-badge {
  display: none;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .free-badge {
    display: inline-block;
  }
}

.btn-save-exit {
  background: transparent;
  border: 1px solid var(--bnh-border);
  color: var(--bnh-text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--bnh-radius-sm);
  cursor: pointer;
  transition: var(--bnh-transition);
  min-height: 36px;
}
.btn-save-exit:hover {
  background: #f8fafc;
  color: var(--bnh-text-primary);
  border-color: var(--bnh-border-hover);
}

.progress-track {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--bnh-gradient);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Main Container & Step Card Framework
   ========================================================================== */
.posting-container {
  max-width: 820px; /* max-width: 880px; */
  width: 100%;
  margin: 24px auto 0;
  padding: 24px 20px 140px;
  flex: 1;
}

/* Base Step Card - hidden by default */
.step-card {
  display: none;
  background: var(--bnh-surface);
  border: 1px solid #D8E4F2;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 12px 32px rgba(10, 37, 64, 0.06); /* box-shadow: var(--bnh-shadow-card); */
}

/* ACTIVE Step Card - Strictly Visible with !important to defeat any [hidden] conflicts */
.step-card.active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  min-height: 400px;
  animation: stepFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-panel.active,
[data-step="2"].active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Royal Blue Draft Resume Banner (Bug 1 Fix)
   ========================================================================== */
.draft-resume-banner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: linear-gradient(135deg, #EEF6FF 0%, #E0F2FE 100%);
  border: 1.5px solid #1463FF;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(20, 99, 255, 0.08);
  animation: stepFadeIn 0.25s ease;
}
@media (min-width: 640px) {
  .draft-resume-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.draft-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.draft-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1463FF;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(20, 99, 255, 0.25);
}
.draft-banner-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bnh-navy);
}
.draft-banner-text p {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.4;
}
.draft-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.btn-continue-draft {
  background: linear-gradient(135deg, #1463FF 0%, #0A2540 100%);
  color: #ffffff;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(20, 99, 255, 0.25);
}
.btn-continue-draft:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(20, 99, 255, 0.35);
}
.btn-start-fresh {
  background: transparent;
  color: #475569;
  border: 1.5px solid #CBD5E1;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-start-fresh:hover {
  background: #F1F5F9;
  color: #0F172A;
}

/* ==========================================================================
   Segmented Pills & Price Presets (OLX Property Wizard Style)
   ========================================================================== */
.specs-pills-container {
  margin-bottom: 24px;
}
.segmented-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.segmented-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  min-height: 44px;
  background: #ffffff;
  border: 1.5px solid var(--bnh-border);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bnh-text-secondary);
  cursor: pointer;
  transition: var(--bnh-transition);
  user-select: none;
}
.segmented-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.segmented-pill:hover {
  border-color: #1463FF;
  color: #1463FF;
  background: #f8faff;
}
.segmented-pill.active,
.segmented-pill:has(input:checked) {
  border-color: #1463FF;
  background: #EEF6FF;
  color: #1463FF;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(20, 99, 255, 0.12);
}

.price-presets-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.preset-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bnh-text-muted);
}
.price-preset-chip {
  background: #f1f5f9;
  border: 1px solid var(--bnh-border);
  color: var(--bnh-text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--bnh-transition);
}
.price-preset-chip:hover {
  background: #EEF6FF;
  border-color: #1463FF;
  color: #1463FF;
  transform: translateY(-1px);
}

.step-intro {
  margin-bottom: 28px;
}

.step-meta-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bnh-emerald);
  margin-bottom: 8px;
}

.step-title {
  margin: 0 0 8px 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--bnh-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.step-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: var(--bnh-text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Form Foundations, Labels & Inputs
   ========================================================================== */
.form-group {
  margin-bottom: 24px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.section-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bnh-text-primary);
  margin-bottom: 12px;
}

.field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bnh-text-primary);
  margin-bottom: 8px;
}

.req {
  color: var(--bnh-danger);
  font-weight: 700;
}

.field-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--bnh-text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.field-error-msg {
  display: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bnh-danger);
  margin-top: 6px;
}

.field-error-msg.visible {
  display: block;
}

/* Standard Input & Select Styles */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  height: 48px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--bnh-text-primary);
  background-color: #ffffff;
  border: 1.5px solid var(--bnh-border);
  border-radius: var(--bnh-radius-md);
  outline: none;
  transition: var(--bnh-transition);
}

.form-textarea {
  height: auto;
  min-height: 120px;
  line-height: 1.5;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--bnh-emerald);
  box-shadow: 0 0 0 3px var(--bnh-emerald-glow);
}

.form-input.error,
.form-select.error {
  border-color: var(--bnh-danger);
  background-color: var(--bnh-danger-light);
}

.readonly-input {
  background-color: #f8fafc;
  color: var(--bnh-text-secondary);
  cursor: not-allowed;
}

/* Custom Select Wrapper with Styled Arrow */
.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  cursor: pointer;
}

.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bnh-text-secondary);
  pointer-events: none;
  font-size: 0.85rem;
}

/* Responsive Dual Form Rows */
.form-row.dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .form-row.dual {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* Input with Left Icon */
.input-with-icon {
  position: relative;
  width: 100%;
}

.input-with-icon .field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bnh-text-muted);
  pointer-events: none;
}

.input-with-icon .form-input.with-left-icon {
  padding-left: 42px;
}

/* Input with Right Unit Badge */
.input-with-unit {
  position: relative;
  width: 100%;
}

.input-with-unit .input-unit-badge {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bnh-text-secondary);
  pointer-events: none;
}

/* Input with Inline Select (e.g. Land Area + Unit) */
.input-with-select {
  display: flex;
  gap: 8px;
}

.input-with-select .form-input {
  flex: 2;
}

.inline-select-wrapper {
  flex: 1;
}

/* ==========================================================================
   Step 1: Purpose Cards & Property Type Grid
   ========================================================================== */
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.purpose-card {
  position: relative;
  display: block;
  border: 1.5px solid var(--bnh-border);
  border-radius: var(--bnh-radius-lg);
  padding: 16px;
  cursor: pointer;
  background: #ffffff;
  transition: var(--bnh-transition);
  min-height: 64px;
}

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

.purpose-card-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.purpose-card svg {
  color: var(--bnh-text-secondary);
  transition: var(--bnh-transition);
  flex-shrink: 0;
}

.purpose-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bnh-text-primary);
}

.purpose-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--bnh-text-muted);
  margin-top: 2px;
}

.purpose-card:hover {
  border-color: #1463FF;
  background: #f8faff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 99, 255, 0.08);
}

.purpose-card.active,
.purpose-card:has(input:checked) {
  border: 2px solid #1463FF;
  background: #EEF6FF;
  box-shadow: 0 4px 16px rgba(20, 99, 255, 0.12);
}

.purpose-card.active svg,
.purpose-card:has(input:checked) svg {
  color: #1463FF;
}

.purpose-card.active .purpose-title,
.purpose-card:has(input:checked) .purpose-title {
  color: var(--bnh-navy);
}

.purpose-card.active::after,
.purpose-card:has(input:checked)::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 12px;
  width: 22px;
  height: 22px;
  background: #1463FF;
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(20, 99, 255, 0.35);
}

/* Property Types 4-Column Responsive Grid */
.property-types-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (min-width: 768px) {
  .property-types-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.prop-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 16px;
  border: 1.5px solid var(--bnh-border);
  border-radius: var(--bnh-radius-lg);
  background: #ffffff;
  cursor: pointer;
  transition: var(--bnh-transition);
  min-height: 140px;
}

.prop-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.prop-type-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--bnh-radius-md);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bnh-text-secondary);
  margin-bottom: 14px;
  transition: var(--bnh-transition);
}

.prop-type-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bnh-text-primary);
  line-height: 1.3;
}

.prop-type-sub {
  font-size: 0.74rem;
  color: var(--bnh-text-muted);
  margin-top: 4px;
  line-height: 1.3;
}

.prop-type-card:hover {
  border-color: #1463FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(20, 99, 255, 0.08);
}

.prop-type-card.active,
.prop-type-card:has(input:checked) {
  border: 2px solid #1463FF;
  background: #EEF6FF;
  box-shadow: 0 4px 16px rgba(20, 99, 255, 0.12);
}

.prop-type-card.active .prop-type-icon-box,
.prop-type-card:has(input:checked) .prop-type-icon-box {
  background: #1463FF;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(20, 99, 255, 0.25);
}

.prop-type-card.active .prop-type-label,
.prop-type-card:has(input:checked) .prop-type-label {
  color: var(--bnh-navy);
}

.prop-type-card.active::after,
.prop-type-card:has(input:checked)::after {
  content: '✓';
  position: absolute;
  top: 10px;
  right: 12px;
  width: 22px;
  height: 22px;
  background: #1463FF;
  color: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(20, 99, 255, 0.35);
}

/* Category Panels */
.category-panel {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--bnh-border);
}

/* ==========================================================================
   Step 2: Location, Hierarchy & Tools
   ========================================================================== */
.locality-group {
  position: relative;
}

.locality-suggestions-box {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: #ffffff;
  border: 1px solid var(--bnh-border);
  border-radius: var(--bnh-radius-md);
  box-shadow: var(--bnh-shadow-lg);
  max-height: 240px;
  overflow-y: auto;
  z-index: 50;
}

.locality-suggestion-item {
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--bnh-text-primary);
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.locality-suggestion-item:last-child {
  border-bottom: none;
}

.locality-suggestion-item:hover {
  background: var(--bnh-emerald-light);
  color: var(--bnh-emerald-dark);
  font-weight: 600;
}

.locality-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.quick-chip-btn {
  background: #f1f5f9;
  border: 1px solid var(--bnh-border);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bnh-text-secondary);
  cursor: pointer;
  transition: var(--bnh-transition);
}

.quick-chip-btn:hover {
  background: var(--bnh-emerald-light);
  color: var(--bnh-emerald);
  border-color: var(--bnh-emerald);
}

/* Location Tools Bar */
.location-tools-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.btn-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bnh-emerald);
  background: var(--bnh-emerald-light);
  border: 1px solid transparent;
  border-radius: var(--bnh-radius-md);
  cursor: pointer;
  transition: var(--bnh-transition);
  min-height: 44px;
}

.btn-tool:hover {
  background: #d1ebd8;
}

/* Map Picker Container */
.map-picker-container {
  margin: 16px 0;
  border: 1px solid var(--bnh-border);
  border-radius: var(--bnh-radius-lg);
  overflow: hidden;
  background: #f8fafc;
}

.map-placeholder {
  padding: 32px 20px;
  text-align: center;
  color: var(--bnh-text-secondary);
}

.map-placeholder svg {
  color: var(--bnh-emerald);
  margin-bottom: 8px;
}

.map-placeholder p {
  margin: 0 0 8px 0;
  font-size: 0.9rem;
}

.map-coordinates-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--bnh-emerald);
  font-weight: 600;
}

/* Privacy Callout */
.privacy-callout-card {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid var(--bnh-border);
  border-radius: var(--bnh-radius-lg);
}

.custom-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
}

.custom-checkbox-row input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-checkbox-visual {
  width: 20px;
  height: 20px;
  border: 2px solid var(--bnh-border-hover);
  border-radius: 6px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--bnh-transition);
}

.custom-checkbox-row input:checked ~ .custom-checkbox-visual {
  background: var(--bnh-emerald);
  border-color: var(--bnh-emerald);
}

.custom-checkbox-row input:checked ~ .custom-checkbox-visual::after {
  content: '✓';
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.privacy-copy strong {
  display: block;
  font-size: 0.92rem;
  color: var(--bnh-text-primary);
}

.privacy-copy p {
  margin: 4px 0 0 0;
  font-size: 0.82rem;
  color: var(--bnh-text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Step 3: Chips for Construction Age Band
   ========================================================================== */
.choice-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1.5px solid var(--bnh-border);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bnh-text-secondary);
  cursor: pointer;
  background: #ffffff;
  transition: var(--bnh-transition);
  min-height: 44px;
}

.choice-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-chip:hover {
  border-color: var(--bnh-border-hover);
  background: #f8fafc;
}

.choice-chip.active,
.choice-chip:has(input:checked) {
  border-color: var(--bnh-emerald);
  background: var(--bnh-emerald-light);
  color: var(--bnh-emerald-dark);
}

/* ==========================================================================
   Step 4: Price & Live Formatter
   ========================================================================== */
.price-input-container {
  position: relative;
  width: 100%;
}

.currency-symbol-badge {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bnh-emerald);
  pointer-events: none;
  z-index: 2;
  user-select: none;
  line-height: 1;
}

.price-input-container .form-input,
.price-input-container input[type="number"],
.price-input-field {
  padding-left: 48px !important;
}

.price-input-field {
  padding-left: 48px !important;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  height: 54px;
}

.price-formatted-banner {
  margin-top: 10px;
  padding: 10px 16px;
  background: var(--bnh-ice);
  border: 1.5px solid rgba(20, 99, 255, 0.2);
  border-radius: var(--bnh-radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bnh-blue);
  display: inline-block;
}

.price-options-box {
  margin-top: 20px;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--bnh-border);
  border-radius: var(--bnh-radius-md);
}

.option-copy strong {
  display: block;
  font-size: 0.9rem;
  color: var(--bnh-text-primary);
}

.option-copy p {
  margin: 2px 0 0 0;
  font-size: 0.8rem;
  color: var(--bnh-text-secondary);
}

/* ==========================================================================
   Step 5: Photos & Media Dropzone
   ========================================================================== */
.media-upload-dropzone {
  border: 2px dashed var(--bnh-border-hover);
  border-radius: var(--bnh-radius-xl);
  padding: 44px 24px;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
  transition: var(--bnh-transition);
}

.media-upload-dropzone:hover,
.media-upload-dropzone.dragover {
  border-color: var(--bnh-emerald);
  background: var(--bnh-emerald-light);
}

.dropzone-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dropzone-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bnh-emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bnh-emerald);
}

.dropzone-headline {
  font-size: 1.05rem;
  color: var(--bnh-text-primary);
}

.dropzone-subtext {
  margin: 0;
  font-size: 0.85rem;
  color: var(--bnh-text-muted);
}

.btn-choose-photos {
  margin-top: 8px;
  padding: 10px 20px;
  background: var(--bnh-gradient);
  color: #ffffff;
  border: none;
  border-radius: var(--bnh-radius-md);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--bnh-transition);
  min-height: 44px;
  box-shadow: 0 4px 12px rgba(20, 99, 255, 0.25);
}
.btn-choose-photos:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(20, 99, 255, 0.35);
}

/* Upload Progress Bar */
.upload-progress-container {
  margin-top: 18px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--bnh-border);
  border-radius: var(--bnh-radius-md);
}

.upload-progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--bnh-text-secondary);
  margin-bottom: 8px;
}

.upload-progress-bar {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.upload-progress-bar-fill {
  height: 100%;
  background: var(--bnh-emerald);
  transition: width 0.2s ease;
}

/* Thumbnails Grid */
.media-preview-section {
  margin-top: 24px;
}

.media-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.preview-count {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bnh-text-primary);
}

.cover-hint {
  font-size: 0.78rem;
  color: var(--bnh-text-muted);
}

.media-thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .media-thumbnails-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.media-thumb-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--bnh-radius-md);
  overflow: hidden;
  border: 2px solid var(--bnh-border);
  cursor: pointer;
  background: #f1f5f9;
}

.media-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumb-item.cover-selected {
  border-color: var(--bnh-emerald);
  box-shadow: 0 0 0 2px var(--bnh-emerald);
}

.thumb-cover-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--bnh-emerald);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.thumb-remove-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--bnh-transition);
}
.thumb-remove-btn:hover {
  background: var(--bnh-danger);
}

/* ==========================================================================
   Step 6: Description & Amenities Chips
   ========================================================================== */
.description-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-ai-assist {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #fef3c7, #fef9c3);
  border: 1px solid #fde047;
  color: #854d0e;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--bnh-transition);
  min-height: 36px;
}
.btn-ai-assist:hover {
  background: #fef08a;
}

.ai-notice-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: var(--bnh-radius-md);
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: #713f12;
  line-height: 1.4;
}

.ai-notice-card svg {
  color: #ca8a04;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Amenities Responsive Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 840px) {
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.amenity-card {
  position: relative;
  display: block;
  cursor: pointer;
}

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

.amenity-card-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--bnh-border);
  border-radius: var(--bnh-radius-md);
  background: #ffffff;
  color: var(--bnh-text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--bnh-transition);
  min-height: 48px;
}

.amenity-card-inner svg {
  color: var(--bnh-text-muted);
  flex-shrink: 0;
}

.amenity-card:hover .amenity-card-inner {
  border-color: var(--bnh-border-hover);
  background: #f8fafc;
}

.amenity-card input:checked ~ .amenity-card-inner {
  border-color: var(--bnh-emerald);
  background: var(--bnh-emerald-light);
  color: var(--bnh-emerald-dark);
}

.amenity-card input:checked ~ .amenity-card-inner svg {
  color: var(--bnh-emerald);
}

/* ==========================================================================
   Step 7: Contact & Privacy Modes
   ========================================================================== */
.seller-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 640px) {
  .seller-type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.seller-card {
  position: relative;
  display: block;
  cursor: pointer;
}

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

.seller-card-content {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 1.5px solid var(--bnh-border);
  border-radius: var(--bnh-radius-md);
  background: #ffffff;
  color: var(--bnh-text-primary);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--bnh-transition);
  min-height: 48px;
}

.seller-card-content svg {
  color: var(--bnh-text-secondary);
}

.seller-card:hover .seller-card-content {
  border-color: var(--bnh-border-hover);
}

.seller-card.active .seller-card-content,
.seller-card input:checked ~ .seller-card-content {
  border-color: var(--bnh-emerald);
  background: var(--bnh-emerald-light);
  color: var(--bnh-emerald-dark);
}

.seller-card.active svg,
.seller-card input:checked ~ .seller-card-content svg {
  color: var(--bnh-emerald);
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--bnh-border);
  border-radius: var(--bnh-radius-md);
  background: #ffffff;
  overflow: hidden;
}

.phone-prefix-badge {
  background: #f1f5f9;
  color: var(--bnh-text-primary);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 14px;
  border-right: 1.5px solid var(--bnh-border);
}

.phone-input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  font-size: 1.05rem;
  font-weight: 600;
}

.privacy-modes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-mode-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--bnh-border);
  border-radius: var(--bnh-radius-lg);
  background: #ffffff;
  cursor: pointer;
  transition: var(--bnh-transition);
}

.privacy-mode-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.privacy-mode-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--bnh-radius-md);
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bnh-text-secondary);
  flex-shrink: 0;
  transition: var(--bnh-transition);
}

.privacy-mode-text {
  flex: 1;
}

.mode-header-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.mode-header-tag strong,
.privacy-mode-text strong {
  font-size: 0.95rem;
  color: var(--bnh-text-primary);
}

.recommended-badge {
  background: var(--bnh-emerald-light);
  color: var(--bnh-emerald);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.privacy-mode-text p {
  margin: 4px 0 0 0;
  font-size: 0.82rem;
  color: var(--bnh-text-secondary);
  line-height: 1.4;
}

.privacy-mode-card:hover {
  border-color: var(--bnh-border-hover);
}

.privacy-mode-card.active,
.privacy-mode-card:has(input:checked) {
  border-color: var(--bnh-emerald);
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--bnh-emerald);
}

.privacy-mode-card.active .privacy-mode-icon,
.privacy-mode-card:has(input:checked) .privacy-mode-icon {
  background: var(--bnh-emerald-light);
  color: var(--bnh-emerald);
}

.dpdp-compliance-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--bnh-border);
  border-radius: var(--bnh-radius-md);
}

.dpdp-compliance-callout svg {
  color: var(--bnh-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

.dpdp-compliance-callout p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--bnh-text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Step 8: Review & Publish Preview
   ========================================================================== */
.preview-hero-container {
  margin-bottom: 24px;
}

.preview-property-card {
  border: 1px solid var(--bnh-border);
  border-radius: var(--bnh-radius-xl);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--bnh-shadow-md);
}

.preview-card-cover {
  position: relative;
  height: 200px;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
}

.preview-badge-status {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.preview-price-tag {
  background: #ffffff;
  color: var(--bnh-emerald-dark);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--bnh-radius-sm);
  box-shadow: var(--bnh-shadow-sm);
}

.preview-card-body {
  padding: 20px;
}

.preview-title {
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bnh-text-primary);
  line-height: 1.3;
}

.preview-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--bnh-text-secondary);
  margin-bottom: 14px;
}

.preview-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.preview-chip {
  background: #f1f5f9;
  color: var(--bnh-text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.preview-contact-mode-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bnh-emerald);
  background: var(--bnh-emerald-light);
  padding: 4px 12px;
  border-radius: 6px;
}

/* Structured Recap Matrix */
.review-sections-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.review-section-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--bnh-border);
  border-radius: var(--bnh-radius-md);
}

.review-sec-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-sec-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bnh-text-muted);
}

.review-sec-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--bnh-text-primary);
}

.btn-jump-edit {
  background: #ffffff;
  border: 1px solid var(--bnh-border);
  color: var(--bnh-emerald);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--bnh-radius-sm);
  cursor: pointer;
  transition: var(--bnh-transition);
  min-height: 36px;
}
.btn-jump-edit:hover {
  background: var(--bnh-emerald-light);
  border-color: var(--bnh-emerald);
}

/* Legal Consent Box */
.terms-consent-box {
  padding: 16px 20px;
  background: #ffffff;
  border: 1.5px solid var(--bnh-emerald);
  border-radius: var(--bnh-radius-lg);
}

.terms-copy strong {
  display: block;
  font-size: 0.92rem;
  color: var(--bnh-emerald-dark);
}

.terms-copy p {
  margin: 4px 0 0 0;
  font-size: 0.82rem;
  color: var(--bnh-text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Sticky Action Bar Footer (Fixed Bottom on Mobile, Centered Max-Width)
   ========================================================================== */
.posting-actions-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--bnh-border);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
}

.posting-actions-inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.posting-actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--bnh-radius-md);
  padding: 12px 24px;
  cursor: pointer;
  transition: var(--bnh-transition);
  min-height: 48px;
  border: none;
}

.btn-back {
  background: #ffffff;
  color: var(--bnh-text-secondary);
  border: 1.5px solid var(--bnh-border);
}
.btn-back:hover:not(:disabled) {
  background: #f8fafc;
  color: var(--bnh-text-primary);
  border-color: var(--bnh-border-hover);
}
.btn-back:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-save-draft {
  background: #f1f5f9;
  color: var(--bnh-text-secondary);
  border: 1.5px solid var(--bnh-border);
  display: none;
}
@media (min-width: 560px) {
  .btn-save-draft {
    display: inline-flex;
  }
}
.btn-save-draft:hover {
  background: #e2e8f0;
  color: var(--bnh-text-primary);
}

.btn-continue {
  background: var(--bnh-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 99, 255, 0.25);
}
.btn-continue:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(20, 99, 255, 0.35);
}

.btn-submit {
  background: var(--bnh-gradient);
  color: #ffffff;
  padding: 12px 28px;
  box-shadow: 0 4px 16px rgba(20, 99, 255, 0.35);
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(20, 99, 255, 0.45);
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   Modals & Toast Notifications
   ========================================================================== */
.posting-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 12px 22px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--bnh-shadow-lg);
  animation: toastPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
  text-align: center;
}

@keyframes toastPop {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.posting-toast.success {
  background: #0f172a;
  color: #ffffff;
  border-left: 4px solid var(--bnh-success);
}

.posting-toast.error {
  background: var(--bnh-danger);
  color: #ffffff;
}

.posting-toast.info {
  background: #0f172a;
  color: #ffffff;
}

/* Submission Success Modal */
.posting-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.posting-modal-card {
  background: #ffffff;
  border-radius: var(--bnh-radius-xl);
  padding: 36px 28px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--bnh-shadow-lg);
}

.posting-modal-card .modal-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.posting-modal-card h2 {
  margin: 0 0 8px 0;
  font-size: 1.45rem;
  color: var(--bnh-text-primary);
}

.modal-ref-id {
  margin: 0 0 16px 0;
  font-size: 0.88rem;
  color: var(--bnh-text-secondary);
}

.modal-status-box {
  background: var(--bnh-emerald-light);
  border: 1px solid rgba(15, 81, 50, 0.15);
  border-radius: var(--bnh-radius-md);
  padding: 14px;
  text-align: left;
  margin-bottom: 20px;
}

.modal-status-box p {
  margin: 0 0 4px 0;
  font-size: 0.85rem;
  color: var(--bnh-emerald-dark);
}

.modal-status-box .modal-subtext {
  font-size: 0.78rem;
  color: var(--bnh-text-secondary);
  line-height: 1.4;
  margin: 0;
}

.modal-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.btn-modal-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1.5px solid var(--bnh-border);
  border-radius: var(--bnh-radius-md);
  color: var(--bnh-text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  cursor: pointer;
}
.btn-modal-outline:hover {
  background: #f8fafc;
}

.btn-modal-boost {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bnh-emerald), var(--bnh-emerald-dark));
  color: #ffffff;
  padding: 12px;
  border-radius: var(--bnh-radius-md);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Phase 21.2 3-Step Express Consolidation Elements
   ========================================================================== */
.side-by-side-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.price-live-badge {
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  color: #065F46;
  font-weight: 700;
  border-radius: var(--bnh-radius-sm);
  padding: 10px 14px;
  margin-top: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--bnh-transition);
}

.price-live-badge.has-value {
  background: #D1FAE5;
  border-color: #059669;
  color: #047857;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.webp-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #EFF6FF;
  border: 1px solid #3B82F6;
  color: #1D4ED8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.phone-input-wrap-with-country {
  display: flex;
  gap: 10px;
  align-items: center;
}

.country-code-wrapper .country-code-select {
  font-weight: 600;
  color: var(--bnh-navy);
  background-color: #F8FAFC;
  border-color: var(--bnh-border);
}

.map-picker-container[data-gesture="cooperative"] {
  touch-action: pan-x pan-y;
}

.concierge-fallback-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: var(--bnh-radius-md);
  padding: 18px 20px;
  margin-top: 24px;
}

.concierge-fallback-card .concierge-text strong {
  display: block;
  font-size: 0.95rem;
  color: #166534;
  margin-bottom: 4px;
}

.concierge-fallback-card .concierge-text p {
  margin: 0;
  font-size: 0.82rem;
  color: #15803D;
  line-height: 1.45;
}

.btn-wa-concierge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #16A34A;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--bnh-radius-md);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
  transition: var(--bnh-transition);
}

.btn-wa-concierge:hover {
  background: #15803D;
  transform: translateY(-1px);
}

/* ==========================================================================
   Responsive Viewport Specific Tweaks
   ========================================================================== */
@media (max-width: 639px) {
  .step-card {
    padding: 24px 18px;
    border-radius: var(--bnh-radius-lg);
  }

  .step-title {
    font-size: 1.35rem;
  }

  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .side-by-side-grid {
    grid-template-columns: 1fr;
  }

  .phone-input-wrap-with-country {
    flex-direction: column;
    align-items: stretch;
  }

  .concierge-fallback-card {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .btn-wa-concierge {
    justify-content: center;
  }

  .posting-header-inner {
    padding: 10px 12px;
    gap: 8px;
  }

  .posting-header-inner .brand-logo {
    font-size: 0.98rem;
    gap: 6px;
    min-width: 0;
  }

  .posting-header-inner .brand-logo .brand-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .posting-header-inner .step-pill {
    font-size: 0.74rem;
    padding: 4px 9px;
  }

  .posting-header-inner .btn-save-exit {
    font-size: 0.74rem;
    padding: 5px 9px;
    white-space: nowrap;
  }

  .posting-container {
    padding: 16px 12px 130px;
  }

  .btn-action {
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}

