/*
 * signup.css
 * Styles for the Signup page (/signup/).
 * Converted from: frontend-nextjs/src/assets/scss/components/_auth-page.scss
 *                 frontend-nextjs/src/assets/scss/components/_form.scss
 * Generated by Claude Code Phase 2B — Developer review required
 *
 * Dependency on login.css:
 *   .auth-page-wrap, .auth-page-left, .auth-page-right, .login-page-wrap,
 *   .login-sidebar, .form-wrap, .form-group, .form-label, .form-control,
 *   .input-icon-field, .form-error, .sign-up-link, .form-footer, .or-line,
 *   .gp-spin, @keyframes gp-spin
 *   — all defined in login.css, load order: bootstrap → main.css → login.css → signup.css
 *
 * Variables resolved:
 *   $primary        → #e78125
 *   $secondary      → #19263a
 *   $white          → #ffffff
 *   $danger         → #f74641
 *   $color_raven    → #7b7c7e
 *
 * This file adds only signup-specific rules not present in login.css:
 *   1. .verify-email-wrap
 *   2. .check-list / .check-icon / .normal-icon / .fill-icon
 *   3. .gp-resend-success-msg
 */

/* =========================================
   PAGE-WRAPPER RESET FOR AUTH PAGES
   #gp-page-wrapper is a flex column with min-height:100vh (main.css).
   On auth pages there is no header/footer, so let .auth-page-wrap
   take the full viewport without extra overflow.
========================================= */

body.page-id-593469 #gp-page-wrapper,
body.page-id-593468 #gp-page-wrapper {
  min-height: unset;
  display: block;
  overflow: hidden;
}

/* =========================================
   VERIFY EMAIL WRAP
   Source: .verify-email-wrap in _auth-page.scss (lines 150–167)
   Used in: template-parts/signup/signup-verify-email.php
   React: success state of SignUp.js / app/signup/page.js
========================================= */

.verify-email-wrap {
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.verify-email-wrap p {
  font-size: 18px;
  line-height: 160%;
  font-weight: 500;
  color: #19263a;
}

@media (max-width: 767px) {
  .verify-email-wrap p {
    font-size: 14px;
  }
}

.verify-email-wrap p a {
  color: #e78125;
  font-weight: 700;
}

.verify-email-wrap .img {
  padding-bottom: 24px;
}

.verify-email-wrap .img img {
  display: block;
  margin: 0 auto;
  max-width: 200px;
  height: auto;
}

/* =========================================
   TERMS & CONDITIONS CHECKBOX (check-list)
   Source: .check-list in _form.scss (lines 240–252)
   React: BsSquare (.normal-icon) / BsCheckSquareFill (.fill-icon) + Bootstrap btn-check
========================================= */

/* Label base: font + color */
.form-wrap .check-list .btn-check ~ .btn {
  font-weight: 400;
  font-size: 12px;
  color: #707070;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  line-height: 1.4;
}

.form-wrap .check-list .btn-check ~ .btn a {
  color: #e78125;
  font-weight: 600;
  text-decoration: underline;
}

/* Unchecked state: show empty square, hide filled */
.form-wrap .check-list .btn-check ~ .btn .normal-icon {
  color: #292929;
  display: inline-block;
  flex-shrink: 0;
}

.form-wrap .check-list .btn-check ~ .btn .fill-icon {
  color: #e78125;
  display: none;
  flex-shrink: 0;
}

/* Checked state: hide empty square, show filled */
.form-wrap .check-list .btn-check:checked ~ .btn .normal-icon {
  display: none;
}

.form-wrap .check-list .btn-check:checked ~ .btn .fill-icon {
  display: inline-block;
}

/* Visually hide the actual checkbox (Bootstrap btn-check pattern) */
.form-wrap .check-list .btn-check {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

/* check-icon wrapper — aligns icons in flex row with label text */
.form-wrap .check-list .check-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* =========================================
   RESEND SUCCESS MESSAGE
   Source: React toast.success("We have resent a verification mail successfully.")
   Replaced with: inline message shown/hidden by signup.js
========================================= */

.gp-resend-success-msg {
  font-size: 14px;
  font-weight: 500;
  color: #1bc5bd;
  padding-top: 12px;
  text-align: center;
}

/* =========================================
   SIGNUP GENERAL ERROR OFFSET
   Source: React mutationData.error shown above form fields
========================================= */

.gp-signup-general-error {
  text-align: center;
  margin-bottom: 12px;
}
