/* --- YENİ PARA YATIR BUTONU (Görseldeki Ayarlara Göre) --- */

/* 1. Kapsayıcı Buton (Wallet) */
.user-nav-icon.bc-i-wallet {
    /* Görünürlük */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;

    /* Konum (Senin manuel ayarlarına göre sabitledim) */
    position: absolute !important;
    top: 6px !important;      /* Bonus butonu ile aynı hiza */
    left: 140px !important;   /* Görseldeki gibi soldan mesafe */
    right: auto !important;
    
    /* Görünüm (Bonus Butonu ile aynı stil) */
    width: auto !important;
    height: 28px !important;
    background: transparent !important;
    border: 1px solid #41F7C0 !important; /* Yeşil Çerçeve */
    border-radius: 6px !important;
    padding: 0 8px !important;
    
    z-index: 9999 !important;
    box-shadow: 0 0 5px rgba(65, 247, 192, 0.3) !important;
}

/* 2. İkon Ayarı (Cüzdan Simgesi) */
.user-nav-icon.bc-i-wallet::before {
    display: block !important;
    /* content: ... kodu zaten sistemde var, o yüzden eklemiyorum */
    
    color: #ffffff !important;      /* Beyaz İkon */
    font-size: 16px !important;      
    margin-right: 6px !important;   /* Yazı ile ikon arası boşluk */
    line-height: 1 !important;
    font-weight: normal !important;
    width: auto !important;
}

/* 3. Yazı Ekleme: "PARA YATIR" */
.user-nav-icon.bc-i-wallet::after {
    content: "PARA YATIR" !important;
    
    font-family: 'Roboto', sans-serif !important; 
    font-size: 11px !important; 
    font-weight: 700 !important; 
    color: #ffffff !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    
    display: block !important;
    margin-top: 1px !important; /* Dikey ortalama için ince ayar */
}

/* 4. Temizlik (İçeride başka bir şey varsa gizle) */
.user-nav-icon.bc-i-wallet > span,
.user-nav-icon.bc-i-wallet > div {
    display: none !important;
}

.hdr-logo-bc {
    max-width: none;
    padding: 2px 0;
}
.tab-nav-item-bc:nth-child(3) {
    overflow: visible !important;
    position: relative !important;
    z-index: 100 !important;
}

.tab-nav-item-bc:nth-child(3) .tab-nav-icon-bc {
    background-image: url('https://boblink.org/bobcms/storage/medias/betorbet-18767840/media_18767840_45e2cb8fe2f7768e8f1ee5f8c3bc6fcb.png') !important;
    width: 90px !important;  
    height: 90px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    position: absolute !important;
    top: -50px !important; 
    left: 50% !important;
    transform: translateX(-50%) !important;
    animation: neon-pulse 2s infinite ease-in-out !important;
}

.tab-nav-item-bc:nth-child(3) .tab-nav-icon-bc::before {
    content: none !important;
    display: none !important;
}

.tab-nav-item-bc:nth-child(3) .tab-nav-title-bc {
    display: none !important; 
}

@media screen and (max-width: 1200px) {

    .user-nav-icon.bc-i-promotions-3,
    a.bc-i-promotions-3,
    .header-custom-buttons a[class*="promotions"] {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        position: absolute !important;
        top: 6px !important; 
        left: 8px !important; 
        right: auto !important;
        
        border: 1px solid #41F7C0 !important;
        border-radius: 6px !important;
        background-color: transparent !important;
        
        height: 28px !important;        
        max-height: 28px !important;
        padding: 0 8px !important;      
        width: auto !important;
        margin: 0 !important;
        z-index: 9999 !important;
        
        box-shadow: 0 0 8px rgba(65, 247, 192, 0.3) !important;
    }
    
    .user-nav-icon.bc-i-promotions-3::before, a.bc-i-promotions-3::before {
        display: block !important;
        color: #ffffff !important; 
        font-size: 15px !important;     
        margin-right: 5px !important;  
        line-height: 1 !important; 
    }
    
    .user-nav-icon.bc-i-promotions-3::after, a.bc-i-promotions-3::after {
        content: "BONUS TALEP ET" !important;
        font-family: 'Roboto', sans-serif !important;
        font-size: 11px !important;    
        font-weight: 700 !important;
        color: #ffffff !important;
        white-space: nowrap !important;
        display: block !important;
        margin-top: 1px !important;
        line-height: 1 !important;
    }

    /* BURADAKİ SADAKAT GİZLEME KODU KALDIRILDI */
}

