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

body.van100-form-page {
  margin: 0;
  background: #8ec0e2 url("images/bg_2.gif") repeat-x top center;
  color: #163044;
  font-family: Arial, "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 14px;
}

.form-shell {
  width: min(960px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 36px;
}

.form-header {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid #5a9cc2;
  border-radius: 8px;
}

.form-header img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  flex: 0 0 auto;
}

.form-header h1 {
  margin: 0 0 8px;
  color: #004e8b;
  font-size: 26px;
  line-height: 1.25;
}

.form-header p {
  margin: 3px 0;
  color: #203745;
  line-height: 1.5;
}

.form-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.form-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #2d78a5;
  border-radius: 6px;
  background: #ffffff;
  color: #004e8b;
  font-weight: 700;
  text-decoration: none;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 16px;
}

.form-card {
  background: #ffffff;
  border: 1px solid #5a9cc2;
  border-radius: 8px;
  padding: 18px;
}

.form-card h2,
.form-card h3 {
  margin: 0 0 12px;
  color: #004e8b;
  line-height: 1.3;
}

.form-card h2 {
  font-size: 22px;
}

.form-card h3 {
  font-size: 17px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 0 12px;
}

.form-field label,
.field-label {
  color: #17374a;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #8fb6ce;
  border-radius: 5px;
  padding: 9px 10px;
  color: #122d3f;
  font: inherit;
  background: #ffffff;
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.choice-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 4px 0 12px;
}

.choice-list label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid #c6d9e5;
  border-radius: 5px;
  background: #f5fbff;
}

.quote-box {
  background: #f5fbff;
  border: 1px solid #b8d6e8;
  border-radius: 8px;
  padding: 14px;
}

.quote-price {
  margin: 4px 0 6px;
  color: #004e8b;
  font-size: 30px;
  font-weight: 800;
}

.quote-note,
.helper-text {
  color: #526979;
  font-size: 13px;
  line-height: 1.5;
}

.submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.primary-button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  padding: 0 18px;
  background: #006eaa;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  min-height: 20px;
  color: #0a5f27;
  font-weight: 700;
}

.form-status.is-error {
  color: #a32323;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.8;
}

.contact-list a {
  color: #004e8b;
}

@media (max-width: 760px) {
  .form-header {
    align-items: flex-start;
  }

  .form-header h1 {
    font-size: 22px;
  }

  .form-grid,
  .form-row,
  .choice-list {
    grid-template-columns: 1fr;
  }

  .form-header img {
    width: 72px;
    height: 72px;
  }
}
