@charset "UTF-8";

/* 原有的CSS样式保持不变 */
.gradient-bg {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.card-shadow {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.input-focus:focus {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.transition-all {
  transition: all 0.3s ease;
}

.error {
  color: #e53e3e;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
}

.success {
  color: #38a169;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
}

.validation-icon {
  margin-right: 0.5rem;
}

.input-error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.3);
}

.input-success {
  border-color: #38a169;
  box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.3);
}

.password-strength {
  height: 5px;
  margin-top: 0.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.strength-weak {
  background-color: #e53e3e;
  width: 33%;
}

.strength-medium {
  background-color: #d69e2e;
  width: 66%;
}

.strength-strong {
  background-color: #38a169;
  width: 100%;
}

.tooltip {
  position: relative;
  display: inline-block;
  margin-left: 5px;
  color: #a0aec0;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 200px;
  background-color: #4a5568;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.alert-success {
  background-color: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #2f855a;
}

.alert-error {
  background-color: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
}

.alert-icon {
  margin-right: 12px;
  font-size: 20px;
}

.redirect-info {
  background-color: #ebf8ff;
  border: 1px solid #90cdf4;
  color: #2b6cb0;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
}

.redirect-countdown {
  font-weight: bold;
  color: #2b6cb0;
  margin: 0 5px;
}