/* shareon.css - SYMMETRY FIXED VERSION */

.share-slider-wrapper {
    --so-border: rgba(255, 255, 255, 0.15);
    --so-text: #cbd5e1;
    --so-popup-bg: #1a1a1a;
    --so-primary: #e50914;
}

/* === ANA KAPSAYICI === */
.share-slider-wrapper {
    position: relative;
    display: inline-flex;
    /* İçeriği tam ortaya hizala */
    justify-content: center; 
    align-items: center;
    
    /* Gap yerine margin kullanacağız, simetri bozulmasın */
    gap: 0; 
    
    padding: 6px 10px; /* Sağ ve sol eşit padding */
    float: right; 
    margin: 5px 0 5px 10px;
    
    border: 1px solid var(--so-border);
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    height: 46px;
    box-sizing: border-box;
    z-index: 5;
}

.share-slider-wrapper::after { content: ""; display: table; clear: both; }

/* === ORTA ALAN (Viewport) === */
.share-slider-wrapper .share-viewport {
    width: 160px;
    overflow: hidden;
    position: relative;
    height: 34px;
    display: flex;
    align-items: center;
    
    /* Boşlukları buradan veriyoruz (Simetrinin anahtarı) */
    margin: 0 8px; 
}

.share-slider-wrapper .share-track {
    display: flex;
    gap: 8px;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: center;
    height: 100%;
    will-change: transform;
}

/* === BUTON SIFIRLAMA === */
.share-slider-wrapper button, 
.share-slider-wrapper a.share-btn {
    appearance: none;
    outline: none !important;
    box-shadow: none !important;
    border: none;
    background: transparent;
    cursor: pointer;
    text-decoration: none !important;
    padding: 0;
    margin: 0;
}

/* Navigasyon Okları */
.share-slider-wrapper .share-nav-btn {
    color: var(--so-text) !important;
    font-size: 14px;
    width: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.share-slider-wrapper .share-nav-btn:hover { opacity: 1; color: #fff !important; }

/* İkon Butonları */
.share-slider-wrapper .share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--so-border) !important;
    color: var(--so-text) !important;
    flex-shrink: 0;
    transition: background-color 0.2s, color 0.2s;
}

.share-slider-wrapper .share-btn i {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", "FontAwesome", sans-serif !important;
    pointer-events: none;
    font-style: normal;
}
.share-slider-wrapper .share-btn.embed i,
.share-slider-wrapper .share-btn.email i { font-weight: 900; }

/* Hover Renkleri */
.share-slider-wrapper .share-btn:hover { color: #fff !important; border-color: transparent !important; transform: none !important; }
.share-slider-wrapper .share-btn.whatsapp:hover { background-color: #25D366 !important; }
.share-slider-wrapper .share-btn.facebook:hover { background-color: #1877F2 !important; }
.share-slider-wrapper .share-btn.x-twitter:hover { background-color: #000000 !important; border-color: #555 !important; }
.share-slider-wrapper .share-btn.telegram:hover { background-color: #2AABEE !important; }
.share-slider-wrapper .share-btn.reddit:hover { background-color: #FF4500 !important; }
.share-slider-wrapper .share-btn.pinterest:hover { background-color: #E60023 !important; }
.share-slider-wrapper .share-btn.linkedin:hover { background-color: #0077B5 !important; }
.share-slider-wrapper .share-btn.blogger:hover { background-color: #FF5722 !important; }
.share-slider-wrapper .share-btn.mix:hover { background-color: #EB4924 !important; }
.share-slider-wrapper .share-btn.kakao:hover { background-color: #FEE500 !important; color: #3C1E1E !important; }
.share-slider-wrapper .share-btn.email:hover { background-color: #95a5a6 !important; }
.share-slider-wrapper .share-btn.embed:hover { background-color: #e50914 !important; }

/* === EMBED ALANI (POP-UP) === */
.share-slider-wrapper .embed-area {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 220px;
    background-color: var(--so-popup-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0,0,0,0.8);
    border-radius: 8px;
    padding: 12px;
    z-index: 1000;
    text-align: center;
    animation: soFadeIn 0.2s ease-out;
}

.share-slider-wrapper .embed-area::after {
    content: ""; position: absolute; bottom: -8px; right: 55px; 
    border-width: 8px 8px 0; border-style: solid;
    border-color: var(--so-popup-bg) transparent transparent transparent; 
    display: block;
}

@keyframes soFadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.share-slider-wrapper .embed-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px;
}
.share-slider-wrapper .embed-title { font-size: 12px; font-weight: bold; color: #fff; }
.share-slider-wrapper .embed-close { color: #aaa !important; font-size: 14px; cursor: pointer; background: none; border: none; }
.share-slider-wrapper .embed-close:hover { color: #fff !important; }

/* Dev Kopyala Butonu */
.share-slider-wrapper .big-copy-btn {
    width: 100%;
    background-color: var(--so-primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 0.2s;
}
.share-slider-wrapper .big-copy-btn:hover { background-color: #f40612; }
.share-slider-wrapper .big-copy-btn.success { background-color: #27ae60 !important; pointer-events: none; }
.share-slider-wrapper .big-copy-btn i { font-size: 14px; }

/* Mobil */
@media (max-width: 500px) {
    .share-slider-wrapper { float: none; display: flex; margin: 10px auto; width: fit-content; }
    .share-slider-wrapper .embed-area { right: -20px; }
    .share-slider-wrapper .embed-area::after { right: 75px; }
}