/* =========================
   PROGRAM PAGES SHARED CSS
   Used by /paws and /superzoo
   Depends only on base_public.html + site.css header/footer
========================= */

/* =========================
   PAGE + CONTAINER
========================= */

.program-page {
  width: 100%;
  background: #f8f9fa;
  color: #1f2933;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

.program-page *,
.program-page *::before,
.program-page *::after {
  box-sizing: border-box;
}

.program-container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 0 48px;
}

/* =========================
   BANNER
========================= */

.program-banner {
  width: 100%;
  max-width: 720px;      /* match hero and cards */
  margin: 8px auto 28px;
}

.program-banner-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.program-page-superzoo .program-banner-image {
  border-radius: 18px;
}

/* =========================
   HERO
========================= */

.program-hero {
  width: 100%;
  max-width: 720px;
  margin: 10px auto 40px;
  padding: 32px;
  border-radius: 15px;
  background: linear-gradient(135deg, #5EBCBC 0%, #3FAE9C 100%);
  color: #ffffff;
  text-align: center;
}

.program-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.5px;
}

.program-subtitle {
  max-width: 620px;
  margin: 0 auto 18px;
  color: rgba(255,255,255,.96);
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.45;
  text-align: left;
}

.program-subtitle strong {
  font-weight: 700;
}

.program-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  border: 0;
}

.program-button-dark {
  background: #000000;
  color: #ffffff !important;
}

.program-button-dark:hover {
  background: #1f1f1f;
  color: #ffffff !important;
}

/* =========================
   SECTIONS + CARDS
========================= */

.program-section {
  width: 100%;
  max-width: 720px;
  margin: 40px auto;
}

.program-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.program-section h2,
.program-section h3 {
  margin: 0 0 14px;
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
}

.program-section h2 {
  font-size: clamp(22px, 3vw, 28px);
}

.program-section h3 {
  font-size: clamp(19px, 2.4vw, 23px);
}

.section-intro {
  margin: 0 0 22px;
  color: #425466;
  font-size: 16px;
  line-height: 1.55;
}

.section-intro:last-child {
  margin-bottom: 0;
}

/* =========================
   FEATURE LISTS
========================= */

.program-feature-list {
  list-style: none;
  margin: 16px 0 0;
  padding-left: 0;
}

.program-feature-list li {
  position: relative;
  margin-bottom: 11px;
  padding-left: 24px;
  color: #1f2933;
  font-size: 16px;
  line-height: 1.45;
}

.program-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #3FAE9C;
  font-weight: 800;
}

.program-feature-list li:last-child {
  margin-bottom: 0;
}

/* =========================
   VIDEO
========================= */

.program-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.program-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.program-unmute-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 20;
    transform: translate(-50%, -50%);
    padding: 16px 20px;
    border-radius: 12px;
    background: rgba(0,0,0,.75);
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
}


/* =========================
   SIGNUP + FORM
========================= */

.program-signup,
.program-apply-box {
  width: 100%;
  max-width: 720px;
  margin: 40px auto;
}

.program-signup {
  scroll-margin-top: 90px;
}

.program-apply-box {
  margin-top: 0;
  margin-bottom: 0;
  padding: 35px 25px;
  border-radius: 12px;
  background: #f3f3f3;
}

.program-apply-box h2 {
  margin: 0 0 22px;
  color: #111827;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.25;
}

.program-page form label {
  display: block;
  margin: 0 0 6px;
  color: #1f2933;
  font-size: 14px;
  font-weight: 600;
}

.program-page form input,
.program-page form select,
.program-page form textarea {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2933;
  font: inherit;
  font-size: 15px;
  line-height: 1.3;
}

.program-page form textarea {
  min-height: 120px;
  resize: vertical;
}

.program-page form input:focus,
.program-page form select:focus,
.program-page form textarea:focus {
  outline: none;
  border-color: #5EBCBC;
  box-shadow: 0 0 0 3px rgba(94,188,188,.22);
}

.program-page button[type="submit"] {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 0;
  border-radius: 10px;
  background: #000000;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.program-page button[type="submit"]:hover {
  background: #1f1f1f;
}

