.custom-toggle-container {
  position: relative;
  margin: 0 auto;
}

.custom-toggle-content {
  display: none;
  animation: fadeInUp 0.3s ease;
  z-index: 10;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-toggle-button.ls-mere {
  position: relative;
  border-radius: 2px;
  background-color: #fff;
  width: auto;
  min-width: 110px;
  max-width: 100%;
  margin: 0 auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
  gap: 4px;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(0, 32, 68, 0.2);
}

.custom-toggle-button.ls-mere.active {
  background-color: #002044;
  color: #fff;
}

/* Fjern gradient i active state */
.custom-toggle-container.active::before {
  opacity: 0;
}

.ls-mere1 {
  position: relative;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ls-mere-child {
  width: 10px;
  height: 10px;
  margin-left: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ls-mere-child svg,
.ls-mere-child i {
  color: inherit;
  fill: currentColor;
  stroke: currentColor;
  transition: color 0.2s, fill 0.2s, stroke 0.2s;
}

/* Sikrer at ikonet følger tekstfarven i både normal og active state */
.custom-toggle-button.ls-mere,
.custom-toggle-button.ls-mere .ls-mere-child svg,
.custom-toggle-button.ls-mere .ls-mere-child i {
  color: #4D637C;
  fill: #4D637C;
  stroke: #4D637C;
}

.custom-toggle-button.ls-mere.active,
.custom-toggle-button.ls-mere.active .ls-mere-child svg,
.custom-toggle-button.ls-mere.active .ls-mere-child i {
  color: #fff;
  fill: #fff;
  stroke: #fff;
}
