/* ═══════════════════════════════════════════════════════════════
   SRJ Harvest — Registration & Login  v1.3
   Full-width inside app shell. No container padding.
   Simple pill progress bar. Cards layout for step 1.
═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ── SCOPE RESET ─────────────────────────────────────────────── */
.srj-wrap, .srj-wrap * { box-sizing: border-box; }
.srj-wrap {
  font-family: 'Nunito','Segoe UI',sans-serif;
  font-size: 15px;
  color: #2C1810;
  /* NO left/right padding — we are full-width inside the app shell */
  padding: 0 0 84px;
  margin: 0;
  line-height: 1.5;
  width: 100%;
}
/* Kill WP page title */
.entry-title, h1.entry-title,
.page-title, h1.page-title,
.post-title,  h1.post-title { display: none !important; }

/* ── PROGRESS — pill bar ─────────────────────────────────────── */
.srj-progress {
  display: flex;
  background: #EDE3CC;
  border-bottom: 3px solid #d4a96a;
}
.srj-progress-pill {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  font-family: 'Nunito', sans-serif;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #9B8B75;
  background: #EDE3CC;
  border-right: 1px solid #D8CAB0;
  transition: all .2s ease;
  position: relative;
}
.srj-progress-pill:last-child { border-right: none; }
.srj-progress-pill.active {
  background: #d4a96a;
  color: #1a0e04;
}
.srj-progress-pill.done {
  background: #6B8F5E;
  color: #fff;
}
.srj-progress-pill.done::after {
  content: ' ✓';
  font-size: .65rem;
}

/* ── STEP ANIMATION ──────────────────────────────────────────── */
.srj-step.active { animation: srjIn .22s ease; }
@keyframes srjIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

/* ── HERO BANNER ─────────────────────────────────────────────── */
.srj-hero {
  background-color: #2d1a0a;
  background-image: url('https://harvest.sami-jackson.online/wp-content/uploads/sites/2/2026/04/wood-scaled.jpg');
  background-size: cover;
  background-position: center 35%;
  padding: 32px 20px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}
