body {
  font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
  background: #fff; /* 白色背景 */
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
form {
  background: #fff; /* 表单白色 */
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(46, 125, 50, 0.12), 0 2px 6px rgba(46, 125, 50, 0.08);
  padding: 38px 28px 28px 28px;
  width: 340px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
form h1 {
  font-size: 1.45rem;
  margin-bottom: 8px;
  text-align: center;
  color: #2e7d32; /* 深绿标题 */
  letter-spacing: 2px;
  font-weight: 700;
}
label {
  display: block;
  margin-bottom: 5px;
  color: #2e7d32;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 1px;
}
input[type='text'],
input[type='tel'],
input[type='password'],
select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  border: 1.2px solid #cfe9d6;
  border-radius: 8px;
  outline: none;
  background: #f6fbf6;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus,
select:focus {
  border-color: #66bb6a;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(102,187,106,0.25);
}
button {
  background: linear-gradient(90deg, #2e7d32 50%, #66bb6a 100%);
  color: #fff;
  padding: 12px 0;
  width: 100%;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.08em;
  letter-spacing: 2px;
  box-shadow: 0 2px 8px rgba(46,125,50,0.22);
  transition: background 0.2s, box-shadow 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #1b5e20 50%, #43a047 100%);
  box-shadow: 0 4px 16px rgba(46,125,50,0.32);
}
button:disabled {
  background: #9e9e9e;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}
p.error {
  color: #d32f2f;
  text-align: center;
  margin-top: 8px;
  font-size: 1em;
}
.login-links {
  text-align: center;
  margin-top: 8px;
}
.login-links a {
  color: #2e7d32;
  text-decoration: none;
  font-size: 0.98em;
  transition: color 0.2s;
}
.login-links a:hover {
  color: #1b5e20;
  text-decoration: underline;
}
@media (max-width: 600px) {
  form {
    padding: 16px 2vw;
    width: 98vw;
    min-width: 0;
    box-shadow: 0 1px 6px rgba(46,125,50,0.20);
  }
  form h1 {
    font-size: 1.08rem;
  }
  input, select, button {
    font-size: 1em;
    padding: 9px 8px;
  }
}