/* ========================================
   TABS.CSS - Tab Navigation Styles
   ======================================== */

.tabs {
  display: flex;
  border-bottom: var(--border-width-thick) solid var(--color-border);
  margin-bottom: var(--spacing-lg);
}

.tab {
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  background-color: transparent;
  border: none;
  border-bottom: var(--border-width-thick) solid transparent;
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  position: relative;
  bottom: calc(var(--border-width-thick) * -1);
}

.tab:hover {
  color: var(--color-text);
}

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

.tab-content {
  display: none;
}

.tab-content--active {
  display: block;
  animation: fadeIn var(--transition-normal);
}

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