.property-search-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.property-search-modal[hidden] {
  display: none !important;
}

.property-search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.property-search-modal__panel {
  position: relative;
  width: 640px;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  overflow: auto;
  background: #fff;
  border: 1px solid #999;
  padding: 16px 20px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.property-search-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.property-search-modal__title {
  margin: 0 0 12px;
  font-size: 18px;
}

.property-search-modal__tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.property-search-tab {
  padding: 8px 14px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
}

.property-search-tab.is-active {
  background: #1a5f8b;
  border-color: #1a5f8b;
  color: #fff;
}

.property-search-note {
  margin: 0 0 8px;
  font-size: 12px;
}

.property-search-hint {
  font-size: 11px;
  color: #666;
}

.property-search-hint-red {
  font-size: 11px;
  color: #c00;
}

.property-search-area-box {
  border: 1px solid #999;
  width: 100%;
  max-width: 280px;
  height: 140px;
  overflow: auto;
  padding: 8px;
  margin-bottom: 12px;
  background: #fff;
}

.property-search-pref-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.property-search-pref-list li {
  margin-bottom: 6px;
}

.property-search-radio {
  display: inline-block;
  margin: 2px 0;
}

.property-search-radio-group label {
  display: inline-block;
  margin: 0 10px 6px 0;
  white-space: nowrap;
}

.property-search-madori {
  list-style: none;
  margin: 0;
  padding: 0;
}

.property-search-submit {
  padding: 8px 32px;
  font-size: 16px;
  cursor: pointer;
}

.property-search-modal-open {
  overflow: hidden;
}
