/* ActiveCampaign Services field — accordion toggle */
.ifc-ac-services .ifc-ac-services-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 6px 0 10px;
  padding: 11px 14px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  background: #fff;
  color: #142341;
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ifc-ac-services .ifc-ac-services-toggle:hover,
.ifc-ac-services .ifc-ac-services-toggle:focus {
  border-color: #2a3478;
  outline: none;
  box-shadow: 0 0 0 2px rgba(42, 52, 120, 0.12);
}

.ifc-ac-services .ifc-ac-services-toggle__icon {
  width: 0;
  height: 0;
  margin-left: 12px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #2a3478;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.ifc-ac-services .ifc-ac-services-toggle.is-open .ifc-ac-services-toggle__icon {
  transform: rotate(180deg);
}

.ifc-ac-services .ifc-ac-services-panel {
  margin: 0 0 8px;
  padding: 8px 10px 4px;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  background: #fafafa;
  max-height: 260px;
  overflow-y: auto;
}

.ifc-ac-services .ifc-ac-services-panel[hidden] {
  display: none !important;
}

.ifc-ac-services .ifc-ac-services-panel ._row._checkbox-radio {
  margin-bottom: 6px;
}
