{% set active_bg = module.style_settings.active_tab.bg_color || '#3b82f6' %}
{% set active_text = module.style_settings.active_tab.text_color || '#ffffff' %}

.sleek-tabs-container {
  padding: 80px 0;
  background-color: transparent;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Navigation --- */
.tabs-nav { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; }

.tabs-nav {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 20px;
}

.tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: ;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 28px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
}

.tab-btn.is-active {
  background-color:  !important;
  color:  !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.tab-btn:hover:not(.is-active) {
  color: ;
  background: rgba(255,255,255,0.05);
}

/* --- Content Transitions --- */
.tabs-content-area {
  position: relative;
  min-height: 500px;
}

.tab-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
}

.tab-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- Layout --- */
.panel-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.panel-media {
  flex: 1;
  perspective: 1200px;
}

.panel-media img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
  transition: transform 0.8s ease;
  border-radius: 12px;
}

.tab-panel.is-active .panel-media img {
  transform: rotateY(-8deg) rotateX(2deg);
}

.panel-info {
  flex: 1.2;
  text-align: left;
  color: #ffffff;
}

.panel-heading {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -1px;
}

.panel-rich-text {
  font-size: 18px;
  line-height: 1.8;
  color: #e2e8f0;
}

/* --- Sleek Button --- */
.tab-primary-btn {
  display: inline-block;
  margin-top: 30px;
  color: ;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding-bottom: 5px;
  border-bottom: 2px solid ;
  transition: all 0.3s ease;
}

.tab-primary-btn:hover {
  letter-spacing: 1px;
  opacity: 0.8;
}

@media (max-width: 991px) {
  .panel-inner { flex-direction: column !important; text-align: center; }
  .panel-info { text-align: center; }
  .tabs-nav { overflow-x: auto; width: 100%; justify-content: flex-start; padding: 10px; }
}