/* Area autocomplete (optional district / neighborhood) */
.area-ac {
  position: relative;
}

.area-ac input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
}

.area-ac input[type="text"]:focus {
  outline: none;
  border-color: var(--burgundy-mid);
}

.area-ac input[type="text"]:disabled {
  background: var(--bg-soft);
  color: var(--text-muted);
}

.area-ac__list {
  position: absolute;
  z-index: 9100;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  overflow-y: auto;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #ffffff;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  isolation: isolate;
}

.area-ac__item {
  padding: 10px 14px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s;
  background: #ffffff;
}

.area-ac__item:hover,
.area-ac__item:focus {
  background: var(--burgundy-pale);
  color: var(--burgundy-deep);
}

.field-hint--optional {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Auction dynamic specifications */
.auction-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auction-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.auction-spec-row input {
  padding: 10px 12px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
}

.auction-spec-row input:focus {
  outline: none;
  border-color: var(--burgundy-mid);
}

.btn-spec-remove {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: #fee2e2;
  color: #b91c1c;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

.btn-spec-add {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px dashed var(--burgundy-light);
  border-radius: 12px;
  background: var(--burgundy-bg-card);
  color: var(--burgundy-deep);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

.auction-specs-display {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-light);
}

.auction-specs-display h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--burgundy-deep);
}

.auction-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.auction-spec-chip {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--burgundy-bg-card);
  border: 1px solid rgba(168, 77, 114, 0.12);
}

.auction-spec-chip__name {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.auction-spec-chip__value {
  font-size: 14px;
  font-weight: 700;
}

.auction-spec-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(168, 77, 114, 0.15);
  background: var(--burgundy-bg-card, #faf8fa);
}

.auction-spec-block--vehicle {
  border-color: rgba(168, 77, 114, 0.28);
}

.auction-spec-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.auction-spec-field__label {
  font-size: 12px;
  font-weight: 800;
  color: var(--burgundy-deep);
}

.auction-spec-field input {
  padding: 10px 12px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
}

.auction-spec-field input:focus {
  outline: none;
  border-color: var(--burgundy-mid);
}

@media (max-width: 600px) {
  .auction-spec-row {
    grid-template-columns: 1fr;
  }
  .btn-spec-remove {
    width: 100%;
  }
}
