/* ===================================
   LET'S MOVE - TABS
   Tab Component Styles
   =================================== */

/* ===== TABS CONTAINER ===== */
.tabs {
  width: 100%;
}

/* ===== TAB NAV ===== */
.tabs__nav {
  display: flex;
  gap: var(--spacing-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--spacing-2xl);
  overflow-x: auto;
  padding-bottom: 2px;
}

.tabs__nav::-webkit-scrollbar {
  display: none;
}

.tabs__button {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-gray);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-normal);
  position: relative;
}

.tabs__button:hover {
  color: var(--color-primary);
}

.tabs__button.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ===== TAB CONTENT ===== */
.tabs__content {
}

.tabs__panel {
  display: none;
  animation: tabFadeIn 0.3s ease;
}

.tabs__panel.active {
  display: block;
}

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

/* ===== TABS STYLE: PILLS ===== */
.tabs--pills .tabs__nav {
  border-bottom: none;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.tabs--pills .tabs__button {
  background-color: var(--color-bg-card);
  border-radius: var(--border-radius-xl);
  border-bottom: none;
  padding: var(--spacing-sm) var(--spacing-xl);
}

.tabs--pills .tabs__button.active {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
}

/* ===== TABS STYLE: BOXED ===== */
.tabs--boxed .tabs__nav {
  background-color: var(--color-bg-card);
  padding: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  border-bottom: none;
  gap: var(--spacing-sm);
}

.tabs--boxed .tabs__button {
  border-radius: var(--border-radius-sm);
  border-bottom: none;
  flex: 1;
  text-align: center;
}

.tabs--boxed .tabs__button.active {
  background-color: var(--color-primary);
  color: var(--color-bg-dark);
}

/* ===== TABS STYLE: VERTICAL ===== */
.tabs--vertical {
  display: flex;
  gap: var(--spacing-2xl);
}

.tabs--vertical .tabs__nav {
  flex-direction: column;
  border-bottom: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding-right: var(--spacing-xl);
  margin-bottom: 0;
  min-width: 200px;
}

.tabs--vertical .tabs__button {
  text-align: left;
  border-bottom: none;
  border-left: 2px solid transparent;
  padding-left: var(--spacing-lg);
}

.tabs--vertical .tabs__button.active {
  border-left-color: var(--color-primary);
}

.tabs--vertical .tabs__content {
  flex: 1;
}

/* ===== SCHEDULE TABS (From Figma) ===== */
.schedule-tabs .tabs__nav {
  justify-content: center;
  gap: var(--spacing-lg);
}

.schedule-tabs .tabs__button {
  padding: var(--spacing-md) var(--spacing-2xl);
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  border-bottom: none;
}

.schedule-tabs .tabs__button.active {
  background: var(--gradient-button);
  color: var(--color-text-white);
}

/* ===== PRICING TABS ===== */
.pricing-tabs .tabs__nav {
  justify-content: center;
  background-color: var(--color-bg-card);
  padding: var(--spacing-xs);
  border-radius: var(--border-radius-xl);
  border-bottom: none;
  display: inline-flex;
  margin: 0 auto var(--spacing-3xl);
}

.pricing-tabs .tabs__button {
  padding: var(--spacing-sm) var(--spacing-2xl);
  border-radius: var(--border-radius-lg);
  border-bottom: none;
}

.pricing-tabs .tabs__button.active {
  background: var(--gradient-button);
  color: var(--color-text-white);
}

/* ===== RESPONSIVE TABS ===== */
@media (max-width: 768px) {
  .tabs--vertical {
    flex-direction: column;
  }

  .tabs--vertical .tabs__nav {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 0;
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    min-width: auto;
    overflow-x: auto;
  }

  .tabs--vertical .tabs__button {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding-left: var(--spacing-md);
  }

  .tabs--vertical .tabs__button.active {
    border-left-color: transparent;
    border-bottom-color: var(--color-primary);
  }

  .tabs__button {
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
  }
}