.program-page button[type="submit"]:disabled {
  opacity: .7;
  cursor: not-allowed;
}

/* =========================
   PAWS MULTI SELECT
========================= */

.program-page-paws .multi-select-container {
  position: relative;
  z-index: 100;
  margin-bottom: 22px;
}

.program-page-paws .multi-select-display {
  position: relative;
  padding: 14px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font-size: 15px;
}

.program-page-paws .multi-select-display::after {
  content: "▼";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: #425466;
}

.program-page-paws .multi-select-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 9999;
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,.14);
}

.program-page-paws .multi-select-dropdown label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.program-page-paws .multi-select-dropdown input[type="checkbox"] {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

/* =========================
   SUPERZOO GIVEAWAY BOX
========================= */

.program-giveaway-box {
  max-width: 640px;
  margin: 28px auto 0;
  padding: 20px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);
  text-align: center;
}

.program-submit-cta {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 28px;
  border: 0;
  border-radius: 12px;
  background: #000000;
  color: #ffffff;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
}

.program-giveaway-copy {
  max-width: 600px;
  margin: 18px auto 10px;
  color: #26323a;
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 600;
  line-height: 1.35;
}

.program-giveaway-copy p {
  margin: 0;
}

.program-giveaway-copy strong {
  color: #118f97;
  font-weight: 700;
}

.program-gift-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 12px auto 16px;
  color: #118f97;
}

.program-gift-divider span {
  width: 100px;
  height: 2px;
  background: #118f97;
}

.program-gift-divider svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.program-deadline-ribbon {
  max-width: 720px;
  margin: 0 auto;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fff3a0;
  color: #1f252b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: clamp(16px, 2.1vw, 20px);
  font-weight: 600;
  line-height: 1.25;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

.program-deadline-ribbon p {
  margin: 0;
}

.program-deadline-ribbon strong {
  color: #118f97;
  font-weight: 700;
}

.program-deadline-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #118f97;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.program-deadline-icon svg {
  width: 22px;
  height: 22px;
}

/* =========================
   LIGHTBOX / MODALS
========================= */

.program-modal,
.earnings-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.78);
}

.program-modal.is-open,
.earnings-lightbox-overlay.active {
  display: flex;
}

.program-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.program-modal-content,
.earnings-lightbox-inner {
  position: relative;
  z-index: 1;
  width: min(94vw, 1200px);
  max-height: 92vh;
}

.program-modal-image,
.earnings-lightbox-image {
  display: block;
  width: 100%;
  max-height: 92vh;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: #ffffff;
}

.program-modal-close,
.earnings-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
}

/* =========================
   ALERTS
========================= */

.program-page .form-errors {
  margin-bottom: 18px;
}

.program-page .alert {
  margin-bottom: 12px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .program-container {
    max-width: 100%;
    padding: 14px 12px 42px;
  }

  .program-banner {
    margin: 8px auto 22px;
  }

  .program-banner-image,
  .program-page-superzoo .program-banner-image {
    border-radius: 14px;
  }

  .program-hero {
    max-width: 100%;
    margin: 10px auto 28px;
    padding: 24px 18px;
  }

  .program-title {
    font-size: 28px;
    line-height: 1.15;
  }

  .program-subtitle {
    font-size: 16px;
    text-align: left;
  }

  .program-section {
    max-width: 100%;
    margin: 28px auto;
  }

  .program-card {
    padding: 18px;
  }

  .program-signup {
    max-width: 100%;
    margin: 28px auto;
  }

  .program-apply-box {
    padding: 24px 18px;
  }


  .program-gift-divider span {
    width: 72px;
  }

  .program-deadline-ribbon {
    gap: 10px;
    padding: 10px 12px;
  }

  .desktop-only {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .program-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .program-hero {
    padding: 22px 16px;
  }

  .program-card,
  .program-apply-box {
    padding: 18px 16px;
  }

  .program-submit-cta {
    padding: 10px 18px;
    font-size: 19px;
  }

}

