/* =====================================================
   VirusBet - Kullanici profil overlay (sagdan slide-in)
   Header'daki avatar tiklaninca acilir. Icinde bakiye,
   avatar+kullanici, dogrulanmis chip, menu satirlari,
   cikis butonu. ===================================== */

.overlay-sliding-wrapper-bc.user-profile-container {
  display: none;
  will-change: transform;
  width: 100%;
  height: calc(100vh - 98px);           /* Header (logo+avatar+ikon cubugu) birak */
  z-index: 9700;                        /* Bottom nav'in ustunde - orjinaldeki gibi tam kaplama */
  background: rgba(35, 35, 35, 1);
  position: fixed;
  top: 98px;                            /* Header'in bittigi yerden (hdr-main + hdr-additional-info) */
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(0);
  opacity: 1;
}
/* Profil acikken header'in avatar/bakiye/chip'ler/ikon cubugu gizlensin,
   sadece logo + X close gorunsun. Uyari bar gorunmeye devam eder.
   Specifity: theme.css'in (1,4,0) kuraliyla yaristigi icin (1,5,1) veriyoruz */
#component.user-profile-open .header-bc.is-authenticated .hdr-main-content-bc > .hdr-user-bc,
#component.user-profile-open .header-bc.is-authenticated .hdr-main-content-bc > .hdr-crypto-btn,
#component.user-profile-open .header-bc.is-authenticated .hdr-main-content-bc > #smart-panel-holder,
#component.user-profile-open .header-bc.is-authenticated > .hdr-additional-info,
#component.user-profile-open .header-bc.is-authenticated > .hdr-crypto-content {
  display: none !important;
}
/* X close butonu: default gizli, profil acikken gorunur */
#component .header-bc .hdr-user-close {
  display: none;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  margin-inline-start: auto;
}
#component .header-bc .hdr-user-close::before {
  content: "\e5cd";
  font-family: 'BetConstruct-Icons' !important;
}
#component.user-profile-open .header-bc .hdr-user-close {
  display: flex !important;
}
/* Uyari bar (virusadres.direct...) profil acikken gizle */
#component.user-profile-open .hdr-dynamic-content {
  display: none !important;
}
/* Uyari gizli, header top:0'a cek */
#component.user-profile-open .header-bc {
  top: 0 !important;
}
/* Overlay: sadece header (49px) kaldigi icin top:49 */
#component.user-profile-open .overlay-sliding-wrapper-bc.user-profile-container {
  top: 49px !important;
  height: calc(100vh - 49px) !important;
}

