/* ==========================================================================
   BHUMI-GO BATCH 5 STYLESHEET
   - Full-Screen 60fps Slide-Up 3-Step Property Listing Wizard
   - Rent vs Sale Cards, Category Selectors & Smart Suggestion Chips
   - Indian Local Units (Kattha, Dhur, Bigha, Gaj, Sq.Ft) Live Box
   - Multi-Photo Auto-Compression Grid & Publish Celebration Card
   ========================================================================== */

.post-wizard-stage {
  position: absolute;
  inset: 0;
  background-color: var(--bg-app);
  z-index: 38;
  display: flex;
  flex-direction: column;
  transform: translate3d(0, 100%, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.34s var(--ease-60fps), opacity 0.24s ease;
  will-change: transform, opacity;
}

.post-wizard-stage.open {
  transform: translate3d(0, 0, 0);
  opacity: 1;
  pointer-events: auto;
}

.wizard-stage-header {
  height: 56px;
  min-height: 56px;
  padding: 0 14px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.wizard-progress-track {
  width: 100%;
  height: 4px;
  background: var(--bg-sage-soft);
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1B5E3A 0%, #2E8555 100%);
  border-radius: 0 4px 4px 0;
  transition: width 0.3s var(--ease-60fps);
  will-change: width;
}

.wizard-scroll-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 16px 94px;
  -webkit-overflow-scrolling: touch;
}

.wizard-scroll-body::-webkit-scrollbar {
  display: none;
}

.wizard-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 15px;
  box-shadow: var(--shadow-card);
  margin-bottom: 13px;
  animation: pageEnter60fps 0.26s var(--ease-60fps) forwards;
}

.wizard-sec-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   1. STEP 1: RENT VS SALE BIG CARDS & CATEGORY PILLS
   ========================================================================== */
.wizard-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.wiz-mode-card {
  padding: 13px 12px;
  border-radius: 15px;
  background: var(--bg-app);
  border: 1.5px solid var(--border-subtle);
  text-align: left;
  transition: all 0.18s var(--ease-60fps);
}

.wiz-mode-card.active {
  background: var(--bg-sage-soft);
  border-color: var(--green-primary);
  box-shadow: 0 4px 12px rgba(27, 94, 58, 0.10);
}

.wiz-mode-icon {
  font-size: 18px;
  margin-bottom: 5px;
  display: block;
}

.wiz-mode-card strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-primary);
}

.wiz-mode-card span {
  font-size: 11px;
  color: var(--text-secondary);
}

.wiz-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.wiz-cat-chip {
  padding: 10px 6px;
  border-radius: 13px;
  background: var(--bg-app);
  border: 1.5px solid var(--border-subtle);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
  transition: all 0.16s var(--ease-60fps);
}

.wiz-cat-chip.active {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: #FFFFFF;
}

/* Smart Title / Locality Quick-Fill Chips */
.quick-suggest-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.suggest-pill-btn {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green-primary);
  background: var(--bg-sage-soft);
  border: 1px solid var(--border-pill);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  transition: transform 0.15s ease;
}

.suggest-pill-btn:active {
  transform: scale(0.94);
}

/* ==========================================================================
   2. STEP 2: PRICE PREVIEW & INDIAN AREA UNITS (KATTHA / SQ.FT / GAJ)
   ========================================================================== */
.live-price-preview-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--green-primary);
  background: var(--bg-sage-soft);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.indian-unit-row {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8px;
}

.sqft-live-conversion {
  margin-top: 7px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-primary);
  background: var(--bg-sage-soft);
  padding: 6px 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.config-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wiz-option-pill {
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-app);
  border: 1.5px solid var(--border-subtle);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

.wiz-option-pill.active {
  background: var(--bg-sage-soft);
  border-color: var(--green-primary);
  color: var(--green-primary);
}

/* ==========================================================================
   3. STEP 3: MULTI-PHOTO UPLOADER & AUTO-COMPRESSION PREVIEW
   ========================================================================== */
.photo-upload-dropzone {
  border: 1.8px dashed var(--green-primary);
  background: var(--bg-sage-soft);
  border-radius: 15px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.photo-upload-dropzone:active {
  background: var(--bg-sage-hover);
}

.photo-upload-dropzone strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--green-primary);
  margin-top: 5px;
}

.photo-upload-dropzone span {
  font-size: 11px;
  color: var(--text-secondary);
}

.uploaded-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.thumb-preview-box {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--border-pill);
  background: var(--bg-app);
}

.thumb-preview-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(19, 34, 27, 0.78);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-cover-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 94, 58, 0.88);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  text-align: center;
  padding: 2px 0;
}

.wiz-textarea {
  width: 100%;
  min-height: 76px;
  background: var(--bg-app);
  border: 1.5px solid var(--border-pill);
  border-radius: 13px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-primary);
  resize: vertical;
}

.wiz-textarea:focus {
  border-color: var(--green-primary);
  background: #FFFFFF;
  outline: none;
}

/* ==========================================================================
   4. FIXED WIZARD FOOTER BAR & PUBLISH CELEBRATION SCREEN
   ========================================================================== */
.wizard-footer-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px env(safe-area-inset-bottom, 10px);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 15;
}

.wiz-prev-btn {
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-sage-soft);
  color: var(--green-primary);
  font-size: 13px;
  font-weight: 800;
}

.wiz-next-btn {
  flex: 1;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--green-primary);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(27, 94, 58, 0.25);
  transition: transform 0.16s var(--ease-60fps);
}

.wiz-next-btn:active {
  transform: scale(0.96);
}

/* Publish Celebration Card */
.publish-success-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-pill);
  border-radius: 22px;
  padding: 26px 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
  animation: pageEnter60fps 0.3s var(--ease-spring) forwards;
}

.success-check-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-sage-soft);
  color: var(--green-primary);
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 2px solid var(--green-primary);
}

.publish-success-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.publish-success-card p {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
}

.success-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
