/* ================================
   登录页样式
   ================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  background: linear-gradient(135deg, #050b18 0%, #0a1628 30%, #0f2140 60%, #132d5e 100%);
  position: relative;
  overflow: hidden;
}

/* 背景装饰 */
.login-bg-decor {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--white);
}

.login-bg-decor:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
}

.login-bg-decor:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
}

.login-bg-decor:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 30%;
}

.login-container {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* 左侧品牌区域 */
.login-brand {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.login-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.login-brand-logo-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-brand-logo-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.login-brand-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.login-brand h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

.login-brand p {
  font-size: 16px;
  opacity: 0.8;
  max-width: 480px;
  line-height: 1.6;
}

/* 右侧登录表单区域 */
.login-form-wrapper {
  width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.login-form {
  width: 100%;
  max-width: 360px;
}

.login-form h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.login-form .login-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.login-form .form-group {
  margin-bottom: 20px;
  display: block;
}

.login-form .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 6px;
}

.login-form .form-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  transition: var(--transition);
  outline: none;
}

.login-form .form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.25);
}

.login-form .form-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.login-form textarea.form-input {
  font-family: inherit;
  line-height: 1.5;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--primary);
}

.form-forgot {
  font-size: 13px;
  color: #81a6ff;
  cursor: pointer;
}

.form-forgot:hover {
  color: var(--primary);
}

.login-btn {
  width: 100%;
  padding: 13px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition);
}

.login-btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(41, 121, 255, 0.4);
}

.login-btn:active {
  transform: scale(0.98);
}

.login-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* 响应式 */
@media (max-width: 900px) {
  .login-brand {
    display: none;
  }

  .login-form-wrapper {
    width: 100%;
    flex: 1;
  }
}
