/* ============================================================
   ADD-LISTING.CSS – Sidebar + Form + Illustration layout
   ============================================================ */

.add-listing-page {
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* ── Main Layout ─────────────────────────────────────────── */
.al-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 72px;
}

.al-layout {
  flex: 1;
  display: flex;
  min-height: calc(100vh - 72px);
}

/* ── Left Sidebar ────────────────────────────────────────── */
.al-sidebar {
  width: 260px;
  min-width: 260px;
  border-right: 1px solid #e5e7eb;
  padding: 0 20px 40px 43px;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: visible;
  align-self: start;
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
}

.al-sidebar-inner {
  padding-top: 6px;
  width: 100%;
  overflow: visible;
}

/* Step Navigation */
.al-step-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  overflow: visible;
}

/* ── Step Item ── */
.al-step-item {
  position: relative;
  padding-left: 60px;
  padding-bottom: 14px;
  cursor: default;
}

.al-step-item.done {
  cursor: pointer;
}

/* ── Dot Column (dot + line) ── */
.al-step-dot-col {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.al-step-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #bfdbfe;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #93c5fd;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Number inside dot */
.al-step-num {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1;
}

.al-step-dot-check {
  display: none;
}

/* Connecting line between steps */
.al-step-line {
  width: 0;
  flex: 1;
  border-left: 2px dashed #cbd5e1;
  min-height: 28px;
  transition: border-color 0.5s ease, border-style 0.5s ease;
}

/* Spinning dashed ring for active step */
@keyframes stepper-spin {
  to { transform: rotate(360deg); }
}

/* ── Right side (title) ── */
.al-step-right {
  padding-bottom: 0;
}

.al-step-title {
  display: flex;
  align-items: center;
  height: 40px;
  font-size: 16.5px;
  font-weight: 600;
  color: #9ca3af;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: color 0.3s;
}

/* ── Active State ── */
.al-step-item.active .al-step-dot {
  background: #1e40af;
  border: 2px solid transparent;
  color: #fff;
  box-shadow: 0 2px 12px rgba(30, 64, 175, 0.30);
}

/* Spinning dashed outer ring on active dot */
.al-step-item.active .al-step-dot::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px dashed #3b82f6;
  animation: stepper-spin 6s linear infinite;
  pointer-events: none;
}

.al-step-item.active .al-step-title {
  color: #1a1f2e;
  font-weight: 700;
}

.al-step-item.active .al-step-line {
  border-left: 2px solid #3b82f6;
  border-style: solid;
}

/* ── Done State ── */
.al-step-item.done .al-step-dot {
  background: #22c55e;
  border: 2px solid transparent;
  color: #fff;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.al-step-item.done .al-step-num {
  display: none;
}

.al-step-item.done .al-step-dot-check {
  display: block;
}

.al-step-item.done .al-step-title {
  color: #1a1f2e;
  font-weight: 600;
}

.al-step-item.done .al-step-line {
  border-left: 2px solid #22c55e;
  border-style: solid;
}

.al-step-item.done:hover .al-step-right {
  opacity: 0.8;
}

#alPanel2 .al-illust-box img {
  width: 80%;
}

/* ── Center Content ──────────────────────────────────────── */
.al-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* ── Panels ──────────────────────────────────────────────── */
.al-panel {
  display: none;
  flex: 1;
  animation: alFadeIn 0.3s ease;
}

.al-panel.active {
  display: flex;
}

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

/* ── Two-Column Panel Layout ─────────────────────────────── */
.al-panel-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  flex: 1;
  min-height: 0;
  align-items: start;
}

/* ── Left: Form ──────────────────────────────────────────── */
.al-form-side {
  padding: 6px 40px 120px 48px;
  max-width: none;
  display: flex;
  flex-direction: column;
}

