/**
 * Mobil casino / canlı casino: bölüm kutularını body (#001d3d) ile hizalar.
 * casino_cfv2.css içindeki var(--secondary) / var(--tertiary) beyaza kaçtığında devreye girer.
 */

/* Footer’daki sport-betslip z-index:1990; #fe_header 999 iken AS/SF tıklaması betslip’e gidiyordu */
#fe_header {
  z-index: 3000 !important;
}

body.body-casino-mob,
body.body-casino-mob #fe_body {
  background-color: #001d3d !important;
}

body.body-casino-mob #fe_main,
body.body-casino-mob #fe_web_container #fe_main {
  background-color: #001d3d !important;
}

body.body-casino-mob .casino_container {
  background-color: transparent !important;
}

body.body-casino-mob .sections_container,
body.body-casino-mob #fe_main .sections_container {
  background-color: #001d3d !important;
}

body.body-casino-mob .lobby_section_container,
body.body-casino-mob #fe_main .lobby_section_container,
body.body-casino-mob #fe_main .casino_container .lobby_section_container {
  background: #001d3d !important;
  background-color: #001d3d !important;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

body.body-casino-mob .providers_menu {
  background: #0f3558 !important;
}

body.body-casino-mob .casino_filters_menu,
body.body-casino-mob .casino_filters_menu_dropdown {
  background-color: #0f3558 !important;
}

body.body-casino-mob .search_container {
  background-color: #0f3558 !important;
}

body.body-casino-mob .search_area,
body.body-casino-mob #fe_web_container #fe_main .search_input .casino_input,
body.body-casino-mob #fe_web_container #fe_main .search_input .casino_input::-moz-placeholder {
  background: #0f3558 !important;
  color: #e8f0ff !important;
}

body.body-casino-mob #fe_web_container #fe_main .search_input .casino_input::placeholder {
  color: rgba(232, 240, 255, 0.55) !important;
}

body.body-casino-mob .section_title_container {
  border-color: rgba(255, 255, 255, 0.12);
}

body.body-casino-mob .section_title_container .section_title,
body.body-casino-mob .section_title span,
body.body-casino-mob .section_title_container .show_all_btn {
  color: #e8f0ff;
}

body.body-casino-mob .cfv2_sections_menu ul.cfv2_sections_nav li div {
  color: rgba(232, 240, 255, 0.85);
}

/*
 * Hesap sheet (mob_user_profile_modal): index’te custom-home.css ile gizleniyordu;
 * casino/livecasino custom-home yüklemediği için panel normal akışta footer üstünde görünüyordu.
 */
#mob_user_profile_modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

#mob_user_profile_modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

#mob_user_profile_modal .mob_user_profile_modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

#mob_user_profile_modal .mob_user_profile_modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: min(92vh, 100dvh);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 16px 16px 0 0;
  background: #0d1b2a;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
}

#mob_user_profile_modal .mob_user_profile_modal__inner {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  overflow: hidden;
}

#mob_user_profile_modal .mob_profile_sheet {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#mob_user_profile_modal .mob_profile_row_user {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  background: linear-gradient(135deg, #5b21b6 0%, #4c1d95 45%, #3b0764 100%);
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#mob_user_profile_modal .mob_profile_display_name {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.01em;
  word-break: break-word;
}

#mob_user_profile_modal .mob_profile_row_user_actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

#mob_user_profile_modal .mob_profile_deposit_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  color: #1a0a2e;
  background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  border: none;
}

#mob_user_profile_modal .mob_profile_deposit_btn:active {
  transform: scale(0.98);
}

#mob_user_profile_modal .mob_profile_close_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

#mob_user_profile_modal .mob_profile_scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}

#mob_user_profile_modal .login_menu_area_v2 {
  width: 100%;
  margin: 0;
  padding: 0;
}

#mob_user_profile_modal .user_area {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  z-index: auto;
  padding-bottom: 24px;
}

#mob_user_profile_modal .balance_btns_holder {
  display: flex !important;
  width: 100% !important;
  float: none !important;
  border-bottom-color: rgba(148, 163, 184, 0.2);
}

#mob_user_profile_modal .balance_btns_holder .balance_container,
#mob_user_profile_modal .balance_btns_holder .open_slip_container {
  float: none !important;
  width: 50% !important;
  flex: 1 1 50%;
  min-width: 0;
  box-sizing: border-box;
}

#mob_user_profile_modal .balance_btns_holder .clear {
  display: none !important;
}

#mob_user_profile_modal .header_sec_loggedin_menu_v2 .ttl_sec {
  padding: 12px 16px 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #94a3b8;
}

#mob_user_profile_modal .header_sec_loggedin_menu_v2 .profile_sec a,
#mob_user_profile_modal .header_sec_loggedin_menu_v2 .reports_sec a,
#mob_user_profile_modal .header_sec_loggedin_menu_v2 .help_sec a {
  padding-left: 16px;
  padding-right: 16px;
}

/* Hesap sheet menü linkleri (inner_pages_light vb. koyu mavi bırakıyordu) */
#mob_user_profile_modal .header_sec_loggedin_menu_v2 a,
#mob_user_profile_modal .header_sec_loggedin_menu_v2 a span {
  color: #e8f0ff !important;
}

#mob_user_profile_modal .header_sec_loggedin_menu_v2 a.menu_item span,
#mob_user_profile_modal .header_sec_loggedin_menu_v2 .reports_sec a span,
#mob_user_profile_modal .header_sec_loggedin_menu_v2 .help_sec a span {
  color: inherit !important;
}

#mob_user_profile_modal .logout_link,
#mob_user_profile_modal .logout_link span {
  color: #fecaca !important;
}

#mob_user_profile_modal .header_sec_loggedin_menu_v2 .fa {
  color: rgba(232, 240, 255, 0.85) !important;
}

body.mob-user-profile-open {
  overflow: hidden;
}

/* casino_framework.php (Free Spin / bonus iç sayfalar): koyu tema + okunaklı metin */
body.page-casino-framework,
body.page-casino-framework #fe_body {
  background-color: #001d3d !important;
}

body.page-casino-framework #fe_main {
  background-color: #001d3d !important;
  color: #e8f0ff !important;
}

body.page-casino-framework #fe_main .bonus_list_section,
body.page-casino-framework #fe_main .no_bonuses_found,
body.page-casino-framework #fe_main .main_error,
body.page-casino-framework #fe_main .main_error b,
body.page-casino-framework #fe_main .main_error i {
  color: #e8f0ff !important;
}

body.page-casino-framework #fe_main .bonus_list_header_name,
body.page-casino-framework #fe_main .blm_main_item_name,
body.page-casino-framework #fe_main h3 {
  color: #ffffff !important;
}

body.page-casino-framework #fe_main .main_menu .top_menu a {
  color: #e8f0ff !important;
}

#mob_user_profile_modal.is-open .mob_profile_scroll {
  touch-action: pan-y;
}
