:root {
  --green-dark: #2b4d3a;
  --green-mid: #476b57;
  --green-soft: #dfe8df;
  --green-mint: #98b7a0;
  --cream: #f2f1ee;
  --text: #2d3b32;
  --line: rgba(52, 66, 58, 0.5);
  --shadow: rgba(25, 39, 31, 0.18);
}

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

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background:
    linear-gradient(rgba(244, 243, 239, 0.68), rgba(244, 243, 239, 0.68)),
    url('https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat fixed;
  color: var(--text);
  overflow-x: hidden;
}

button, input, textarea {
  font: inherit;
}

.welcome-world {
  width: 100%;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

.welcome-card {
  width: min(100%, 340px);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  padding: 20px 20px 18px;
  box-shadow: 0 18px 36px rgba(41, 53, 40, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.welcome-icon {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: #fff;
  color: #2d4739;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(38, 61, 48, 0.12);
}

.welcome-icon svg {
  width: 38px;
  height: 38px;
  display: block;
}

.welcome-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(29, 52, 39, 0.92);
  margin-top: 12px;
  margin-bottom: 0;
}

.welcome-subtitle {
  margin-top: 4px;
  color: rgba(42, 60, 48, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.welcome-plant {
  width: 100%;
  height: 180px;
  margin-top: 14px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(19, 30, 18, 0.04), rgba(19, 30, 18, 0.18)),
    url('https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(42, 62, 48, 0.06);
}

.welcome-btn {
  width: 100%;
  margin-top: 18px;
  display: block;
  text-decoration: none;
  background: #2d4739;
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 18px rgba(41, 63, 49, 0.18);
}

.welcome-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.welcome-actions .welcome-btn {
  margin-top: 0;
}

.welcome-footer {
  margin-top: 12px;
  color: rgba(47, 66, 56, 0.75);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(100%, 430px);
  margin-top: 10px;
}

.btn {
  width: 100%;
  border-radius: 20px;
  padding: 18px 24px;
  border: 1px solid rgba(66, 93, 70, 0.7);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: rgba(58, 86, 63, 0.78);
  color: #f6f3ee;
  border-color: rgba(53, 86, 65, 0.9);
  box-shadow: 0 12px 16px rgba(42, 70, 52, 0.12);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(38, 64, 49, 0.9);
  border-color: rgba(74, 100, 83, 0.7);
  backdrop-filter: blur(1px);
}

.divider {
  width: min(100%, 420px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: rgba(63, 81, 68, 0.7);
  letter-spacing: 0.12em;
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 8px;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: rgba(70, 89, 77, 0.55);
  flex: 1;
}

.social-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 6px;
}

.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(75, 97, 82, 0.3);
  background: rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(45, 57, 49, 0.08);
}

.google-btn {
  background: rgba(255, 255, 255, 0.2);
}

.apple-btn {
  background: rgba(30, 30, 30, 0.8);
  color: #fff;
  border-color: rgba(10, 10, 10, 0.6);
}

.terms-text {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(41, 62, 49, 0.8);
  text-align: center;
}

.terms-text a {
  color: rgba(58, 94, 67, 0.94);
  font-weight: 700;
  text-decoration: none;
}

.register-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
}

.register-layout {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 54px;
}

.promo-card {
  width: min(100%, 680px);
  justify-self: center;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 18px 32px rgba(28, 40, 31, 0.12);
  border: 1px solid rgba(97, 117, 103, 0.15);
}

.promo-image {
  position: relative;
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(30, 39, 29, 0.08), rgba(18, 22, 17, 0.22)),
    url('https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 30px 26px;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.28));
}

.promo-overlay h2 {
  font-size: clamp(2.4rem, 3vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
  font-weight: 800;
  color: #f8f9f3;
  max-width: 440px;
}

.promo-overlay h2 span {
  display: block;
}

.promo-overlay p {
  margin-top: 18px;
  color: rgba(255,255,255,0.9);
  font-size: 1.06rem;
  max-width: 430px;
  line-height: 1.5;
}

.register-panel {
  width: min(100%, 500px);
  justify-self: center;
}

.register-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #2d3b32;
}

.header-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.header-mark svg {
  width: 22px;
  height: 22px;
  display: block;
}

.register-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.register-panel h2,
.login-brand h1 {
  font-size: clamp(2.2rem, 2.4vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.06em;
  color: #1f2d26;
  margin-bottom: 8px;
}

.register-subtitle,
.login-brand p {
  color: rgba(35, 48, 38, 0.8);
  font-size: 1.04rem;
  margin-bottom: 18px;
  line-height: 1.5;
}

.register-form,
.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.register-form label,
.login-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: rgba(28, 43, 35, 0.9);
  font-weight: 500;
}

.register-form span,
.login-form span,
.password-row span {
  font-size: 0.95rem;
}

.input-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
  background: rgba(233, 236, 233, 0.8);
  border: 1px solid rgba(93, 110, 97, 0.15);
  border-radius: 14px;
  padding: 0 16px 0 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

.input-box svg {
  width: 18px;
  height: 18px;
  color: rgba(62, 80, 68, 0.7);
  flex-shrink: 0;
}

.input-box input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: #2b3a32;
}

.input-box input::placeholder {
  color: rgba(54, 70, 59, 0.6);
}

.password-box .eye-button {
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  display: grid;
  place-items: center;
  color: rgba(54, 70, 59, 0.8);
  cursor: pointer;
}

.password-box .eye-button svg {
  width: 18px;
  height: 18px;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #3d654f;
}

.checkbox-row span {
  font-size: 0.93rem;
  line-height: 1.5;
  color: rgba(42, 60, 50, 0.8);
  font-weight: 500;
}

.checkbox-row a,
.login-link a,
.password-row a,
.login-brand a {
  color: rgba(38, 72, 54, 0.9);
  text-decoration: none;
  font-weight: 700;
}

.create-btn {
  margin-top: 8px;
  width: 100%;
  border: none;
  background: rgba(59, 86, 66, 0.9);
  color: #f7f5f1;
  border-radius: 18px;
  min-height: 62px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(49, 75, 56, 0.14);
  cursor: pointer;
}

.login-btn {
  margin-top: 0;
}

.divider-line {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 20px 0 14px;
  color: rgba(58, 72, 62, 0.7);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.divider-line::before,
.divider-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(72, 91, 79, 0.42);
}

.divider-slim {
  margin-top: 10px;
  margin-bottom: 18px;
}

.login-link {
  text-align: center;
  color: rgba(36, 49, 39, 0.8);
  font-size: 1rem;
  margin-bottom: 24px;
}

.back-link {
  display: inline-block;
  width: 100%;
  margin-top: 8px;
  text-align: center;
  text-decoration: none;
  color: rgba(34, 57, 42, 0.9);
  font-weight: 700;
}

.footer-copy {
  text-align: center;
  color: rgba(39, 58, 47, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 12px;
}

.menu-body {
  background: #f3f2ef;
}

.menu-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 50px;
}

.menu-initial-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}