.al-step-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-panel-title {
  font-size: 26px;
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 6px;
  line-height: 1.25;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-panel-sub {
  font-size: 14.5px;
  color: #6b7280;
  line-height: 1.55;
  margin: 0 0 20px;
  max-width: 520px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-guide-link {
  display: inline;
  font-size: inherit;
  color: #155dfc;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: color 0.15s;
}

.al-guide-link:hover {
  color: #0f4bca;
}

.al-trust-note {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 20px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-trust-note strong {
  color: #1a1f2e;
  font-weight: 700;
}

body.dark-mode .al-trust-note { color: #64748b; }
body.dark-mode .al-trust-note strong { color: #e2e8f0; }

/* Guide Preview Hover Card */
.al-guide-wrap {
  position: relative;
  display: inline;
}

.al-guide-preview {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100;
  pointer-events: none;
}

.al-guide-wrap:hover .al-guide-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.al-guide-preview-page {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fafbfc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 12px 10px;
}

.al-guide-preview-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #1a1f2e;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-guide-preview-line {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: #e2e5ea;
}
.al-guide-preview-line.w80 { width: 80%; }
.al-guide-preview-line.w75 { width: 75%; }
.al-guide-preview-line.w70 { width: 70%; }
.al-guide-preview-line.w65 { width: 65%; }
.al-guide-preview-line.w60 { width: 60%; }
.al-guide-preview-line.w50 { width: 50%; }
.al-guide-preview-line.w40 { width: 40%; }

.al-guide-preview-sep {
  display: block;
  height: 1px;
  background: #e5e7eb;
  margin: 2px 0;
}

.al-guide-preview-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.al-guide-preview-num {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #38B6FF;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-guide-preview-badge {
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 8px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Dark mode guide preview */
body.dark-mode .al-guide-preview {
  background: #1b1e2b;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.2);
}
body.dark-mode .al-guide-preview-page {
  background: #141620;
  border-color: #2d3348;
}
body.dark-mode .al-guide-preview-header { color: #e2e8f0; }
body.dark-mode .al-guide-preview-line { background: #2d3348; }
body.dark-mode .al-guide-preview-sep { background: #2d3348; }
body.dark-mode .al-guide-preview-badge { color: #64748b; }

/* ── Right: Illustration ─────────────────────────────────── */
.al-illust-side {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  min-height: 0;
  overflow: visible;
  position: sticky;
  top: calc(100vh - 420px);
  align-self: start;
}

.al-illust-box {
  width: 100%;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 0;
}

.al-illust-box svg,
.al-illust-box img {
  width: 95%;
  max-width: none;
  height: auto;
  object-fit: contain;
  position: relative;
  left: -30px;
}

/* ── Form Elements ───────────────────────────────────────── */
.al-section {
  margin-bottom: 22px;
}

.al-section:last-child {
  margin-bottom: 0;
}

.al-section-title {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.al-required-note {
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  text-transform: none;
  letter-spacing: 0;
}

/* Input group */
.al-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  position: relative;
}

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

.al-input-group--grow {
  flex: 1;
}

.al-label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1f2e;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  color: #1a1f2e;
  background: #fff;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  box-sizing: border-box;
}

.al-input:focus {
  border-color: #1a1f2e;
  box-shadow: 0 0 0 1px #1a1f2e;
}

.al-input::placeholder {
  color: #c4c9d4;
}

/* Filled input state */
.al-input.al-filled {
  background: #e8f0fe;
  border-color: #b8d4f0;
}

.al-input.al-filled:focus {
  border-color: #1a1f2e;
  box-shadow: 0 0 0 1px #1a1f2e;
}

/* Clear button on filled inputs */
.al-input-clear {
  position: absolute;
  right: 12px;
  bottom: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #94a3b8;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 0;
  transition: background 0.15s;
}

.al-input-clear:hover {
  background: #64748b;
}

.al-textarea {
  resize: vertical;
  min-height: 120px;
}

.al-input-hint {
  font-size: 12px;
  color: #9ca3af;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Input row (side by side) */
.al-input-row {
  display: flex;
  gap: 16px;
  margin-bottom: 4px;
}

/* Select */
.al-select-wrap {
  position: relative;
}

.al-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6b7280;
  pointer-events: none;
}

.al-select {
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

/* ── Custom Dropdown ──────────────────────────────────────── */
.al-custom-select {
  position: relative;
}

.al-custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #1a1f2e;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-align: left;
}

.al-custom-select-trigger:hover {
  border-color: #9ca3af;
}

.al-custom-select.open .al-custom-select-trigger {
  border-color: #155dfc;
  box-shadow: 0 0 0 3px rgba(21, 93, 252, 0.1);
}

.al-custom-select-value {
  color: #9ca3af;
}

.al-custom-select-value.selected {
  color: #1a1f2e;
}

.al-custom-select-arrow {
  color: #6b7280;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.al-custom-select.open .al-custom-select-arrow {
  transform: rotate(180deg);
}

.al-custom-select-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  z-index: 100;
  max-height: 260px;
  overflow-y: auto;
  padding: 6px;
  animation: alDropdownIn 0.15s ease;
}

@keyframes alDropdownIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.al-custom-select.open .al-custom-select-menu {
  display: block;
}

.al-custom-select-option {
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #374151;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.1s;
}

.al-custom-select-option:hover {
  background: #f3f4f6;
}

.al-custom-select-option.active {
  background: #155dfc;
  color: #fff;
}

/* Scrollbar */
.al-custom-select-menu::-webkit-scrollbar {
  width: 6px;
}
.al-custom-select-menu::-webkit-scrollbar-track {
  background: transparent;
}
.al-custom-select-menu::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

/* Price wrap */
.al-price-wrap {
  display: flex;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.al-price-wrap:focus-within {
  border-color: #1a1f2e;
  box-shadow: 0 0 0 1px #1a1f2e;
}

.al-price-wrap .al-input {
  border: none;
  border-radius: 0;
  box-shadow: none !important;
  flex: 1;
}

.al-currency-select {
  border: none;
  border-left: 1px solid #d1d5db;
  background: #f9fafb;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  outline: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  appearance: none;
  min-width: 90px;
}

/* Inline checkbox */
.al-check-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #1a1f2e;
  background: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  user-select: none;
  white-space: nowrap;
}

.al-check-inline input { display: none; }

.al-check-inline-box {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  flex-shrink: 0;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-check-inline input:checked ~ .al-check-inline-box {
  background: #1a1f2e;
  border-color: #1a1f2e;
}

.al-check-inline input:checked ~ .al-check-inline-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* ── Toggle Pair ─────────────────────────────────────────── */
.al-toggle-pair {
  display: inline-flex;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  background: #f3f4f6;
  padding: 4px;
  gap: 2px;
}

.al-toggle-btn {
  padding: 13px 33px;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  white-space: nowrap;
  position: relative;
}

.al-toggle-btn.active {
  background: #1a1f2e;
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 31, 46, 0.15);
}

.al-toggle-btn:hover:not(.active) {
  background: rgba(0, 0, 0, 0.04);
  color: #374151;
}

/* ── Property Type Grid ──────────────────────────────────── */
.al-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
  max-width: none;
}

.al-type-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 8px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  text-align: center;
}

.al-type-btn svg * { stroke-width: 1.5; }

.al-type-btn:hover {
  border-color: #1a1f2e;
}

.al-type-btn.active {
  border-color: #1a1f2e;
  background: #f5f5f5;
}

/* ── Chip Buttons ────────────────────────────────────────── */
.al-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.al-chip-btn {
  padding: 10px 20px;
  border-radius: 24px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-chip-btn:hover { border-color: #1a1f2e; }

.al-chip-btn.active {
  border-color: #1a1f2e;
  background: #1a1f2e;
  color: #fff;
}

/* ── Amenity Checkboxes ──────────────────────────────────── */
.al-check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.al-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 14px;
  color: #374151;
  background: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  user-select: none;
}

.al-check-item:hover { border-color: #1a1f2e; }

.al-check-item.checked {
  border-color: #1a1f2e;
  background: #f5f5f5;
}

.al-check-box {
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  flex-shrink: 0;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-check-item.checked .al-check-box {
  background: #1a1f2e;
  border-color: #1a1f2e;
}

.al-check-item.checked .al-check-box::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

/* ── Photo Upload ─────────────────────────────────────────── */
.al-upload-zone {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: #fafbfc;
}

.al-upload-zone:hover,
.al-upload-zone.dragover {
  border-color: #1a1f2e;
  background: #f5f5f5;
}

.al-upload-title {
  font-size: 15px;
  font-weight: 500;
  color: #374151;
  margin: 12px 0 4px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-upload-link {
  color: #1a1f2e;
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
}

.al-upload-hint {
  font-size: 13px;
  color: #9ca3af;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.al-photo-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #e5e7eb;
}

.al-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.al-photo-thumb-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

/* ── Bottom Navigation ───────────────────────────────────── */
.al-form-footer {
  position: fixed;
  bottom: 0;
  left: 260px;
  right: 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
}

.al-footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* Back button — ghost */
.al-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #fff;
  color: #1a1f2e;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: all 0.15s;
}

.al-btn-ghost:hover {
  background: #f5f5f5;
  border-color: #1a1f2e;
}

/* Next / Primary button — default gray state */
.al-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: #9ca3af;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: all 0.2s;
}

.al-btn-primary:hover {
  background: #6b7280;
}

/* Valid state — turns red */
.al-btn-primary.al-btn-valid {
  background: #c94444;
}

.al-btn-primary.al-btn-valid:hover {
  background: #b33a3a;
}

/* Publish button */
.al-btn-publish {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: #c94444;
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: background 0.15s;
  margin-top: 8px;
}

.al-btn-publish:hover {
  background: #b33a3a;
}

/* ── Success State ────────────────────────────────────────── */
#alPanel4 {
  justify-content: center;
  align-items: center;
  position: relative;
}

.al-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 60px;
  animation: alFadeIn 0.4s ease;
  width: 100%;
}

.al-success-illust {
  width: 320px;
  max-width: 100%;
  margin-bottom: 32px;
}

.al-success-illust svg {
  width: 100%;
  height: auto;
}

.al-success h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a1f2e;
  margin-bottom: 12px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.al-success p {
  font-size: 16px;
  color: #6b7280;
  max-width: 440px;
  line-height: 1.6;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-bottom: 32px;
}

.al-success .al-btn-primary {
  background: #c94444;
}

.al-success .al-btn-primary:hover {
  background: #b33a3a;
}

.al-back-arrow {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  border-radius: 50%;
  transition: all 0.2s ease;
  text-decoration: none;
}

.al-back-arrow:hover {
  color: #1a1f2e;
  background: #f3f4f6;
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE
   ═══════════════════════════════════════════════════════════ */

body.dark-mode.add-listing-page {
  background: var(--clr-bg);
}

body.dark-mode .al-sidebar {
  background: var(--clr-bg);
  border-right-color: rgba(255,255,255,0.07);
}

/* Dark mode step nav */
body.dark-mode .al-step-dot {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.25);
  color: rgba(59, 130, 246, 0.5);
}
body.dark-mode .al-step-line {
  border-left-color: rgba(255, 255, 255, 0.1);
}
body.dark-mode .al-step-title {
  color: #4b5563;
}
body.dark-mode .al-step-item.active .al-step-dot {
  background: #2563eb;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.4);
}
body.dark-mode .al-step-item.active .al-step-dot::before {
  border-color: #60a5fa;
}
body.dark-mode .al-step-item.active .al-step-title {
  color: #f1f5f9;
}
body.dark-mode .al-step-item.active .al-step-line {
  border-left: 2px solid #3b82f6;
  border-style: solid;
}
body.dark-mode .al-step-item.done .al-step-dot {
  background: #22c55e;
  border-color: transparent;
  color: #fff;
}
body.dark-mode .al-step-item.done .al-step-title {
  color: #e2e8f0;
}
body.dark-mode .al-step-item.done .al-step-line {
  border-left: 2px solid #22c55e;
  border-style: solid;
}

body.dark-mode .al-step-label { color: #64748b; }
body.dark-mode .al-panel-title { color: #f1f5f9; }
body.dark-mode .al-panel-sub { color: #64748b; }
body.dark-mode .al-guide-link { color: #7dcbf5; }
body.dark-mode .al-guide-link:hover { color: #a4daff; }

body.dark-mode .al-illust-box { background: #1b1e2b; }

body.dark-mode .al-label { color: #94a3b8; }

body.dark-mode .al-input {
  background: #1b1e2b;
  border-color: rgba(255,255,255,0.1);
  color: #f1f5f9;
}

body.dark-mode .al-input:focus {
  border-color: #38B6FF;
  box-shadow: 0 0 0 1px #38B6FF;
}

body.dark-mode .al-input::placeholder { color: #374151; }

body.dark-mode .al-input.al-filled {
  background: rgba(136,206,255,0.1);
  border-color: rgba(136,206,255,0.3);
}

body.dark-mode .al-input-clear {
  background: #64748b;
}
body.dark-mode .al-input-clear:hover {
  background: #94a3b8;
}

body.dark-mode .al-price-wrap {
  background: #1b1e2b;
  border-color: rgba(255,255,255,0.1);
}

body.dark-mode .al-price-wrap:focus-within {
  border-color: #38B6FF;
  box-shadow: 0 0 0 1px #38B6FF;
}

body.dark-mode .al-currency-select {
  background: #141620;
  border-left-color: rgba(255,255,255,0.1);
  color: #94a3b8;
}

body.dark-mode .al-toggle-pair { background: #1b1e2b; }
body.dark-mode .al-toggle-btn {
  background: transparent;
  color: #64748b;
}
body.dark-mode .al-toggle-btn.active { background: #38B6FF; color: #0e1018; box-shadow: 0 2px 8px rgba(136, 206, 255, 0.2); }
body.dark-mode .al-toggle-btn:hover:not(.active) { background: rgba(255,255,255,0.05); color: #94a3b8; }

body.dark-mode .al-type-btn {
  background: #1b1e2b;
  border-color: rgba(255,255,255,0.08);
  color: #cbd5e1;
}
body.dark-mode .al-type-btn svg * { stroke: #cbd5e1; }
body.dark-mode .al-type-btn:hover { border-color: #38B6FF; }
body.dark-mode .al-type-btn.active {
  border-color: #38B6FF;
  background: rgba(136,206,255,0.1);
  box-shadow: 0 0 0 1px #38B6FF;
  color: #38B6FF;
}
body.dark-mode .al-type-btn.active svg * { stroke: #38B6FF; }

body.dark-mode .al-section-title { color: #64748b; }

body.dark-mode .al-chip-btn {
  background: #1b1e2b;
  border-color: rgba(255,255,255,0.08);
  color: #94a3b8;
}
body.dark-mode .al-chip-btn:hover { border-color: #38B6FF; }
body.dark-mode .al-chip-btn.active {
  background: #38B6FF;
  border-color: #38B6FF;
  color: #0e1018;
}

body.dark-mode .al-check-item {
  background: #1b1e2b;
  border-color: rgba(255,255,255,0.08);
  color: #94a3b8;
}
body.dark-mode .al-check-item:hover { border-color: #38B6FF; }
body.dark-mode .al-check-item.checked {
  border-color: #38B6FF;
  background: rgba(136,206,255,0.08);
  color: #38B6FF;
}
body.dark-mode .al-check-item.checked .al-check-box {
  background: #38B6FF;
  border-color: #38B6FF;
}

body.dark-mode .al-check-inline {
  background: #1b1e2b;
  border-color: rgba(255,255,255,0.1);
  color: #94a3b8;
}
body.dark-mode .al-check-inline input:checked ~ .al-check-inline-box {
  background: #38B6FF;
  border-color: #38B6FF;
}

body.dark-mode .al-upload-zone {
  background: #1b1e2b;
  border-color: rgba(255,255,255,0.1);
}
body.dark-mode .al-upload-zone:hover,
body.dark-mode .al-upload-zone.dragover {
  border-color: #38B6FF;
  background: rgba(136,206,255,0.05);
}
body.dark-mode .al-upload-title { color: #94a3b8; }
body.dark-mode .al-upload-link { color: #7dcbf5; }

body.dark-mode .al-form-footer {
  background: rgba(20,22,32,0.98);
  border-top-color: rgba(255,255,255,0.07);
}

body.dark-mode .al-btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.15);
  color: #e2e8f0;
}
body.dark-mode .al-btn-ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.25);
}

body.dark-mode .al-btn-primary {
  background: #4b5563;
  color: #e2e8f0;
}
body.dark-mode .al-btn-primary:hover { background: #6b7280; }

body.dark-mode .al-btn-primary.al-btn-valid {
  background: #38B6FF;
  color: #0e1018;
}
body.dark-mode .al-btn-primary.al-btn-valid:hover { background: #a4daff; }

body.dark-mode .al-btn-publish {
  background: #38B6FF;
  color: #0e1018;
}
body.dark-mode .al-btn-publish:hover { background: #a4daff; }

body.dark-mode .al-success h2 { color: #f1f5f9; }
body.dark-mode .al-success p { color: #64748b; }

body.dark-mode .al-success .al-btn-primary {
  background: #38B6FF;
  color: #0e1018;
}
body.dark-mode .al-success .al-btn-primary:hover { background: #a4daff; }

body.dark-mode .al-back-arrow {
  color: #64748b;
}
body.dark-mode .al-back-arrow:hover {
  color: #e2e8f0;
  background: #1e293b;
}

body.dark-mode .al-input-hint { color: #4b5563; }
body.dark-mode .al-required-note { color: #4b5563; }
body.dark-mode .al-select-wrap::after { border-top-color: #64748b; }

body.dark-mode .al-custom-select-trigger {
  background: #1b1e2b;
  border-color: rgba(255,255,255,0.1);
  color: #f1f5f9;
}
body.dark-mode .al-custom-select-trigger:hover {
  border-color: rgba(255,255,255,0.2);
}
body.dark-mode .al-custom-select.open .al-custom-select-trigger {
  border-color: #38B6FF;
  box-shadow: 0 0 0 3px rgba(136, 206, 255, 0.1);
}
body.dark-mode .al-custom-select-value { color: #4b5563; }
body.dark-mode .al-custom-select-value.selected { color: #f1f5f9; }
body.dark-mode .al-custom-select-arrow { color: #64748b; }
body.dark-mode .al-custom-select-menu {
  background: #1b1e2b;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
body.dark-mode .al-custom-select-option {
  color: #e2e8f0;
}
body.dark-mode .al-custom-select-option:hover {
  background: rgba(255,255,255,0.06);
}
body.dark-mode .al-custom-select-option.active {
  background: #155dfc;
  color: #fff;
}
body.dark-mode .al-custom-select-menu::-webkit-scrollbar-thumb {
  background: #374151;
}

/* Dark mode illustration colors */
body.dark-mode .al-illust-box svg rect[fill="#F1F5F9"] { fill: #232738; }
body.dark-mode .al-illust-box svg rect[fill="#E2E8F0"] { fill: #2d3348; }
body.dark-mode .al-illust-box svg circle[fill="#E2E8F0"] { fill: #2d3348; }
body.dark-mode .al-illust-box svg path[fill="#E2E8F0"] { fill: #2d3348; }
body.dark-mode .al-illust-box svg polygon[fill="#F1F5F9"] { fill: #232738; }
body.dark-mode .al-illust-box svg [stroke="#1a1f2e"] { stroke: #64748b; }
body.dark-mode .al-illust-box svg line[stroke="#1a1f2e"] { stroke: #64748b; }

/* Mascot dark mode */
body.dark-mode .al-sidebar-mascot svg ellipse { stroke: #94a3b8; }
body.dark-mode .al-sidebar-mascot svg path[stroke="#0F172A"] { stroke: #94a3b8; }
body.dark-mode .al-sidebar-mascot svg circle[fill="#0F172A"] { fill: #94a3b8; }

/* ── Parallax & Scroll Animations ─────────────────────────── */

/* Base state for scroll-animated elements */
.al-parallax-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.al-parallax-item.al-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grouped elements */
.al-parallax-item[data-delay="1"] { transition-delay: 0.08s; }
.al-parallax-item[data-delay="2"] { transition-delay: 0.16s; }
.al-parallax-item[data-delay="3"] { transition-delay: 0.24s; }
.al-parallax-item[data-delay="4"] { transition-delay: 0.32s; }
.al-parallax-item[data-delay="5"] { transition-delay: 0.4s; }
.al-parallax-item[data-delay="6"] { transition-delay: 0.48s; }

/* Illustration parallax float */
.al-illust-parallax {
  transition: transform 0.15s ease-out;
  will-change: transform;
}

/* Subtle slide-in from right for illustrations */
.al-parallax-item.al-from-right {
  transform: translateX(40px);
}
.al-parallax-item.al-from-right.al-visible {
  transform: translateX(0);
}

/* Scale-up for type grid buttons */
.al-parallax-item.al-scale-up {
  transform: scale(0.9);
}
.al-parallax-item.al-scale-up.al-visible {
  transform: scale(1);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .al-panel-layout {
    grid-template-columns: 1fr;
  }
  .al-illust-side { display: none; }
  .al-form-side {
    max-width: 100%;
    padding: 36px 40px 120px;
  }
}

@media (max-width: 900px) {
  .al-sidebar {
    display: none;
  }
  .al-form-footer {
    left: 0;
  }
  .al-form-side {
    padding: 32px 24px 120px;
  }
  .al-type-grid { grid-template-columns: repeat(3, 1fr); }
  .al-check-grid { grid-template-columns: 1fr; }
  .al-input-row { flex-direction: column; gap: 0; }
  .al-form-footer { padding: 16px 24px; }
}

@media (max-width: 480px) {
  .al-type-grid { grid-template-columns: repeat(2, 1fr); }
  .al-panel-title { font-size: 24px; }
  .al-photo-grid { grid-template-columns: repeat(3, 1fr); }
}
