/* Tabs System - Reutilizável */

.tabs-container {
  width: 100%;
}

.tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid rgb(226 232 240);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(100 116 139);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-button:hover {
  color: rgb(15 23 42);
  background-color: rgb(248 250 252);
}

.tab-button.active {
  color: rgb(15 23 42);
  font-weight: 600;
  border-bottom-color: rgb(15 23 42);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

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

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

/* Responsive */
@media (max-width: 640px) {
  .tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
  
  .tab-button {
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
  }
}

