@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --green:       #4a8c2a;
  --green-light: #86B93B;
  --green-pale:  #e8f5d0;
  --green-dark:  #2d5a18;
  --cream:       #f8f5ef;
  --ink:         #1a2010;
  --gray:        #6b7566;
  --white:       #ffffff;
  --red:         #dc2626;
  --red-pale:    #fee2e2;
  --radius:      14px;
  --transition:  0.28s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ── LEFT PANEL ── */
.left-panel {
  background: linear-gradient(160deg, var(--green-dark) 0%, #1a3d0a 100%);
  color: white;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 60px 56px;
  position: relative; overflow: hidden;
}
.left-panel::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(134,185,59,.15);
}
.left-panel::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 240px; height: 240px; border-radius: 50%;
  background: rgba(134,185,59,.10);
}

.brand {
  display: flex; align-items: center; gap: 12px; margin-bottom: 56px;
  position: relative; z-index: 1;
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-light); display: flex; align-items: center; justify-content: center;
}
.brand-mark svg { width: 22px; height: 22px; fill: white; }
.brand-name {
  font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700;
}

.left-headline {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; line-height: 1.2; font-weight: 700;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.left-headline .hi { color: var(--green-light); }

.left-sub { font-size: .95rem; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 48px; position: relative; z-index: 1; }

.feature-pills { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.pill {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px; padding: 14px 18px;
  transition: background var(--transition);
}
.pill:hover { background: rgba(255,255,255,.1); }
.pill-icon { font-size: 1.2rem; }
.pill-text strong { display: block; font-size: .9rem; font-weight: 600; }
.pill-text span { font-size: .8rem; color: rgba(255,255,255,.6); }

/* ── RIGHT PANEL ── */
.right-panel {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px 56px;
  overflow-y: auto;
}

.form-box { width: 100%; max-width: 440px; }

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem; font-weight: 700; color: var(--ink);
  margin-bottom: 6px;
}
.form-subtitle { font-size: .92rem; color: var(--gray); margin-bottom: 36px; }
.form-subtitle a { color: var(--green); font-weight: 600; text-decoration: none; }
.form-subtitle a:hover { text-decoration: underline; }

.alert {
  padding: 12px 16px; border-radius: 10px;
  font-size: .88rem; font-weight: 500; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.alert-error { background: var(--red-pale); color: var(--red); border: 1px solid #fca5a5; }
.alert-success { background: var(--green-pale); color: var(--green-dark); border: 1px solid #a3d977; }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600; color: var(--ink);
  margin-bottom: 7px;
}
.form-group input {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid #d6e4c8; border-radius: 10px;
  font-family: 'Outfit', sans-serif; font-size: .95rem; color: var(--ink);
  background: white; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(134,185,59,.2);
}
.form-group input.error { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.form-group .hint { font-size: .78rem; color: var(--gray); margin-top: 5px; }

.input-icon-wrap { position: relative; }
.input-icon-wrap input { padding-left: 44px; }
.input-icon-wrap .icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #aab89e; font-size: .95rem;
}
.input-icon-wrap .toggle-pass {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  cursor: pointer; color: #aab89e; font-size: .85rem;
  background: none; border: none; font-family: inherit;
  transition: color var(--transition);
}
.input-icon-wrap .toggle-pass:hover { color: var(--green); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.btn-submit {
  width: 100%; padding: 14px;
  background: var(--green); color: white; border: none; border-radius: 10px;
  font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; margin-top: 8px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(74,140,42,.35); }
.btn-submit:active { transform: translateY(0); }

.divider {
  display: flex; align-items: center; gap: 12px; margin: 24px 0;
  font-size: .8rem; color: #b8c9a8;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: #e0ead4; }

.back-link {
  text-align: center; margin-top: 24px; font-size: .85rem; color: var(--gray);
}
.back-link a { color: var(--green); font-weight: 600; text-decoration: none; }
.back-link a:hover { text-decoration: underline; }

/* strength meter */
.strength-meter { height: 4px; border-radius: 4px; background: #e0ead4; margin-top: 8px; overflow: hidden; }
.strength-bar { height: 100%; width: 0; border-radius: 4px; transition: width .4s, background .4s; }

@media (max-width: 800px) {
  body { grid-template-columns: 1fr; }
  .left-panel { display: none; }
  .right-panel { padding: 40px 28px; }
}
