/* SoftSwiss DigiTech — desktop giriş header + accountmenu profil paneli */

/* —— Header auth chrome —— */
html.is-web .account-block_items__desk {
  display: flex;
  align-items: center;
  gap: 8px;
}
html.is-web .account-block_items__desk .account-m-block {
  display: flex;
  gap: 6px;
}
html.is-web .account-block_items__desk .account-block_item {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex-shrink: 0;
}
html.is-web .account-block_items__desk .account-block_item-icon:before {
  font-size: 16px;
  line-height: 1;
}
html.is-web .account-block_items__desk .deposit-btn,
html.is-web button.deposit-btn,
html.is-web button.btn.btn-primary.deposit-btn,
html.is-web .deposit-btn.deposit-btn_bg {
  min-height: 36px;
  min-width: 36px;
  padding: 0 14px !important;
  border-radius: 10px !important;
  font-weight: 700;
  white-space: nowrap;
  /* SoftSwiss turuncu — dcss metal-blue button ez */
  background: #ff7a00 !important;
  background-color: #ff7a00 !important;
  background-image: none !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
}
html.is-web .account-block_items__desk .deposit-btn:hover,
html.is-web button.deposit-btn:hover,
html.is-web button.btn.btn-primary.deposit-btn:hover,
html.is-web .deposit-btn.deposit-btn_bg:hover {
  background: #ff8f1f !important;
  background-color: #ff8f1f !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(255, 122, 0, 0.45) !important;
  opacity: 1 !important;
}
html.is-web .account-block_user-select {
  cursor: pointer;
  min-width: 0;
  max-width: 140px;
}
html.is-web .account-block_user-select_item {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  line-height: 1.15;
  padding: 4px 8px !important;
  height: 36px !important;
  box-sizing: border-box;
  position: relative;
}
html.is-web .account-block_user-select_item:before {
  display: none !important;
}
html.is-web .account-block_user-name {
  display: block !important;
  font-size: 12px;
  font-weight: 700;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
}
html.is-web .account-block_user-cash {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  color: #ff7a00;
}
html.is-web .account-block_items__desk .user-menu {
  margin: 0 !important;
  flex-shrink: 0;
}

/* —— Backdrop —— */
html.is-web .tb--profile-backdrop,
html.is-mobile .tb--profile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 10055;
}
html.is-web.tb-profile-open .tb--profile-backdrop,
html.is-mobile.tb-profile-open .tb--profile-backdrop {
  display: block;
}

/* —— Desktop profil paneli (mobile.css SoftSwiss 1:1, sağ drawer) —— */
html.is-web #tb-mobile-profile.tb--mobile-menu,
html.is-web #tb-mobile-profile {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  width: min(400px, 100vw) !important;
  max-width: 100% !important;
  height: 100% !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 10060 !important;
  display: flex !important;
  flex-direction: column !important;
  background: #171c23 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition:
    transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0.34s linear,
    opacity 0.2s ease;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
}
html.is-web #tb-mobile-profile.is-open {
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: translateX(0) !important;
}
html.is-web.tb-profile-open,
html.is-web.tb-profile-open body {
  overflow: hidden !important;
}

/* Üst kapatma barı */
html.is-web #tb-mobile-profile .tb--menu-header {
  position: relative !important;
  flex: 0 0 56px !important;
  height: 56px !important;
  min-height: 56px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  background: #1f2a34 !important;
  box-sizing: border-box !important;
  z-index: 2;
}
html.is-web #tb-mobile-profile .tb--menu-close {
  width: 28px;
  height: 28px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #f2f2f2;
  font-size: 22px;
  line-height: 1;
  background: transparent !important;
  border-radius: 0;
}
html.is-web #tb-mobile-profile .tb--menu-close i:before {
  font-size: 22px;
  line-height: 1;
}

/* Scroll body */
html.is-web #tb-mobile-profile .tb--mobile-menu-body {
  flex: 1 1 auto !important;
  width: 100% !important;
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 16px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: transparent !important;
  box-sizing: border-box !important;
}
html.is-web #tb-mobile-profile .ptp--left-sidebar,
html.is-web #tb-mobile-profile .ptp--left-scroll-bar {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
}

