.section-tabs {
  position: sticky;
  top: 0;
  z-index: 50;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 6px 4px;
}

/* Individual tab */
.section-tabs .tab {
  flex: 1;
  background: none;
  border: none;
  padding: 8px 4px;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;

  color: #777;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;

  transition: color 0.25s ease;
}

.section-tabs .tab:hover {
  color: #333;
}

.section-tabs .tab.active {
  color: #4285f4;
}

/* Icon styling */
.section-tabs .icon {
  font-size: 1.2rem;
  line-height: 1;
}

/* Sliding indicator */
.tab-indicator {
  position: absolute;
  bottom: 0;
  height: 3px;
  width: 25%;
  background: linear-gradient(90deg, #4285f4, #5a95f7);
  border-radius: 3px;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.section-tabs .tab:focus-visible {
  outline: none;
  color: #4285f4;
}


.section-tabs .tab:focus-visible::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  outline: 2px solid rgba(66, 133, 244, 0.4);
}


.section-tabs .tab.active {
  background: radial-gradient(
    circle at center,
    rgba(66,133,244,0.12),
    transparent 60%
  );
}




.section-tabs.seven .tab {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.section-tabs.seven .icon {
  font-size: 1rem;
}

/* Indicator width = 100 / 7 */
.section-tabs.seven .tab-indicator {
  width: calc(100% / 7);
}





@media (max-width: 768px) {
  .section-tabs {
    overflow-x: auto;
  }

  .section-tabs .tab {
    min-width: 90px;
  }
}