/* ================================================
   SIGNUP PAGE — Focused membership signup
   ================================================ */

/* ===== LAYOUT ===== */
.signup-body {
  background: var(--light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.signup-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  text-align: center;
}

.signup-header .container {
  display: flex;
  justify-content: center;
}

.signup-logo-link .logo-img {
  height: 52px;
}

.signup-main {
  flex: 1;
  padding: 40px 0 60px;
}

.signup-main .container {
  max-width: 640px;
}


/* ===== PLAN BANNER ===== */
.plan-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--blue);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
}

.plan-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--yellow);
}

.plan-banner-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}

.plan-banner-name {
  font-size: 1.4rem;
  font-family: 'Excon', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 2px;
}

.plan-banner-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--yellow);
  font-family: 'Excon', sans-serif;
}


/* ===== NOTE ===== */
.signup-note {
  font-size: 0.88rem;
  color: var(--slate);
  margin-bottom: 32px;
  font-style: italic;
}


/* ===== FORM ===== */
.signup-form {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow);
}

.form-section {
  margin-bottom: 28px;
}

.form-section:last-of-type {
  margin-bottom: 32px;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  font-family: 'Excon', sans-serif;
}

.form-sublabel {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.required {
  color: var(--red);
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-row.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 12px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.half-width {
  max-width: calc(50% - 8px);
}

/* Phone row */
.phone-row {
  grid-template-columns: 120px auto 1fr;
  align-items: start;
}

.phone-separator {
  font-size: 1.2rem;
  color: var(--gray);
  padding-top: 12px;
  text-align: center;
}

/* Inputs */
.signup-form input,
.signup-form select,
.signup-form textarea {
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: inherit;
  background: var(--light);
  transition: all 0.2s;
  color: var(--navy);
  width: 100%;
}

.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(30,121,174,0.1);
}

.signup-form input::placeholder {
  color: var(--gray);
}

.signup-form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.btn-submit {
  padding: 18px 36px;
  font-size: 1.05rem;
  margin-top: 8px;
}


/* ===== SUCCESS STATE ===== */
.signup-success {
  display: none;
  text-align: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  box-shadow: var(--shadow);
}

.signup-success.visible {
  display: block;
  animation: bounceIn 0.5s ease;
}

.signup-success .success-icon {
  color: #2ecc71;
  margin-bottom: 20px;
}

.signup-success h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.signup-success p {
  color: var(--slate);
  margin-bottom: 28px;
  line-height: 1.7;
}


/* ===== BACK LINK ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 24px;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--blue);
}


/* ===== FOOTER ===== */
.signup-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.5);
  padding: 20px 0;
  font-size: 0.82rem;
}

.signup-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}


/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .signup-main {
    padding: 24px 0 40px;
  }

  .signup-form {
    padding: 28px 20px;
  }

  .plan-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .form-row,
  .form-row.three-col {
    grid-template-columns: 1fr;
  }

  .phone-row {
    grid-template-columns: 1fr;
  }

  .phone-separator {
    display: none;
  }

  .half-width {
    max-width: 100%;
  }

  .signup-footer .container {
    flex-direction: column;
    text-align: center;
  }

  .signup-success {
    padding: 40px 20px;
  }
}
