@charset "UTF-8";

/* 现代化登录页面样式 */
* {
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  overflow: hidden;
}

/* 现代化登录容器 */
.modern-login-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
}

/* 背景装饰 */
.bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 120px;
  height: 120px;
  top: 70%;
  right: 10%;
  animation-delay: 2s;
}

.circle-3 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 20%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* 登录卡片 */
.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 登录头部 */
.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.logo-icon i {
  font-size: 36px;
  color: white;
}

.app-title {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.app-subtitle {
  font-size: 16px;
  color: #718096;
  margin: 0;
  font-weight: 400;
}

/* 表单样式 */
.login-form {
  width: 100%;
}

.form-group {
  margin-bottom: 24px;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #a0aec0;
  z-index: 2;
  transition: color 0.3s ease;
}

.modern-input {
  width: 100%;
  height: 56px;
  padding: 0 16px 0 50px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  color: #2d3748;
  background: #ffffff;
  transition: all 0.3s ease;
  outline: none;
}

.modern-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modern-input:focus + .input-border {
  transform: scaleX(1);
}

.modern-input:focus ~ .input-icon {
  color: #667eea;
}

.input-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 0 0 12px 12px;
}

/* 验证码组 */
.verify-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.verify-input {
  flex: 1;
}

.captcha-wrapper {
  width: 120px;
  height: 56px;
}

.captcha-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  cursor: pointer;
  object-fit: cover;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.captcha-img:hover {
  border-color: #667eea;
  transform: scale(1.02);
}

/* 现代化按钮 */
.modern-btn {
  width: 100%;
  height: 56px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modern-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.modern-btn:active {
  transform: translateY(0);
}

.btn-text {
  transition: opacity 0.3s ease;
}

.btn-loader {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-btn.loading .btn-text {
  opacity: 0;
}

.modern-btn.loading .btn-loader {
  opacity: 1;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* 现代化页脚 */
.modern-footer {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  color: rgba(255, 255, 255, 0.8);
}

.browser-tip {
  margin: 0 0 10px 0;
  font-size: 14px;
}

.browser-tip a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.browser-tip a:hover {
  color: white;
}

.footer-links {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.separator {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .modern-login-container {
    padding: 15px;
  }
  
  .login-card {
    padding: 30px 20px;
    max-width: 100%;
    border-radius: 16px;
  }
  
  .logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
  }
  
  .logo-icon i {
    font-size: 28px;
  }
  
  .app-title {
    font-size: 24px;
  }
  
  .app-subtitle {
    font-size: 14px;
  }
  
  .modern-input {
    height: 50px;
    font-size: 15px;
  }
  
  .modern-btn {
    height: 50px;
    font-size: 15px;
  }
  
  .verify-group {
    flex-direction: column;
    gap: 16px;
  }
  
  .captcha-wrapper {
    width: 100%;
    height: 50px;
  }
  
  .modern-footer {
    bottom: 15px;
  }
  
  .circle-1, .circle-2, .circle-3 {
    display: none;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 25px 15px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .modern-footer {
    position: relative;
    bottom: auto;
    margin-top: 30px;
    transform: none;
    left: auto;
  }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .login-card {
    background: rgba(26, 32, 44, 0.95);
    color: #e2e8f0;
  }
  
  .app-title {
    color: #e2e8f0;
  }
  
  .app-subtitle {
    color: #a0aec0;
  }
  
  .modern-input {
    background: rgba(45, 55, 72, 0.8);
    border-color: #4a5568;
    color: #e2e8f0;
  }
  
  .modern-input:focus {
    border-color: #667eea;
    background: rgba(45, 55, 72, 0.9);
  }
  
  .captcha-img {
    border-color: #4a5568;
  }
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .circle {
    animation: none;
  }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
  .login-card {
    border: 2px solid #000;
  }
  
  .modern-input {
    border-width: 3px;
  }
  
  .modern-btn {
    border: 2px solid #000;
  }
}

/*# sourceMappingURL=login.css.map */