/* pages/login/login.wxss */
.container {
  min-height: 100vh;
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 背景装饰 */
.bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 220rpx;
  height: 220rpx;
  top: 8%;
  left: 8%;
  animation-delay: 0s;
}

.circle-2 {
  width: 170rpx;
  height: 170rpx;
  top: 65%;
  right: 12%;
  animation-delay: 2s;
}

.circle-3 {
  width: 120rpx;
  height: 120rpx;
  top: 25%;
  right: 25%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.6;
  }
  50% { 
    transform: translateY(-25px) rotate(180deg); 
    opacity: 0.8;
  }
}

/* 登录表单 */
.login-form {
  width: 640rpx;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 25rpx;
  padding: 70rpx 45rpx;
  box-shadow: 0 25rpx 50rpx rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(15px);
  border: 1rpx solid rgba(255, 255, 255, 0.2);
}

/* 头部区域 */
.header-section {
  text-align: center;
  margin-bottom: 70rpx;
}

.logo {
  margin-bottom: 35rpx;
}

.logo-img {
  width: 140rpx;
  height: 140rpx;
  border-radius: 70rpx;
  box-shadow: 0 8rpx 20rpx rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 52rpx;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 15rpx;
  text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.05);
}

.subtitle {
  font-size: 30rpx;
  color: #5a6c7d;
  font-weight: 500;
}

/* 输入框区域 */
.input-section {
  margin-bottom: 50rpx;
}

.input-group {
  position: relative;
  margin-bottom: 35rpx;
  background: linear-gradient(145deg, #f8f9fa, #ffffff);
  border-radius: 18rpx;
  border: 2rpx solid rgba(76, 175, 80, 0.1);
  display: flex;
  align-items: center;
  padding: 0 25rpx;
  transition: all 0.3s ease;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
}

.input-group:focus-within {
  border-color: #4CAF50;
  background: #ffffff;
  box-shadow: 0 8rpx 25rpx rgba(76, 175, 80, 0.15);
  transform: translateY(-2rpx);
}

.input-icon {
  font-size: 36rpx;
  margin-right: 25rpx;
  color: #4CAF50;
  text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.1);
}

.input-field {
  flex: 1;
  height: 96rpx;
  font-size: 34rpx;
  color: #2c3e50;
  background: transparent;
  border: none;
  font-weight: 500;
}

.input-field::placeholder {
  color: #95a5a6;
  font-weight: 400;
}

.password-toggle {
  padding: 12rpx;
  font-size: 36rpx;
  color: #4CAF50;
  transition: all 0.3s ease;
}

.password-toggle:active {
  transform: scale(0.9);
}

/* 按钮区域 */
.button-section {
  margin-bottom: 50rpx;
}

.login-btn {
  width: 100%;
  height: 96rpx;
  border-radius: 18rpx;
  font-size: 36rpx;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.login-btn.active {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  box-shadow: 0 8rpx 20rpx rgba(76, 175, 80, 0.3);
}

.login-btn.active:active {
  transform: translateY(3rpx);
  box-shadow: 0 4rpx 12rpx rgba(76, 175, 80, 0.4);
}

.login-btn.active:active::before {
  left: 100%;
}

.login-btn.disabled {
  background: linear-gradient(145deg, #e9ecef, #f8f9fa);
  color: #95a5a6;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
}

/* 选项区域 */
.options-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50rpx;
}

.remember-section {
  display: flex;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  font-size: 30rpx;
  color: #5a6c7d;
  font-weight: 500;
}

.checkbox-text {
  margin-left: 12rpx;
}

.forgot-password {
  font-size: 30rpx;
  color: #4CAF50;
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.3s ease;
}

.forgot-password:active {
  color: #45a049;
  transform: scale(0.95);
}

/* 版本信息 */
.version-info {
  text-align: center;
}

.version-text {
  font-size: 26rpx;
  color: #95a5a6;
  font-weight: 400;
}