﻿@charset "UTF-8";
.people_range .slide_line, .people_modal_title {
  display: flex;
  flex-direction: row;
}

.people_input_gp div[class^=people_input_] {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 820px) {
  .modal-dialog {
    top: 131px;
  }
}
#main_btn_populationModal.offscreen {
  opacity: 0; /* 让模态框不可见 */
  position: absolute; /* 使其不影响页面布局 */
  top: -9999px;
  left: -9999px;
  display: block; /* 保持 block 使得宽度和高度被计算 */
}

.people_modal_container {
  width: 100%;
  padding: 28px 28px;
}
@media screen and (min-width: 820px) {
  .people_modal_container {
    width: 500px;
  }
}

@media screen and (min-width: 820px) {
  .people_modal_title {
    display: none;
  }
}

.people_slide_bar {
  font-size: 14px;
  color: #4a4a4a;
}

.people_range {
  width: 100%; /* 確保容器寬度正確 */
  height: 5px;
  margin-bottom: 50px;
  margin-top: 20px;
  background: #e5e5e5;
  outline: none;
  position: relative;
  top: 3px;
}
.people_range .slide_line {
  position: absolute;
  width: calc(100% - 20px);
  height: 100%;
  left: 20px;
  background: #ff9800;
}
.people_range div[class$=_thumb] {
  width: 32px;
  height: 32px;
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  position: absolute;
  top: -12px;
  touch-action: none;
}
.people_range div[class$=_thumb] i {
  color: #ff9800;
  transform: rotate(90deg);
}
.people_range .people_min_thumb {
  left: 0px;
}
.people_range .people_max_thumb {
  left: calc(100% - 32px);
}

.people_input_gp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.people_input_gp div[class^=people_input_] {
  padding: 10px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  flex-grow: 1;
}
.people_input_gp input[type=number] {
  border: none;
  outline: none;
  flex-grow: 1;
}
.people_input_gp input[type=number]::-webkit-outer-spin-button, .people_input_gp input[type=number]::-webkit-inner-spin-button {
  appearance: none;
}

.dash::after {
  content: "-";
  margin: 0 12px;
}
