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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
}

.login-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.login-card {
  width: 380px;
  padding: 40px 36px 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  text-align: center;
}

.logo-area {
  margin-bottom: 32px;
}

.logo-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
}

.logo-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 4px;
}

.login-form {
  text-align: left;
}

.input-group {
  margin-bottom: 16px;
}

.input-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color 0.2s;
}

.input-group input::placeholder {
  color: #bfbfbf;
}

.input-group input:focus {
  border-color: #c9951a;
  box-shadow: 0 0 0 2px rgba(201, 149, 26, 0.1);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #c9951a;
}

.forgot-link {
  color: #999;
  text-decoration: none;
  font-size: 13px;
}

.forgot-link:hover {
  color: #c9951a;
}

.login-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #c9951a;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.login-btn:hover {
  background: #b8860b;
}

.login-btn:disabled {
  background: #d9d9d9;
  cursor: not-allowed;
}

.register-link {
  margin-top: 20px;
  font-size: 13px;
  color: #999;
}

.register-link a {
  color: #c9951a;
  text-decoration: none;
}

.register-link a:hover {
  text-decoration: underline;
}

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

.message.success {
  display: block;
  color: #389e0d;
  background: #f6ffed;
  border: 1px solid #b7eb8f;
}

.message.error {
  display: block;
  color: #cf1322;
  background: #fff1f0;
  border: 1px solid #ffa39e;
}
