/* YouthPlug Business Manager – Public forms */
.ypbm-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  font-family: inherit;
}
.ypbm-form-title {
  margin: 0 0 1.25rem;
  font-size: 1.4rem;
  color: #101828;
}
.ypbm-form-message {
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.ypbm-form-message.ypbm-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.ypbm-form-message.ypbm-error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.ypbm-enquiry-form .ypbm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ypbm-enquiry-form .ypbm-field {
  margin-bottom: 1rem;
}
.ypbm-enquiry-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #172033;
}
.ypbm-enquiry-form .required {
  color: #DC2626;
}
.ypbm-enquiry-form input[type="text"],
.ypbm-enquiry-form input[type="email"],
.ypbm-enquiry-form input[type="tel"],
.ypbm-enquiry-form select,
.ypbm-enquiry-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #D0D5DD;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: #172033;
  box-sizing: border-box;
}
.ypbm-enquiry-form input:focus,
.ypbm-enquiry-form select:focus,
.ypbm-enquiry-form textarea:focus {
  outline: 2px solid #2563EB;
  outline-offset: 1px;
  border-color: #2563EB;
}
.ypbm-consent label {
  font-weight: 400;
  font-size: 0.875rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.ypbm-consent input {
  margin-top: 0.2rem;
}
.ypbm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.ypbm-btn-primary {
  background: #2563EB;
  color: #fff;
  border-color: #2563EB;
}
.ypbm-btn-primary:hover {
  background: #1D4ED8;
  color: #fff;
}
.ypbm-btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
.ypbm-btn-outline {
  background: transparent;
  color: #2563EB;
  border-color: #2563EB;
}
.ypbm-btn-outline:hover {
  background: #2563EB;
  color: #fff;
}

/* Services grid */
.ypbm-services-grid {
  display: grid;
  grid-template-columns: repeat(var(--ypbm-cols, 3), 1fr);
  gap: 1.5rem;
}
.ypbm-service-card {
  background: #F5F7FA;
  border: 1px solid #E4E7EC;
  border-radius: 12px;
  padding: 1.5rem;
}
.ypbm-service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #101828;
}
.ypbm-service-excerpt {
  font-size: 0.9rem;
  color: #667085;
  margin-bottom: 1rem;
}
.ypbm-service-price {
  font-weight: 600;
  color: #2563EB;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .ypbm-enquiry-form .ypbm-row {
    grid-template-columns: 1fr;
  }
  .ypbm-services-grid {
    grid-template-columns: 1fr;
  }
}

.ypbm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.ypbm-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ypbm-cols-1 { grid-template-columns: 1fr; }
.ypbm-cols-4 { grid-template-columns: repeat(4, 1fr); }

.ypbm-service-card {
  background: #fff;
  border: 1px solid #E4E7EC;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.ypbm-service-card:hover {
  box-shadow: 0 12px 28px rgba(16,24,40,0.1);
  transform: translateY(-2px);
}
.ypbm-service-thumb {
  margin: -1.5rem -1.5rem 1rem;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  height: 160px;
}
.ypbm-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ypbm-service-short {
  font-size: 0.92rem;
  color: #667085;
  margin: 0 0 0.75rem;
}
.ypbm-service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}
.ypbm-service-features li {
  padding: 0.2rem 0 0.2rem 1.15rem;
  position: relative;
}
.ypbm-service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563EB;
  font-weight: 700;
}
.ypbm-service-full {
  font-size: 0.9rem;
  color: #172033;
  margin: 0.5rem 0 0.75rem;
  padding: 0.75rem;
  background: #F5F7FA;
  border-radius: 8px;
  border: 1px solid #E4E7EC;
}
.ypbm-toggle-desc {
  background: none;
  border: none;
  color: #2563EB;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.75rem;
  text-align: left;
  font-family: inherit;
}
.ypbm-toggle-desc:hover {
  text-decoration: underline;
}
.ypbm-service-actions {
  margin-top: auto;
  padding-top: 0.75rem;
}
.ypbm-btn-primary {
  display: inline-block;
  background: #2563EB;
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.ypbm-btn-primary:hover {
  background: #1D4ED8;
}
.ypbm-empty {
  text-align: center;
  color: #667085;
  padding: 1.5rem;
}

@media (max-width: 900px) {
  .ypbm-services-grid,
  .ypbm-cols-3,
  .ypbm-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .ypbm-services-grid,
  .ypbm-cols-2,
  .ypbm-cols-3,
  .ypbm-cols-4 {
    grid-template-columns: 1fr;
  }
}

.ypbm-actions-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.75rem;
}
.ypbm-actions-2 .ypbm-btn {
  flex: 1;
  text-align: center;
  min-width: 110px;
}
.ypbm-btn-outline {
  display: inline-block;
  background: transparent;
  color: #2563EB !important;
  border: 1.5px solid #2563EB;
  padding: 0.55rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
}
.ypbm-btn-outline:hover {
  background: #2563EB;
  color: #fff !important;
}

