.calio-adv-accordion {
  width: auto;
  height: auto;
  transition: all 0.3s ease-in-out;
}

.calio-adv-accordion .calio-accordion-list {
  margin-bottom: 10px;
}

.calio-adv-accordion .calio-accordion-list:last-child {
  margin-bottom: 0;
}

.calio-adv-accordion .calio-accordion-header {
  padding: 15px 18px;
  border: 1px solid #dbe4f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  color: #1f2937;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  transition: all 0.28s ease-in-out;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.calio-adv-accordion .calio-accordion-header > .calio-accordion-tab-title {
  flex-grow: 1;
  margin: 0;
}

.calio-adv-accordion .calio-accordion-header > .fa-toggle,
.calio-adv-accordion .calio-accordion-header > .fa-accordion-icon,
.calio-adv-accordion .calio-accordion-header > .fa-accordion-icon-svg,
.calio-adv-accordion .calio-accordion-header > .calio-toggle-icon-wrap {
  margin-right: 10px;
}

.rtl .calio-adv-accordion .calio-accordion-header > .fa-toggle,
.rtl .calio-adv-accordion .calio-accordion-header > .fa-accordion-icon,
.rtl .calio-adv-accordion .calio-accordion-header > .fa-accordion-icon-svg,
.rtl .calio-adv-accordion .calio-accordion-header > .calio-toggle-icon-wrap {
  margin-right: 0;
  margin-left: 10px;
}

.calio-adv-accordion .calio-accordion-header .fa-toggle,
.calio-adv-accordion .calio-accordion-header .fa-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  line-height: 1;
  color: #334155 !important;
  transition: transform 0.26s ease, color 0.26s ease, background-color 0.26s ease;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-text-fill-color: currentColor !important;
}

.calio-adv-accordion .calio-accordion-header .calio-toggle-icon-wrap,
.calio-adv-accordion .calio-accordion-header .calio-advanced-accordion-icon-closed,
.calio-adv-accordion .calio-accordion-header .calio-advanced-accordion-icon-opened {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
}

.calio-adv-accordion .calio-accordion-header .calio-icon-fallback {
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.calio-adv-accordion .calio-accordion-header .calio-toggle-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calio-adv-accordion .calio-accordion-header .fa-toggle-svg svg,
.calio-adv-accordion .calio-accordion-header .fa-accordion-icon-svg svg {
  width: 1em;
  height: 1em;
  fill: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.calio-adv-accordion .calio-accordion-header svg.fa-toggle,
.calio-adv-accordion .calio-accordion-header svg.fa-accordion-icon {
  width: 1em !important;
  height: 1em !important;
  min-width: 1em;
  min-height: 1em;
  display: inline-block !important;
  overflow: visible;
  fill: currentColor !important;
  color: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.calio-adv-accordion .calio-accordion-header svg.fa-toggle path,
.calio-adv-accordion .calio-accordion-header svg.fa-accordion-icon path {
  fill: currentColor !important;
  opacity: 1 !important;
}

.calio-adv-accordion .calio-accordion-header .fa-toggle svg,
.calio-adv-accordion .calio-accordion-header .fa-accordion-icon svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.calio-adv-accordion[class*="calio-tab-icon-"] .calio-accordion-header .fa-toggle,
.calio-adv-accordion[class*="calio-tab-icon-"] .calio-accordion-header .fa-accordion-icon,
.calio-adv-accordion[class*="calio-tab-icon-"] .calio-accordion-header .fa-accordion-icon-svg {
  background-image: none !important;
  -webkit-text-fill-color: currentColor !important;
}

.calio-adv-accordion .calio-accordion-header:hover {
  border-color: #c8d8f3;
  background: linear-gradient(180deg, #f8fbff 0%, #edf3ff 100%);
}

.calio-adv-accordion .calio-accordion-header.active {
  border-color: #bfd3ff;
  background: linear-gradient(180deg, #eef4ff 0%, #e9f1ff 100%);
  color: #0f172a;
}

.calio-adv-accordion .calio-accordion-header.show-this {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.calio-adv-accordion .calio-accordion-header.active .calio-advanced-accordion-icon-closed {
  display: none !important;
}

.calio-adv-accordion .calio-accordion-header.active .calio-advanced-accordion-icon-opened {
  display: inline-flex !important;
}

.calio-adv-accordion .calio-accordion-header.active .fa-toggle {
  transform: rotate(90deg);
}

.rtl .calio-adv-accordion .calio-accordion-header.active .fa-toggle {
  transform: rotate(-90deg);
}

.calio-adv-accordion .calio-accordion-header .calio-advanced-accordion-icon-closed {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.calio-adv-accordion .calio-accordion-header .calio-advanced-accordion-icon-opened {
  display: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.calio-adv-accordion .calio-accordion-header .calio-toggle-icon-wrap {
  opacity: 1 !important;
  visibility: visible !important;
}

.calio-adv-accordion .calio-accordion-content {
  display: none;
  border: 1px solid #dbe4f0;
  border-top: 0;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding: 15px 18px 16px;
  box-sizing: border-box;
  background: #ffffff;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

.calio-adv-accordion .calio-accordion-content.active {
  display: block;
}

.calio-adv-accordion .calio-accordion-content > *:first-child {
  margin-top: 0;
}

.calio-adv-accordion .calio-accordion-content > *:last-child {
  margin-bottom: 0;
}

.calio-adv-accordion .calio-accordion-header:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.32);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .calio-adv-accordion .calio-accordion-header {
    padding: 14px 15px;
  }

  .calio-adv-accordion .calio-accordion-content {
    padding: 14px 15px 15px;
  }
}