.menu-initial-card {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(88, 108, 94, 0.14);
  border-radius: 28px;
  padding: 28px 24px;
  box-shadow: 0 18px 32px rgba(42, 57, 44, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.menu-brand-inline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mini-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(54, 85, 64, 0.92);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  box-shadow: 0 12px 18px rgba(56, 77, 62, 0.15);
}

.menu-brand-inline h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(34, 57, 42, 0.92);
}

.small-eyebrow {
  margin: 0 0 4px;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(41, 61, 46, 0.7);
}

.menu-intro {
  color: rgba(43, 60, 49, 0.8);
  font-size: 1.02rem;
  margin: 0;
}

.menu-choice-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.choice-btn {
  display: block;
  width: 100%;
  text-decoration: none;
  text-align: center;
  padding: 16px 18px;
  border-radius: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.choice-btn:hover {
  transform: translateY(-1px);
}

.choice-primary {
  background: rgba(55, 83, 64, 0.9);
  color: #f9f5f0;
}

.choice-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(34, 57, 42, 0.9);
  border: 1px solid rgba(74, 100, 83, 0.4);
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0 22px;
}

.menu-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.menu-nav a {
  text-decoration: none;
  color: rgba(43, 60, 49, 0.78);
  font-weight: 600;
  font-size: 0.95rem;
}

.menu-nav a.active {
  color: rgba(29, 54, 40, 0.95);
}

.menu-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 30px;
  background: linear-gradient(135deg, rgba(228,235,228,0.9), rgba(227,234,225,0.7));
  border: 1px solid rgba(90,116,88,0.12);
  border-radius: 26px;
  box-shadow: 0 18px 30px rgba(40, 54, 42, 0.06);
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(41, 61, 46, 0.65);
  margin-bottom: 8px;
}

.hero-panel h2 {
  font-size: clamp(2.2rem, 3vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.08em;
  color: #1c3126;
  max-width: 500px;
}

.welcome-user {
  margin-top: 8px;
  color: rgba(43, 60, 49, 0.72);
  font-weight: 600;
}

.menu-primary-btn {
  border: none;
  background: rgba(55, 83, 64, 0.9);
  color: #f9f5f0;
  padding: 14px 22px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 18px rgba(48, 78, 58, 0.16);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(200px, 1fr));
  gap: 22px;
}

