.mylager-faq-container {
  max-width: 100%;
  margin: 20px 0;
  font-family: inherit;
}
.mylager-faq-container .mylager-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
  gap: 5px;
}
.mylager-faq-container .mylager-faq-tabs .mylager-faq-tab {
  background: #F3F4F6;
  border-radius: 12px;
  padding: 10px 20px 10px 30px;
  position: relative;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #4B5563;
  transition: all 0.3s ease;
  position: relative;
  top: 2px;
}
.mylager-faq-container .mylager-faq-tabs .mylager-faq-tab::before {
  content: "";
  position: absolute;
  left: 5px;
  background: url("/wp-content/plugins/en_mylager_faq/assets/images/icon-fragezeichen-grau.png") center center no-repeat;
  background-size: 16px;
  height: 20px;
  top: 10px;
  transition: background-color 0.3s ease;
  width: 20px;
}
.mylager-faq-container .mylager-faq-tabs .mylager-faq-tab:hover {
  background: #204F6D;
  color: #FFFFFF;
}
.mylager-faq-container .mylager-faq-tabs .mylager-faq-tab:hover::before {
  content: "";
  position: absolute;
  left: 5px;
  background: url("/wp-content/plugins/en_mylager_faq/assets/images/icon-fragezeichen-weiss.png") center center no-repeat;
  background-size: 16px;
  height: 20px;
  top: 10px;
  transition: background-color 0.3s ease;
  width: 20px;
}
.mylager-faq-container .mylager-faq-tabs .mylager-faq-tab.active {
  background: #204F6D;
  color: #FFFFFF;
  border-color: #ddd #ddd #fff #ddd;
  font-weight: 600;
  top: 2px;
}
.mylager-faq-container .mylager-faq-tabs .mylager-faq-tab.active::before {
  content: "";
  position: absolute;
  left: 5px;
  background: url("/wp-content/plugins/en_mylager_faq/assets/images/icon-fragezeichen-weiss.png") center center no-repeat;
  background-size: 16px;
  height: 20px;
  top: 10px;
  transition: background-color 0.3s ease;
  width: 20px;
}
.mylager-faq-container .mylager-faq-content {
  min-height: 200px;
}
.mylager-faq-container .mylager-faq-content .mylager-faq-tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in;
}
.mylager-faq-container .mylager-faq-content .mylager-faq-tab-content.active {
  display: block;
}
.mylager-faq-container .mylager-faq-item {
  border-radius: 16px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.mylager-faq-container .mylager-faq-item .mylager-faq-question {
  align-items: center;
  background: #F9FAFB;
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
  display: flex;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}
.mylager-faq-container .mylager-faq-item .mylager-faq-question.active {
  border-bottom-color: #204F6D;
}
.mylager-faq-container .mylager-faq-item .mylager-faq-question.active .mylager-faq-toggle {
  color: #204F6D;
  transform: rotate(45deg);
}
.mylager-faq-container .mylager-faq-item .mylager-faq-question h4 {
  color: #204F6D;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  padding-right: 15px;
}
.mylager-faq-container .mylager-faq-item .mylager-faq-question .mylager-faq-toggle {
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
  font-size: 20px;
  font-weight: normal;
  color: #204F6D;
  transition: all 0.3s ease;
  min-width: 24px;
  text-align: center;
  line-height: 1;
  padding: 10px 15px;
}
.mylager-faq-container .mylager-faq-item .mylager-faq-answer {
  background: #F9FAFB;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  animation-fill-mode: forwards;
  transition: opacity 0s ease, max-height 0.3s ease;
}
.mylager-faq-container .mylager-faq-item .mylager-faq-answer.active {
  border-top: 1px solid #204F6D;
  padding: 20px;
  max-height: 1000px;
  opacity: 1;
  transition: opacity 1.8s ease, max-height 1.8s ease;
  animation: slideDown 0.5s ease-in-out;
}
.mylager-faq-container .mylager-faq-item .mylager-faq-answer p {
  margin: 0 0 15px 0;
  line-height: 1.6;
  color: #555;
}
.mylager-faq-container .mylager-faq-item .mylager-faq-answer p:last-child {
  margin-bottom: 0;
}
.mylager-faq-container .mylager-faq-item .mylager-faq-answer ul,
.mylager-faq-container .mylager-faq-item .mylager-faq-answer ol {
  margin: 15px 0;
  padding-left: 25px;
}
.mylager-faq-container .mylager-faq-item .mylager-faq-answer li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #555;
}
.mylager-faq-container .mylager-faq-loading {
  text-align: center;
  padding: 40px 20px;
  color: #4B5563;
}
.mylager-faq-container .mylager-faq-loading::after {
  content: "...";
  animation: dots 1.5s steps(5, end) infinite;
}
@media (max-width: 768px) {
  .mylager-faq-container .mylager-faq-tabs {
    flex-direction: column;
  }
  .mylager-faq-container .mylager-faq-tabs .mylager-faq-tab {
    border-radius: 5px;
    border: 1px solid #ddd;
    top: 0;
    margin-bottom: 5px;
  }
  .mylager-faq-container .mylager-faq-tabs .mylager-faq-tab.active {
    border-color: #204F6D;
    background: #204F6D;
    color: #FFFFFF;
  }
  .mylager-faq-container .mylager-faq-item .mylager-faq-question {
    padding: 12px 15px;
  }
  .mylager-faq-container .mylager-faq-item .mylager-faq-question h4 {
    font-size: 15px;
  }
  .mylager-faq-container .mylager-faq-item .mylager-faq-answer.active {
    padding: 15px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes dots {
  0%, 20% {
    color: rgba(0, 0, 0, 0);
    text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
  }
  40% {
    color: black;
    text-shadow: 0.25em 0 0 rgba(0, 0, 0, 0), 0.5em 0 0 rgba(0, 0, 0, 0);
  }
  60% {
    text-shadow: 0.25em 0 0 black, 0.5em 0 0 rgba(0, 0, 0, 0);
  }
  80%, 100% {
    text-shadow: 0.25em 0 0 black, 0.5em 0 0 black;
  }
}
@keyframes slideDown {
  from {
    max-height: 0;
    opacity: 0;
  }
  to {
    max-height: 800px;
    opacity: 1;
  }
}
