/* ===== USER SIGNUP PAGE - PAGE-SPECIFIC STYLES ONLY ===== */

/* Page-specific body styling */
body {
  font-family: var(--font-family-primary);
  margin: 0;
  padding: 0;
}

/* Page heading */
h1 {
  text-align: center;
  color: var(--gray-700);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-family-secondary);
  font-weight: var(--font-weight-semibold);
}

/* ===== TERMS & CONDITIONS ===== */
.terms {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
}

.terms label {
  font-weight: var(--font-weight-normal);
  margin-bottom: 0;
  cursor: pointer;
  line-height: var(--line-height-normal);
}

.terms input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
}

.terms a {
  color: var(--primary-blue);
  text-decoration: none;
}

.terms a:hover {
  text-decoration: underline;
}

/* ===== GOOGLE SIGNIN ===== */
.google-signin-container {
  margin-bottom: var(--spacing-sm);
  display: flex;
  justify-content: center;
}

/* ===== LOGIN LINK ===== */
.login-link {
  text-align: center;
  margin-top: var(--spacing-sm);
  color: var(--gray-600);
}

.login-link a {
  color: var(--primary-blue);
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

/* ===== DISCOUNT BANNER ===== */
.discount-banner {
  width: 100%;
  max-width: 800px;
  margin: var(--spacing-sm) auto 0;
  text-align: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.voucher-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== SIGNUP TOP IMAGE ===== */
.signup-top-image {
  display: flex;
  justify-content: center;
  margin: var(--spacing-sm) 0;
}
.signup-top-image img {
  width: 100%;
  max-width: 920px; /* slightly smaller than full width */
  height: auto;
  display: block;
  margin: 0 auto; /* center */
  border-radius: 8px; /* match products page */
  box-shadow: var(--shadow); /* match products page */
}

/* ===== RECAPTCHA ===== */
.g-recaptcha {
  margin: var(--spacing-xs) 0;
  transform-origin: left top;
}

/* ===== RESPONSIVE DESIGN - PAGE-SPECIFIC OVERRIDES ===== */
@media (max-width: 768px) {
  .discount-banner {
    margin: var(--spacing-xs) var(--spacing-sm) 0;
    border-radius: var(--radius-sm);
  }
  
  .g-recaptcha {
    transform: scale(0.85);
  }
}

/* ===== UTILITY OVERRIDES FOR BACKWARDS COMPATIBILITY ===== */
/* Remove password strength meter and related styles */
.password-strength-meter,
.password-strength-text {
  display: none;
}
