/* ==========================================================================
   LuciHome — Add Listing page
   Extends workspace.css + home.css with the pieces specific to the
   multi-section listing form: numbered section headers, the feature
   checkbox grid, and the photo upload dropzone/grid.
   ========================================================================== */

.form-section{
  background:var(--bg-surface); border:1px solid var(--border); border-radius:12px;
  padding:24px; margin-bottom:20px;
}
.form-section-head{ display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.form-section-num{
  width:28px; height:28px; border-radius:50%; background:var(--accent-tint); color:var(--accent);
  display:flex; align-items:center; justify-content:center; font-size:13px; font-weight:700; flex:0 0 auto;
}
.form-section-head h2{ font-family:var(--font-display); font-weight:500; font-size:16.5px; margin:0; color:var(--text-primary); }
.form-section-head p{ font-size:12.5px; color:var(--text-muted); margin:2px 0 0; }

.type-toggle{ display:flex; gap:10px; margin-bottom:4px; }
.type-toggle-btn{
  flex:1; padding:12px; border:1px solid var(--border); border-radius:10px; background:var(--bg-surface);
  cursor:pointer; text-align:center; font-size:13.5px; font-weight:500; color:var(--text-secondary);
  display:flex; flex-direction:column; align-items:center; gap:6px; transition:border-color .15s, color .15s, background .15s;
}
.type-toggle-btn i{ font-size:18px; }
.type-toggle-btn.active{ border-color:var(--accent); color:var(--accent); background:var(--accent-tint); }

.char-counter{ text-align:right; font-size:11px; color:var(--text-muted); margin-top:4px; }

.feature-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:4px 12px; }
@media (max-width:700px){ .feature-grid{ grid-template-columns:repeat(2,1fr); } }
.feature-chk{
  display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--border);
  border-radius:10px; cursor:pointer; font-size:13.5px; color:var(--text-secondary); user-select:none;
}
.feature-chk input{ accent-color:var(--accent); width:16px; height:16px; }
.feature-chk:has(input:checked){ border-color:var(--accent); background:var(--accent-tint); color:var(--text-primary); }

.price-row{ display:grid; grid-template-columns:2fr 1fr; gap:14px; }
@media (max-width:560px){ .price-row{ grid-template-columns:1fr; } }

.dropzone{
  border:2px dashed var(--border-strong); border-radius:12px; padding:32px 20px; text-align:center;
  cursor:pointer; color:var(--text-secondary); transition:border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.dragover{ border-color:var(--accent); background:var(--accent-tint); }
.dropzone i{ font-size:28px; color:var(--accent); display:block; margin-bottom:10px; }
.dropzone .dz-sub{ font-size:12px; color:var(--text-muted); margin-top:4px; }

.photo-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:12px; margin-top:16px; }
.photo-thumb{
  position:relative; aspect-ratio:1/1; border-radius:10px; overflow:hidden; background:var(--bg-elevated);
  border:1px solid var(--border);
}
.photo-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.photo-thumb .remove-photo{
  position:absolute; top:6px; right:6px; width:24px; height:24px; border-radius:50%; border:none;
  background:rgba(32,33,36,.65); color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:12px;
}
.photo-thumb .remove-photo:hover{ background:rgba(217,48,37,.9); }
.photo-thumb .cover-badge{
  position:absolute; bottom:6px; left:6px; background:var(--accent); color:#fff; font-size:10.5px;
  font-weight:600; padding:3px 8px; border-radius:20px;
}

.note-box{
  background:var(--info-tint); color:var(--text-secondary); border-radius:8px; padding:10px 14px;
  font-size:12.5px; margin-bottom:16px; line-height:1.5;
}
