#dialog, #dialog1 {
  display: none;
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: #3333337c;
  z-index: 100;
}

.dialog-content {
  background-color: #fff;
  width: 600px;
  height: 550px;
  margin: 0 auto;
  margin-top: 15vh;
  display: flex;
  flex-direction: column;
}

.dialog-main {
  flex: 1;
  padding: 20px;
  overflow: auto;
}

.dialog-header,
.dialog-footer {
  flex-shrink: 0;
  flex-grow: 0;
  height: 50px;
  border: 1px solid #ccc;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.close {
  cursor: pointer;
}

.close>img {
  width: 25px;
  height: 25px;
}

.dialog-footer {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.dialog-btn {
  display: inline-block;
  padding: 5px 15px;
  color: #409eff;
  border-radius: 5px;
  border: 1px solid #a0cfff;
  background-color: #ecf5ff;
  font-size: 14px;
  cursor: pointer;
}

.dialog-btn:hover {
  color: #fff;
  background-color: #409eff;
}

.submiting{
  padding: 5px 15px;
  border-radius: 5px;
  color: #a0cfff;
  border-radius: 5px;
  border: 1px solid #a0cfff;
  width: 200px;
  margin: 0 auto;
  background-color: #ecf5ff;;
  font-size: 14px;
  cursor: not-allowed;
  display: none;
}

.dialog-main>p {
  font-size: 18px;
  line-height: 30px;
}

.dialog-main>p>a {
  display: inline;
  color: blue;
  text-decoration-style: solid;
  text-decoration-line: underline;
}

.form-item {
  display: flex;
  margin: 20px 0;
  align-items: center;
}

.form-label {
  text-align: end;
  margin-right: 10px;
  width: 120px;
}

.form-item>.input {
  border: 1px solid #ccc;
  padding: 10px 20px;
  border-radius: 5px;
  width: 70%;
}

.form-item>.input:focus {
  border: 1px solid #409eff;
}

@media screen and (max-width: 1200px) {
  .dialog-content {
    background-color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 0;
  }
  .form-submit {
    text-align: center;
    margin-top: 100px;
  }
}