body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.popup-container {
  display: inline-flex;
}

.popup-container .popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: 400ms all;
}
.popup-container .popup > label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.popup-container .popup .inner {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  min-width: 300px;
  box-sizing: border-box;
  transition: 400ms all;
  z-index: 10;
  max-height: 100%;
  overflow: auto;
}
.popup-container .popup .inner .title {
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  position: sticky;
  top: 0;
  background: #fff;
}
.popup-container .popup .inner .title h6 {
  font-size: 15px;
  font-weight: 500;
}
.popup-container .popup .inner .title label {
  font-size: 14px;
  color: #999;
  cursor: pointer;
}
.popup-container .popup .inner .title label:hover {
  color: #222;
}
.popup-container .popup .inner .content {
  padding: 5px 15px 15px;
}
.popup-container .popup .inner .content ul li {
  margin-bottom: 15px;
}
.popup-container .popup .inner .content ul li:last-child {
  margin-bottom: 0;
}
.popup-container .popup .inner .content ul li input {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  font-size: 12px;
}
.popup-container .popup .inner .content ul li input:focus {
  outline: 0;
  border-color: gray;
}
.popup-container .popup .inner .content ul li button {
  width: 100%;
  height: 30px;
  border-radius: 3px;
  border: none;
  background: gray;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.popup-container .popup .inner .content p {
  font-size: 13px;
  line-height: 130%;
  margin-bottom: 15px;
}
.popup-container .popup .inner .content p:last-child {
  margin-bottom: 0;
}
.popup-container .popup .inner .content .close-btn {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}
.popup-container .popup .inner .content .close-btn label {
  background: rgba(0, 0, 0, 0.05);
  display: block;
  line-height: 30px;
  text-align: center;
  font-size: 13px;
  color: #444;
  border-radius: 3px;
  cursor: pointer;
}
.popup-container .popup .inner .content .close-btn label:hover {
  background: rgba(0, 0, 0, 0.1);
}
.popup-container > input {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.popup-container > input:checked + .popup {
  opacity: 1;
  visibility: visible;
}
.popup-container > input:checked + .popup .inner {
  top: 50%;
}

.wpopup-container {
  display: inline-flex;
}
.wpopup-container .wpopup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: 400ms all;
}
.wpopup-container .wpopup > label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.wpopup-container .wpopup .inner {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(img.jpg);
  min-width: 300px;
  box-sizing: border-box;
  transition: 400ms all;
  z-index: 10;
  max-height: 100%;
  overflow: auto;
}
.wpopup-container .wpopup .inner .title {
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  position: sticky;
  top: 0;
  background: #101111;
}
.wpopup-container .wpopup .inner .title h6 {
  font-size: 15px;
  font-weight: 500;
}
.wpopup-container .wpopup .inner .title label {
  font-size: 14px;
  color: #fff;
  cursor: pointer;
}
.wpopup-container .wpopup .inner .title label:hover {
  color: #222;
}
.wpopup-container .wpopup .inner .content {
  padding: 5px 15px 15px;
}
.wpopup-container .wpopup .inner .content ul li {
  margin-bottom: 15px;
}
.wpopup-container .wpopup .inner .content ul li:last-child {
  margin-bottom: 0;
}
.wpopup-container .wpopup .inner .content ul li input {
  width: 100%;
  box-sizing: border-box;
  border: none;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  font-size: 12px;
}
.wpopup-container .wpopup .inner .content ul li input:focus {
  outline: 0;
  border-color: #fff;
}
.wpopup-container .wpopup .inner .content ul li button {
  width: 100%;
  height: 30px;
  border-radius: 3px;
  border: none;
  background: #fff;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
}
.wpopup-container .wpopup .inner .content p {
  font-size: 13px;
  line-height: 130%;
  margin-bottom: 15px;
}
.wpopup-container .wpopup .inner .content p:last-child {
  margin-bottom: 0;
}
.wpopup-container .wpopup .inner .content .close-btn {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #ddd;
}
.wpopup-container .wpopup .inner .content .close-btn label {
  background: #fff;
  display: block;
  line-height: 30px;
  text-align: center;
  font-size: 13px;
  color: #000;
  border-radius: 3px;
  cursor: pointer;
}
.wpopup-container .wpopup .inner .content .close-btn label:hover {
  background: #fff;
}
.wpopup-container > input {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.wpopup-container > input:checked + .wpopup {
  opacity: 1;
  visibility: visible;
}
.wpopup-container > input:checked + .wpopup .inner {
  top: 50%;
}