.menu-card {
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(88,108,94,0.14);
  border-radius: 22px;
  padding: 24px 20px;
  min-height: 180px;
  box-shadow: 0 16px 26px rgba(30, 42, 34, 0.05);
}

.accent-card {
  background: linear-gradient(135deg, rgba(118,160,118,0.18), rgba(242,245,241,0.9));
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(63, 95, 69, 0.9);
  color: #f8f1eb;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.menu-card h3 {
  color: #1d3126;
  font-size: 1.6rem;
  margin-bottom: 10px;
  letter-spacing: -0.04em;
}

.menu-card p {
  color: rgba(47,61,50,0.76);
  line-height: 1.5;
  font-size: 0.97rem;
}

.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 40px 24px;
}

.login-card {
  width: min(100%, 520px);
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(90,112,95,0.18);
  border-radius: 28px;
  padding: 22px 32px 18px;
  box-shadow: 0 18px 30px rgba(30, 43, 32, 0.08);
}

.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 12px;
}

.brand-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(56, 83, 63, 0.92);
  display: grid;
  place-items: center;
  color: #f9f4ef;
  margin-bottom: 12px;
  box-shadow: 0 10px 18px rgba(62, 90, 70, 0.15);
}

.brand-badge svg {
  width: 28px;
  height: 28px;
}

.login-brand h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 3vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin: 0;
  font-weight: 700;
}

.login-brand p {
  margin: 8px 0 0;
  font-size: 1rem;
}

.password-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.password-row a {
  font-size: 0.88rem;
}

.social-auth {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 8px;
}

.social-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 150px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(89, 108, 95, 0.22);
  background: rgba(255,255,255,0.12);
  color: rgba(34, 53, 42, 0.9);
  font-size: 1.02rem;
  font-weight: 600;
  cursor: pointer;
}

.social-auth-btn:hover,
.social-auth-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(25, 39, 31, 0.12);
}

.social-auth-btn:disabled,
.create-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

.auth-message {
  margin: 12px 0;
  padding: 12px 14px;
  border: 1px solid rgba(150, 65, 54, 0.32);
  border-radius: 12px;
  background: rgba(255, 244, 241, 0.94);
  color: #7d3027;
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-note {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid rgba(62, 101, 72, 0.2);
  border-radius: 12px;
  background: rgba(241, 247, 239, 0.95);
  color: #34543c;
  font-size: 0.9rem;
  line-height: 1.6;
}

.auth-message-success {
  border-color: rgba(62, 101, 72, 0.25);
  background: #f1f7ef;
  color: #34543c;
}

.google-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(#ea4335 0 33%, #fbbc05 33% 66%, #34a853 66% 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.apple-cta {
  background: rgba(34,34,34,0.92);
  color: #fff;
  border-color: rgba(19,19,19,0.7);
}

.apple-mark {
  font-size: 1.2rem;
  line-height: 1;
}

.side-plant-card {
  width: min(100%, 300px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.side-plant-image {
  width: min(100%, 300px);
  height: 300px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(6, 14, 9, 0.06), rgba(6, 14, 9, 0.18)),
    url('https://images.unsplash.com/photo-1466692476868-aef1dfb1e735?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
  box-shadow: 0 18px 32px rgba(21, 31, 24, 0.12);
}

.side-plant-card p {
  max-width: 260px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.45;
  color: rgba(32, 44, 36, 0.8);
  font-style: italic;
}

.hidden {
  display: none !important;
}

@media (max-width: 980px) {
  .register-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .promo-card {
    width: min(100%, 620px);
  }

  .promo-image {
    min-height: 440px;
  }

  .login-screen {
    flex-direction: column;
    gap: 24px;
  }

  .side-plant-card {
    width: min(100%, 260px);
  }
}

@media (max-width: 640px) {
  .welcome-content {
    gap: 16px;
  }

  .logo-icon {
    width: 64px;
    height: 64px;
  }

  .brand-name {
    font-size: 3.25rem;
  }

  .action-buttons {
    width: min(100%, 320px);
  }

  .btn {
    padding: 16px 18px;
    border-radius: 18px;
  }

  .divider {
    width: min(100%, 300px);
    letter-spacing: 0.08em;
    font-size: 0.8rem;
  }

  .register-screen {
    padding: 18px 14px 42px;
  }

  .register-panel {
    width: 100%;
  }

  .promo-overlay {
    padding: 22px 18px 18px;
  }

  .promo-overlay h2 {
    max-width: 280px;
  }

  .register-panel h2 {
    font-size: 2.3rem;
  }

  .login-card {
    padding: 20px 18px 16px;
  }

  .social-auth {
    flex-direction: column;
  }

  .social-auth-btn {
    width: 100%;
  }
}
