.tab-container-yatay {
    width: 100%;
}

.tab-buttons-yatay {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    gap: 35px;
    margin-bottom: 40px;
    /* Mobil responsive ayarları */
    overflow-x: auto;
    overflow-y: hidden;
    /* Scroll bar'ı gizle */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* WebKit tabanlı tarayıcılar için scroll bar gizleme */
.tab-buttons-yatay::-webkit-scrollbar {
    display: none;
}

.tab-button-yatay {
    min-width: 150px;
    text-align: center;
    cursor: pointer;
    padding: 7px 10px 7px 10px;
    background-color: #f8f9fb;
    margin-bottom: 2px;
    text-align: left;
    position: relative;
    /* Flex shrink'i engelle, minimum boyut koru */
    flex-shrink: 0;
    /* Mobilde daha yumuşak dokunma */
    -webkit-tap-highlight-color: transparent;
}

.tab-button-yatay:first-child {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    padding-left: 20px;
}

.tab-button-yatay:last-child {
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    padding-right: 20px;
}

.tab-button-yatay::after {
    content: '';
    position: absolute;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxNiAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1LjA2NjUgOC42MTc4OUMxNS43MTg3IDguOTkwOTQgMTUuNzQyIDkuOTIzMDcgMTUuMTA5MiAxMC4zMjgxTC04Ljc0MjI4ZS0wNyAyMEwwIC03LjIxMjM4ZS0wN0wxNS4wNjY1IDguNjE3ODlaIiBmaWxsPSIjRjhGOUZCIi8+Cjwvc3ZnPgo=);    background-size: contain;
    background-repeat: no-repeat;
    width: 37px;
    height: 41.5px;
    display: block;
    z-index: 0;
    top: 0px;
    right: -35px;
    background-size:contain;
}

.tab-button-yatay::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 40.5px;
    display: block;
    z-index: 0;
    top: 0;
    left: -28px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDIwSDkuNTM2NzRlLTA3TDE0LjY2MzEgMTAuMzIwM0MxNS4yOCA5LjkxMzA0IDE1LjI1NzcgOC45OTk3NSAxNC42MjExIDguNjI0MDJMOS41MzY3NGUtMDcgMEgyMFYyMFoiIGZpbGw9IiNGOEY5RkIiLz4KPC9zdmc+Cg==);
    background-size: cover;
    background-repeat: no-repeat;
}

.tab-button-yatay:last-child::after,
.tab-button-yatay:first-child::before {
    display: none;
}

.tab-button-yatay.active {
    background-color: #382887;
    color: #fff;
}

.tab-button-yatay p {
    margin-bottom: 0 !important;
    font-weight: 500;
}

.tab-button-yatay.active::after {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxNiAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1LjA2NjUgOC42MTc4OUMxNS43MTg3IDguOTkwOTQgMTUuNzQyIDkuOTIzMDcgMTUuMTA5MiAxMC4zMjgxTC04Ljc0MjI4ZS0wNyAyMEwwIC03LjIxMjM4ZS0wN0wxNS4wNjY1IDguNjE3ODlaIiBmaWxsPSIjMzgyODg3Ii8+Cjwvc3ZnPgo=);
}

.tab-button-yatay.active::before {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIwIDIwSDBMMTQuNjYzMSAxMC4zMjAzQzE1LjI4IDkuOTEzMDQgMTUuMjU3NyA4Ljk5OTc1IDE0LjYyMTEgOC42MjQwMkwwIDBIMjBWMjBaIiBmaWxsPSIjMzgyODg3Ii8+Cjwvc3ZnPgo=);
}

.tab-content-yatay {
    flex: 1;
    display: none;
}

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

.tab-image {
    margin-top: 10px;
}

/* Mobil cihazlar için responsive ayarları */
@media screen and (max-width: 768px) {
    .tab-buttons-yatay {
        justify-content: flex-start;
        gap: 20px; /* Gap'i küçült */
        padding: 0 15px; /* Yan padding ekle */
        margin-bottom: 30px;
    }

    .tab-button-yatay {
        min-width: 120px; /* Minimum genişliği küçült */
        padding: 6px 8px; /* Padding'i küçült */
        font-size: 14px; /* Font boyutunu küçült */
    }

    .tab-button-yatay:first-child {
        padding-left: 15px; /* Sol padding'i küçült */
    }

    .tab-button-yatay:last-child {
        padding-right: 15px; /* Sağ padding'i küçült */
    }

    /* Pseudo elementlerin boyutlarını küçült */
    .tab-button-yatay::after {
        width: 30px;
        height: 35px;
        right: -28px;
    }

    .tab-button-yatay::before {
        width: 25px;
        height: 34px;
        left: -25px;
    }
}

/* Çok küçük ekranlar için */
@media screen and (max-width: 480px) {
    .tab-buttons-yatay {
        gap: 25px;
        padding: 0 10px;
    }

    .tab-button-yatay {
        min-width: 100px;
        padding: 5px 6px;
        font-size: 12px;
    }

    .tab-button-yatay:first-child {
        padding-left: 12px;
    }

    .tab-button-yatay:last-child {
        padding-right: 12px;
    }

    .tab-button-yatay::after {
        width: 25px;
        height: 30px;
        right: -23px;
    }

    .tab-button-yatay::before {
        width: 22px;
        height: 30px;
        left: -22px;
    }
    .tab-contents-yatay {
        margin: 0 -30px;
    }
}