#contact .yb-callback-form {
  box-sizing: border-box;
  width: 100%;
  max-width: 560px;
  min-width: 0;
  margin: 18px 0 0;
  text-align: left;
}

#contact .yb-callback-form .yb-callback-intro {
  margin: 0 0 17px;
  color: #fffaf0 !important;
  font: 500 19px/1.6 "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
}

#contact .yb-callback-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

#contact .yb-callback-form label {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 5px;
  color: #f8f4e9;
  font: 500 16px/1.5 "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

#contact .yb-callback-form input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid #acbca9;
  border-radius: 6px;
  background: #fffcf4;
  color: #183f30;
  font: 400 16px/1.45 "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

#contact .yb-callback-form button {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 48px;
  margin: 0;
  padding: 9px 19px;
  border: 1px solid #edf4e7;
  border-radius: 6px;
  background: #edf4e7;
  color: #183f30;
  font: 650 16px/1.5 "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  cursor: pointer;
}

#contact .yb-callback-form fieldset[disabled] button {
  opacity: .72;
  cursor: default;
}

#contact .yb-callback-form :is(input, button):focus-visible {
  outline: 3px solid #dfbb75 !important;
  outline-offset: 3px;
}

#contact .yb-callback-form .yb-callback-purpose,
#contact .yb-callback-form .yb-callback-status {
  margin: 12px 0 0;
  color: #e4e9dd !important;
  font: 400 14px/1.6 "Noto Sans TC", "Microsoft JhengHei", sans-serif !important;
}

#contact .yb-callback-form .yb-callback-status:empty {
  margin: 0;
}

#contact .yb-callback-form .yb-callback-status[data-state="error"] {
  color: #ffe2b1 !important;
}

#contact .yb-callback-form .yb-callback-status[data-state="accepted"] {
  color: #f3ffe8 !important;
}

@media (max-width: 680px) {
  #contact .yb-callback-form fieldset {
    grid-template-columns: minmax(0, 1fr);
  }

  #contact .yb-callback-form button {
    justify-self: stretch;
  }
}