/* Kullanıcı kartı */
html.is-web #tb-mobile-profile .ptp--user-block {
  margin: 0 0 12px !important;
  padding: 16px !important;
  border-radius: 12px !important;
  background: #1f2a34 !important;
  box-sizing: border-box;
  display: block !important;
}
html.is-web #tb-mobile-profile .ptp-mob-user-info {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px;
}
html.is-web #tb-mobile-profile .ptp--user-avatar {
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #171c23 !important;
  color: rgba(255, 255, 255, 0.75);
  font-size: 24px;
  flex-shrink: 0;
}
html.is-web #tb-mobile-profile .ptp--user-verify-block {
  min-width: 0;
  flex: 1 1 auto;
}
html.is-web #tb-mobile-profile .ptp--user-name {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.15;
  margin-bottom: 6px;
}
html.is-web #tb-mobile-profile .ptp-mob-user-verify {
  margin: 0 !important;
}
html.is-web #tb-mobile-profile .ptp-verify-item {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6px !important;
  height: 24px;
  color: rgba(255, 255, 255, 0.8);
}
html.is-web #tb-mobile-profile .ptp-verify-item .digi_icon-verify-btn {
  color: #f26b04;
  display: inline-flex;
  align-items: center;
}
html.is-web #tb-mobile-profile .ptp-verify-item .tb--ellipsis {
  font-size: 12px;
  line-height: 1;
}
html.is-web #tb-mobile-profile .ptp-user-id {
  margin: 12px 0 0 !important;
  padding: 12px !important;
  border-radius: 12px !important;
  background: #171c23 !important;
  font-size: 12px;
  overflow: visible !important;
  position: relative;
}
html.is-web #tb-mobile-profile .ptp-user-id .ptp-list-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
html.is-web #tb-mobile-profile .ptp-user-id_txt {
  color: rgba(255, 255, 255, 0.55);
}
html.is-web #tb-mobile-profile .ptp-user-id_num {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  font-weight: 700;
  color: #fff;
  position: relative;
  overflow: visible !important;
}
html.is-web #tb-mobile-profile .tb--copy-wrapper {
  display: inline-flex !important;
  align-items: center !important;
  position: relative !important;
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  overflow: visible !important;
}
html.is-web #tb-mobile-profile .tb--player-copy {
  cursor: pointer;
  opacity: 0.85;
  line-height: 1;
}
html.is-web #tb-mobile-profile .tb--copied {
  position: absolute !important;
  right: 0 !important;
  top: -30px !important;
  left: auto !important;
  z-index: 20 !important;
  width: max-content !important;
  max-width: none !important;
  padding: 5px 12px !important;
  border-radius: 12px !important;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3) !important;
  background: #fff !important;
  color: #212121 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: normal !important;
  white-space: nowrap !important;
  text-transform: capitalize !important;
  pointer-events: none !important;
}
html.is-web #tb-mobile-profile .tb--copied.tb--d-none {
  display: none !important;
}

/* Bakiye kartı */
html.is-web #tb-mobile-profile .ptp--user-balance {
  margin: 0 0 16px !important;
  padding: 16px !important;
  border-radius: 12px !important;
  background: #1f2a34 !important;
  border: 0 !important;
  box-sizing: border-box;
}
html.is-web #tb-mobile-profile .ptp--main-balance {
  margin: 0 0 16px !important;
}
html.is-web #tb-mobile-profile .ptp--balance-head {
  margin: 0;
}
html.is-web #tb-mobile-profile .ptp--balance-title {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5) !important;
  margin-bottom: 4px;
}
html.is-web #tb-mobile-profile .ptp--main-cont {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 !important;
}
html.is-web #tb-mobile-profile .balance-number {
  font-size: 26px !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1.15;
}
html.is-web #tb-mobile-profile .balance-number span + span {
  margin-left: 4px;
}
html.is-web #tb-mobile-profile .balance-number.is-hidden {
  filter: blur(6px);
  user-select: none;
}
html.is-web #tb-mobile-profile .digi_icon-eye[data-tb-balance-eye] {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #171c23;
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
html.is-web #tb-mobile-profile .chashier-buttons {
  display: flex !important;
  gap: 12px;
  margin: 0 !important;
}
html.is-web #tb-mobile-profile .chashier-buttons .btn,
html.is-web #tb-mobile-profile .chashier-buttons a {
  flex: 1 1 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  height: 44px;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  text-decoration: none;
  font-size: 14px !important;
  font-weight: 700;
  box-sizing: border-box;
  border: 0 !important;
}
html.is-web #tb-mobile-profile .chashier-buttons .btn-secondary__popup {
  background: transparent !important;
  background-image: none !important;
  border: 1px solid #ff7a00 !important;
  color: #ff7a00 !important;
}
html.is-web #tb-mobile-profile .chashier-buttons .btn-primary__popup {
  background: #ff7a00 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
}
html.is-web #tb-mobile-profile .ptp--top-lines {
  display: none !important;
}
html.is-web #tb-mobile-profile .ptp--balance-list {
  display: none;
}
html.is-web #tb-mobile-profile .ptp--balance-list.ptp--active {
  display: block;
  margin-top: 12px;
}
html.is-web #tb-mobile-profile .ptp--list-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #c8d0da;
}

