@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Figma+Hand&display=swap');

body.page-membership-signup,
body.page-membership-signup .page-wrapper { background: #f5f0e8; }
body.page-membership-signup .page-wrapper { align-items: stretch; display: flex; flex-direction: column; padding-top: 100px; }

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

/* ── SIGNUP LAYOUT ── */
.signup-wrap {
  display: flex; flex: 1;
  max-width: 1100px; margin: 0 auto; width: 100%;
}

/* ── LEFT HERO ── */
.signup-hero {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 72px;
  background: transparent;
  position: relative;
  overflow: hidden;
}
.signup-hero-eyebrow {
  font-size: 12px; font-weight: 700; color: #28903b;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.signup-hero-title {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 800; color: #1b1c18; line-height: 1.2;
  margin-bottom: 4px;
}
.signup-hero-cursive {
  font-family: 'Figma Hand', 'Dancing Script', cursive;
  font-size: clamp(46px, 5.8vw, 72px);
  font-weight: 700; color: #28903b;
  line-height: 1.05; display: block;
  margin-bottom: 32px;
}
.signup-hero-desc {
  font-size: 15px; color: #3f4a3d; line-height: 1.7;
  max-width: 360px; margin-bottom: 32px;
}
.btn-tentang {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #28903b; text-decoration: none;
}
.btn-tentang:hover { text-decoration: underline; }

/* ── RIGHT FORM ── */
.signup-form-col {
  width: 480px; flex-shrink: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 56px;
  background: transparent;
}
.signup-form-title {
  font-family: 'Inter', sans-serif;
  font-size: 24px; font-weight: 700; color: #1b1c18;
  letter-spacing: -0.4px; line-height: 1.3; margin-bottom: 6px;
}
.signup-form-sub {
  font-family: 'Inter', sans-serif;
  font-size: 14px; color: #717182; margin-bottom: 32px; line-height: 1.5;
}
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600; color: #1b1c18;
}
.form-input {
  background: #fff; border: 1.5px solid #ddd8cf; border-radius: 10px;
  padding: 12px 14px; font-size: 14px; font-family: 'Inter', sans-serif;
  color: #1b1c18; outline: none; transition: border-color .2s;
  width: 100%;
}
.form-input:focus { border-color: #28903b; }
.form-input::placeholder { color: #b5afa6; }
.phone-row { display: flex; gap: 8px; }
.phone-prefix {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1.5px solid #ddd8cf; border-radius: 10px;
  padding: 12px 14px; font-size: 14px; font-weight: 600;
  font-family: 'Inter', sans-serif; color: #1b1c18;
  white-space: nowrap; flex-shrink: 0;
}
.phone-input { flex: 1; }
.btn-signup {
  width: 100%; background: #28903b;
  color: #fff; font-size: 15px; font-weight: 700;
  border: none; border-radius: 10px; padding: 14px;
  cursor: pointer; margin-top: 8px; margin-bottom: 18px;
  transition: opacity .2s; font-family: 'Inter', sans-serif;
}
.btn-signup:hover { opacity: .88; }
.signup-signin {
  text-align: center; font-size: 13px; color: #717182;
  font-family: 'Inter', sans-serif;
}
.signup-signin a { color: #28903b; font-weight: 600; text-decoration: none; }
.signup-signin a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  body.page-membership-signup .page-wrapper { padding-top: 72px; }

  .signup-wrap { flex-direction: column; }

  .signup-hero {
    padding: 40px 24px 28px;
    order: 1;
  }
  .signup-hero-eyebrow { margin-bottom: 12px; }
  .signup-hero-title { font-size: clamp(22px, 6vw, 32px); }
  .signup-hero-cursive { font-size: clamp(34px, 9vw, 48px); margin-bottom: 16px; }
  .signup-hero-desc { font-size: 13px; margin-bottom: 16px; max-width: 100%; }

  .signup-form-col {
    width: 100%;
    padding: 28px 24px 48px;
    order: 2;
  }
  .signup-form-title { font-size: 20px; }
}

/* Password reveal wrapper */
.input-pw-wrap {
  position: relative; display: flex; align-items: center;
}
.input-pw-wrap .form-input { padding-right: 44px; width: 100%; }
.btn-pw-toggle {
  position: absolute; right: 12px;
  background: none; border: none; cursor: pointer;
  color: #9e9e9e; display: flex; align-items: center; padding: 0;
  transition: color .15s;
}
.btn-pw-toggle:hover { color: #28903b; }

/* Error states */
.form-input--error { border-color: #d32f2f !important; }
.form-error-msg {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: #d32f2f; margin-top: 2px;
}
.form-error-banner {
  background: #fff0f0; border: 1px solid #f5c2c2; border-radius: 8px;
  padding: 10px 14px; margin-bottom: 16px;
  font-family: 'Inter', sans-serif; font-size: 13px; color: #d32f2f;
}
