/* ==================== TABS COMPONENT ==================== */
.tabs-container {
    width: 100%;
    background: var(--color-white, #ffffff);
    border-radius: 16px;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid var(--color-gray-200, #e2e8f0);
    background: var(--color-white, #ffffff);
    overflow-x: auto;
    scrollbar-width: none;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-500, #64748b);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.tab-btn:hover {
    color: var(--color-primary, #f2a83a);
}

.tab-btn.active {
    color: var(--color-primary, #f2a83a);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-primary, #f2a83a);
}

/* Tab Variants */
.tabs-pills .tabs-header {
    border-bottom: none;
    gap: 8px;
    padding: 8px;
}

.tabs-pills .tab-btn {
    padding: 8px 20px;
    border-radius: 60px;
    background: var(--color-gray-100, #f1f5f9);
}

.tabs-pills .tab-btn.active {
    background: var(--color-primary, #f2a83a);
    color: var(--color-secondary, #1f2a44);
}

.tabs-pills .tab-btn.active::after {
    display: none;
}

/* Underline Tabs */
.tabs-underline .tab-btn {
    padding: 12px 20px;
}

.tabs-underline .tab-btn.active::after {
    height: 3px;
    background: var(--color-primary, #f2a83a);
    border-radius: 3px 3px 0 0;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Vertical Tabs */
.tabs-vertical {
    display: flex;
}

.tabs-vertical .tabs-header {
    flex-direction: column;
    border-bottom: none;
    border-right: 2px solid var(--color-gray-200, #e2e8f0);
    min-width: 150px;
}

.tabs-vertical .tab-btn {
    text-align: left;
    padding: 12px 20px;
}

.tabs-vertical .tab-btn.active::after {
    bottom: 0;
    top: 0;
    left: auto;
    right: -2px;
    width: 2px;
    height: auto;
}

.tabs-vertical .tab-content {
    flex: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tab-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .tabs-vertical {
        flex-direction: column;
    }
    
    .tabs-vertical .tabs-header {
        flex-direction: row;
        border-right: none;
        border-bottom: 2px solid var(--color-gray-200, #e2e8f0);
        overflow-x: auto;
    }
    
    .tabs-vertical .tab-btn.active::after {
        bottom: -2px;
        top: auto;
        right: 0;
        width: auto;
        height: 2px;
    }
}