/* Kayıp bonusu */
html.is-web #tb-mobile-profile .tb--user-cashback_cont {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px !important;
  padding: 12px 16px !important;
  min-height: 56px;
  border-radius: 12px !important;
  box-sizing: border-box;
  cursor: pointer;
  color: inherit !important;
  text-decoration: none !important;
  border: 0 !important;
  background:
    linear-gradient(90deg, rgba(242, 179, 70, 0.2) 0%, rgba(71, 75, 86, 0.2) 40%, rgba(71, 75, 86, 0.2) 60%, rgba(242, 179, 70, 0.2) 100%),
    rgba(71, 75, 86, 0.2) !important;
  font-size: 12px;
  font-weight: 600;
}
html.is-web #tb-mobile-profile .tb--requst-cashback {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(23, 28, 35, 0.9);
  color: #f26b04;
  flex-shrink: 0;
}
html.is-web #tb-mobile-profile .tb--rcashback-title {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
}
html.is-web #tb-mobile-profile .tb--rcashback-link {
  color: #f26b04;
  transform: scaleX(-1);
  display: inline-flex;
}

/* Menü listesi */
html.is-web #tb-mobile-profile .tb--menu-items {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block !important;
}
html.is-web #tb-mobile-profile .tb--menu-item {
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  color: #fff;
  border-radius: 0;
  flex-wrap: wrap !important;
  align-items: center !important;
}
html.is-web #tb-mobile-profile .tb--menu-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
html.is-web #tb-mobile-profile .tb--menu-item > .tb--flex {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: calc(100% - 28px) !important;
}
html.is-web #tb-mobile-profile .tb--menu-item.tb--sub-arrow_mob:before,
html.is-web #tb-mobile-profile .tb--menu-item.digi_icon-arrow_down:before {
  order: 2;
  margin-left: auto;
  font-size: 14px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
html.is-web #tb-mobile-profile .tb--menu-item.tb--sub-arrow_mob.is-open:before,
html.is-web #tb-mobile-profile .tb--menu-item.digi_icon-arrow_down.is-open:before {
  transform: rotate(180deg);
}
html.is-web #tb-mobile-profile .tb--menu-item_txt {
  margin-left: 12px;
  font-size: 14px !important;
  font-weight: 600;
}
html.is-web #tb-mobile-profile .tb--menu-item .tb--icon {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.92);
}
html.is-web #tb-mobile-profile .tb--menu-item a,
html.is-web #tb-mobile-profile .tb--menu-item .tb--flex {
  color: inherit;
  text-decoration: none;
  gap: 0;
}
html.is-web #tb-mobile-profile .tb--account-submenu.tb--hide {
  display: none !important;
}
html.is-web #tb-mobile-profile .tb--account-submenu:not(.tb--hide) {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
  width: 100% !important;
  flex-basis: 100% !important;
  padding: 8px 0 4px 36px !important;
  box-sizing: border-box !important;
}
html.is-web #tb-mobile-profile .tb--account-submenu a {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #c8d0da !important;
  text-decoration: none !important;
  font-size: 13px !important;
  opacity: 1 !important;
  padding: 10px 8px !important;
  border-radius: 8px !important;
}
html.is-web #tb-mobile-profile .tb--account-submenu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
}
html.is-web #tb-mobile-profile .tb--mobile-logout {
  margin: 16px 0 8px;
  padding: 14px 12px;
  border-radius: 12px;
  gap: 10px;
  background: #1f2a34;
  cursor: pointer;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
}
html.is-web #tb-mobile-profile .tb--mobile-logout:hover {
  background: #243040;
}
html.is-web #tb-mobile-profile .tb--d-none {
  display: none !important;
}
