/* --- 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 */
}

@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; 
}