/**
 * @copyright Stevie-Ray
 * TabSwitcher Component - Custom design
 */
/**
 * @copyright Stevie-Ray
 * Global Color System - Neutral Palette
 * CSS Custom Properties for consistent theming
 */
/* ===========================================
   CSS CUSTOM PROPERTIES - ROOT
   =========================================== */
:root {
  /* Neutral Color Palette */
  --neutral: #ffffff;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --neutral-950: #0a0a0a;
  /* Semantic Color Mappings */
  --background: var(--neutral-50);
  --foreground: var(--neutral-900);
  --muted: var(--neutral-100);
  --muted-foreground: var(--neutral-600);
  --border: var(--neutral-200);
  --input: var(--neutral-100);
  --ring: var(--neutral-400);
  /* Brand Colors */
  --primary: hsl(221.2 83.2% 53.3%);
  --primary-foreground: hsl(210 40% 98%);
  --secondary: var(--neutral-100);
  --secondary-foreground: var(--neutral-900);
  --accent: var(--neutral-100);
  --accent-foreground: var(--neutral-900);
  /* Status Colors */
  --destructive: #FF80AB;
  --destructive-foreground: #000000;
  --success: #CCFF90;
  --success-foreground: #000000;
  --warning: #FFAB40;
  --warning-foreground: #000000;
  --info: #82B1FF;
  --info-foreground: #000000;
  /* Sidebar Specific Colors */
  --sidebar-bg: var(--neutral-50);
  --sidebar-border: var(--neutral-200);
  --sidebar-foreground: var(--neutral-900);
  --sidebar-muted: var(--neutral-600);
  --sidebar-accent: var(--neutral-100);
  --sidebar-accent-foreground: var(--neutral-900);
  --sidebar-hover: var(--neutral-100);
  --sidebar-active-bg: var(--neutral-100);
  --sidebar-active-foreground: var(--neutral-900);
}

/* ===========================================
   SCSS VARIABLES FOR BACKWARDS COMPATIBILITY
   =========================================== */
.TabSwitcher {
  display: flex;
  gap: 0.2rem;
  background: rgba(245, 245, 245, 0.4);
  backdrop-filter: blur(2px);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.TabButton {
  padding: 8px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  color: #525252;
  position: relative;
  user-select: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.TabButton:focus {
  outline: none;
}
.TabButton:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.TabButton.active {
  background: #fafafa;
  color: #171717;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  font-weight: 600;
}

.TabButton:hover:not(.active) {
  background: rgba(255, 255, 255, 0.8);
  color: #171717;
}

.TabSwitcher.tab-sm {
  height: 32px;
  padding: 3px;
  gap: 0.15rem;
}
.TabSwitcher.tab-sm .TabButton {
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 8px;
  height: 26px;
}

.TabSwitcher.tab-md {
  height: 36px;
  padding: 3px;
  gap: 0.2rem;
}
.TabSwitcher.tab-md .TabButton {
  padding: 7px 10px;
  font-size: 13px;
  border-radius: 10px;
  height: 30px;
}

.TabButton.tab-sm {
  padding: 6px 8px;
  font-size: 12px;
}

.TabButton.tab-lg {
  padding: 10px 14px;
  font-size: 14px;
}

.TabSwitcher.tab-vertical {
  flex-direction: column;
  width: auto;
  gap: 0.25rem;
}
.TabSwitcher.tab-vertical .TabButton {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}

.TabSwitcher.tab-full-width {
  width: 100%;
}
.TabSwitcher.tab-full-width .TabButton {
  flex: 1;
}

.TabButton .tab-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}
.TabButton .tab-icon.tab-icon-right {
  margin-right: 0;
  margin-left: 6px;
}

.TabButton .tab-badge {
  margin-left: 6px;
  background: #FF80AB;
  color: #000000;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 9999px;
  line-height: 1;
  min-width: 18px;
  text-align: center;
}

.tab-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tab-header {
  margin-bottom: 8px;
}

.tab-label {
  font-size: 14px;
  font-weight: 500;
  color: #171717;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .TabSwitcher {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .TabSwitcher::-webkit-scrollbar {
    height: 2px;
  }
  .TabSwitcher::-webkit-scrollbar-track {
    background: transparent;
  }
  .TabSwitcher::-webkit-scrollbar-thumb {
    background: #e5e5e5;
    border-radius: 1px;
  }
  .TabButton {
    flex-shrink: 0;
    min-width: 80px;
  }
}
.TabSwitcher.tab-justified {
  width: 100%;
}
.TabSwitcher.tab-justified .TabButton {
  flex: 1;
  justify-content: center;
}

.TabSwitcher.tab-scrollable {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.TabSwitcher.tab-scrollable::-webkit-scrollbar {
  height: 4px;
}
.TabSwitcher.tab-scrollable::-webkit-scrollbar-track {
  background: transparent;
}
.TabSwitcher.tab-scrollable::-webkit-scrollbar-thumb {
  background: #e5e5e5;
  border-radius: 2px;
}

@keyframes tabSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.TabButton.active {
  animation: tabSlideIn 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.TabButton.tab-valid:focus {
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

.TabButton.tab-invalid:focus {
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
}

/*# sourceMappingURL=tabs.css.map */
