* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; }
body { font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif; }

.hydro-login-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hydro-login-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.08) 0%, transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(255,255,255,0.06) 0%, transparent 40%);
  animation: hydroBgFloat 20s ease-in-out infinite;
}
@keyframes hydroBgFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -30px); }
}

.hydro-login-card {
  width: 400px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 40px 36px 30px;
  position: relative;
  z-index: 1;
  animation: hydroCardIn 0.6s ease-out;
}
@keyframes hydroCardIn {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hydro-login-header { text-align: center; margin-bottom: 30px; }
.hydro-logo { display: flex; justify-content: center; margin-bottom: 12px; }
.hydro-logo-icon { filter: drop-shadow(0 4px 8px rgba(13, 71, 161, 0.3)); }
.hydro-login-header h1 {
  font-size: 22px;
  color: #0d47a1;
  font-weight: 600;
  letter-spacing: 1px;
}
.hydro-version {
  font-size: 13px;
  color: #999;
  margin-top: 6px;
}

.hydro-login-form .hydro-form-item { margin-bottom: 22px; position: relative; }
.hydro-input-icon {
  position: absolute;
  left: 12px;
  top: 10px;
  font-size: 18px;
  color: #1565c0;
  z-index: 2;
}
.hydro-input {
  height: 44px;
  padding-left: 40px;
  padding-right: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s;
}
.hydro-input:focus { border-color: #1565c0; box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1); }

.hydro-pwd-toggle {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 18px;
  color: #999;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s;
}
.hydro-pwd-toggle:hover { color: #1565c0; }

.hydro-login-btn {
  height: 44px;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%);
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 4px;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.1s;
}
.hydro-login-btn:hover { opacity: 0.9; }
.hydro-login-btn:active { transform: scale(0.98); }

.hydro-login-footer {
  text-align: center;
  margin-top: 24px;
  color: #bbb;
  font-size: 12px;
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hydro-login-card { width: 500px; padding: 44px 40px 32px; }
}
@media (max-width: 768px) {
  .hydro-login-card {
    width: 90%;
    padding: 30px 24px 24px;
    border-radius: 10px;
  }
  .hydro-login-header h1 { font-size: 18px; }
  .hydro-input { height: 48px; font-size: 16px; }
  .hydro-input-icon { top: 12px; font-size: 20px; }
  .hydro-pwd-toggle { top: 12px; font-size: 20px; }
  .hydro-login-btn { height: 48px; font-size: 17px; }
}