/* ---------------------------------------------
   APA™ Signup (Vercel-style split panel)
   Enqueued by page-apa-signup-vercel.php
   --------------------------------------------- */
:root {
  --apa-green: #1c5c3f;
  --apa-green-mid: #2a7350;
  --apa-navy: #163b52;
  --apa-navy-ink: #16324a;
  --apa-gold: #c9a227;
  --apa-grey: #5b6b74;
  --apa-ink: #2b2f31;
  --apa-line: #d9dcdb;
  --apa-page-bg: #f5f6f5;
  --apa-mint-bg: #e9f2ee;
}

html, body {
  height: 100%;
}

.avs-body {
  margin: 0;
  background: var(--apa-page-bg);
}

.avs-page * {
  box-sizing: border-box;
}

.avs-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  color: var(--apa-ink);
  margin:0 auto;
}

/* ---------- Card shell ---------- */
.avs-card {
  width: 100%;
  max-width: 76rem; /* ~1120px */
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(20, 40, 35, 0.12), 0 2px 8px rgba(20, 40, 35, 0.06);
}

@media (max-width: 860px) {
  .avs-card {
    grid-template-columns: 1fr;
  }
}

/* ---------- Left panel (brand / hero) ---------- */
.avs-panel-left {
  position: relative;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  padding: 3rem 2.75rem;
  background: linear-gradient(150deg, var(--apa-green) 0%, var(--apa-navy) 100%);
  color: #ffffff;
}

@media (max-width: 860px) {
  .avs-panel-left {
    padding: 2.5rem 1.75rem;
  }
}

.avs-logo {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 1.0625rem;
}

.avs-logo-mark {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.avs-logo-sep {
  opacity: 0.5;
}

.avs-logo-label {
  font-weight: 400;
  opacity: 0.9;
}

.avs-hero {
  margin-top: 2.5rem;
}

.avs-hero-heading {
  margin: 0;
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.3;
  color:#ffffff;
}

@media (min-width: 640px) {
  .avs-hero-heading {
    font-size: 1.875rem;
  }
}

.avs-hero-text {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 26rem;
}

.avs-checklist {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.avs-checklist li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.92);
}

.avs-check-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--apa-gold);
  font-size: 0.75rem;
  font-weight: 700;
}

.avs-panel-footer {
  bottom: 3rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  position:absolute;
}

/* ---------- Right panel (form) ---------- */
.avs-panel-right {
  padding: 3rem 3.25rem;
  display: flex;
  flex-direction: column;
}

@media (max-width: 860px) {
  .avs-panel-right {
    padding: 2.5rem 1.75rem;
  }
}

/* Step progress */
.avs-progress {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.avs-progress-track {
  flex: 1 1 auto;
  display: flex;
  gap: 0.4rem;
}

.avs-progress-seg {
  flex: 1 1 0;
  height: 6px;
  border-radius: 999px;
  background: var(--apa-line);
  overflow: hidden;
}

.avs-progress-seg--filled {
  background: var(--apa-green);
}

.avs-progress-label {
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--apa-grey);
  white-space: nowrap;
}

/* Form heading */
.avs-form-heading {
  margin: 1.5rem 0 0;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--apa-navy-ink);
}

.avs-form-subtext {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: var(--apa-grey);
}

.avs-form-subtext a {
  color: var(--apa-green);
  font-weight: 700;
  text-decoration: none;
}

.avs-form-subtext a:hover {
  text-decoration: underline;
}

/* ---------- WPForms slot ---------- */
.avs-form-slot {
  margin-top: 1.5rem;
}

.avs-form-placeholder {
  border: 1px dashed var(--apa-line);
  border-radius: 0.375rem;
  padding: 2.5rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--apa-grey);
  background: #fafbfa;
}

/* Fallback styling so native inputs/selects/buttons inside the form slot
   match the design even before WPForms' own theme CSS is configured. */
.avs-form-slot label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--apa-ink);
}

.avs-form-slot input[type="text"],
.avs-form-slot input[type="email"],
.avs-form-slot input[type="password"],
.avs-form-slot select,
.avs-form-slot textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--apa-line);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--apa-ink);
  background: #ffffff;
}

.avs-form-slot input:focus,
.avs-form-slot select:focus,
.avs-form-slot textarea:focus {
  outline: none;
  border-color: var(--apa-green);
  box-shadow: 0 0 0 3px rgba(28, 92, 63, 0.15);
}

.avs-form-slot .avs-field-hint {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: var(--apa-grey);
}

/* ---------- Primary button (Continue →) ---------- */
.avs-btn-primary,
.avs-form-slot button,
.avs-form-slot input[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9rem 1.5rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 0.375rem;
  background: var(--apa-green);
  color: #ffffff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.avs-btn-primary:hover,
.avs-form-slot button:hover,
.avs-form-slot input[type="submit"]:hover {
  background: var(--apa-green-mid);
  color: #ffffff;
}

.avs-btn-primary .avs-btn-arrow {
  font-size: 1rem;
  line-height: 1;
}

/* =========================================================
   Tip / callout box — paste this in a WPForms HTML field for
   the "Apply for transformative, curated African journeys..."
   note:

     <div class="avs-tip-box">
       <span class="avs-tip-icon">💡</span>
       <span>Apply for transformative, curated African journeys
       and track your submission status.</span>
     </div>
   ========================================================= */
.avs-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  /* margin-top: 1.25rem; */
  padding: 0.875rem 1rem;
  border-radius: 0.375rem;
  background: var(--apa-mint-bg);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--apa-ink);
}

.avs-tip-icon {
  flex: 0 0 auto;
  font-size: 0.9375rem;
  line-height: 1.4;
}

/* ---------- Small-screen refinements ---------- */
@media (max-width: 480px) {
  .avs-page {
    padding: 1.25rem 0.75rem;
  }

  .avs-card {
    border-radius: 0.5rem;
  }

  .avs-panel-left,
  .avs-panel-right {
    padding: 2rem 1.25rem;
  }

  .avs-hero-heading {
    font-size: 1.375rem;
  }
}