/* Price tiers: Starter | Recommended | Premium */
.ypbm-price-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0.75rem 0 1rem;
}
.ypbm-tier {
  background: #F5F7FA;
  border: 1px solid #E4E7EC;
  border-radius: 8px;
  padding: 0.55rem 0.35rem;
  text-align: center;
}
.ypbm-tier-recommended {
  background: #EEF2FF;
  border-color: #2563EB;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}
.ypbm-tier-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #667085;
  margin-bottom: 0.2rem;
}
.ypbm-tier-recommended .ypbm-tier-label {
  color: #2563EB;
}
.ypbm-tier-price {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #101828;
}
@media (max-width: 560px) {
  .ypbm-price-tiers {
    grid-template-columns: 1fr;
  }
}

/* ===== Packages board + sliding cards ===== */
.ypbm-packages-board {
  max-width: 920px;
  margin: 0 auto;
}
.ypbm-board-title {
  text-align: center;
  margin: 0 0 1.25rem;
  color: #101828;
}
.ypbm-service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.ypbm-service-tab {
  border: 1.5px solid #E4E7EC;
  background: #fff;
  color: #344054;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ypbm-service-tab:hover {
  border-color: #2563EB;
  color: #2563EB;
}
.ypbm-service-tab.is-active {
  background: #2563EB;
  border-color: #2563EB;
  color: #fff;
}
.ypbm-panel-intro {
  text-align: center;
  color: #667085;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.ypbm-package-slider {
  position: relative;
}
.ypbm-package-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ypbm-pkg-prev,
.ypbm-pkg-next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #E4E7EC;
  background: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #101828;
  font-family: inherit;
}
.ypbm-pkg-prev:hover,
.ypbm-pkg-next:hover {
  border-color: #2563EB;
  color: #2563EB;
}
.ypbm-package-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
}
.ypbm-pkg-dot {
  border: 1.5px solid #E4E7EC;
  background: #F5F7FA;
  color: #667085;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}
.ypbm-pkg-dot.is-active {
  background: #2563EB;
  border-color: #2563EB;
  color: #fff;
}

.ypbm-package-track-wrap {
  overflow: hidden;
  border-radius: 16px;
}
.ypbm-package-track {
  display: flex;
  transition: transform 0.35s ease;
  width: 100%;
}
.ypbm-package-card {
  flex: 0 0 100%;
  background: #fff;
  border: 1px solid #E4E7EC;
  border-radius: 16px;
  padding: 1.75rem 1.5rem 1.5rem;
  box-sizing: border-box;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.ypbm-package-card.is-recommended {
  border-color: #2563EB;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12);
}
.ypbm-pkg-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #2563EB;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}
.ypbm-pkg-name {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: #101828;
}
.ypbm-pkg-price {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: #2563EB;
  line-height: 1.2;
}
.ypbm-pkg-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  flex: 1;
}
.ypbm-pkg-features li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  font-size: 0.92rem;
  color: #344054;
  border-bottom: 1px solid #F2F4F7;
}
.ypbm-pkg-features li:last-child {
  border-bottom: none;
}
.ypbm-pkg-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2563EB;
  font-weight: 700;
}
.ypbm-pkg-cta {
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* On wider screens show a hint of next card optional - keep one card focus for clarity */
@media (min-width: 700px) {
  .ypbm-package-card {
    padding: 2rem 2.25rem 1.75rem;
  }
}


.ypbm-pkg-prices {
  margin: 0 0 1rem;
}
.ypbm-pkg-price {
  margin: 0 0 0.25rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: #2563EB;
  line-height: 1.2;
}
.ypbm-pkg-price-secondary {
  font-size: 1.1rem;
  font-weight: 700;
  color: #344054;
}
.ypbm-pkg-period {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #667085;
}


.ypbm-once-disclaimer {
  background: #FFF7ED;
  border: 1px solid #FDBA74;
  color: #9A3412;
  font-size: 0.85rem;
  line-height: 1.45;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin: 0 0 1rem;
}
.ypbm-pkg-once-note,
.ypbm-pkg-monthly-note {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #667085;
}
.ypbm-pkg-once-note {
  color: #9A3412;
}


/* Sale pricing */
.ypbm-pkg-sale-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #DC2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  z-index: 2;
}
.ypbm-pkg-badge-secondary {
  top: 44px;
  background: #2563EB;
  font-size: 0.65rem;
}
.ypbm-package-card.is-on-sale {
  border-color: #FCA5A5;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.1);
}
.ypbm-price-was {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 1rem;
  font-weight: 600;
  color: #98A2B3;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.85;
}
.ypbm-price-now {
  font-weight: 800;
  color: #DC2626;
}
.ypbm-pkg-price-secondary .ypbm-price-now {
  color: #B91C1C;
  font-size: 1.05em;
}

