body {
  font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
  background: linear-gradient(120deg, #e3f0ff 0%, #f8f9fa 60%, #e0e7ef 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
form {
  background: rgba(255,255,255,0.98);
  border-radius: 16px;
  box-shadow: 0 6px 32px 0 rgba(25, 118, 210, 0.10), 0 1.5px 6px #e3f0ff;
  padding: 38px 28px 28px 28px;
  width: 340px;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  text-align: center;
  color: #1976d2;
  letter-spacing: 2px;
  font-weight: 700;
}
h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-align: center;
    color: #1976d2;
    letter-spacing: 2px;
    font-weight: 700;
  }
  
.login-slogan {
  text-align: center;
  font-size: 1.08em;
  font-weight: 500;
  color: #1976d2;
  margin-bottom: 10px;
  line-height: 1.6;
  letter-spacing: 1.2px;
  background: linear-gradient(90deg, #1976d2 60%, #64b5f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}
.login-slogan span[style*='color'] {
  font-weight: 700;
  letter-spacing: 1.5px;
}
input[type='text'],
input[type='tel'],
input[type='password'] {
  font-size: 1.08em;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.2px solid #e3eaf2;
  outline: none;
  background: #f8faff;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus {
  border-color: #1976d2;
  background: #fff;
  box-shadow: 0 0 0 2px #e3f0ff;
}
button {
  background: linear-gradient(90deg, #1976d2 60%, #64b5f6 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 #e3f0ff;
  transition: background 0.2s, box-shadow 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #1565c0 60%, #42a5f5 100%);
  box-shadow: 0 4px 16px #b6d0fa;
}
.login-links {
  text-align: center;
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.login-links a {
  color: #1976d2;
  text-decoration: none;
  font-size: 0.98em;
  transition: color 0.2s;
}
.login-links a:hover {
  color: #0d47a1;
  text-decoration: underline;
}
p.error {
  color: #d32f2f;
  text-align: center;
  margin-top: 8px;
  font-size: 1em;
}
p.success {
  color: #388e3c;
  text-align: center;
  margin-top: 8px;
  font-size: 1em;
}
@media (max-width: 600px) {
  form {
    padding: 16px 2vw;
    width: 98vw;
    min-width: 0;
    box-shadow: 0 1px 6px #e0e7ef;
  }
  h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  text-align: center;
  color: #1976d2;
  letter-spacing: 2px;
  font-weight: 700;
  }
  h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    text-align: center;
    color: #1976d2;
    letter-spacing: 2px;
    font-weight: 700;
  }
  .login-slogan {
    font-size: 0.98em;
    margin-bottom: 6px;
  }
  input, button {
    font-size: 1em;
    padding: 9px 8px;
  }
}