.custom-faq-pill-checkbox .label-text{
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #FFF;
  color: #003764;
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  line-height: 24px;
  border: 1px solid transparent;
}
.custom-faq-pills{
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.custom-faq-pill-checkbox {
    background-color: #003764;
    border-radius: 8px;
    display: flex;
    flex-wrap: nowrap;
    column-gap: 0;
    justify-content: center;
}

.custom-faq-pill-checkbox input {
  display: none;
}

.custom-faq-pill-checkbox .remove-icon {
    transition: all 0.3s ease;
  display: none;
  padding: 3px 8px 0 0px;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #fff;
  
}

.custom-faq-pill-checkbox input:checked + .label-text + .remove-icon {
    display: inline;
   transition: all 0.3s ease;
}

.custom-faq-pill-checkbox input:checked + .label-text {
  color: #fff;
  background: #00000000;
  border-radius: 8px;
  
}

/* Mobile Dropdown */
.custom-faq-dropdown-wrapper {
  display: none;
  flex-direction: column;
  position: relative;
  width: 100%;
  margin-bottom: 28px;
}

.custom-faq-dropdown-toggle {
  background: #fff;
  border: 1px solid #D9D8D6;
  padding: 11px 16px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: #98989A;
}
.custom-faq-dropdown-toggle .plus-icon{
    font-size: 24px;
    color: #003764;
}

.custom-faq-dropdown-options {
    display: none;
    position: relative;
    background: #f6f6f6;
    border: 1px solid #003764;
    border-radius: 8px;
    margin-top: 8px;
    padding: 8px;
    z-index: 1000;
    flex-wrap: wrap;
    gap: 8px;
}
.custom-faq-dropdown-options-wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}
.custom-faq-selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.custom-faq-selected-tags .tag {
  background: #003764;
  color: #fff;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 14px;
  display: flex;
  align-items: center;
  font-weight: 700;
    line-height: 24px;
}

.custom-faq-selected-tags .tag .remove {
  margin-left: 8px;
    cursor: pointer;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
}

@media only screen and (max-width: 767px) {
  .custom-faq-pills {
    display: none;
  }
  .custom-faq-dropdown-wrapper {
    display: flex;
  }
}

/*-- Accordion styles --*/
.custom-faq-wrapper {
  font-family: inherit;
  color: #003764;
}


/* Accordion */
.custom-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.custom-faq-item {
  border-bottom: 1px solid #D0CFCD;
  overflow: hidden;
  transition: all 0.3s ease;
}
.custom-faq-item.active{
    background-color: #fff;
    transition: all 0.3s ease;
}

.custom-faq-question .custom-faq-question-text{
  font-weight: 500;
  color: #003764;
  font-size: 24px;
  line-height: 32px;
}
.custom-faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 26px;
}

.custom-faq-question-text {
  flex: 1;
}

.custom-faq-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.custom-faq-item.active .custom-faq-icon {
  transform: rotate(180deg);
}

.custom-faq-answer {
  display: none;
  padding: 0 24px 38px 24px;
  color: #003764;
}
.custom-faq-answer li {
    margin: 8px 0;
}
.custom-faq-answer * {
    margin: 16px 0;
}

@media only screen and (max-width: 767px) {
    .custom-faq-pills {
      margin-bottom: 28px;
    }
    .custom-faq-question {
        align-items: flex-start;
    }
    .custom-faq-icon{
        margin-top: 3px;
    }
}





/* sidebar */
.wa-custom-faq-wrapper {
  display: flex;
  gap: 24px;
}

.wa-custom-faq-sidebar {
  flex: 0 0 212px;
  display: flex;
  flex-direction: column;
  z-index: 1;
  gap: 12px;
}

.wa-custom-faq-sidebar .wa-custom-faq-btn {
  background: none;
  border: none !important;
  text-align: left;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  padding: 0;
  cursor: pointer;
  border-left: 3px solid transparent;
  position: relative;
  transition: all 0.2s ease;
}

.wa-custom-faq-sidebar .wa-custom-faq-btn.active {
  font-weight: 700;
}
.wa-custom-faq-sidebar .wa-custom-faq-btn:hover {
    border: none;
  font-weight: 700;
}

.wa-custom-faq-sidebar .wa-custom-faq-btn.active::before, .wa-custom-faq-sidebar .wa-custom-faq-btn:hover::before {
    content: "";
    width: 4px;
    height: 100%;
    background-color: #009ADE;
    display: block;
    position: absolute;
    left: -8px;
}
.wa-custom-faq-content .custom-faq-question{
      padding: 24px 16px;
  }

.wa-custom-faq-content {
  flex: 1;
  /*background: #fff;*/
}

.wa-custom-faq-back {
  display: none; /* hidden on desktop */
}
.wa-custom-faq-subheading{
    display: none;
}

/* =========================
   Mobile Styles
========================= */
 @media screen and (max-width: 767px) {
  .wa-custom-faq-wrapper {
    flex-direction: column;
    position: relative;
  }

  .wa-custom-faq-sidebar {
    flex: none;
    position: relative;
    z-index: 1;
    gap: 0;
  }
  .wa-custom-faq-main-block{
      overflow-y: auto;
  }

  .wa-custom-faq-sidebar .wa-custom-faq-btn {
    font-size: 24px;
    line-height: 32px;
    padding: 24px 30px 24px 0;
    border-bottom: 1px solid #D0CFCD !important;
    position: relative;
    border-radius: 0;
  }
  .wa-custom-faq-sidebar .wa-custom-faq-btn:first-child{
      border-top: 1px solid #ddd !important;
  }
  
.wa-custom-faq-sidebar .wa-custom-faq-btn.active::before, .wa-custom-faq-sidebar .wa-custom-faq-btn:hover::before {
    content: none;
}

  .wa-custom-faq-sidebar .wa-custom-faq-btn::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 36%;
    content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><path d='M8.025 22L6.25 20.225L14.475 12L6.25 3.775L8.025 2L18.025 12L8.025 22Z' fill='%23003764'/></svg>") no-repeat center;
  background-size: contain;

  }

  /* Slide Panel Overlay */
  .wa-custom-faq-content {
    position: fixed !important;
    top: 16px !important;
    right: -100% !important;
    width: calc(100% - 32px) !important;
    height: calc(100% - 32px) !important;
    background: #F6F6F6 !important;
    z-index: 99999 !important;
    transition: right 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 24px;
    padding: 16px;
    /*border: 1px solid #000;*/
  }

  .wa-custom-faq-content.active {
    right: -16px !important;
    box-shadow: 0px 0px 100px 107px rgba(255, 255, 255, 0.9);
  }

  /* Back Button Fixed/Sticky at Top */
  .wa-custom-faq-back {
    display: flex !important;
    align-items: center !important;
    /*background: #fff !important;*/
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    cursor: pointer !important;
    gap: 16px;
  }
  .wa-custom-faq-back-text{
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
  }

  .wa-custom-faq-back-arrow {
    width: 48px;
    height: 48px;
  }
  .wa-custom-faq-subheading{
    display: block;
}
.wa-custom-faq-subheading p{
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0px;
    color: #758592;
    margin: 40px 0 24px 0;
}

.wa-custom-faq-sidebar .wa-custom-faq-btn.active {
    font-weight: 400;
}

  /* Scrollable text area inside panel */
  .wa-custom-faq-text {
    padding: 20px 0 !important;
    overflow-y: auto !important;
    flex: 1 !important;
  }
  

  /* Disable body scroll when panel is open */
  body.no-scroll {
    overflow: hidden !important;
  }
}