﻿* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #f5f5f5;
  color: #333;
  font-family: SimSun, "Songti SC", "Microsoft YaHei", serif;
  font-size: 17px;
}

.topbar {
  height: 117px;
  background: #009900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand h1 {
  margin: 0;
  color: #fff;
  font-size: 36px;
  font-family: SimSun, "Microsoft YaHei", serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
}

.seal {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  object-fit: contain;
}

.page {
  width: 100%;
  padding-top: 30px;
  display: flex;
  justify-content: center;
}

.panel {
  width: 1000px;
  min-height: 604px;
  background: #fff;
  border: 0;
  box-shadow: none;
  padding: 40px;
}

.query-form {
  width: 552px;
  margin: 0 0 0 255px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.form-row {
  min-height: 67px;
  display: grid;
  grid-template-columns: 130px 240px;
  column-gap: 11px;
  align-items: start;
  font-size: 17px;
  font-weight: 700;
}

.form-row > span {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

input {
  width: 240px;
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f9f9f9;
  color: #000;
  outline: none;
  padding: 0 10px;
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: 16px;
  box-shadow: none;
}

input::placeholder {
  color: #a4a4a4;
}

input:focus {
  border-color: #b9d9b9;
  background: #fff;
}

.captcha-row {
  grid-template-columns: 130px 140px 100px;
  column-gap: 11px;
  min-height: 42px;
}

.captcha-row input {
  width: 140px;
}

#captcha {
  width: 100px;
  height: 42px;
  border: 0;
  background: #e8faf5;
  margin-top: 0;
}

.submit-btn {
  width: 200px;
  height: 45px;
  margin: 50px auto 0;
  border: 0;
  border-radius: 6px;
  background: #009900;
  color: #fff;
  font-size: 20px;
  font-family: SimSun, "Microsoft YaHei", serif;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}

.submit-btn:active {
  transform: translateY(1px);
}

.notice {
  width: 920px;
  min-height: 136px;
  margin: 50px auto 0;
  border: 3px solid #00923f;
  border-radius: 4px;
  box-shadow: none;
  color: #000;
  position: relative;
  padding: 38px 18px 14px;
  font-family: SimSun, "Microsoft YaHei", serif;
  line-height: 1.7;
}

.notice-title {
  position: absolute;
  top: 7px;
  left: 15px;
  height: 24px;
  padding: 0;
  background: transparent;
  color: #000;
  border-radius: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
}

.notice ol {
  margin: 0;
  padding-left: 20px;
}

.notice li {
  margin: 0;
  padding-left: 2px;
  font-size: 17px;
}

.footer {
  margin: 30px 0 14px;
  color: #333;
  text-align: center;
  font-family: SimSun, "Microsoft YaHei", serif;
  font-size: 14px;
  line-height: 20px;
}

.footer p {
  margin: 0;
}

.badge {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 2px -5px 10px;
  object-fit: contain;
}

@media (max-width: 1060px) {
  .topbar {
    height: 92px;
    padding: 26px 16px;
  }

  .brand {
    gap: 16px;
  }

  .brand h1 {
    font-size: 28px;
  }

  .seal {
    width: 50px;
    height: 50px;
  }

  .panel {
    width: calc(100vw - 24px);
    height: auto;
    min-height: 560px;
    padding-bottom: 28px;
  }

  .query-form {
    margin: 0 auto;
  }

  .notice {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .brand {
    gap: 12px;
  }

  .brand h1 {
    font-size: 20px;
    line-height: 1.2;
  }

  .query-form {
    width: 100%;
  }

  .form-row,
  .captcha-row {
    grid-template-columns: 1fr;
    row-gap: 6px;
    min-height: auto;
    margin-bottom: 14px;
  }

  .form-row > span {
    justify-content: flex-start;
    height: auto;
  }

  input,
  .captcha-row input {
    width: 100%;
  }

  .captcha-row {
    grid-template-columns: 1fr 100px;
  }

  .captcha-row > span {
    grid-column: 1 / -1;
  }

  #captcha {
    width: 100px;
  }

  .submit-btn {
    margin-top: 20px;
  }

  .notice {
    margin-top: 32px;
    padding: 36px 12px 12px;
  }

  .notice li {
    font-size: 15px;
  }
}