/* ============ SUB-MENU (BAKIYE YONETIMI / PROFILIM) ============ */
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-submenu-bc {
  display: none;
  margin-top: 0;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-submenu-bc.is-active {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
/* Sub-menu baslik + geri buton */
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-submenu-head-bc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border-radius: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-submenu-back-bc {
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  flex-shrink: 0;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-submenu-back-bc::before {
  content: "\e314";
  font-family: 'BetConstruct-Icons' !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-submenu-title-bc {
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
/* Sub-menu icin ekstra glyph'ler */
.overlay-sliding-wrapper-bc.user-profile-container .user-nav-icon.bc-i-deposit::before {
  content: "\eaac" !important;
  font-family: 'BetConstruct-Icons' !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .user-nav-icon.bc-i-withdraw::before {
  content: "\e9ce" !important;
  font-family: 'BetConstruct-Icons' !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .user-nav-icon.bc-i-betslip::before {
  content: "\e936" !important;
  font-family: 'BetConstruct-Icons' !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .user-nav-icon.bc-i-lock::before {
  content: "\e930" !important;
  font-family: 'BetConstruct-Icons' !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .user-nav-icon.bc-i-verified::before {
  content: "\e9fb" !important;
  font-family: 'BetConstruct-Icons' !important;
}
/* Sub-menu aktif iken ana menu ve ust user karti (ana bakiye+kart) gizle mi?
   Referansda ana bakiye kart HALA GORUNUYOR ust taraf. Sadece link listesi
   yerine sub-menu gorunuyor. */
.overlay-sliding-wrapper-bc.user-profile-container.view-balance .u-i-p-links-lists-holder-bc,
.overlay-sliding-wrapper-bc.user-profile-container.view-profile .u-i-p-links-lists-holder-bc {
  display: none;
}
.overlay-sliding-wrapper-bc.user-profile-container.view-balance .u-i-p-submenu-bc.for-balance {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.overlay-sliding-wrapper-bc.user-profile-container.view-profile .u-i-p-submenu-bc.for-profile {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.overlay-sliding-wrapper-bc.user-profile-container.open {
  display: block;
}
.overlay-sliding-wrapper-bc.user-profile-container .overlay-sliding-w-c-content-slider-bc {
  background: rgba(35, 35, 35, 1);
  will-change: scroll-position;
  -webkit-overflow-scrolling: touch;
  flex-direction: column;
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden auto;
  animation: user-profile-slide 0.24s 0.05s ease forwards;
  transform: translateX(100%);
  font-family: Roboto, Arial, Helvetica, sans-serif;
}
@keyframes user-profile-slide {
  from { transform: translateX(100%); }
  to   { transform: translateX(0);    }
}

/* Ustteki logo + kapat bar - logo biraz asagi kaydirilmis */
.overlay-sliding-wrapper-bc.user-profile-container .user-profile-top-bar {
  height: 68px;
  padding: 20px 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}
.overlay-sliding-wrapper-bc.user-profile-container .user-profile-top-bar img {
  max-width: 100px;
  height: 32px;
  object-fit: contain;
}
.overlay-sliding-wrapper-bc.user-profile-container .user-profile-close {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay-sliding-wrapper-bc.user-profile-container .user-profile-close::before {
  content: "\e5cd";
  font-family: 'BetConstruct-Icons' !important;
}

/* Body */
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-c-body-bc {
  height: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-profile-page-bc {
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Bakiye kartı (yesil) - orijinal swiper markup, kart 80% peek edecek */
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-amount-holder-bc {
  margin: 0;
  display: block;
  overflow: hidden;
  padding: 0;
}
.overlay-sliding-wrapper-bc.user-profile-container .balance-swiper {
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: block;
  position: relative;
  width: 100%;
  height: auto;
}
.overlay-sliding-wrapper-bc.user-profile-container .balance-swiper .swiper-wrapper {
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
  width: 100%;
  height: 100%;
}
.overlay-sliding-wrapper-bc.user-profile-container .balance-swiper .swiper-slide {
  width: 80% !important;
  flex-shrink: 0;
  will-change: transform;
  border-radius: 10px;
  overflow: visible;
  display: block;
  position: relative;
}
.overlay-sliding-wrapper-bc.user-profile-container .balance-swiper .swiper-pagination {
  display: none;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-amounts-bc {
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 120px;
  overflow: hidden;
}
/* Menu satirlarindaki badge counter'i gizle - arrow > yerini alsin */
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-head-bc .count-blink-even {
  display: none !important;
}
/* Arrow > icin ekstra spesifik override */
#component .overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-h-icon-bc.bc-i-small-arrow-right::before {
  content: "\e5cc" !important;
  font-family: 'BetConstruct-Icons' !important;
  display: inline-block !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-amounts-bc.withdrawable .u-i-p-a-content-bc {
  background: linear-gradient(135deg, #109121 0%, #1aa02d 60%, #37c04a 100%);
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-content-bc {
  color: #fff;
  border-radius: 10px;
  min-height: 100px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.35);
  flex-direction: column;
  padding: 12px 14px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-content-bc > * {
  z-index: 1;
  position: relative;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-content-bc::before {
  content: "";
  opacity: 1;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 40%),
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 40%);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.overlay-sliding-wrapper-bc.user-profile-container .total-balance-r-bc {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-user-balance {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-title-bc {
  opacity: 0.9;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #fff;
  text-transform: uppercase;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-amount-bc {
  margin-top: 2px;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  color: #fff;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-c-icon-bc {
  text-align: center;
  color: rgba(255, 255, 255, 1);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 15px;
  line-height: 30px;
  cursor: pointer;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-c-icon-bc.bc-i-eye::before {
  content: "\e90c" !important;
  font-family: 'BetConstruct-Icons' !important;
}

/* Deposit + Withdraw butonlar */
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-buttons-bc {
  display: flex;
  gap: 6px;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-deposit-bc,
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-withdraw-bc {
  border-radius: 6px;
  text-transform: uppercase;
  flex: 1;
  height: 34px;
  transition: background 0.24s;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  padding: 0 5px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  display: flex;
  cursor: pointer;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-deposit-bc:hover,
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-withdraw-bc:hover {
  background: rgba(255, 255, 255, 0.18);
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-deposit-bc i,
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-withdraw-bc i {
  margin-inline-end: 8px;
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 16px;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-deposit-bc i.bc-i-wallet::before {
  content: "\e918";
  font-family: 'BetConstruct-Icons' !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-a-withdraw-bc i.bc-i-withdraw::before {
  content: "\e9ce" !important;
  font-family: 'BetConstruct-Icons' !important;
}

/* Kullanici satiri (avatar + isim + id) */
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-p-u-i-edit-button-bc {
  color: rgba(255, 255, 255, 0.85);
  align-items: center;
  padding: 6px 8px;
  display: flex;
  gap: 10px;
  cursor: pointer;
  border-radius: 4px;
  background: transparent;
  margin: 0;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-p-u-i-avatar-holder-bc {
  text-transform: uppercase;
  width: 32px;
  height: 32px;
  color: rgba(35, 35, 35, 1);
  text-align: center;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 32px;
  margin: 0;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-p-u-i-identifiers-bc {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: hidden;
  justify-content: center;
  margin: 0;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-p-u-i-d-username-bc {
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 600;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-p-u-i-d-user-id-bc {
  color: rgba(255, 255, 255, 0.5);
  align-items: center;
  margin-top: 3px;
  font-size: 11px;
  display: flex;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-p-u-i-d-user-id-copy-bc {
  margin-inline-start: 6px;
  cursor: pointer;
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-p-u-i-d-user-id-copy-bc.bc-i-copy::before {
  content: "\e9fd" !important;
  font-family: 'BetConstruct-Icons' !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-h-icon-bc.right {
  color: rgba(255, 255, 255, 0.5);
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 12px;
  flex-shrink: 0;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-h-icon-bc.right.bc-i-small-arrow-right::before {
  content: "\e5cc";
  font-family: 'BetConstruct-Icons' !important;
}

/* Dogrulanmis Hesap */
.overlay-sliding-wrapper-bc.user-profile-container .account-verified-info {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  padding: 0 10px 4px;
}
.overlay-sliding-wrapper-bc.user-profile-container .account-verified-edit-title {
  align-items: center;
  font-size: 13px;
  display: flex;
  gap: 6px;
}
.overlay-sliding-wrapper-bc.user-profile-container .account-verified-edit-icon {
  flex-shrink: 0;
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 15px;
  color: #4cad59;
}
.overlay-sliding-wrapper-bc.user-profile-container .account-verified-edit-icon.bc-i-verified::before {
  content: "\e9fb" !important;
  font-family: 'BetConstruct-Icons' !important;
}

/* Menu link satirlari */
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-links-lists-holder-bc {
  border-radius: 4px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-head-bc {
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  height: 44px;
  padding: 0 15px;
  display: flex;
  cursor: pointer;
  border-radius: 4px;
  gap: 10px;
  transition: background 0.2s;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-head-bc:hover {
  background: rgba(255, 255, 255, 0.14);
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-head-bc .user-nav-icon {
  width: 24px;
  height: 24px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-head-bc .u-i-p-l-h-title-bc {
  color: rgba(255, 255, 255, 0.9);
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-head-bc .u-i-p-l-h-icon-bc {
  color: rgba(255, 255, 255, 0.85);
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 16px;
  flex-shrink: 0;
  display: inline-block !important;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
}
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-head-bc .u-i-p-l-h-icon-bc.bc-i-small-arrow-right::before,
.overlay-sliding-wrapper-bc.user-profile-container .u-i-p-l-h-icon-bc.bc-i-small-arrow-right::before {
  content: "\e5cc" !important;
  font-family: 'BetConstruct-Icons' !important;
}
/* Glyph override'lari - menu link ikonlari */
.overlay-sliding-wrapper-bc.user-profile-container .user-nav-icon.bc-i-history::before {
  content: "\e90b" !important;
  font-family: 'BetConstruct-Icons' !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .user-nav-icon.bc-i-balance-management::before {
  content: "\e92d" !important;
  font-family: 'BetConstruct-Icons' !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .user-nav-icon.bc-i-user::before {
  content: "\e919" !important;
  font-family: 'BetConstruct-Icons' !important;
}
.overlay-sliding-wrapper-bc.user-profile-container .user-nav-icon.bc-i-message::before {
  content: "\e934" !important;
  font-family: 'BetConstruct-Icons' !important;
}

/* Cikis butonu */
.overlay-sliding-wrapper-bc.user-profile-container .userLogoutBtn {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  height: 44px;
  width: 100%;
  border-radius: 4px;
  border: 0;
  padding: 0 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  transition: background 0.2s;
}
.overlay-sliding-wrapper-bc.user-profile-container .userLogoutBtn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.overlay-sliding-wrapper-bc.user-profile-container .userLogoutIcon {
  font-family: 'BetConstruct-Icons' !important;
  font-style: normal;
  font-size: 16px;
  color: currentColor;
}
.overlay-sliding-wrapper-bc.user-profile-container .userLogoutIcon.bc-i-logout::before {
  content: "\e92a" !important;
  font-family: 'BetConstruct-Icons' !important;
}