.srj-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(18,9,2,.52) 0%, rgba(28,14,4,.74) 100%);
}
.srj-hero-logo {
  width: 64px; height: 64px; object-fit: contain;
  display: block; margin: 0 auto 12px;
  position: relative; z-index: 1;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.45));
}
.srj-hero-title {
  font-family: 'Lora',Georgia,serif;
  font-size: 1.6rem; font-weight: 600;
  color: #f7eedf; margin: 0 0 8px; line-height: 1.2;
  position: relative; z-index: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.srj-hero-title em { color: #d4a96a; font-style: italic; }
.srj-hero-desc {
  font-size: .84rem; color: rgba(247,238,223,.8);
  line-height: 1.6; margin: 0;
  position: relative; z-index: 1;
}
.srj-hero-desc em { color: #d4a96a; font-style: italic; }

/* ── SECTION LABEL ───────────────────────────────────────────── */
.srj-section-label {
  background: #F5EDD8;
  border-bottom: 1px solid #E0D0B8;
  padding: 14px 16px;
  display: flex; align-items: baseline; gap: 10px;
}
.srj-section-label span {
  font-family: 'Lora',Georgia,serif;
  font-size: 1.05rem; font-weight: 600; color: #2C1810;
}
.srj-section-label small { font-size: .76rem; color: #9B8B75; }

/* ── CARDS ───────────────────────────────────────────────────── */
.srj-cards {
  background: #FFFCF5;
  padding: 8px 14px 4px;
  width: 100%;
}
.srj-card {
  background: #FDF8F0;
  border: 1.5px solid #E0D0B8;
  border-radius: 10px;
  padding: 14px 15px;
  margin: 10px 0;
  width: 100%;
}
.srj-card-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 8px;
}
.srj-card-icon {
  width: 36px; height: 36px; object-fit: contain; flex-shrink: 0;
}
.srj-card-icon-emoji {
  font-size: 1.5rem; line-height: 1;
  width: 36px; text-align: center; flex-shrink: 0;
}
.srj-card h3 {
  font-family: 'Lora',Georgia,serif;
  font-size: .95rem; font-weight: 600; color: #2C1810;
  margin: 0; line-height: 1.3;
}
.srj-card > p {
  font-size: .84rem; color: #5C3D2E; line-height: 1.6; margin: 0;
}
.srj-callout {
  background: #F5EDD8;
  border-left: 3px solid #C27B4A;
  border-radius: 0 6px 6px 0;
  padding: 8px 12px;
  font-size: .78rem; color: #8B5E3C; font-style: italic;
  margin-top: 8px; line-height: 1.5;
}

/* ── LABEL ICON GRID ─────────────────────────────────────────── */
.srj-label-icons {
  display: flex; flex-wrap: wrap; gap: 10px 8px; margin-top: 10px;
}
/* 4-per-row centered grid variant */
.srj-label-icons--grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 8px;
  margin-top: 14px;
  justify-items: center;
}
.srj-label-icon {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  width: 100%; text-align: center;
}
.srj-label-icons--grid4 .srj-label-icon { width: 100%; }
.srj-label-icon img {
  width: 56px; height: 56px; object-fit: contain; display: block;
}
/* Larger in the 4-per-row grid */
.srj-label-icons--grid4 .srj-label-icon img {
  width: 62px; height: 62px;
}
.srj-label-icon span {
  font-size: .62rem; font-weight: 800; color: #5C3D2E;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1.3;
}

/* ── ALLERGEN GRID ───────────────────────────────────────────── */
.srj-card-allergen { background: #FFF8F0; border-color: #E8C89A; }
.srj-allergen-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 10px 6px; margin-top: 10px;
}
.srj-allergen {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
}
.srj-allergen img {
  width: 40px; height: 40px; object-fit: contain;
  background: rgba(0,0,0,.04); border-radius: 8px; padding: 4px; display: block;
}
.srj-allergen span {
  font-size: .6rem; font-weight: 800; color: #7B3F00;
  text-transform: uppercase; letter-spacing: .04em; line-height: 1.2;
}

/* ── AGREE ROW ───────────────────────────────────────────────── */
.srj-agree-row {
  background: #F5EDD8;
  border-top: 1px solid #E0D0B8; border-bottom: 1px solid #E0D0B8;
  padding: 14px 16px; width: 100%;
}
.srj-agree-label {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
}
.srj-agree-label input[type="checkbox"] {
  width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0;
  accent-color: #6B8F5E; cursor: pointer;
}
.srj-agree-text { font-size: .86rem; color: #5C3D2E; line-height: 1.5; }

/* ── STEP FOOTER / FORM HEAD / FORM BODY ─────────────────────── */
.srj-step-foot {
  padding: 14px 16px 0; background: #FFFCF5; width: 100%;
}
.srj-form-head {
  background: #FFFCF5; padding: 20px 16px 14px; border-bottom: 1px solid #E0D0B8;
}
.srj-form-head h2 {
  font-family: 'Lora',Georgia,serif;
  font-size: 1.1rem; font-weight: 600; color: #2C1810; margin: 0 0 3px;
}
.srj-form-head p { font-size: .8rem; color: #9B8B75; margin: 0; }
.srj-form-body { padding: 16px 16px 0; background: #FFFCF5; }

/* ── FIELDS ──────────────────────────────────────────────────── */
.srj-field { margin-bottom: 14px; }
.srj-field label {
  display: block; font-size: .8rem; font-weight: 700; color: #5C3D2E; margin-bottom: 5px;
  font-family: 'Nunito',sans-serif;
}
.srj-req { color: #C27B4A; }
.srj-field input[type="text"],
.srj-field input[type="email"],
.srj-field input[type="password"] {
  display: block; width: 100%; padding: 11px 14px;
  border: 2px solid #E0D0B8; border-radius: 8px;
  font-family: 'Nunito',sans-serif; font-size: .94rem; color: #2C1810;
  background: #FDF8F0; outline: none; -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.srj-field input:focus {
  border-color: #d4a96a; box-shadow: 0 0 0 3px rgba(212,169,106,.2); background: #fff;
}
.srj-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.srj-hint { display: block; font-size: .72rem; margin-top: 3px; min-height: 1em; }
.srj-hint.ok  { color: #2e7d32; }
.srj-hint.err { color: #C62828; }
.srj-pw-row { position: relative; }
.srj-pw-row input { padding-right: 46px; }
.srj-eye {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: .95rem;
  cursor: pointer; opacity: .5; padding: 4px;
  -webkit-tap-highlight-color: transparent;
}
.srj-eye:hover { opacity: 1; }
.srj-strength { font-size: .72rem; font-weight: 700; margin-top: 3px; min-height: 1em; }

/* ── NOTICE ──────────────────────────────────────────────────── */
.srj-notice {
  padding: 10px 14px; border-radius: 8px;
  font-size: .84rem; font-weight: 600; margin-bottom: 14px; line-height: 1.5;
}
.srj-notice-err { background: #FFEBEE; border: 1.5px solid #ef9a9a; color: #C62828; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.srj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 22px; border-radius: 8px;
  font-family: 'Nunito',sans-serif; font-size: .92rem; font-weight: 800;
  letter-spacing: .02em; text-decoration: none; cursor: pointer; border: none;
  transition: all .14s ease; -webkit-tap-highlight-color: transparent;
}
.srj-btn-full { width: 100%; margin-top: 2px; }
.srj-btn-gold {
  background: #d4a96a; color: #1a0e04;
  border: 2px solid #b8894e; box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.srj-btn-gold:hover:not(:disabled) {
  background: #c49558; color: #1a0e04;
  transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.srj-btn-gold:disabled { opacity: .42; cursor: not-allowed; transform: none; box-shadow: none; }
.srj-btn-ghost { background: transparent; color: #8B5E3C; border: 2px solid #E0D0B8; }
.srj-btn-ghost:hover { background: #EDE3CC; color: #2C1810; }
.srj-alt { text-align: center; font-size: .8rem; color: #9B8B75; margin-top: 12px; }
.srj-alt a { color: #4a7040; font-weight: 700; text-decoration: none; }
.srj-alt a:hover { text-decoration: underline; }

/* ── LOGIN ───────────────────────────────────────────────────── */
.srj-login-wrap { padding-bottom: 84px; }
.srj-remember {
  display: flex; align-items: center; gap: 8px;
  font-size: .84rem; color: #5C3D2E; margin-bottom: 14px; cursor: pointer;
}
.srj-remember input { width: 18px; height: 18px; accent-color: #6B8F5E; flex-shrink: 0; }
.srj-login-form button[type="submit"] { margin-top: 0; }
.srj-login-links {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 0 0; font-size: .8rem;
}
.srj-login-links a { color: #4a7040; font-weight: 700; text-decoration: none; }
.srj-login-links a:hover { text-decoration: underline; }
.srj-login-links span { color: #9B8B75; }

/* ── DONE SCREEN ─────────────────────────────────────────────── */
.srj-done {
  background-color: #F5EDD8;
  background-image: url('https://harvest.sami-jackson.online/wp-content/uploads/sites/2/2026/04/linen-scaled.jpg');
  background-size: 400px auto; background-blend-mode: multiply;
  text-align: center; padding: 48px 20px 60px; width: 100%;
}
.srj-done-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.srj-done h2 { font-family: 'Lora',Georgia,serif; font-size: 1.4rem; color: #2C1810; margin: 0 0 10px; }
.srj-done p { font-size: .88rem; color: #5C3D2E; line-height: 1.65; margin: 0 auto 6px; max-width: 280px; }
.srj-done .srj-btn { margin-top: 20px; }

/* ── MOBILE EDGE CASE ────────────────────────────────────────── */
@media (max-width: 360px) {
  .srj-row2 { grid-template-columns: 1fr; }
}
