/* —— Searchable city/neighborhood combobox —— */
.mf-combo {
  position: relative;
  width: 100%;
}

.mf-combo__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 2.75rem;
  padding: .55rem .85rem;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: right;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.mf-combo__trigger:hover:not(:disabled),
.mf-combo.is-open .mf-combo__trigger {
  border-color: rgba(201, 150, 47, .55);
  box-shadow: 0 0 0 3px rgba(201, 150, 47, .12);
}

.mf-combo__trigger:disabled {
  opacity: .55;
  cursor: not-allowed;
  background: #f8fafc;
}

.mf-combo__value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mf-combo__value.is-placeholder {
  color: #94a3b8;
}

.mf-combo__trigger i {
  font-size: .85rem;
  color: #64748b;
  transition: transform .15s ease;
}

.mf-combo.is-open .mf-combo__trigger i {
  transform: rotate(180deg);
}

.mf-combo__panel {
  position: absolute;
  z-index: 40;
  inset-inline: 0;
  top: calc(100% + 6px);
  max-height: min(280px, 50vh);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  overflow: hidden;
}

.mf-combo__panel[hidden] {
  display: none !important;
}

.mf-combo__search-wrap {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem .75rem;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  background: #f8fafc;
}

.mf-combo__search-wrap i {
  color: #94a3b8;
}

.mf-combo__search {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  outline: none;
  min-width: 0;
}

.mf-combo__list {
  list-style: none;
  margin: 0;
  padding: .35rem;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.mf-combo__option {
  width: 100%;
  display: block;
  border: 0;
  background: transparent;
  text-align: right;
  padding: .65rem .75rem;
  border-radius: 10px;
  font: inherit;
  cursor: pointer;
}

.mf-combo__option:hover,
.mf-combo__option:focus {
  background: rgba(201, 150, 47, .12);
  outline: none;
}

.mf-combo__empty {
  padding: .9rem .75rem;
  color: #94a3b8;
  font-size: .9rem;
  text-align: center;
}

/* —— Gallery multi uploader —— */
.gallery-up {
  display: grid;
  gap: .75rem;
}

.gallery-up__hint {
  margin: 0;
  font-size: .82rem;
  line-height: 1.6;
  color: #64748b;
}

.gallery-up__status {
  font-size: .82rem;
  color: #0f766e;
  font-weight: 600;
}

.gallery-up__preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: .65rem;
}

.gallery-up__card {
  position: relative;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

.gallery-up__card.is-dragging {
  opacity: .55;
}

.gallery-up__card.is-over {
  box-shadow: 0 0 0 2px rgba(201, 150, 47, .55);
}

.gallery-up__card img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.gallery-up__meta {
  padding: .35rem .45rem;
  font-size: .68rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-up__actions {
  display: flex;
  gap: .2rem;
  padding: 0 .35rem .4rem;
}

.gallery-up__btn {
  flex: 1;
  border: 0;
  border-radius: 8px;
  background: #f1f5f9;
  min-height: 1.7rem;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.gallery-up__btn:disabled {
  opacity: .35;
  cursor: default;
}

.gallery-up__btn--danger {
  background: #fee2e2;
  color: #b91c1c;
}

/* —— Amenities checklist (one clear row each) —— */
.amenity-check-grid,
.oe-check-list.oe-check-list--rows {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: .55rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.amenity-check-grid > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .amenity-check-grid,
  .oe-check-list.oe-check-list--rows {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1024px) {
  .amenity-check-grid,
  .oe-check-list.oe-check-list--rows {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

.amenity-check-grid label,
.oe-check-list.oe-check-list--rows label {
  display: flex !important;
  align-items: center;
  gap: .65rem;
  margin: 0;
  padding: .7rem .85rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  background: #fff;
  font-size: .9rem;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}

.amenity-check-grid label:has(input:checked),
.oe-check-list.oe-check-list--rows label:has(input:checked) {
  border-color: rgba(201, 150, 47, .55);
  background: rgba(201, 150, 47, .08);
}

.amenity-check-grid input[type="checkbox"],
.oe-check-list.oe-check-list--rows input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #c9962f;
  flex-shrink: 0;
}

/* Auth OTP polish */
.auth-otp-phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem .9rem;
  border-radius: 14px;
  background: rgba(15, 23, 42, .04);
  margin-bottom: 1rem;
}

.auth-otp-phone strong {
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}

.auth-otp-phone a {
  font-size: .85rem;
  color: #c9962f;
  text-decoration: none;
}

.auth-code-boxes {
  display: flex;
  justify-content: center;
  gap: .45rem;
  direction: ltr;
  margin: .35rem 0 1rem;
}

.auth-code-boxes input {
  width: 2.65rem;
  height: 3rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 12px;
  background: #fff;
}

.auth-code-boxes input:focus {
  outline: none;
  border-color: rgba(201, 150, 47, .7);
  box-shadow: 0 0 0 3px rgba(201, 150, 47, .15);
}

.auth-resend {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  align-items: stretch;
  margin-top: .75rem;
}

.auth-alt-link {
  margin-top: 1.1rem;
  text-align: center;
  font-size: .85rem;
  color: #64748b;
}

.auth-alt-link a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .auth-code-boxes input {
    width: 2.4rem;
    height: 2.75rem;
  }
}
