body {
  background-color: #34495e;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.page-login {
  width: 100%;
  max-width: 420px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-header {
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

.logo-placeholder {
  width: 80px;
  height: 80px;
  background-color: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #9ca3af;
  font-weight: bold;
  font-size: 16px;
  letter-spacing: 1px;
}

.welcome-text {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.sub-text {
  font-size: 14px;
  opacity: 0.8;
  font-weight: 300;
}

.login-card {
  width: 100%;
  background: #fff;
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.field {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 8px;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  transition: all 0.2s;
}

.input-group:focus-within {
  border-color: #34495e;
  box-shadow: 0 0 0 2px rgba(52, 73, 94, 0.1);
}

.input-icon-wrapper {
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #f3f4f6;
  height: 44px;
  background: #f9fafb;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.input-icon {
  width: 20px;
  height: 20px;
  color: #9ca3af;
}

.input-field {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 12px;
  height: 44px;
  font-size: 14px;
  color: #374151;
  background: transparent;
}

/* 隐藏浏览器默认的密码查看/清除按钮 */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
  display: none;
}
input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.toggle-password {
  padding: 0 12px;
  height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.2s;
}

.toggle-password:hover {
  color: #4b5563;
}

.btn-submit {
  width: 100%;
  background-color: #34495e;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  transition: background-color 0.2s;
}

.btn-submit:hover {
  background-color: #2c3e50;
}

.error {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 15px;
  padding: 8px;
  background: #fef2f2;
  border-radius: 4px;
  text-align: center;
}

.footer-text {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 30px;
  opacity: 0.6;
}
