/* /* ==========================================================================
   Completely Isolated New FAQ Styling
   ========================================================================== */

/* Main Outer Section Container */
.haveQuesSecNew {
  background-color: transparent;
  padding: 20px 0;
  font-family: "Poppins", sans-serif;
}

/* Card Container Box */
.haveQuesSecNew .nfaq-card-container {
  background: #ffffff;
  border: 1px solid #c8cacc;
  padding: 25px 24px 32px 24px;
  max-width: 920px;
  margin: 0 auto;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
}

.haveQuesSecNew .nfaq-card-inner {
  padding: 0 6px;
}

/* Red Left Top Corner Accent */
.haveQuesSecNew .nfaq-corner-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 76px;
  background-color: #ed1c24;
}

/* Header Title */
.haveQuesSecNew .nfaq-main-title {
  font-size: 24px;
  font-weight: 600;
  color: #374254;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

/* Radio Button Options Group */
.haveQuesSecNew .nfaq-radio-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}

.haveQuesSecNew .nfaq-radio-title {
  font-size: 16px;
  font-weight: 600;
  color: #005e9e;
  margin: 0;
}

.haveQuesSecNew .nfaq-radio-item {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: #374254;
  user-select: none;
  margin: 0;
}

.haveQuesSecNew .nfaq-radio-item input[type="radio"] {
  display: none;
}

.haveQuesSecNew .nfaq-radio-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #a0aec0;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  display: inline-block;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.haveQuesSecNew .nfaq-radio-item input[type="radio"]:checked + .nfaq-radio-custom {
  border-color: #0066b2;
}

.haveQuesSecNew .nfaq-radio-item input[type="radio"]:checked + .nfaq-radio-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #0066b2;
  border-radius: 50%;
}

/* Accordion Outer Scroll Window */
.haveQuesSecNew .nfaq-scroll-wrapper {
  /* max-height: 540px;
  overflow-y: auto; */
  margin-bottom: 20px;
}

.haveQuesSecNew .nfaq-scroll-wrapper::-webkit-scrollbar {
  width: 5px;
}

.haveQuesSecNew .nfaq-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

/* Accordion Box Item */
.haveQuesSecNew .nfaq-item {
  background: #f3f4f6;
  border-radius: 12px;
  margin-bottom: 5px;
  overflow: hidden;
  border: none;
  transition: background-color 0.2s ease;
}

.haveQuesSecNew .nfaq-item.item-hidden {
  display: none;
}

/* Accordion Header Bar */
.haveQuesSecNew .nfaq-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 20px 20px 16px 20px;
  cursor: pointer;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  background: transparent;
}

/* Question Text */
.haveQuesSecNew .nfaq-title {
  font-size: 16px;
  font-weight: 500;
  color: #0c111d;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  flex-grow: 1;
}

.haveQuesSecNew .nfaq-title p {
  margin: 0;
  padding: 0;
  display: inline;
  font-size: inherit;
  color: inherit;
  font-weight: inherit;
}

/* Arrow Icon and 180° Rotation */
.haveQuesSecNew .nfaq-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 16px;
  flex-shrink: 0;
  height: 28px;
  width: auto;
}

.haveQuesSecNew .nfaq-arrow img {
  width: 20px;
  height: auto;
}

.haveQuesSecNew .nfaq-item.active .nfaq-arrow {
  transform: rotate(180deg);
}

/* Accordion Answer Content */
.haveQuesSecNew .nfaq-content {
  display: none;
  padding: 0 52px 16px 52px;
  background-color: #f3f4f6;
  font-size: 14px;
  line-height: 1.6;
}

.haveQuesSecNew .nfaq-item.active .nfaq-content {
  display: block;
}

.haveQuesSecNew .nfaq-content p {
  margin: 0 0 10px 0;
  color: #374254;
}

.haveQuesSecNew .nfaq-content ol,
.haveQuesSecNew .nfaq-content ul {
  margin: 8px 0;
  padding-left: 20px;
}

.haveQuesSecNew .nfaq-content li {
  margin-bottom: 6px;
}

/* View More Button Footer */
.haveQuesSecNew .nfaq-btn-wrapper {
  text-align: center;
  padding-top: 12px;
  display: block;
}

.haveQuesSecNew .nfaq-showmore-btn {
  background: transparent;
  border: none;
  color: #186cf2;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  outline: none;
  text-decoration: underline;
}

.haveQuesSecNew .nfaq-showmore-btn.btn-hidden {
  display: none;
}

.haveQuesSecNew .nfaq-showmore-icon {
  transition: transform 0.3s ease;
}

.haveQuesSecNew .nfaq-showmore-btn.expanded .nfaq-showmore-icon {
  transform: rotate(180deg);
}

/* Responsive Overrides */
@media screen and (max-width: 768px) {
  .haveQuesSecNew {
    margin-inline: 20px;
  }
  .haveQuesSecNew .nfaq-card-container {
    padding-top: 28px;
  }
  .haveQuesSecNew .nfaq-radio-group {
    flex-direction: column;
    align-items: unset;
    gap: 15px;
  }
  .haveQuesSecNew .nfaq-main-title {
    font-size: 16px;
  }
  .haveQuesSecNew .nfaq-radio-title {
    text-align: center;
    font-size: 14px;
  }
  .haveQuesSecNew .nfaq-title {
    word-wrap: anywhere;
    padding-inline: 0;
    font-size: 14px;
  }
  .haveQuesSecNew .nfaq-card-inner {
    padding-inline: 0;
  }
  .haveQuesSecNew .nfaq-radio-item {
    font-size: 14px;
  }
  .haveQuesSecNew .nfaq-header {
    align-items: flex-start;
  }
  .haveQuesSecNew .nfaq-content {
    padding: 0 20px 16px 20px;
  }
}