.auto-tabs-container {
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-align: center;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  font-family: inherit;
  border: none;
  box-shadow: none;
  position: relative;
}


.auto-tabs-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.tab-btn {
  border: 1px solid #cc0077;
  color: #cc0077;
  background: transparent;
  padding: 10px 20px;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:hover {
  background: #fce4f2;
  color: #cc0077;
  border-color: #cc0077;
}

.tab-btn.active::after {
  display: none;
}

.tab-btn.active {
  background: #cc0077;
  color: #ffffff;
  border-color: #cc0077;
  border-bottom: none;
  z-index: 3;
}

.auto-tabs-contents {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 8px 8px;
  margin-top: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* צל רק למטה */
}

.auto-tabs-contents .tab-content {
  display: none;
  padding: 20px;
  text-align: right;
}

.auto-tabs-contents .tab-content.active {
  display: block;
}

/* אנימציות */
.auto-tabs-contents.fade .tab-content {
  animation: fadeIn 0.5s ease-in-out;
}

.auto-tabs-contents.slide .tab-content {
  animation: slideIn 0.5s ease-in-out;
}

/* מצב עריכה באלמנטור */
.elementor-editor-active .auto-tabs-contents .tab-content {
  display: block !important;
  opacity: 0.6;
  margin-bottom: 20px;
  border: 1px dashed #ccc;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 6px;
}

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

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
.auto-tabs-container {
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-align: center;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  font-family: inherit;
  border: none;
  box-shadow: none;
  position: relative;
}


.auto-tabs-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.tab-btn {
  border: 1px solid #cc0077;
  color: #cc0077;
  background: transparent;
  padding: 10px 20px;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:hover {
  background: #fce4f2;
  color: #cc0077;
  border-color: #cc0077;
}

.tab-btn.active::after {
  display: none;
}

.tab-btn.active {
  background: #cc0077;
  color: #ffffff;
  border-color: #cc0077;
  border-bottom: none;
  z-index: 3;
}

.auto-tabs-contents {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 8px 8px;
  margin-top: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* צל רק למטה */
}

.auto-tabs-contents .tab-content {
  display: none;
  padding: 20px;
  text-align: right;
}

.auto-tabs-contents .tab-content.active {
  display: block;
}

/* אנימציות */
.auto-tabs-contents.fade .tab-content {
  animation: fadeIn 0.5s ease-in-out;
}

.auto-tabs-contents.slide .tab-content {
  animation: slideIn 0.5s ease-in-out;
}

/* מצב עריכה באלמנטור */
.elementor-editor-active .auto-tabs-contents .tab-content {
  display: block !important;
  opacity: 0.6;
  margin-bottom: 20px;
  border: 1px dashed #ccc;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 6px;
}

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

@keyframes slideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* מובייל */
@media screen and (max-width: 768px) {
  .auto-tabs-buttons {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 0;
  }

  .tab-btn.active::after {
    display: none !important;
  }

  .auto-tabs-contents {
    display: none; /* הסתרת התוכן הכללי – במובייל כל כפתור יכיל תוכן משלו */
  }

  .tab-content {
    display: none;
    padding: 20px;
    background: #e9f3fb;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    text-align: right;
  }

  .tab-btn.active + .tab-content {
    display: block;
  }
}
