/* 行业选择器：全屏模态（叠在城市选择器之上） */
.industry-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 1120;
  background: #f5f7fa;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-picker-modal.is-open {
  transform: translateY(0);
}

.industry-picker-modal:not(.is-open) {
  pointer-events: none;
}

.industry-picker-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  padding-top: max(12px, env(safe-area-inset-top));
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.industry-picker-close {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  background: #f1f5f9;
  color: #0F4C81;
  border-radius: 10px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-picker-close:hover {
  background: #e2e8f0;
}

.industry-picker-search-wrap {
  flex: 1;
  min-width: 0;
}

.industry-picker-search {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.industry-picker-search:focus {
  border-color: #0F4C81;
  box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.12);
}

.industry-picker-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.industry-picker-section-title {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  margin: 0 0 12px 4px;
  letter-spacing: 0.02em;
}

.industry-hot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

@media (min-width: 480px) {
  .industry-hot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .industry-hot-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .industry-hot-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.industry-chip {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 10px;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  color: #1e293b;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1.35;
}

.industry-chip:hover {
  border-color: #0F4C81;
  color: #0F4C81;
  background: rgba(15, 76, 129, 0.04);
}

.industry-results {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.industry-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
}

.industry-result-row:hover {
  border-color: #0F4C81;
  background: rgba(15, 76, 129, 0.04);
}

.industry-result-main {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.industry-result-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.industry-result-arrow {
  color: #94a3b8;
  font-size: 18px;
  flex-shrink: 0;
}

.industry-picker-empty {
  text-align: center;
  color: #94a3b8;
  padding: 32px 16px;
  font-size: 15px;
}

.industry-input-trigger {
  position: relative;
  display: flex;
  align-items: center;
}

.industry-input-trigger .industry-open-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: #0F4C81;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.industry-input-trigger .industry-open-btn:hover {
  background: rgba(15, 76, 129, 0.08);
}

.industry-input-trigger input {
  padding-right: 48px;
}

body.industry-picker-open {
  overflow: hidden;
}
