@charset "UTF-8";
/**
 * 地区
 * date: 2023-7-27
 * author: xuhai;
 * last editor: qyt
 * last edit date: 2025-5-15
 */

.public-select-address {
  position: relative;
  z-index: 99;
  width: 100%;
  height: 32px;
}
.public-select-address::after {
  position: absolute;
  right: 8px;
  top: 50%;
  height: 16px;
  width: 16px;
  margin-top: -8px;
  background: url("./images/arrow_down.png") center center no-repeat;
  transition: all 0.2s ease-in-out;
  content: "";
}
.public-select-address input {
  width: 100%;
  height: 32px;
  padding-right: 46px;
  padding-left: 10px;
  border: 1px solid #DDDFE7;
  background-color: #fff;
  box-sizing: border-box;
}
.public-select-address input.focus {
  border-color: #DE0029;
}
.public-select-address-model {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 32px;
  background-color: transparent;
  z-index: 9;
  cursor: pointer;
}
.public-select-address-close {
  display: none;
  position: absolute;
  right: 26px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  background: url("./images/close.png") center center no-repeat;
  transition: all 0.2s ease-in-out;
  z-index: 9;
  cursor: pointer;
}
.public-select-address-close:hover {
  background-image: url("./images/close_h.png");
}
.public-select-address.has .public-select-address-close {
  display: block;
}
.public-select-address-con {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 407px;
  width: 100%;
  padding-top: 10px;
  box-sizing: border-box;
  z-index: 99;
}
.public-select-address-box {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  width: 100%;
  height: 212px;
  background-color: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
}
.public-select-address-level {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 44px;
  font-size: 14px;
  line-height: 43px;
  padding: 0 10px;
  border-bottom: 1px solid #d6d6d6;
  box-sizing: border-box;
}
.public-select-address-level .level {
  height: 100%;
  padding: 0 10px;
  border-bottom: 2px solid transparent;
  box-sizing: border-box;
  cursor: pointer;
}
.public-select-address-level .level:hover, .public-select-address-level .level.active {
  color: #e50012;
}
.public-select-address-level .level.active {
  border-bottom-color: #e50012;
}
.public-select-address-list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  align-content: flex-start;
  flex: 1;
  height: 0;
  padding: 0 10px 10px 0;
  box-sizing: border-box;
  overflow-y: auto;
}
.public-select-address-list .item {
  padding: 0 10px;
  height: 30px;
  line-height: 30px;
  border-radius: 2px;
  cursor: pointer;
  margin-top: 10px;
  margin-left: 10px;
}
.public-select-address-list .item:hover, .public-select-address-list .item.active {
  background-color: #e50012;
  color: #fff;
}