/* SMCGA Membership Form — matches approved design */
.smcga-form-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #111;
  box-sizing: border-box;
}
.smcga-form-wrap *, .smcga-form-wrap *::before, .smcga-form-wrap *::after { box-sizing: border-box; }

.smcga-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 28px;
  color: #111;
}
.smcga-h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 34px 0 16px;
  color: #111;
}
.req { color: #e11d48; }

/* Personal details grid */
.smcga-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}
.smcga-field label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 7px;
  color: #111;
}
.smcga-field input,
.smcga-form-wrap textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  color: #111;
  outline: none;
}
.smcga-field input::placeholder,
.smcga-form-wrap textarea::placeholder { color: #9aa0a6; }
.smcga-field input:focus,
.smcga-form-wrap textarea:focus { border-color: #14532d; box-shadow: 0 0 0 2px rgba(20, 83, 45, .12); }

/* Prize draw banner */
.smcga-prize {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #e9f2ec;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.smcga-prize-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #14532d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.smcga-prize-icon svg { width: 24px; height: 24px; }
.smcga-prize-text { font-size: 15px; line-height: 1.5; color: #1f2937; }
.smcga-prize-head {
  display: block;
  color: #14532d;
  font-weight: 600;
  letter-spacing: .06em;
  font-size: 15px;
  margin-bottom: 2px;
}

/* Membership cards */
.smcga-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.smcga-card { display: block; cursor: pointer; }
.smcga-card input { position: absolute; opacity: 0; pointer-events: none; }
.smcga-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 26px 14px;
  min-height: 180px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.smcga-card:hover .smcga-card-inner { border-color: #14532d; }
.smcga-card input:checked + .smcga-card-inner {
  border: 2px solid #14532d;
  background: #f2f8f4;
  box-shadow: 0 0 0 2px rgba(20, 83, 45, .1);
}
.smcga-card-icon { color: #14532d; }
.smcga-card-icon svg { width: 42px; height: 42px; }
.smcga-card-name { font-weight: 700; font-size: 16.5px; color: #111; line-height: 1.3; }
.smcga-card-price { color: #15803d; font-weight: 700; font-size: 17px; }

/* Payment */
.smcga-pay-note { font-size: 15px; margin: 0 0 14px; color: #111; }
.smcga-bank {
  background: #e9f2ec;
  border-radius: 10px;
  padding: 20px 22px;
  margin-bottom: 24px;
}
.smcga-bank-head {
  color: #14532d;
  font-weight: 600;
  letter-spacing: .06em;
  font-size: 15px;
  margin-bottom: 14px;
}
.smcga-bank-row { display: flex; gap: 64px; }
.smcga-bank-label { font-size: 13.5px; color: #4b5563; margin-bottom: 3px; }
.smcga-bank-value { font-size: 20px; font-weight: 600; color: #111; letter-spacing: .02em; }

/* Radio questions */
.smcga-radio-q { margin: 22px 0; }
.smcga-q-label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 12px; }
.smcga-radios { display: flex; gap: 40px; }
.smcga-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}
.smcga-radio input { position: absolute; opacity: 0; }
.smcga-radio span {
  width: 20px;
  height: 20px;
  border: 2px solid #b7bcc3;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  transition: border-color .15s;
  flex: 0 0 auto;
}
.smcga-radio input:checked + span { border-color: #14532d; }
.smcga-radio input:checked + span::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #14532d;
}

/* Upload box */
.smcga-upload {
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 6px 0 6px;
}
.smcga-upload-title { font-weight: 700; font-size: 15.5px; }
.smcga-upload-sub { color: #6b7280; font-size: 14px; margin: 3px 0 14px; }
.smcga-upload-btn {
  display: block;
  width: 100%;
  padding: 11px 0;
  background: #fff;
  border: 1.5px solid #14532d;
  color: #14532d;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.smcga-upload-btn:hover { background: #f2f8f4; }
.smcga-upload-file { font-size: 14px; color: #15803d; font-weight: 600; margin-top: 8px; }
.smcga-upload-file:empty { display: none; }

/* Additional info */
.smcga-comment-label { margin-bottom: 8px; font-weight: 400; }
.smcga-form-wrap textarea { resize: vertical; min-height: 90px; }

/* Benefits */
.smcga-benefits { list-style: none; margin: 0; padding: 0; }
.smcga-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  margin-bottom: 10px;
  color: #111;
}
.smcga-benefits svg { width: 19px; height: 19px; flex: 0 0 auto; margin-top: 2px; }

/* Submit */
.smcga-submit {
  display: block;
  width: 100%;
  margin-top: 28px;
  padding: 15px 0;
  background: #14532d;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.smcga-submit:hover { background: #0f3f22; }
.smcga-submit:disabled { opacity: .6; cursor: not-allowed; }

/* Messages */
.smcga-msg { margin-top: 18px; font-size: 15px; font-weight: 600; border-radius: 8px; }
.smcga-msg.ok { background: #e9f2ec; color: #14532d; padding: 14px 16px; }
.smcga-msg.err { background: #fdecec; color: #b91c1c; padding: 14px 16px; }
.smcga-msg:empty { display: none; }

/* Mobile */
@media (max-width: 640px) {
  .smcga-grid { grid-template-columns: 1fr; }
  .smcga-cards { grid-template-columns: 1fr; }
  .smcga-card-inner { min-height: 0; padding: 20px 14px; }
  .smcga-bank-row { gap: 36px; flex-wrap: wrap; }
  .smcga-title { font-size: 27px; }
  .smcga-radios { gap: 28px; }
}

/* Thank-you page */
.smcga-thankyou {
  max-width: 560px;
  margin: 48px auto;
  padding: 48px 28px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  border: 1px solid #e2e8e4;
  border-radius: 14px;
}
.smcga-thankyou-icon svg { width: 72px; height: 72px; }
.smcga-thankyou h1 { font-size: 30px; font-weight: 600; color: #111; margin: 18px 0 10px; }
.smcga-thankyou p { font-size: 16px; color: #374151; margin: 0 0 8px; line-height: 1.6; }
.smcga-thankyou-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 12px 30px;
  background: #14532d;
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
}
.smcga-thankyou-btn:hover { background: #0f3f22; color: #fff; }

/* Direct debit details box */
.smcga-dd-details { margin-top: 16px; }
.smcga-dd-details[hidden] { display: none !important; }
.smcga-dd-details input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
  color: #111;
  outline: none;
}
.smcga-dd-details input:focus { border-color: #14532d; box-shadow: 0 0 0 2px rgba(20, 83, 45, .12); }

/* Benefits: harden against theme list styles */
.smcga-form-wrap ul.smcga-benefits {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.smcga-form-wrap ul.smcga-benefits li {
  list-style: none !important;
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px !important;
  line-height: 1.5;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #111 !important;
}
.smcga-form-wrap ul.smcga-benefits li::before,
.smcga-form-wrap ul.smcga-benefits li::marker { content: none !important; }
