/* Smartbar */
.smartBar {
  position: relative;
  background: #fff;
  cursor: text;
  text-align: left;
}
.smartBar .confirmed:empty {
  display: none;
}
.smartBar .confirmed {
  position: absolute;
  margin: 0;
  top: -5.4rem;
  display: flex;
  gap: 1rem;
  width: max-content;
  left: -10px;
  z-index: 1;
}
.smartBar .confirmed .id {
  display: none;
}
.smartBar .confirmed .item {
  display: inline-block;
  height: auto;
  line-height: 2.8rem;
  background: var(--color-blue);
  padding: 0 0.8rem;
  margin: 0.1rem;
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: unset;
  letter-spacing: -0.02rem;
  width: initial;
}
.smartBar .confirmed .item .name {
  display: inline-block;
  vertical-align: middle;
}
.smartBar .confirmed .item .remove {
  position: relative;
  width: 1.4rem;
  height: 1.4rem;
  font-size: 0;
  margin-left: 0.6rem;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
}
.smartBar .confirmed .item .remove::before,
.smartBar .confirmed .item .remove::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #fff;
  transition: all 0.3s linear;
}
.smartBar .confirmed .item .remove:hover::before,
.smartBar .confirmed .item .remove:hover::after {
  background: var(--color-primary);
  transition: all 0.3s linear;
}
.smartBar .confirmed .item .remove::before {
  transform: rotate(45deg);
}
.smartBar .confirmed .item .remove::after {
  transform: rotate(-45deg);
}
.smartBar input.smartAreaSearch {
  border: none;
  outline: none;
  width: 100% !important;
  height: 5.5rem;
  line-height: 5.5rem;
  margin: 0;
  border: 0;
  padding: 2px 8px 0;
  box-shadow: none;
  background-color: transparent;
  color: var(--color-black);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.smartBar .popup {
  display: none;
  position: absolute;
  z-index: 101;
  width: 100%;
  max-height: 320px;
  top: 42px;
  left: 0;
  right: auto;
  margin: 0;
  padding: 0;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #fbfbfb;
  border-width: 6px 0;
  border-radius: 4px;
}
.smartBar .popup > li {
  display: none;
  cursor: pointer;
  padding: 7px 30px 7px 10px;
  transition: all 0.3s ease-in;
  color: var(--color-black);
  font-size: 1.6rem;
  font-style: normal;
  line-height: normal;
}
.smartBar .popup.visible,
.smartBar .popup > li.visible {
  display: block;
}
.smartBar .popup > li:hover,
.smartBar .popup > li.active {
  color: var(--color-white);
  background: var(--color-primary);
}
.smartBar .popup > li:before,
.smartBar .popup > li i {
  display: none;
}

.smartBar .popup > div.active:hover {
  background: rgba(158, 125, 102, 0.88);
  color: #fff;
}

.smartBar .popup i {
  color: #a2a2a2;
  font-size: 0.9em;
}

@media only screen and (max-width: 1130px) {
  .smartBar {
    border-right: none;
    border-bottom: 1px solid rgba(141, 134, 134, 0.5);
  }
  .smartBar .confirmed {
    margin: 0;
    bottom: auto;
    top: -10rem;
    left: 0;
    width: 100%;
    flex-wrap: wrap;
  }
}
@media only screen and (max-width: 700px) {
  .smartBar input.smartAreaSearch {
    font-size: 2rem;
  }
}
