.container {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #f4f7f9;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
}

.content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.section {
  margin-bottom: 24px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #f3f4f6;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.sectionTitle {
  font-size: 15px;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;

  &::before {
    content: '';
    width: 3px;
    height: 14px;
    background: #007aff;
    border-radius: 2px;
  }
}

.tagList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tagItem {
  padding: 14px;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  color: #4b5563;
  background: #f9fafb;
  font-weight: 600;
  transition: all 0.2s ease;

  &:active {
    background: #f3f4f6;
    transform: scale(0.98);
  }

  &.selected {
    border-color: #007aff;
    background-color: #f0f7ff;
    color: #007aff;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
  }
}

.footer {
  padding: 16px 24px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #f3f4f6;
}

.submitBtn {
  height: 50px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  background: #007aff;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

// 钻取式地区选择器
.regionDrillDown {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.regionDrillHeader {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f5f5f5;
  font-weight: 700;
}

.regionDrillTitle {
  font-size: 17px;
  color: #1a1a1a;
}

.backBtn {
  color: #007aff;
  font-weight: 700;
  padding: 0;
  --font-size: 15px;
}

.closeBtn {
  color: #999;
  padding: 0;
}

.regionDrillContent {
  flex: 1;
  overflow-y: auto;
}

.flatList {
  --adm-font-size-main: 16px;

  :global(.adm-list-item-content) {
    padding: 14px 0;
  }

  :global(.adm-list-item) {
    --active-background-color: #f9fafb;
  }
}

.allProvinceOption {
  :global(.adm-list-item-content-main) {
    color: #007aff;
    font-weight: 700;
  }
}

.listDivider {
  padding: 10px 20px;
  background: #f4f7f9;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
}

// 统一输入控件样式
.inputWrapper {
  background: #f9fafb;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid transparent;
  transition: all 0.2s ease;

  &:focus-within {
    background: #fff;
    border-color: #007aff;
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
  }

  :global(.adm-input) {
    --font-size: 16px;
  }
}

// 触发器样式
.nativeTrigger {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #f9fafb;
  border-radius: 12px;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all 0.2s ease;

  &:active {
    background: #f1f5f9;
    transform: scale(0.99);
  }
}

.triggerLabel {
  color: #64748b;
  font-weight: 600;
  flex-shrink: 0;
}

.triggerValueActive {
  flex: 1;
  color: #1e293b;
  font-weight: 700;
}

.triggerPlaceholder {
  flex: 1;
  color: #cbd5e1;
}

.triggerArrow {
  color: #94a3b8;
  font-size: 20px;
  margin-left: 4px;
}

// 强制覆盖边框
:global(.adm-input-element), :global(.adm-text-area-element) {
  border: none !important;
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-weight: 600;
}

.searchTip {
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
  padding-left: 4px;
}

:global(.adm-selector) {
  --border-radius: 12px;
  --padding: 12px 16px;
}
