* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", Arial, sans-serif;
}

body {
  height: 100vh;
  background: url("all.png") no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.background-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  z-index: -1;
}

.wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  padding: 20px;
  z-index: 1;
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  border-top: 4px solid #0052cc;
}

.header {
  text-align: center;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 22px;
  color: #0052cc;
  margin-bottom: 6px;
}

.header p {
  font-size: 13px;
  color: #666;
}

.input-group {
  margin-bottom: 20px;
  position: relative;
}

.input-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: #333;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: 0.3s;
}

.input-group input:focus {
  border-color: #0052cc;
  outline: none;
}

.options {
  margin-bottom: 20px;
  font-size: 13px;
}

.btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #0052cc;
  color: white;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #003d99;
}

.error {
  display: none;
  color: red;
  font-size: 12px;
  margin-top: 5px;
}

.footer {
  margin-top: 30px;
  font-size: 12px;
  text-align: center;
  color: #666;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.providers {
  margin-top: 8px;
  color: #444;
}

.icp {
  margin-top: 8px;
  font-size: 11px;
  color: #999;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

.shake {
  animation: shake 0.3s;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 36px;
  cursor: pointer;
  font-size: 12px;
  color: #555;
}
