* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-container {
  width: 100%;
  max-width: 400px;
}

.login-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 36px 28px;
  text-align: center;
}

.logo {
  font-size: 48px;
  margin-bottom: 12px;
}

h1 {
  font-size: 22px;
  color: #1b5e20;
  margin-bottom: 6px;
}

.subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 28px;
}

.form-group {
  text-align: left;
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: #2e7d32;
}

.hint {
  background: #fff8e1;
  color: #6c4b00;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  text-align: left;
  margin-bottom: 18px;
  line-height: 1.5;
}

button[type="submit"] {
  width: 100%;
  padding: 14px;
  background: #2e7d32;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: #1b5e20;
}

button[type="submit"]:disabled {
  background: #9e9e9e;
  cursor: not-allowed;
}

.message {
  margin-top: 16px;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.message.error {
  display: block;
  background: #ffebee;
  color: #c62828;
}

.message.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
}

.security-notes {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  text-align: left;
}

.security-notes p {
  font-size: 13px;
  color: #555;
  margin: 6px 0;
}
