.header {
  padding: 10px 16px;
  position: relative;
  background-color: #d3073c;
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header span {
  color: white;
  font-size: 30px;
}
.header .qrcode {
  position: absolute;
  top: 14px;
  z-index: 1;
  width: 40px;
  margin-left: 10px;
}
.header .qrcode:hover {
  border: 3px solid #d3073c;
  width: 200px;
}
.humans-wrap {
  padding-bottom: 95px;
}
.search {
  display: inline-block;
}
.batch {
  margin-right: 10px;
}
@media (max-width: 700px) {
  #search {
    width: 120px;
  }
  /*.selected.human{
    &:hover{
      background-color: white !important;;
      cursor: pointer;
      .close{
        display: none !important;
      }
    }
  }*/
}
.count {
  margin-left: 20px;
}
.selected-form {
  display: inline !important;
  margin-right: 20px;
}
button.close {
  display: none;
  position: absolute;
  top: -10px;
  left: -10px;
  background-color: #ff2a52;
  border: 0;
  color: white;
  text-shadow: none;
  opacity: 1 !important;
  outline: none;
  padding: 6px 9px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}
button.close span {
  vertical-align: 2px;
}
button.close:hover {
  opacity: 1 !important;
  color: white !important;
  background-color: #a11f37;
}
.pager {
  margin-right: 50px;
}
.lottery-button-wrap {
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  background-color: rgba(51, 122, 183, 0.58);
  backdrop-filter: blur(7px);
}
.lottery-button-wrap .brand-logo {
  position: absolute;
  top: 28px;
  right: 32px;
  width: 100px;
}
.lottery-button {
  width: 200px;
  margin: 20px auto;
}
#action {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-image: url(/img/lottery-bg-caishen.jpg);
  background-repeat: no-repeat;
  background-color: #b75959;
  background-size: contain;
  background-position: center;
}

/* #action {
  width: 100%;
  height: 100%;
  background-color: rgb(74 175 62 / 45%);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  background-image: url(/img/lottery-bg-leaf.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-blend-mode: luminosity;
} */
#won .label {
  margin: 6px 30px 0 17px;
}
#won .pager {
  margin: 3px 0 0 0;
}
#won .pager a {
  font-size: 12px;
  padding: 2px 9px;
}
/* #winner {
  margin: 30px auto;
  transition: 0.7s;
} */

#winner {
  width: auto;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  background: #ff3b3b;
  margin: 30px auto;
  transition: 0.7s;
  border-radius: 20px;
  border: 4px solid #ffe502;
  padding: 10px;
  box-shadow: -2px 0px 18px 10px #dcb10cc9;
}

#winner.not-avatar .avatar {
  display: none;
}
#winner.not-avatar .name {
  padding: 20px;
  text-shadow: 1px 1px #333333;
}
#winner .avatar {
  width: 200px;
  height: 200px;
}
#winner .avatar img {
  width: 200px;
}
#winner .name {
  font-size: 40px;
  border: 2px solid wheat;
}
#winner h2 {
  color: white;
  text-align: center;
}
.won-tip {
  color: white;
  padding: 10px 0 0 15px;
}
.button-wrap {
  position: fixed;
  z-index: 2;
  bottom: 0;
  width: 100%;
  background-color: black;
}
.button-wrap .brand-logo {
  position: absolute;
  top: 22px;
  left: 32px;
  width: 100px;
}
#batch-block {
  display: none;
  padding: 10px;
  text-align: left;
}
#batch-block textarea {
  width: 500px;
  margin-right: 10px;
}
#batch-block .btn {
  width: 100px;
}
.btn-lucky {
  color: #b1264a;
  background: #ffd375;
  border: 1px solid whitesmoke;
}
.btn-lucky:hover {
  background: #b1264a;
  color: white;
}

.winner-container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.winner-container > div {
  margin: 10px;
}

.setting-overlay {
  font-size: 14px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: 50vw;
  height: 100vh;
  padding: 10px 10px 60px 10px;
  background-color: rgba(29, 33, 41, 0.8);
  backdrop-filter: blur(10px);
}

.setting-overlay .footer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 0px;
  left: 0;
  height: 50px;
  width: 100%;
  background-color: rgb(255, 255, 255);
  border-top: 1px solid #dedede;
}

.setting-container {
  height: calc(100vh - 120px);
  overflow-y: auto;
}

.setting-container .item {
  padding: 10px;
  background-color: white;
  border-radius: 2px;
  border: 1px solid #ffd375;
  margin-bottom: 20px;
}

.setting-container .item .error {
  color: red;
  text-align: right;
  margin-left: 20px;
  font-size: 9px;
}

.setting-container .item input,
.setting-container .item div {
  margin-bottom: 10px;
  color: #333333;
  text-align: left;
}

.btn-add-awards {
  width: 150px;
}

.btn-add-reset {
  position: absolute;
  right: 10px;
}
