/* registration_form.css
   Hilltop Farm Community Garden - Registration Page Styles
   Location: /css/registration_form.css
*/

body {
  background-color: #F5EDD6;
  font-family: 'Lato', sans-serif;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8a96e' fill-opacity='0.18'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.vendor-page-header {
  background-color: #8B2222;
  color: #F5EDD6;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vendor-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 8px,
    rgba(0,0,0,0.06) 8px, rgba(0,0,0,0.06) 10px
  );
}
.vendor-page-header .inner { position: relative; z-index: 1; }
.vendor-page-header .org-label {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: #E8D8B0;
  margin-bottom: .5rem;
}
.vendor-page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 700;
  color: #F5EDD6;
  line-height: 1.15;
  margin-bottom: .4rem;
}
.vendor-page-header .subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2.0rem;
  color: #E8D8B0;
}
.vendor-page-header hr {
  border: none;
  border-top: 2px solid rgba(245,237,214,.35);
  width: 60%;
  margin: 1.25rem auto;
}
.vendor-page-header .tagline {
  font-size: 1.5rem;
  color: rgba(245,237,214,.8);
  margin: 0;
}

.form-card {
  background: #FDFAF3;
  border: 1px solid #E8D8B0;
  border-radius: .5rem;
  box-shadow: 0 6px 32px rgba(90,40,20,.12);
  overflow: hidden;
  padding: 2.25rem 2.5rem;
}
@media (max-width: 576px) {
  .form-card { padding: 1.5rem 1.25rem; }
}

.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #8B2222;
  border-bottom: 2px solid #8B2222;
  padding-bottom: .35rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: .03em;
  color: #4A3728;
  margin-bottom: .3rem;
}

.form-control, .form-select {
  border: 1.5px solid #C8B89A;
  border-radius: .35rem;
  background: #FFFDF7;
  color: #2A1F1F;
  font-size: 1.5rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: #8B2222;
  box-shadow: 0 0 0 3px rgba(139,34,34,.15);
  background: #fff;
}

.form-text { color: #7A6048; font-size: .8rem; }

/* ── Radio buttons and checkboxes ────────────────────────────────
   Sized up to 1.4rem and given a strong 2px border so they read
   clearly on all monitors. Unchecked border uses dark brown so the
   control is visible before interaction.
──────────────────────────────────────────────────────────────── */
.form-check-input {
  width:  1.4rem;
  height: 1.4rem;
  min-width: 1.4rem;
  border: 2px solid #7A6048;
  background-color: #FFFDF7;
  cursor: pointer;
  margin-top: .15rem;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.form-check-input:checked {
  background-color: #8B2222;
  border-color: #8B2222;
}

.form-check-input:hover:not(:disabled) {
  border-color: #4A3728;
}

.form-check-input:focus {
  border-color: #8B2222;
  box-shadow: 0 0 0 3px rgba(139,34,34,.2);
  outline: none;
}

.form-check-label {
  font-size: 1.4rem;
  color: #4A3728;
  cursor: pointer;
  padding-left: .35rem;
}

/* ─────────────────────────────────────────────────────────────── */

.fee-callout {
  background: #3A5C38;
  color: #F5EDD6;
  border-radius: .45rem;
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .85rem;
}
.fee-callout .fee-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.fee-callout .fee-desc {
  font-size: 1.5rem;
  color: rgba(245,237,214,.85);
  margin-top: .2rem;
}

.agreement-box {
  background: #F5EDD6;
  border: 1px solid #C8B89A;
  border-radius: .4rem;
  padding: 1rem 1.2rem;
  font-size: 1.3rem;
  color: #4A3728;
  line-height: 1.6;
  margin-bottom: .85rem;
}

.btn-vendor-submit {
  background-color: #8B2222;
  border: none;
  color: #F5EDD6;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .75rem 2.5rem;
  border-radius: .35rem;
  cursor: pointer;
  transition: background-color .2s, transform .1s;
}
.btn-vendor-submit:hover { background-color: #5C1616; transform: translateY(-1px); }
.btn-vendor-submit:active { transform: translateY(0); }

.req { color: #8B2222; margin-left: 2px; }

.success-box {
  display: none;
  background: #3A5C38;
  color: #F5EDD6;
  border-radius: .4rem;
  padding: 1.4rem 1.5rem;
  text-align: center;
  margin-bottom: 1.25rem;
}
.success-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
.success-box p {
  font-size: .92rem;
  color: rgba(245,237,214,.88);
  margin: 0;
}

.pay-method-error {
  font-size: .85rem;
  color: #dc3545;
  display: none;
  margin-top: .25rem;
}

.req-note {
  font-size: .83rem;
  color: #7A6048;
}
