:root {
  --green: #8cc63f;
  --green-dark: #66a514;
  --green-soft: #eef8e5;
  --text: #2e3135;
  --muted: #74777c;
  --line: #dde1e6;
  --panel: rgba(255, 255, 255, .88);
  --shadow: 0 24px 70px rgba(37, 48, 58, .16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 20%, rgba(140, 198, 63, .18), transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(140, 198, 63, .16), transparent 28%),
    linear-gradient(135deg, #f7faf6 0%, #ffffff 48%, #f1f8ea 100%);
}

.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(380px, 560px);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  padding: clamp(24px, 5vw, 70px);
  overflow: hidden;
}

.visual {
  position: relative;
  min-height: 680px;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.25), rgba(255,255,255,.85)),
    linear-gradient(135deg, #edf5e6, #ffffff);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual::before {
  content: "";
  position: absolute;
  inset: 0 43% 0 0;
  background:
    linear-gradient(rgba(255,255,255,.62), rgba(255,255,255,.18)),
    radial-gradient(circle at 80% 30%, rgba(121, 178, 36, .45), transparent 25%),
    linear-gradient(135deg, #dbead0, #fbfaf5 60%);
}

.window {
  position: absolute;
  left: 10%; top: 9%;
  width: 230px; height: 310px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
  border: 12px solid rgba(255,255,255,.9);
  border-radius: 8px;
  background: rgba(255,255,255,.45);
  box-shadow: 0 16px 40px rgba(91, 108, 78, .18);
}
.window span { background: linear-gradient(160deg, #ffffff, #d8efc0); border-radius: 4px; }

.plant {
  position: absolute;
  border-radius: 50% 50% 45% 45%;
  background: linear-gradient(135deg, #7fb836, #d4edbd);
  filter: blur(.2px);
  opacity: .9;
}
.plant-left { left: 10%; bottom: 32%; width: 90px; height: 130px; transform: rotate(-20deg); }
.plant-right { left: 25%; bottom: 42%; width: 70px; height: 105px; transform: rotate(25deg); }

.clipboard {
  position: absolute;
  left: 9%; bottom: 8%;
  width: min(340px, 55%);
  padding: 62px 38px 34px;
  border-radius: 10px;
  background: rgba(255,255,255,.92);
  transform: rotate(-4deg);
  box-shadow: 0 22px 50px rgba(54, 60, 65, .22);
}
.clipboard::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid #e9ecef;
  border-radius: 4px;
}
.clip { position: absolute; top: 22px; left: 50%; width: 110px; height: 34px; transform: translateX(-50%); border: 5px solid #6d7379; border-bottom: 0; border-radius: 12px 12px 0 0; }
.clipboard h2 { position: relative; margin: 0 0 18px; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; }
.clipboard ul { position: relative; margin: 0; padding: 0; list-style: none; color: #656a70; }
.clipboard li { margin: 12px 0; padding-left: 32px; }
.clipboard li::before { content: "✓"; position: absolute; margin-left: -32px; color: var(--green-dark); font-weight: 800; }

.login-panel { position: relative; z-index: 1; }
.login-panel::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(140, 198, 63, .13);
  z-index: -1;
}

.login-card {
  width: min(100%, 520px);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(221, 225, 230, .9);
  border-radius: 24px;
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.logo { display: block; width: min(100%, 360px); height: auto; margin: 0 0 48px; }
h1 { margin: 0 0 8px; font-size: clamp(28px, 3vw, 36px); line-height: 1.12; }
p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
header { margin-bottom: 34px; }

.field-group { margin-bottom: 22px; }
label { display: block; margin-bottom: 9px; font-weight: 700; font-size: 15px; }
.input-wrap { position: relative; }
.input-wrap input {
  width: 100%;
  height: 60px;
  padding: 0 18px 0 64px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.9);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.input-wrap input:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(140, 198, 63, .18);
}
.input-wrap input::placeholder { color: #a0a4aa; }
.icon {
  position: absolute;
  left: 14px; top: 50%;
  width: 36px; height: 36px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--green-soft);
}
.icon svg { width: 20px; height: 20px; fill: none; stroke: var(--green-dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.options {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 10px 0 30px;
  font-size: 15px;
}
.remember { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 400; color: #555b61; }
.remember input { width: 20px; height: 20px; accent-color: var(--green); }
a { color: var(--green-dark); text-decoration: none; font-weight: 700; }
a:hover { text-decoration: underline; }

button {
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), #7fbd10);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(116, 181, 25, .28);
  transition: transform .16s ease, box-shadow .16s ease;
}
button:hover { transform: translateY(-1px); box-shadow: 0 16px 28px rgba(116, 181, 25, .34); }
button:active { transform: translateY(0); }

.divider { display: flex; align-items: center; gap: 18px; margin: 32px 0 24px; color: #9aa0a6; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.help { text-align: center; }

@media (max-width: 960px) {
  .login-page { grid-template-columns: 1fr; padding: 22px; }
  .visual { display: none; }
  .login-card { max-width: 460px; padding: 34px 24px; }
  .logo { margin: 0 auto 42px; width: min(100%, 310px); }
  header { text-align: center; }
}

@media (max-width: 430px) {
  body { background: linear-gradient(180deg, #ffffff, #f3f9ed); }
  .login-page { align-items: start; padding: 18px; }
  .login-card { border: 0; box-shadow: none; background: transparent; padding: 28px 4px; }
  .options { align-items: flex-start; font-size: 14px; gap: 12px; }
  .input-wrap input, button { height: 56px; }
}
