/* QuickBooks-style signup page styles */
.signup-page { height: auto; min-height: 100vh; overflow: auto; }
.qb-signup {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.qb-hero {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 28px;
}
.qb-brand { display: flex; align-items: center; gap: 12px; }
.qb-logo-circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: #2ca01c; color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.qb-sub { color: #667085; margin-top: 2px; }
.qb-points { margin: 16px 0 0; color: #475467; }
.qb-points li { margin: 6px 0; }

.qb-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  padding: 24px 24px 28px;
}
.qb-card h2 { margin: 0 0 12px; }
.qb-inputs input {
  width: 100%;
  height: 40px;
  border: 1px solid #dfe3e6;
  border-radius: 8px;
  padding: 0 12px;
  margin: 6px 0;
  background: #fff;
}
.qb-plans h3 { margin: 12px 0 8px; }
.qb-plan-list { display: grid; gap: 10px; }
.qb-plan-card {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px;
  padding: 12px; border: 1px solid #e2e8f0; border-radius: 10px; cursor: pointer;
}
.qb-plan-card:hover { border-color: #2ca01c; }
.qb-plan-name { font-weight: 600; }
.qb-plan-price { color: #2ca01c; }
.qb-plan-features { margin: 8px 0 0; color: #667085; }
.qb-plan-features li { list-style: disc; margin-left: 18px; }
.qb-plan-skeleton, .qb-plan-empty, .qb-plan-error { color: #667085; }

.qb-btn-primary {
  height: 40px; border-radius: 8px; border: none; cursor: pointer;
  background: #2ca01c; color: #fff; font-weight: 600; padding: 0 14px; margin-top: 8px;
}
.qb-btn-primary:hover { background: #259616; }
.qb-msg { margin-top: 8px; }

.terms { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 8px; }
.terms a { color: #2d7ff9; text-decoration: none; }
.terms a:hover { text-decoration: underline; }
.login-redirect { margin-top: 8px; }
.login-redirect a { color: #2d7ff9; text-decoration: none; }
.login-redirect a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .qb-signup { grid-template-columns: 1fr; }
}

/* Goodbudget-like signup styles */
.gb-hero {
  background: linear-gradient(180deg, #2ca01c 0%, #1f7f14 100%);
  color: #fff;
  padding: 20px 0 40px;
  position: relative;
}
.gb-nav { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Header navigation (site-wide) */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e5e7;
}
.site-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-nav .brand {
  font-weight: 700;
  color: #2ca01c;
  text-decoration: none;
  font-size: 18px;
}
.site-nav .links a {
  margin-left: 12px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}
.site-nav .links a:hover { text-decoration: underline; }
.site-nav .links .cta {
  background: #2ca01c;
  color: #fff;
  padding: 6px 12px;
  border-radius: 18px;
}

/* Footer */
.site-footer {
  background: #f7f8fa;
  border-top: 1px solid #e5e5e7;
  margin-top: 32px;
  padding: 16px 0 24px;
}
.site-footer .footer-links {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.site-footer .footer-links a {
  color: #555;
  text-decoration: none;
}
.site-footer .footer-links a:hover { text-decoration: underline; }
.site-footer .footer-copy {
  max-width: 1100px;
  margin: 8px auto 0;
  padding: 0 16px;
  color: #666;
}
.gb-brand { font-weight: 700; font-size: 20px; }
.gb-links a { color: #eaffea; margin-left: 14px; text-decoration: none; font-weight: 600; }
.gb-links a.gb-login, .gb-links a.gb-signup { background: rgba(255,255,255,0.15); padding: 6px 10px; border-radius: 18px; }
.gb-links a.gb-signup { background: #fff; color: #1f7f14; }
.gb-hero-text { max-width: 1100px; margin: 14px auto 0; padding: 0 16px; }
.gb-hero-text h1 { font-size: 36px; margin-bottom: 6px; }
.gb-hero-text p { opacity: 0.9; }

.gb-body { max-width: 1100px; margin: -48px auto 32px; padding: 0 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gb-card { background: #fff; border-radius: 10px; box-shadow: 0 10px 24px rgba(0,0,0,0.12); overflow: hidden; }
.gb-titlebar { background: #7a4ef6; color: #fff; font-weight: 700; padding: 12px 16px; }
.gb-form { padding: 16px; }
.gb-form label { font-size: 12px; color: #555; font-weight: 600; display: block; margin-top: 8px; }
.gb-form input[type="email"],
.gb-form input[type="password"],
.gb-form input[type="text"] { width: 100%; height: 38px; border: 1px solid #dcdcdc; border-radius: 6px; padding: 0 10px; margin-top: 6px; }
.gb-password { position: relative; }
.gb-eye { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #777; }
.gb-plan { margin-top: 12px; }
.gb-plan-label { font-size: 12px; color: #555; font-weight: 700; }
.gb-radio-list { display: grid; gap: 8px; margin-top: 6px; }
.gb-radio { display: flex; align-items: center; gap: 8px; }
.gb-radio input[type="radio"] { accent-color: #7a4ef6; }
.gb-options { margin-top: 8px; color: #555; }
.gb-captcha { margin: 10px 0; }
.gb-captcha-box { background: #f4f4f6; border: 1px solid #ddd; border-radius: 6px; height: 80px; display: flex; align-items: center; justify-content: center; color: #555; }
.gb-btn-primary { width: 100%; height: 40px; border-radius: 8px; border: none; background: #7a4ef6; color: #fff; font-weight: 700; cursor: pointer; }
.gb-btn-primary:hover { background: #6a3ae9; }
.gb-msg { margin-top: 8px; }
.gb-illustration { background: #e6f4ea; border-radius: 10px; box-shadow: 0 8px 18px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 16px; }
.gb-illustration img { max-width: 100%; border-radius: 8px; }
.gb-help { margin-top: 12px; color: #333; text-align: center; }

@media (max-width: 900px) {
  .gb-body { grid-template-columns: 1fr; margin-top: -24px; }
}

/* Editable plan template (Free vs Premium) */
.gb-plan-template {
  max-width: 1200px;
  margin: 20px auto 40px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  overflow: visible;
}
.gb-tier { 
  background: #e6f4ea;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
  padding: 16px 16px 20px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: visible;
}
.gb-tier:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.gb-tier.free { background: #eefaf2; }
.gb-tier.premium { background: #e6fbe6; }
.gb-tier-header { text-align: center; color: #1f7f14; }
.gb-tier-title { font-size: 48px; font-weight: 800; letter-spacing: 1px; }
.gb-tier-sub { margin-top: 6px; font-size: 18px; opacity: 0.9; }
.gb-tier-price { margin: 18px 0; color: #199b2e; }
.gb-tier-price .gb-currency { font-size: 28px; font-weight: 700; margin-right: 8px; }
.gb-tier-price .gb-amount { font-size: 88px; font-weight: 900; line-height: 1; }
.gb-tier-price.free { display: inline-flex; align-items: baseline; }
.gb-tier-price.premium { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; column-gap: 8px; justify-content: center; }
.gb-tier-price.premium .gb-interval { font-size: 16px; font-weight: 600; color: #1f7f14; }
.gb-tier-header::after { content: ""; display: block; height: 2px; background: #a8d8b0; margin: 16px auto 0; width: 86%; }
.gb-tier-features { margin-top: 10px; }
.gb-tier-features li { list-style: none; padding: 16px 6px; border-top: 2px solid #bfe5c6; color: #264a2f; }
.gb-tier-features li:first-child { border-top: none; }
.gb-note { font-size: 12px; opacity: 0.7; }

@media (max-width: 900px) {
  .gb-plan-template { grid-template-columns: 1fr; }
}