﻿.tab-container {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 1em;
}

    .tab-container ul {
        display: flex;
        list-style: none;
        padding: 0;
        margin: 0;
        border-bottom: 3px solid #eee;
        position: relative;
    }

    .tab-container li {
        margin: 0;
        padding: 10px 20px;
        position: relative;
        cursor: pointer;
        white-space: nowrap;
    }

        .tab-container li.disabled,
        .tab-container li.disabled a {
            color: #ccc;
            cursor: not-allowed;
        }

        .tab-container li:not(.disabled):hover {
            background-color: #f1f2f4;
            border-top-right-radius: 5px;
            border-top-left-radius: 5px;
            border-bottom: 3px solid #ccc;
            margin-bottom: -3px;
        }

        .tab-container li a {
            text-decoration: none;
            color: #333;
            display: block;
            font-weight: 500;
        }

        .tab-container li.active a {
            color: #212529;
            font-weight: 700;
        }

    /* Scroll Buttons */
    .tab-container .scroll-left,
    .tab-container .scroll-right {
        background-color: #ddd;
        border-radius: 50%;
        padding: 5px 7.5px;
        cursor: pointer;
        display: none;
    }

        .tab-container .scroll-left:hover,
        .tab-container .scroll-right:hover {
            background-color: #ccc;
        }

    .tab-container .scroll-left {
        left: 5px;
    }

    .tab-container .scroll-right {
        right: 5px;
    }

.tab-content .content {
    display: none;
    padding: 1em;
}

    .tab-content .content.active {
        display: block;
    }

.tab-underline {
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 3px;
    background-color: #2e8bc5;
    width: 0;
    transition: transform 0.2s ease-in-out, width 0.2s ease-in-out;
}

.tab-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    flex-grow: 1;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

    .tab-wrapper::-webkit-scrollbar {
        display: none; /* Hide scrollbar for Chrome, Safari */
    }
