/* 千寻控制面板 - 科技风格登录页面样式 */
:root {
  --primary-color: #0072ff;
  --secondary-color: #00c6ff;
  --dark-color: #111827;
  --light-color: #f9fafb;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  --glow-shadow: 0 0 20px rgba(0, 114, 255, 0.3);
}

body.tech-login {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  font-family: 'Rubik', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  overflow: hidden;
  position: relative;
}

.tech-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.tech-particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.tech-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(24, 36, 51, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 36, 51, 0.4) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 1;
}

.login-container {
  width: 400px;
  position: relative;
  z-index: 10;
}

.tech-logo {
  text-align: center;
  margin-bottom: 30px;
}

.tech-logo h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

.tech-logo p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-top: 5px;
}

.login-card {
  background: rgba(31, 41, 55, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  box-shadow: var(--box-shadow);
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent, 
    rgba(0, 114, 255, 0.1), 
    transparent 30%
  );
  animation: rotate 6s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 18px;
  z-index: 1;
}

.tech-input {
  width: 100%;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-size: 15px;
  padding: 15px 16px 15px 45px;
  transition: all 0.3s ease;
}

.tech-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.2);
}

.tech-btn {
  display: block;
  width: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 15px;
}

.tech-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent
  );
  transition: 0.5s;
}

.tech-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-shadow);
}

.tech-btn:hover::after {
  left: 100%;
}

.tech-btn:active {
  transform: translateY(1px);
}

.alert-tech {
  background: rgba(239, 68, 68, 0.2);
  border-left: 3px solid var(--danger-color);
  color: white;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.alert-tech i {
  margin-right: 10px;
  font-size: 18px;
  color: var(--danger-color);
}

@media (max-width: 480px) {
  .login-container {
    width: 90%;
    max-width: 360px;
  }
  
  .login-card {
    padding: 30px 20px;
  }
} 