.custom-tabs {
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.custom-tabs .tab-links {
    list-style: none;
    padding: 0;
    margin: 0 0 -1px 0;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #dee2e6;
    white-space: nowrap; /* Prevent wrapping */
}
.tab-link svg.e-font-icon-svg {
    margin-left: 5px;
}

.custom-tabs .tab-links .tab-link {
    cursor: pointer;
    padding: 0.75rem 1.25rem;
    border: 1px solid transparent;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    color: #495057;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-bottom-color: #dee2e6;
}

.custom-tabs .tab-links .tab-link:hover {
    color: #00BEA5;
    border-color: #dee2e6 #dee2e6 #fff;
}

.custom-tabs .tab-links .tab-link.active {
    color: #00BEA5;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    border-bottom-color: transparent;
}

.custom-tabs .tab-links .tab-link i,
.custom-tabs .tab-links .tab-link svg {
    font-size: 1rem;
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    fill: currentColor; /* For SVG */
}

.custom-tabs .tab-contents .tab-content {
    display: none;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.custom-tabs .tab-contents .tab-content.active {
    display: block;
}

/* Responsiveness */
@media (max-width: 767px) {
    .custom-tabs .tab-links .tab-link {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .custom-tabs .tab-links .tab-link i,
    .custom-tabs .tab-links .tab-link svg {
        font-size: 0.875rem;
        width: 0.875rem;
        height: 0.875rem;
    }

    .custom-tabs .tab-contents .tab-content {
        padding: 1rem;
    }
}