﻿:root {
  color-scheme: light;
  --leaf: #35a36a;
  --leaf-deep: #16784e;
  --mint: #dff4e7;
  --sky: #e8f4ff;
  --sun: #ffc857;
  --coral: #ff7a66;
  --ink: #20342b;
  --muted: #6b7b73;
  --line: #dbe5df;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  background: #f4f8f6;
  color: var(--ink);
}

a {
  color: var(--leaf-deep);
  text-decoration: none;
}

.login-page {
  height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 52%) minmax(360px, 48%);
}

.brand-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 56px;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 200, 87, 0.34), transparent 23%),
    linear-gradient(135deg, #edf9f2 0%, #d9f0e6 44%, #e8f4ff 100%);
}

.brand-panel::before,
.brand-panel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.brand-panel::before {
  width: 230px;
  height: 230px;
  left: -72px;
  bottom: 12%;
}

.brand-panel::after {
  width: 150px;
  height: 150px;
  right: 9%;
  top: 14%;
}

.brand-content {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
}

.brand-mark {
  position: relative;
  height: 390px;
  margin-bottom: 36px;
}

.sun {
  position: absolute;
  top: 32px;
  right: 78px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 20px 50px rgba(255, 200, 87, 0.42);
}

.tree {
  position: absolute;
  left: 50%;
  bottom: 56px;
  width: 280px;
  height: 280px;
  transform: translateX(-50%);
}

.leaf {
  position: absolute;
  display: block;
  border-radius: 54% 46% 52% 48%;
  background: var(--leaf);
  box-shadow: 0 18px 36px rgba(37, 132, 83, 0.2);
}

.leaf-a {
  width: 132px;
  height: 104px;
  left: 74px;
  top: 8px;
  background: #4fbd75;
}

.leaf-b {
  width: 118px;
  height: 100px;
  left: 20px;
  top: 82px;
  background: #2f9f68;
  transform: rotate(-18deg);
}

.leaf-c {
  width: 126px;
  height: 104px;
  right: 18px;
  top: 84px;
  background: #62c789;
  transform: rotate(14deg);
}

.leaf-d {
  width: 106px;
  height: 92px;
  left: 74px;
  top: 126px;
  background: #1f8a5a;
}

.leaf-e {
  width: 94px;
  height: 80px;
  left: 140px;
  top: 142px;
  background: #7bcf8d;
}

.trunk {
  position: absolute;
  left: 126px;
  top: 170px;
  width: 42px;
  height: 96px;
  border-radius: 22px 22px 10px 10px;
  background: #9b6a42;
  box-shadow: inset 12px 0 0 rgba(255, 255, 255, 0.12);
}

.smile {
  position: absolute;
  left: 112px;
  top: 104px;
  width: 62px;
  height: 34px;
  border-bottom: 5px solid rgba(255, 255, 255, 0.9);
  border-radius: 0 0 80px 80px;
}

.ground {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: min(420px, 90%);
  height: 34px;
  border-radius: 50%;
  background: rgba(40, 132, 82, 0.16);
  transform: translateX(-50%);
}

.brand-copy {
  max-width: 480px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--leaf-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-copy h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1;
  letter-spacing: 0;
}

.slogan {
  margin: 20px 0 0;
  max-width: 430px;
  color: #3f5f51;
  font-size: 22px;
  line-height: 1.65;
}

.form-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 48px 82px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(244, 248, 246, 0.95)),
    var(--white);
}

.login-card {
  width: min(420px, 100%);
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(28, 62, 43, 0.12);
}

.form-head {
  margin-bottom: 28px;
}

.form-head h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
}

.form-head p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.field {
  display: block;
  margin-top: 20px;
}

.field span {
  display: block;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(53, 163, 106, 0.14);
}

.field input::placeholder {
  color: #9aa8a1;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0 26px;
  font-size: 14px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--leaf);
}

.submit-button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--leaf-deep), var(--leaf));
  color: var(--white);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(22, 120, 78, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(22, 120, 78, 0.28);
}

.submit-button:active {
  transform: translateY(0);
}

@media (max-width: 820px) {
  .login-page {
    grid-template-columns: 1fr;
  }

  .brand-panel {
    min-height: 46vh;
    padding: 36px 24px;
  }

  .brand-mark {
    height: 250px;
    margin-bottom: 20px;
  }

  .tree {
    bottom: 34px;
    transform: translateX(-50%) scale(0.72);
    transform-origin: bottom center;
  }

  .ground {
    bottom: 28px;
  }

  .sun {
    top: 20px;
    right: 14%;
    width: 58px;
    height: 58px;
  }

  .brand-copy h1 {
    font-size: 44px;
  }

  .slogan {
    font-size: 18px;
  }

  .form-panel {
    padding: 30px 20px 42px;
  }

  .login-card {
    padding: 28px 22px;
  }
}

@media (max-width: 420px) {
  .brand-panel {
    min-height: 42vh;
  }

  .brand-mark {
    height: 210px;
  }

  .tree {
    transform: translateX(-50%) scale(0.6);
  }

  .form-options {
    align-items: flex-start;
    flex-direction: column;
  }
}
.site-footer {
  position: absolute;
  right: 48px;
  bottom: 24px;
  left: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.site-footer a {
  color: var(--leaf-deep);
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 820px) {
  body {
    overflow: auto;
  }

  .site-footer {
    position: static;
    margin-top: 24px;
  }
}
