/**
 * Signup page: central white card, black page background (homepage theme).
 * Layout and styling match screenshot; no site header/footer.
 */

body.ppg-signup-page-body {
  background: #07060b;
  min-height: 100vh;
}

.ppg-signup-page-body .ppg-signup-page,
body.ppg-signup-page-body .ppg-signup-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 60px;
  box-sizing: border-box;
  background-color: #07060b;
  position: relative;
}

/* Full-cover background image + dark overlay (same as login) */
.ppg-signup-page__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background-image: url(https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=1200&h=800&fit=crop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ppg-signup-page__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.ppg-signup-page__card-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.ppg-signup-page__card {
  background: #0D0D0D !important;
  border-radius: 24px;
  padding: 40px 36px 36px;
}

.ppg-signup-page__card-wrap .ppg-signup-page__card {
  background: #0D0D0D !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.06);
  text-align: center;
}

/* Input fields border-radius */
.ppg-signup-page input[type="text"],
.ppg-signup-page input[type="password"],
.ppg-signup-page input[type="email"],
.ppg-signup-page input[type="url"],
.ppg-signup-page input[type="date"],
.ppg-signup-page input[type="month"],
.ppg-signup-page input[type="time"],
.ppg-signup-page input[type="datetime"],
.ppg-signup-page input[type="datetime-local"],
.ppg-signup-page input[type="week"],
.ppg-signup-page input[type="number"],
.ppg-signup-page input[type="search"],
.ppg-signup-page input[type="tel"],
.ppg-signup-page input[type="color"],
.ppg-signup-page textarea {
  border-radius: 8px !important;
}

.ppg-signup-page__title {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 13px;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  font-family: 'Montserrat', sans-serif;
}

.ppg-signup-page__error-wrap {
  margin: 0 0 16px;
  text-align: center;
}

.ppg-signup-page__error-text {
  margin: 0 0 6px;
  font-size: 14px;
  color: #e53935;
  line-height: 1.4;
}

.ppg-signup-page__error-link {
  margin: 0;
  font-size: 14px;
}

.ppg-signup-page__error-link a {
  color: #e9b8ff;
  font-weight: 600;
  text-decoration: none;
}

.ppg-signup-page__error-link a:hover {
  text-decoration: none;
}

.ppg-signup-page__field--has-error .ppg-signup-page__input {
  border-color: #e53935;
}

.ppg-signup-page__tagline {
  margin: 0 0 28px;
  font-size: 14px;
  color: #ffffff !important;
  line-height: 1.4;
}

.ppg-signup-page__tagline strong {
  color: #e9b8ff !important;
  font-weight: 700;
}

.ppg-signup-page__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ppg-signup-page__field {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* Wrapper so eye toggle stays inside input row (fixes misplaced icon on hover/wrap) */
.ppg-signup-page__input-row {
  position: relative;
  width: 100%;
  flex: 1 1 100%;
  min-height: 48px;
}

/* Input icon: vertically centered with input text */
.ppg-signup-page__field .ppg-signup-page__input-icon,
.ppg-signup-page__input-icon {
  position: absolute;
  left: 14px;
  top: 24px;
  transform: translateY(-50%);
  color: #9b94a8;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ppg-signup-page__field--error .ppg-signup-page__input {
  border-color: #e53935;
}

/* Error message: red text only, no box or icon */
.ppg-signup-page__field-error {
  flex: 1 1 100%;
  width: 100%;
  font-size: 13px;
  color: #e53935;
  margin-top: 4px;
}

.ppg-signup-page__input {
  width: 100%;
  height: 48px;
  padding: 0 44px 0 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 15px;
  color: #ffffff !important;
  background: #1A1A1A !important;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

/* Ensure visibility during browser autofill */
.ppg-signup-page__input:-webkit-autofill,
.ppg-signup-page__input:-webkit-autofill:hover,
.ppg-signup-page__input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0px 1000px #1A1A1A inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

.ppg-signup-page__input::placeholder {
  color: #9b94a8;
}

.ppg-signup-page__input:focus {
  outline: none;
  border-color: #6f42c1;
  box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.12);
}

/* Password fields: extra right padding for eye toggle */
.ppg-signup-page__input--has-toggle {
  padding-right: 48px;
}

/* Eye toggle: fixed position (no movement on hover), no blue border */
.ppg-signup-page__input-row .ppg-signup-page__toggle-pwd {
  position: absolute;
  right: 12px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  color: #888888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  z-index: 2;
  outline: none;
  box-shadow: none;
}

.ppg-signup-page__input-row .ppg-signup-page__toggle-pwd:hover,
.ppg-signup-page__input-row .ppg-signup-page__toggle-pwd:focus {
  color: #520975;
  background: transparent;
  outline: none;
  box-shadow: none;
  border: none;
}

.ppg-signup-page__toggle-pwd .ppg-signup-page__toggle-pwd-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ppg-signup-page__toggle-pwd .ppg-signup-page__toggle-pwd-icon--show {
  display: flex;
}

.ppg-signup-page__toggle-pwd .ppg-signup-page__toggle-pwd-icon--hide {
  display: none;
}

.ppg-signup-page__toggle-pwd.is-visible .ppg-signup-page__toggle-pwd-icon--show {
  display: none;
}

.ppg-signup-page__toggle-pwd.is-visible .ppg-signup-page__toggle-pwd-icon--hide {
  display: flex;
}

.ppg-signup-page__submit {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #520975 !important;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: inherit;
}

.ppg-signup-page__submit:hover {
  background: #520975 !important;
}

.ppg-signup-page__submit:active {
  transform: scale(0.99);
}

.ppg-signup-page__divider {
  margin: 24px 0 16px;
  text-align: center;
  font-size: 13px;
  color: #ffffff !important;
  position: relative;
}

.ppg-signup-page__divider::before,
.ppg-signup-page__divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 28%;
  height: 1px;
  background: #e0e0e6;
}

.ppg-signup-page__divider::before {
  left: 0;
}

.ppg-signup-page__divider::after {
  right: 0;
}

.ppg-signup-page__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.ppg-signup-page__social-btn {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #e0e0e6;
  background: #fff;
  color: #1877f2;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ppg-signup-page__social-btn--google {
  color: inherit;
}

.ppg-signup-page__social-btn:hover {
  border-color: #6f42c1;
  box-shadow: 0 4px 12px rgba(111, 66, 193, 0.15);
}

.ppg-signup-page__login-link {
  margin: 24px 0 0;
  font-size: 14px;
  color: #ffffff !important;
}

.ppg-signup-page__login-link a {
    color: #b152f7 !important;
    font-weight: 600;
    text-decoration: none;
}

.ppg-signup-page__login-link a:hover {
  text-decoration: none;
  color: #ffffff !important;
}

@media (max-width: 600px) {
  .ppg-signup-page-body .ppg-signup-page,
  body.ppg-signup-page-body .ppg-signup-page {
    padding: 20px 16px 40px;
  }

  .ppg-signup-page__card {
    padding: 32px 24px 28px;
    border-radius: 20px;
  }

  .ppg-signup-page__title {
    font-size: 24px;
  }

  .ppg-signup-page__tagline {
    font-size: 13px;
    margin-bottom: 24px;
  }
  .ppg-signup-page__input {
    padding: 12px 14px;
    font-size: 16px;
  }
  .ppg-signup-page__btn {
    min-height: 48px;
    padding: 12px 20px;
  }
}

@media (max-width: 480px) {
  .ppg-signup-page-body .ppg-signup-page,
  body.ppg-signup-page-body .ppg-signup-page {
    padding: 16px 12px 36px;
  }
  .ppg-signup-page__card {
    padding: 24px 20px 24px;
  }
  .ppg-signup-page__title {
    font-size: 22px;
  }
  .ppg-signup-page__tagline {
    font-size: 12px;
  }
}