.ypbm-once-disclaimer-soft {
  background: #F0F9FF;
  border-color: #7DD3FC;
  color: #0C4A6E;
}

.ypbm-tier-sale {
  font-style: normal;
  font-size: 0.7rem;
  color: #DC2626;
  font-weight: 800;
  margin-left: 0.25rem;
}
.ypbm-tier.is-on-sale .ypbm-price-was {
  display: block;
  font-size: 0.75rem;
  text-decoration: line-through;
  color: #98A2B3;
}
.ypbm-tier.is-on-sale .ypbm-price-now {
  display: block;
  color: #DC2626;
  font-weight: 800;
}

.ypbm-pkg-prev,
.ypbm-pkg-next,
.ypbm-pkg-dot,
.ypbm-service-tab {
  cursor: pointer;
  pointer-events: auto;
  z-index: 5;
  position: relative;
}
.ypbm-package-slider,
.ypbm-packages-board {
  pointer-events: auto;
}

/* Package grid — works without JavaScript for all visitors */
.ypbm-package-grid-wrap {
  width: 100%;
  margin: 1rem 0 1.5rem;
}
.ypbm-package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}
.ypbm-package-grid .ypbm-package-card {
  flex: none;
  width: 100%;
  min-height: 0;
  height: 100%;
}
.ypbm-package-grid .ypbm-pkg-cta {
  margin-top: auto;
}
@media (max-width: 900px) {
  .ypbm-package-grid {
    grid-template-columns: 1fr;
  }
}

/* Service nav (anchor links — no JS) */
.ypbm-service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 1.75rem;
}
.ypbm-service-nav-link {
  display: inline-block;
  border: 1.5px solid #E4E7EC;
  background: #fff;
  color: #344054 !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.ypbm-service-nav-link:hover,
.ypbm-service-nav-link:focus {
  border-color: #2563EB;
  color: #2563EB !important;
  background: #EEF2FF;
}
.ypbm-service-section {
  margin: 0 0 2.5rem;
  padding-top: 0.5rem;
  scroll-margin-top: 100px;
}
.ypbm-service-section-title {
  text-align: center;
  margin: 0 0 0.75rem;
  color: #101828;
  font-size: 1.35rem;
}

.ypbm-service-details {
  margin: 0.75rem 0;
}
.ypbm-service-details summary {
  list-style: none;
  cursor: pointer;
  display: inline-block;
}
.ypbm-service-details summary::-webkit-details-marker { display: none; }
.ypbm-service-card h3 a {
  color: inherit;
  text-decoration: none;
}
.ypbm-service-card h3 a:hover {
  color: #2563EB;
}


/* package grid equal heights */
.ypbm-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.ypbm-package-grid .ypbm-package-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
}
.ypbm-package-grid .ypbm-pkg-features {
  flex: 1 1 auto;
}
.ypbm-package-grid .ypbm-pkg-cta {
  margin-top: auto;
}
@media (max-width: 900px) {
  .ypbm-package-grid {
    grid-template-columns: 1fr;
  }
}
