/* Support page hero shape + content */
.faq-hero {
  position: relative;
  padding: 96px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  min-height: 320px;
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 520px;
}

.hero-shape-side {
  width: 760px;
  height: 420px;
  background: #bfe9c9;
  border-radius: 60px;
  transform: rotate(-6deg);
  flex: 0 0 auto;
}
.hero-title {
  font-size: 64px;
  margin: 0 0 12px;
  color: #1f7a42;
  font-weight: 800;
}
.hero-sub {
  margin: 0 0 28px;
  color: #2f6f54;
  font-size: 20px;
}
.hero-cta {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 20px;
  background: #1f5b3f;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.cancel-header{
  text-align: left !important;
}

.text-start p {
  padding-right: 100px;
}
@media (max-width: 1000px) {
  .hero-shape {
    width: 90%;
    height: 360px;
    transform: rotate(-4deg);
  }
  .hero-title {
    font-size: 40px;
  }
  .faq-hero {
    padding: 56px 0;
  }
}
@media (max-width: 600px) {
  .hero-shape {
    height: 260px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-sub {
    font-size: 16px;
  }
}

/* FAQ accordion styles */
.faq-list {
  padding: 48px 0;
}
.faq-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-item {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: var(--wb-primary);;
  
 
}
.faq-q span {
  display: inline-block;
  color: var(--wb-primary);
}
.faq-toggle {
  font-size: 20px;
  color: #1f7a42;
}
.faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
}
.faq-a p {
  margin: 14px 0;
  color: var(--wb-primary);
  line-height: 1.6;
}
.faq-q[aria-expanded="true"] + .faq-a {
  padding: 16px 20px;
  max-height: 400px;
  padding-top: 0px;
  margin-bottom: 0px;
}

.faq-q[aria-expanded="true"]{
  padding-bottom: 0px;
}
@media (max-width: 900px) {
  .hero-content {
    max-width: 100%;
  }
  .hero-shape-side {
    display: none;
  }
  .faq-inner {
    padding: 0 20px;
  }
}

.membership-table  {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 24px 0;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: 1px solid #e6e6e6 !important;
}
.membership-table  thead th {
    background: #33582a !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid #e6e6e6 !important;
}
.membership-table  tbody td {
    background: #ffffff !important;
    color: #222 !important;
    padding: 12px 14px !important;
    border-top: 1px solid #e6e6e6 !important;
}
.membership-table  tbody td + td {
    border-left: 1px solid #e6e6e6 !important;
}
.membership-table  tbody tr:nth-child(odd) td,
.membership-table  tbody tr:nth-child(even) td {
    background: #ffffff !important;
}

/* Cancel membership card styles */

.cancel-card {
  /* display: flex; */
  align-items: center;
  /* justify-content: space-between; */
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(15, 30, 20, 0.06);
  gap: 20px;
}
.cancel-left {
  flex: 1;
  min-width: 220px;
}
.cancel-left h2 {
  margin: 0 0 8px;
  color: #1f7a42;
  font-size: 26px;
}
.cancel-left .muted {
  margin: 0;
}
.muted {
  color: var(--wb-primary);
}

.cancel-right {
  flex: 0 0 420px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cancel-form {
  display: flex;
  gap: 14px;
  width: 100%;
  max-width: 520px;
}
.cancel-email {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font-size: 16px;
}
.cancel-email:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 123, 66, 0.08);
  border-color: #1f7a42;
}
.cancel-action {
  background: #1f5b3f;
  color: #fff;
  padding: 12px 26px;
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(31, 91, 63, 0.12);
}
.cancel-action:hover {
  filter: brightness(0.96);
}

/* Keep stacked layout when the 'flex-column' utility is present.
   Resize the button and align it to the right within the column. */
.cancel-form.flex-column {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.cancel-form.flex-column .cancel-email {
  width: 100%;
  flex: none;
}
.cancel-form.flex-column .cancel-action {
  align-self: flex-end;
  width: auto;
  padding: 10px 18px;
  min-width: 120px;
  flex: none;
}

@media (max-width: 900px) {
  .cancel-card {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }
  .cancel-right {
    justify-content: stretch;
    padding-top: 8px;
  }
  .cancel-form {
    flex-direction: row;
  }
    .faq-q{
    text-align: left;
    align-items: start;
  }

  .cancel-card .row{
    flex-direction: column;
    gap: 12px;
    
  }
  .text-start p{
    padding-right: 0;
  }
}
@media (max-width: 520px) {
  .cancel-form {
    flex-direction: column;
  }
  .cancel-action {
    width: 100%;
  }


}

/* On small screens, ensure our override doesn't prevent stacked layout */
@media (max-width: 520px) {
  .cancel-form.flex-column {
    flex-direction: column !important;
    align-items: stretch;
  }
  .cancel-form.flex-column .cancel-action {
    width: 100%;
    min-width: auto;
  }
}

/* Make spacing between top-level sections consistent within the support page */
.main-wrapper .container > section {
  margin: 40px 155px;
}

@media (max-width: 900px) {
  .main-wrapper .container > section {
    margin: 28px 0;
  }
}

@media (max-width: 520px) {
  .main-wrapper .container > section {
    margin: 20px 0;
  }
}
