* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #FAF9F7;
  color: #1C1C1C;
  font-family: "Noto Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  opacity: .7;
  cursor: wait;
}

.signup-shell {
  min-height: 100vh;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-card {
  width: min(400px, 100%);
  border: 0.5px solid #E8E4DF;
  border-radius: 10px;
  padding: 28px 22px;
  background: #FFFFFF;
  box-shadow: 0 18px 44px rgba(28, 28, 28, .07);
}

.brand {
  margin-bottom: 24px;
}

.brand-logo {
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  color: #1C1C1C;
}

.brand-logo span {
  color: #C8392B;
}

.brand p {
  margin: 8px 0 0;
  color: #5A5A5A;
  font-size: 13px;
}

.signup-head {
  margin-bottom: 20px;
}

.signup-head h1 {
  margin: 0;
  color: #1C1C1C;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
}

.signup-head p {
  margin: 8px 0 0;
  color: #5A5A5A;
  font-size: 14px;
  line-height: 1.6;
}

.signup-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  color: #5A5A5A;
  font-size: 13px;
  font-weight: 700;
}

.field input {
  width: 100%;
  border: 1px solid #E8E4DF;
  border-radius: 6px;
  padding: 12px 12px;
  background: #FFFFFF;
  color: #1C1C1C;
  outline: none;
  font-size: 15px;
}

.field input:focus {
  border-color: #C8392B;
  box-shadow: 0 0 0 3px rgba(200, 57, 43, .10);
}

.primary-btn {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 13px 16px;
  color: #FFFFFF;
  background: #C8392B;
  font-size: 15px;
  font-weight: 700;
}

.primary-btn:hover {
  background: #A93227;
}

.disclaimer {
  margin: -2px 0 0;
  color: #8A827B;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.error-box {
  margin-top: 14px;
  border: 0.5px solid rgba(200, 57, 43, .25);
  border-radius: 8px;
  padding: 11px 12px;
  background: #FBF0EF;
  color: #C8392B;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.login-link {
  margin: 18px 0 0;
  color: #5A5A5A;
  font-size: 14px;
  text-align: center;
}

.login-link a {
  color: #C8392B;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 520px) {
  .signup-card {
    padding: 32px;
  }
}
