/* 弹出框样式 */
.modal {
  display: none; /* 默认隐藏 */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  font-size: 14px;
  color: #030303;
  background-color: rgba(0, 0, 0, 0.4); /* 半透明背景 */
}
.modal input {
  color: #666;
}

.modal ::input-placeholder {
  color: #ccc;
}

.modal input::-webkit-input-placeholder {
  color: #ccc;
}

.modal-content {
  width: 500px;
  height: 450px;
  background-color: #fefefe;
  margin: 10% auto 0% auto;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
}
.modal-content-alert {
  width: 380px;
  height: 120px;
  background-color: #fefefe;
  margin: 10% auto 0% auto;
  padding: 20px 20px 30px 20px;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 25px;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -12px;
  color: #a6a6a6;
}

.close:hover,
.close:focus {
  color: #a6a6a6;
  text-decoration: none;
  cursor: pointer;
}

.modal-label {
  width: 90px;
  display: inline-block;
}

.modal-title {
  font-size: 18px;
  margin-top: -15px;
}

.modal input {
  outline-style: none;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 6px 14px;
  width: 270px;
  font-size: 14px;
  font-weight: 700;
  font-family: "Microsoft soft";
  height: 26px;
}
.modal-form {
  margin: 50px 50px;
  opacity: 0.7;
}
#alertModal .modal-form {
  margin: 30px 40px;
  opacity: 0.7;
}
.modal-form .code {
  cursor: pointer;
  padding: 11px 10px;
  width: 108px;
  background: linear-gradient(135deg, #00e0b0, #006ffe);
  color: #fff;
  border-radius: 3px;
  float: right;
  margin-right: 6px;
  text-align: center;
  font-size: 13px;
}

.modal-form .code:hover {
  color: #fff;
  background-color: #006fff;
}

.modal-form .submit {
  text-align: center;
  width: 280px;
  cursor: pointer;
  padding: 11px 10px;
  background: linear-gradient(135deg, #00e0b0, #006ffe);
  color: #fff;
  border-radius: 3px;
  float: right;
  margin-right: 6px;
}

.modal-form-message {
  color: #f56c6c; 
  padding-left: 95px;
  margin-bottom: 10px;
  display: inline-block;
  font-size: 12px;
}

#loadingModal .modal-content-alert {
  width: 40px;
  height: 40px;
  background-color: initial;
  margin: 20% auto 0% auto;
  padding: 0px;
  border-radius: 0px;
  box-shadow: none;
}

/* 自适应样式 */
@media only screen and (max-width: 600px) {
  .modal-content {
    width: auto !important;
    max-width: 80%;
  }
}
