/* Slide Panel Tabs - Cloned from quiz-edit-tab pattern for panel context */

.sp-tab-header {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #2f57d6;
  background: #fff;
  height: 44px;
  flex-shrink: 0;
}

.sp-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  font-weight: 600;
  font-size: 14px;
  color: #666;
  border: none;
  background: #fff;
  cursor: pointer;
  position: relative;
  transition:
    color 0.2s,
    background 0.2s;
}

.sp-tab.active {
  color: #222;
  background: #e6eefc;
}

.sp-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 4px;
  background: #2f57d6;
}

.sp-tab:not(.active):hover {
  background: #f5f5f5;
  color: #333;
}

/* Tab content visibility */
.sp-tab-content {
  display: none;
}

.sp-tab-content.active {
  display: block;
}
