/* MN Dynamic Tabs - Clean & Simple Version */
.mn-dynamic-tabs {
    width: 100%;
    font-family: inherit;
}

/* Tab Navigation */
.mn-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0;
}

.mn-tabs-nav::-webkit-scrollbar {
    display: none;
}

.mn-tab-item {
    flex: 0 0 auto;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
    user-select: none;
    margin-bottom: -1px;
}

.mn-tab-item:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.mn-tab-item:focus {
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.3);
}

.mn-tab-item.active {
    background-color: #ffffff;
    border-color: #dee2e6;
    border-bottom-color: #ffffff;
    z-index: 1;
}

.mn-tab-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #495057;
}

.mn-tab-item.active .mn-tab-title {
    color: #007cba;
    font-weight: 600;
}

/* Tab Content */
.mn-tabs-content {
    position: relative;
    border: 1px solid #dee2e6;
    border-radius: 0 6px 6px 6px;
    background-color: #ffffff;
}

.mn-tab-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.3s ease-in-out;
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .mn-tabs-nav {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .mn-tab-item {
        min-width: 120px;
        padding: 10px 16px;
        flex-shrink: 0;
    }
    
    .mn-tab-title {
        font-size: 13px;
    }
    
    .mn-tab-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .mn-tab-item {
        min-width: 100px;
        padding: 8px 12px;
    }
    
    .mn-tab-title {
        font-size: 12px;
    }
    
    .mn-tab-content {
        padding: 12px;
    }
}