@keyframes neon-pulse {
    0% { transform: translateX(-50%) scale(1); filter: drop-shadow(0 0 2px rgba(65, 247, 192, 0.4)); }
    50% { transform: translateX(-50%) scale(1.1); filter: drop-shadow(0 0 15px rgba(65, 247, 192, 0.9)); }
    100% { transform: translateX(-50%) scale(1); filter: drop-shadow(0 0 2px rgba(65, 247, 192, 0.4)); }
}

.u-i-p-a-content-bc:before {
    content: "" !important;
    position: absolute !important; 
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: .9 !important;
    background: radial-gradient(circle at -14% 113%, #2c3d44, #40f7c1 135%) !important;
    z-index: 0 !important; /* İçeriğin altında kalsın */
}
/* --- SADECE GİRİŞ YAPANLARA GÖSTER (Nokta Atışı Yöntem) --- */

/* Mantık: Eğer body'nin içinde ".btn.sign-in" sınıfına sahip bir eleman varsa
   (yani Giriş Yap butonu görünüyorsa), cüzdan butonunu GİZLE.
*/
body:has(.btn.sign-in) .user-nav-icon.bc-i-wallet {
    display: none !important;
}
/* --- SADAKAT BUTONU AYARI --- */
/* Sadece üst header (ana menü) içindeki sadakat butonunu gizle */
/* Profil menüsündekine DOKUNMA */

@media screen and (max-width: 1200px) {
    
    /* 1. Olasılık: Header butonları içinde ise */
    .header-custom-buttons a[href*="loyalty"],
    .header-custom-buttons .loyaltyBonusHeader, 
    .header-custom-buttons [class*="loyalty"] {
        display: none !important;
    }

    /* 2. Olasılık: Ek bilgi alanı içinde ise */
    .hdr-additional-info .loyaltyBonusHeader,
    .hdr-additional-info a[href*="loyalty"] {
        display: none !important;
    }
}
/* --- PROFİL MENÜSÜNDEKİ SADAKAT KUTUSU (Betorbet Puan) --- */

/* 1. Kapsayıcı Kutu Tasarımı (Görseldeki Kodlar) */
.u-i-p-a-loyaltyPoint-bc {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    
    /* Görseldeki renk geçişi (Gradient) */
    background-image: radial-gradient(circle at -14% 113%, #13272f, #2e7762) !important;
    
    /* Boyut ve Boşluklar */
    min-height: 47px !important;
    padding: 5px 10px !important;
    margin-bottom: 10px !important;
    
    /* Kenarlık ve Köşeler */
    border: 1px solid #886e39 !important; /* Görseldeki hafif kahve/altın çerçeve */
    border-radius: 10px !important;
    
    /* Yazı Rengi */
    color: rgb(255, 255, 255) !important;
    text-decoration: none !important;
    overflow: hidden !important;
    
    /* Eğer daha önce gizleme kodu yazdıysak burada görünür yap */
    visibility: visible !important;
    opacity: 1 !important;
}

/* 2. İçindeki Yazı (BETORBET PUAN) */
.u-i-p-a-loyaltyPoint-bc p,
.u-i-p-a-loyaltyPointText-bc {
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding-left: 10px !important; /* İkon ile yazı arasına boşluk */
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}

/* 3. İkonun Ayarı (Soldaki Kese İkonu) */
.u-i-p-a-loyaltyPoint-bc .loyaltyBonusHeader {
    display: block !important;
    margin: 0 !important;
    /* İkon boyutu küçük gelirse buradan büyütebilirsin */
    transform: scale(0.9) !important; 
}