/* ==========================================================================
   MIDASBUY UI CUSTOM COMPONENT & THEME STYLESHEET
   Clean, Unified, Zero-Duplicate Architecture
   ========================================================================== */

:root {
  --o-background-page: #0f121d;
  --o-background-component: #1a1e2e;
  --o-background-container: #101424;
  --o-background-secondarycontainer: #14182b;
  --o-background-secondarycomponent: #242940;
  --o-borders-divider: rgba(255, 255, 255, 0.08);
  --o-borders-stroke: rgba(255, 255, 255, 0.14);
  --o-font-w-primary: #ffffff;
  --o-font-w-secondary: #9aa1b4;
  --o-font-w-disabled: rgba(255, 255, 255, 0.3);
  --o-font-w-placeholder: rgba(255, 255, 255, 0.4);
  --o-font-brand-primary-default: #3988ff;
  --o-font-function-promotion-normal: #ffc63f;
  --o-special-font-w-primary: #ffffff;
  --o-special-button-brand-lighter: #00c4de;
  --o-special-button-brand: #1b56ff;
  --o-special-button-brand-hover-lighter: #33d1e6;
  --o-special-button-brand-hover: #3b6cff;
  --o-special-button-brand-active: #0045e6;
  --o-special-button-secondarybrand-lighter: #f2b818;
  --o-special-button-secondarybrand: #f26c3d;
  --o-colors-red-05: #ff3b30;
  --o-colors-alpha-b75: rgba(0, 0, 0, 0.75);
  --o-colors-neutral-05: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   UNIFIED HERO CONTAINER & TRANSPARENT NAVBAR (LAZA/lazaheader/1.jpg)
   ========================================================================== */
.slider-container {
  overflow: visible !important;
}

.lazaMdas-hero-container {
  position: relative !important;
  width: 100% !important;
  min-height: 195px !important;
  background: url('../LAZA/lazaheader/1.jpg') no-repeat right center / cover !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important; */
}

/* Gradient overlay for contrast */
.lazaMdas-hero-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(8, 10, 18, 0.5) 0%, rgba(8, 10, 18, 0.05) 45%, rgb(8 10 18 / 20%) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Top Navigation Bar: 100% Transparent over Hero */
#MobileNav,
#MobileNav.lazaMdas-header_6c02fb,
.lazaMdas-header_6c02fb {
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 52px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-bottom: none !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
}

.lazaMdas-absolute_1eb7bb {
  position: relative !important;
}

.lazaMdas-icon_9cf7c0 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.lazaMdas-country_m_show_57db4a {
  display: flex !important;
}

.lazaMdas-live_50f3d7 {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.lazaMdas-active_845f97 {
  color: #ffffff !important;
}

.lazaMdas-main_dc044f {
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.lazaMdas-left_d65133 {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.lazaMdas-logo_box_272290 {
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
}

.lazaMdas-logo_4ada42 {
  height: 19px !important;
  width: auto !important;
  display: block !important;
}

/* PC nav links are hidden because layout is fixed mobile container (max-width: 440px) */
.lazaMdas-pc_nav_link_e52c71 {
  display: none !important;
}

.lazaMdas-right_813aa3 {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.lazaMdas-country_ad4310 {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  padding: 4px 6px !important;
  border-radius: 6px !important;
  transition: background 0.2s !important;
}
.lazaMdas-country_ad4310:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

.lazaMdas-country_icon_5955f9 {
  width: 22px !important;
  height: 15px !important;
  border-radius: 2px !important;
  object-fit: cover !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}

.lazaMdas-country_name_4ba0d2 {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 500;
  font-family: dinm, 'laza-dinm', sans-serif !important;
}

.lazaMdas-cut_line_41cc46 {
  width: 1px !important;
  height: 14px !important;
  background: rgba(255, 255, 255, 0.2) !important;
}

/* Notification bell with red dot */
.lazaMdas-notif-btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  cursor: pointer !important;
  color: #ffffff !important;
}
.lazaMdas-notif-btn i {
  font-size: 20px !important;
  color: #ffffff !important;
}

.lazaMdas-notif-dot {
  position: absolute !important;
  top: 3px !important;
  right: 5px !important;
  width: 7px !important;
  height: 7px !important;
  background-color: #ff3b30 !important;
  border-radius: 50% !important;
  box-shadow: 0 0 5px rgba(255, 59, 48, 0.9) !important;
  pointer-events: none !important;
}

/* Drawer Menu button */
.lazaMdas-menu_357a91 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  cursor: pointer !important;
  color: #ffffff !important;
}
.lazaMdas-menu_357a91 i {
  font-size: 22px !important;
  color: #ffffff !important;
}

/* ==========================================================================
   GAME INFO ROW (PUBG MOBILE BAR AT BOTTOM OF HERO)
   ========================================================================== */
.lazaMdas-x_main_cf7131 {
  position: relative !important;
  z-index: 5 !important;
  width: 100% !important;
  padding: 25px 20px 28px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: none !important;
  border-bottom: none !important;
  margin-top: auto !important;
  top: 0px;
}

.notifgift {
  position: relative !important;
  z-index: 5 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Notif Gift Bar Ticker & Player ID Button */
.notifgift-left {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
}

.notifgift-divider {
  width: 1px !important;
  height: 16px !important;
  background: rgba(255, 255, 255, 0.22) !important;
  margin: 0 8px !important;
  flex-shrink: 0 !important;
}

/* Notif Gift Bar - Player ID Button (Default Unfilled: #3374ff with arrow.svg) */
.notifgift-right.laza-playerid-toggle-btn {
  flex-shrink: 0 !important;
  max-width: 55% !important;
  height: 100% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 5px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 4px !important;
  margin: 0 !important;
  cursor: pointer !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #3374ff !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.notifgift-right.laza-playerid-toggle-btn .laza-playerid-toggle-text {
  color: #3374ff !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.notifgift-right.laza-playerid-toggle-btn .playerid-toggle-arrow,
.confirm-info-row.laza-playerid-toggle-btn .playerid-toggle-arrow {
  display: inline-block !important;
  width: 12px !important;
  height: 14px !important;
  background-color: #3374ff !important;
  -webkit-mask: url('../LAZA/style-img/arrow.svg') no-repeat center / contain !important;
  mask: url('../LAZA/style-img/arrow.svg') no-repeat center / contain !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

/* Filled state: white nickname, bright cyan ID, switch icon */
.notifgift-right.laza-playerid-toggle-btn.filled {
  color: #ffffff !important;
}

.notifgift-right.laza-playerid-toggle-btn.filled .laza-playerid-toggle-text {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.notifgift-right.laza-playerid-toggle-btn.filled .laza-playerid-nickname {
  color: #ffffff !important;
  font-weight: 500 !important;
}

.notifgift-right.laza-playerid-toggle-btn.filled .playerid-id {
  color: #8d909b !important;
  font-weight: 500 !important;
}

.notifgift-right.laza-playerid-toggle-btn.filled .playerid-toggle-arrow,
.confirm-info-row.laza-playerid-toggle-btn.filled .playerid-toggle-arrow {
  background-color: #8c97b8 !important;
  -webkit-mask: url('../LAZA/style-img/switch.svg') no-repeat center / contain !important;
  mask: url('../LAZA/style-img/switch.svg') no-repeat center / contain !important;
}

/* Confirm Modal Player ID Row (Matching Image 2 when empty, and filled state) */
.confirm-info-row.laza-playerid-toggle-btn:not(.filled) .laza-playerid-toggle-text {
  color: #3374ff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.confirm-info-row.laza-playerid-toggle-btn:not(.filled) .confirm-info-arrow {
  color: #3374ff !important;
  font-size: 16px !important;
}

.confirm-info-row.laza-playerid-toggle-btn.filled .laza-playerid-toggle-text {
  color: #ffffff !important;
  font-size: 13px !important;
}

.confirm-info-row.laza-playerid-toggle-btn.filled .laza-playerid-nickname {
  color: #ffffff !important;
  font-weight: 600 !important;
}

.confirm-info-row.laza-playerid-toggle-btn.filled .playerid-id {
  color: #8d909b !important;
  font-weight: 500 !important;
}

.confirm-info-row.laza-playerid-toggle-btn.filled .confirm-info-arrow {
  color: #9a9dab !important;
  font-size: 16px !important;
}

.lazaMdas-theme_wrap_259a30 {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.lazaMdas-app_download_icon_e58443 {
  width: 48px !important;
  height: 48px !important;
  border-radius: 7px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45) !important;
  flex-shrink: 0 !important;
}
.lazaMdas-app_download_icon_e58443 img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

.lazaMdas-title_a184d2 {
  font-family: 'DINPro';
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  letter-spacing: 1px !important;
  line-height: 1.2 !important;
  margin-bottom: 5px !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6) !important;
}

.lazaMdas-sub_box_cd2ddc {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

/* Official Pill (Light silver/white) */
.lazaMdas-official_wrap_f0ef4c {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  background: #cdc7cf !important;
  color: #000000 !important;
  border-radius: 7px !important;
  padding: 5px 4px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  font-family: Arial;
  line-height: 1 !important;
}
.lazaMdas-official_wrap_f0ef4c i {
  width: 13px !important;
  height: 13px !important;
  color: #14161f !important;
  display: inline-block !important;
}

/* Subscribe Pill (Dark translucent with border) */
.lazaMdas-subscribe_module_172523 {
  padding: 3px 10px !important;
  background: var(--o-borders-stroke);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 999px;
  flex-shrink: 1;
  align-items: center;
  gap: 4px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 0;
  padding: 2px 8px;
  font-family: Arial;
  font-size: 12px;
  line-height: 18px;
  display: flex;
  overflow: hidden;
}
.lazaMdas-subscribe_module_172523:hover {
  background: #ffffff0d !important;
}
.lazaMdas-subscribe_module_172523 i {
  width: 12px !important;
  height: 12px !important;
  color: #ffffff !important;
}

/* Subscribe icon toggle: Show plus when not subscribed, checkmark when subscribed */
.lazaMdas-subscribe_module_172523 .lazaMdas-subscribed_icon_48cb17,
.lazaMdas-no_subscribe_27d2f4 .lazaMdas-subscribed_icon_48cb17 {
  display: none !important;
}
.lazaMdas-subscribe_module_172523.subscribed .lazaMdas-no_subscribe_icon_47afdf {
  display: none !important;
}
.lazaMdas-subscribe_module_172523.subscribed .lazaMdas-subscribed_icon_48cb17 {
  display: inline-block !important;
}

.lazaMdas-visually_hidden_1a9bf9 {
  display: none !important;
}

/* ==========================================================================
   SIDEBAR DRAWER STYLES (SHARP, NO-BLUR, HIGH CONTRAST)
   ========================================================================== */
.midasbuy-sidebar-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 99990 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease !important;
  pointer-events: none;
}

.midasbuy-sidebar-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.lazaMdas-user_mess_box_127fb7 {
  position: fixed !important;
  top: 0 !important;
  right: -320px !important;
  width: 290px !important;
  max-width: 85% !important;
  height: 100vh !important;
  background: #171c2f !important;
  z-index: 99999 !important;
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.75) !important;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.lazaMdas-user_mess_box_127fb7.active {
  right: 0 !important;
}

.lazaMdas-head_box_71599b {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 18px !important;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; */
}

.lazaMdas-top_logo_822cc4 {
  height: 22px !important;
  width: auto !important;
}

.lazaMdas-close_btn_439b43 {
  width: 20px !important;
  height: 20px !important;
  cursor: pointer !important;
  opacity: 0.75 !important;
  transition: opacity 0.2s !important;
}
.lazaMdas-close_btn_439b43:hover {
  opacity: 1 !important;
}

.lazaMdas-ulContent_e1abd9 {
  padding: 18px 18px 2px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.lazaMdas-linkcon_58c6cd {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.lazaMdas-signIn_543d81 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 4px !important;
}

.lazaMdas-signIn_543d81 p {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  max-width: 135px !important;
}

.lazaMdas-signIn_543d81 .lazaMdas-btn_wrap_ff760a {
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.lazaMdas-btn_d780e3 {
  background: #0086ff !important;
  border-radius: 8px !important;
  padding: 9px 15px !important;
  text-align: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 134, 255, 0.3) !important;
  transition: background 0.2s !important;
}
.lazaMdas-btn_d780e3:hover {
  background: #0070d6 !important;
}

.lazaMdas-text_eff93d {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

/* VIP Card matching exact user snippet */
.lazaMdas-user_coins_mess_e8ebef {
  background: transparent !important;
  padding: 0 !important;
  cursor: pointer !important;
  margin: 6px 0 8px 0 !important;
  position: relative !important;
}

.lazaMdas-user_mess_box_127fb7 .lazaMdas-user_card_3cf094,
.MidasbuyUI-user_mess_box_127fb7 .MidasbuyUI-user_card_3cf094 {
  box-sizing: border-box !important;
  background: url('../LAZA/midas/nav-vipbg.png') 0 0 / 100% 100% no-repeat !important;
  border-radius: 9px !important;
  flex-flow: column !important;
  justify-content: center !important;
  min-height: 64px !important;
  padding: 12px 16px !important;
  display: flex !important;
  position: relative !important;
}

.lazaMdas-user_mess_box_127fb7 .lazaMdas-user_card_3cf094:before,
.MidasbuyUI-user_mess_box_127fb7 .MidasbuyUI-user_card_3cf094:before {
  content: "" !important;
  background-image: url('../LAZA/midas/VIP-active-img.png') !important;
  background-repeat: no-repeat !important;
  background-size: 100% !important;
  width: 100px !important;
  height: 120px !important;
  position: absolute !important;
  top: -24px !important;
  right: -20px !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.lazaMdas-user_card_3cf094 .lazaMdas-label_97d745 {
  color: #ffc63f !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
  position: relative !important;
  z-index: 1 !important;
}

.lazaMdas-user_ms_aa2b9f {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  position: relative !important;
  z-index: 1 !important;
  max-width: 165px !important;
}

.lazaMdas-user_ms_aa2b9f i {
  font-size: 10px !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.lazaMdas-icon-coupon-wrap {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lazaMdas-coupon-badge-dot {
  position: absolute !important;
  top: -1px !important;
  right: -3px !important;
  width: 6px !important;
  height: 6px !important;
  background-color: #ff3b30 !important;
  border-radius: 50% !important;
}

.lazaMdas-link_284f1c a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 6px 0 !important;
  transition: color 0.2s !important;
}
.lazaMdas-link_284f1c a:hover {
  color: #3988ff !important;
}

.lazaMdas-link_284f1c i {
  font-size: 19px !important;
  color: #ffffff !important;
}

.lazaMdas-tencent_de5996 {
  margin-top: 17px !important;
  padding-top: 34px !important;
  /* border-top: 1px solid rgba(255, 255, 255, 0.08) !important; */
  justify-items: center;
}

.lazaMdas-TencentSafety_wrap_b47f58 {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  color: #ffffffbf !important;
  font-size: 12px !important;
}

.lazaMdas-TencentSafety_wrap_b47f58 i {
  color: #ffffffbf !important;
  font-size: 14px !important;
}
.lazaMdas-TencentSafety_wrap_b47f58 i {
  color: #ffffffbf !important;
  font-size: 16px !important;
}

/* ==========================================================================
   MIDASBUY OFFICIAL 2-COLUMN REGIONAL LANGUAGE SELECTOR MODAL (BOTTOM SHEET)
   ========================================================================== */
.midas-lang-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.72) !important;
  z-index: 100000 !important;
  display: flex !important;
  align-items: flex-end !important; /* Bottom sheet flush to bottom */
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.midas-lang-modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
}

.midas-lang-modal {
  background: #14192b !important;
  border-radius: 14px 14px 0 0 !important; /* Curved top, flat bottom */
  width: 100% !important;
  max-width: 440px !important;
  max-height: 85vh !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: none !important;
  overflow: hidden !important;
  position: relative !important;
  margin: 0 auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(100%) !important;
  transition: transform 0.35s cubic-bezier(0.18, 0.9, 0.3, 1) !important;
}

.midas-lang-modal-overlay.active .midas-lang-modal {
  transform: translateY(0%) !important;
}

.midas-lang-modal-header {
  padding: 16px 20px 14px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  position: relative !important;
  background: #14192b !important;
  flex-shrink: 0 !important;
}

.midas-lang-modal-header-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.midas-lang-modal-logo {
  height: 22px !important;
  width: auto !important;
  object-fit: contain !important;
}

.midas-lang-modal-close {
  color: #8a96a9 !important;
  font-size: 26px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: color 0.2s !important;
  padding: 4px !important;
  margin: -4px !important;
}

.midas-lang-modal-close:hover {
  color: #ffffff !important;
}

.midas-lang-modal-title {
  text-align: center !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  margin-top: 4px !important;
  text-transform: uppercase !important;
}

.midas-lang-modal-subtitle {
  text-align: center !important;
  color: #268cff !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-top: 4px !important;
  min-height: 18px !important;
}

.midas-lang-modal-body {
  padding: 10px 8px 16px 14px !important;
  overflow-y: scroll !important; /* Always visible scrollbar */
  -webkit-overflow-scrolling: touch !important;
  flex: 1 !important;
  scrollbar-width: thin !important;
  scrollbar-color: #3b82f6 #141a2b !important;
}

/* Custom Active Scrollbar */
.midas-lang-modal-body::-webkit-scrollbar {
  width: 6px !important;
  display: block !important;
}
.midas-lang-modal-body::-webkit-scrollbar-track {
  background: #141a2b !important;
  border-radius: 4px !important;
  margin: 6px 0 !important;
}
.midas-lang-modal-body::-webkit-scrollbar-thumb {
  background: #2a3c61 !important;
  border-radius: 4px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.midas-lang-modal-body::-webkit-scrollbar-thumb:hover,
.midas-lang-modal-body::-webkit-scrollbar-thumb:active {
  background: #007aff !important;
}

.midas-lang-region-title {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  margin: 16px 0 8px 0 !important;
  text-align: left !important;
}
.midas-lang-region-title:first-child {
  margin-top: 2px !important;
}

.midas-lang-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

.midas-lang-card {
  background: #1a2235 !important;
  border: 1.5px solid transparent !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  box-sizing: border-box !important;
  min-height: 44px !important;
  min-width: 0 !important;
  overflow: hidden !important;
}

.midas-lang-card:hover {
  background: #202b44 !important;
}

.midas-lang-card.active {
  border-color: #0086ff !important;
  background: #152747 !important;
}

.midas-lang-flag {
  width: 24px !important;
  height: 16px !important;
  border-radius: 2px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
}

.midas-lang-name {
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
  min-width: 0 !important;
  flex: 1 !important;
}

.midas-lang-modal-footer {
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)) 16px !important;
  background: #14192b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  flex-shrink: 0 !important;
}

.midas-lang-confirm-btn {
  width: 100% !important;
  height: 44px !important;
  border-radius: 8px !important;
  background: linear-gradient(90deg, #007aff 0%, #00b4ff 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
  transition: opacity 0.2s, transform 0.1s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.midas-lang-confirm-btn:hover {
  opacity: 0.95 !important;
}
.midas-lang-confirm-btn:active {
  transform: scale(0.99) !important;
}

/* ==========================================================================
   NOTIFICATIONS POPUP STYLES
   ========================================================================== */
.lazaMdas-icon_9cf7c0.lazaMdas-notif-btn { position: relative !important; }
.lazaMdas-notifi_wrap_d0a316 {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  right: -6px !important;
  width: 315px !important;
  max-width: calc(100vw - 20px) !important;
  z-index: 99999 !important;
  display: none !important;
}

.lazaMdas-notifi_wrap_d0a316.active {
  display: block !important;
  animation: notifFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes notifFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lazaMdas-notification_pop_up_ebf5dc {
  background: #171d30 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding: 18px !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

.lazaMdas-not_title_619907 {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-family: dinm, 'laza-dinm', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 12px !important;
}

.lazaMdas-close_btn_a070a8 {
  cursor: pointer !important;
  color: #ffffff !important;
  opacity: 0.85 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transition: opacity 0.2s !important;
}
.lazaMdas-close_btn_a070a8:hover {
  opacity: 1 !important;
}

.lazaMdas-subscribe_now_desc_e41983 {
  font-size: 13.5px !important;
  color: #8c97b8 !important;
  line-height: 1.45 !important;
  margin: 0 0 16px 0 !important;
  font-weight: 400 !important;
}

.lazaMdas-subscribe_now_btn_48b941 {
  background: #0086ff !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 11px 16px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(0, 134, 255, 0.35) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
  border: 1px solid transparent !important;
}
.lazaMdas-subscribe_now_btn_48b941:hover {
  background: #0070d6 !important;
}

.lazaMdas-subscribe_now_btn_48b941.subscribed {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #00d26a !important;
  border: 1px solid rgba(0, 210, 106, 0.35) !important;
  box-shadow: none !important;
}

/* Close button on top-right of account_login */
.account-login-close-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(10, 14, 26, 0.6) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: 30 !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

.account-login-close-btn:hover {
  background: rgba(10, 14, 26, 0.9) !important;
  transform: scale(1.08) !important;
}

.account-login-close-btn svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #ffffff !important;
}

/* ==========================================================================
   OFFICIAL MIDASBUY FOOTER STYLES (MATCHING USER SCREENSHOT EXACTLY)
   ========================================================================== */
.lazaMdas-footer-wrapper {
  background: #101424 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 24px 16px 28px 16px !important;
  font-family: Arial !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.lazaMdas-footer-container {
  max-width: 440px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.lazaMdas-footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.lazaMdas-footer-logo {
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
}

.lazaMdas-footer-logo img {
  height: 22px !important;
  width: auto !important;
  display: block !important;
}

.lazaMdas-footer-tagline {
  color: #9ba4b5 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

.lazaMdas-footer-divider {
  width: 100% !important;
  height: 1px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  margin: 2px 0 !important;
}

.lazaMdas-footer-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-top: 7px !important;
  margin-bottom: 18px !important;
}

.lazaMdas-footer-heading {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  letter-spacing: 0.1px !important;
}

.lazaMdas-social-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 17px !important;
}

.lazaMdas-social-item {
  width: 38px !important;
  height: 38px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  flex-shrink: 0 !important;
  transition: transform 0.15s ease !important;
  text-decoration: none !important;
}

.lazaMdas-social-item:hover {
  transform: translateY(-2px) !important;
}

.lazaMdas-social-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 8px !important;
}

/* Payment channels: exact 5 badges in a row */
.lazaMdas-payment-row {
  display: flex !important;
  align-items: center !important;
  gap: 0px !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
}

.lazaMdas-payment-card {
  width: 40px !important;
  height: 25px !important;
  background: #ffffff !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 2px !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
  cursor: pointer;
  width: 36px;
  height: 36px;
  margin-top: 9px;
  margin-right: 16px;
}

.lazaMdas-payment-card img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.lazaMdas-footer-desc {
  color: #9ba4b5 !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* Customer service button: full-width dark navy */
.lazaMdas-cs-btn {
  width: 100% !important;
  height: 40px !important;
  background: #171d2f !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 500!important;
  box-sizing: border-box !important;
  cursor: pointer !important;
  transition: background 0.2s ease, border-color 0.2s ease !important;
}

.lazaMdas-cs-btn:hover {
  background: #1e263d !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

.lazaMdas-cs-btn i {
  font-size: 15px !important;
  color: #ffffff !important;
}

/* Security badges */
.lazaMdas-security-row {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 4px !important;
}

.lazaMdas-sec-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.lazaMdas-sec-soc img {
  height: 42px !important;
  width: auto !important;
  display: block !important;
}

.lazaMdas-sec-pci img {
  height: 28px !important;
  width: auto !important;
  display: block !important;
}

/* Legal links */
.lazaMdas-legal-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 4px !important;
  text-align: center !important;
  margin-top: 4px !important;
}

.lazaMdas-legal-row1,
.lazaMdas-legal-row2 {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  flex-wrap: wrap !important;
}

.lazaMdas-legal-links a {
  color: #9ba4b5 !important;
  font-size: 11.5px !important;
  text-decoration: none !important;
}

.lazaMdas-legal-links a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

.lazaMdas-legal-sep {
  color: #555d72 !important;
  font-size: 11px !important;
}

/* ==========================================================================
   MOBILE, IPHONE, AND IN-APP WEBVIEW (TIKTOK / INSTAGRAM / FB) OPTIMIZATIONS
   ========================================================================== */

/* 1. Mencegah layar goyang horisontal */
html, body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* 2. Mencegah iOS auto-zoom saat user tap input form */
@media screen and (max-width: 768px) {
  input, select, textarea,
  .form-group-fb input,
  .form-group-twitter input,
  .input-box .input-1,
  .link-box-form input,
  .link-box-form-login,
  .link-box-form-number,
  .link-box-form-region,
  .popup-box-form-trueid input,
  .playerid-input {
    font-size: 16px !important;
  }
}

/* 3. Popup Container: Tanpa padding samping agar bottom sheet (reward) menempel penuh edge-to-edge */
.popup,
.popup-link {
  padding: 0 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* 4. Bottom Sheet (Laza_ConfirmReward & account_login):
      Full width 100% menempel ke tepi layar HP tanpa space di kiri-kanan,
      dan max-width 420px di layar desktop/tablet */
.popup-box-wrapper {
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
}

/* 5. Ukuran Otentik Dialog Login (Mencegah login melebar di layar HP / Desktop) */
.popup-box-login-fb {
  width: 92% !important;
  max-width: 330px !important;
  margin: auto !important;
}

.popup-box-login-twitter {
  width: 92% !important;
  max-width: 330px !important;
  margin: auto !important;
}

.popup-box-login-google {
  width: 92% !important;
  max-width: 380px !important;
  margin: auto !important;
}

.link-box {
  width: 92% !important;
  max-width: 367px !important;
  margin: auto !important;
}

.popup-box-wrapper-trueid {
  width: 92% !important;
  max-width: 360px !important;
  margin: 12vh auto auto !important;
}

.loadinglogin-box {
  width: 92% !important;
  max-width: 360px !important;
  margin: 22vh auto auto !important;
}

/* 6. Sidebar safe-area untuk Notch & Dynamic Island iPhone */
.lazaMdas-user_mess_box_127fb7,
.MidasbuyUI-user_mess_box_127fb7 {
  padding-top: max(16px, env(safe-area-inset-top)) !important;
  padding-bottom: max(16px, env(safe-area-inset-bottom)) !important;
  max-width: 82vw !important;
}

/* 7. Language Selector Modal Responsiveness */
/* Language Modal is fixed bottom sheet */
.midas-lang-modal {
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  bottom: 0 !important;
}


/* ==========================================================================
   OFFICIAL TRANSACTION DETAILS CARD (PROCESSING ACCOUNT)
   ========================================================================== */
.redemption-order-card {
  background: linear-gradient(180deg, #101426 0%, #0d1020 100%);
  border: 1px solid rgb(20 24 43);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 12px 0 14px;
  box-sizing: border-box;
}

.redemption-order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.redemption-order-card-title {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.redemption-order-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #00d26a;
  background: rgba(0, 210, 106, 0.1);
  border: 1px solid rgba(0, 210, 106, 0.2);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 500;
}

.redemption-order-card-badge i {
  font-size: 11px;
}

/* Item Showcase Inside Transaction Card */
.redemption-card-item-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 0 10px;
}

.redemption-card-item-thumb {
  position: relative;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #14182b 0%, #0f1324 100%);
  border: 1px solid rgb(70 70 70 / 25%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  /* box-shadow: inset 0 0 10px rgba(46, 190, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.3); */
}

.redemption-card-item-thumb img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.redemption-card-item-qty {
  position: absolute;
  bottom: 2px;
  right: 3px;
  background: rgba(10, 12, 20, 0.85);
  color: #d4d4d4;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
  line-height: 1.1;
  border: 1px solid rgb(50 50 50);
}

.redemption-card-item-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.redemption-card-item-name {
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.redemption-card-item-tag {
  display: flex;
  align-items: center;
}

.redemption-card-item-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  color: #2ebeff;
  background: rgba(46, 190, 255, 0.1);
  border: 1px solid rgba(46, 190, 255, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.2;
}

.redemption-card-inner-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0 0 10px;
}

.redemption-order-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.redemption-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  line-height: 1.4;
}

.redemption-order-label {
  color: #8c97b8;
  font-weight: 400;
}

.redemption-order-val {
  color: #e6eaf8;
  font-weight: 500;
  text-align: right;
  max-width: 60%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.redemption-order-val.highlight {
  color: #2ebeff;
  font-weight: 600;
}

#redemptionOrderId {
  font-family: 'dinm', monospace, sans-serif;
  letter-spacing: 0.5px;
  color: #f5c767;
}

/* Status Pulse Dot */
.status-pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #2ebeff;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 190, 255, 0.7);
  animation: status-pulse-blue 1.8s infinite;
  margin-right: 4px;
  vertical-align: middle;
}

@keyframes status-pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 190, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(46, 190, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 190, 255, 0);
  }
}

/* ==========================================================================
   RTL (RIGHT-TO-LEFT) COMPREHENSIVE FIXES (ARABIC, URDU, ETC.)
   ========================================================================== */

/* 1. Header & Notification Popup in RTL */
[dir="rtl"] .lazaMdas-notifi_wrap_d0a316 {
  left: -8px !important;
  right: auto !important;
}

[dir="rtl"] .lazaMdas-notification_pop_up_ebf5dc {
  text-align: right !important;
}

[dir="rtl"] .lazaMdas-not_title_619907 {
  flex-direction: row-reverse !important;
}

/* 2. Drawer / Sidebar in RTL */
[dir="rtl"] .lazaMdas-user_mess_box_127fb7 {
  left: -320px !important;
  right: auto !important;
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.75) !important;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

[dir="rtl"] .lazaMdas-user_mess_box_127fb7.active {
  left: 0 !important;
  right: auto !important;
}

[dir="rtl"] .lazaMdas-user_mess_box_127fb7 .lazaMdas-user_card_3cf094:before,
[dir="rtl"] .MidasbuyUI-user_mess_box_127fb7 .MidasbuyUI-user_card_3cf094:before {
  left: -20px !important;
  right: auto !important;
  transform: scaleX(-1) !important;
}

[dir="rtl"] .lazaMdas-item_link_fdfca5 i.lazaMdas-icon_d2aa02 {
  transform: scaleX(-1) !important;
}

/* 3. Notifgift Hero Bar in RTL (Guaranteed Never Squeezed) */
[dir="rtl"] .notifgift-left {
  text-align: right !important;
  justify-content: flex-start !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

[dir="rtl"] .notifgift-right.laza-playerid-toggle-btn {
  flex-shrink: 0 !important;
  justify-content: flex-start !important;
  max-width: 55% !important;
}

[dir="rtl"] .notifgift-right.laza-playerid-toggle-btn:not(.filled) .playerid-toggle-arrow,
[dir="rtl"] .confirm-info-row.laza-playerid-toggle-btn:not(.filled) .playerid-toggle-arrow {
  transform: scaleX(-1) !important;
}

[dir="rtl"] .notifgift-right.laza-playerid-toggle-btn.filled .playerid-toggle-arrow,
[dir="rtl"] .confirm-info-row.laza-playerid-toggle-btn.filled .playerid-toggle-arrow {
  transform: none !important;
}

/* 4. Shop Item Cards in RTL */
[dir="rtl"] .item-info-col {
  margin-right: 12px !important;
  margin-left: 8px !important;
  text-align: right !important;
}

[dir="rtl"] .item-buy-col {
  align-items: flex-start !important;
}

[dir="rtl"] .item-price-original {
  padding-left: 4px !important;
  padding-right: 0 !important;
}

[dir="rtl"] .item-badge-pct,
[dir="rtl"] .RechargeClassCard_schedule {
  border-top-right-radius: 999px !important;
  border-bottom-right-radius: 999px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  padding: 0 6px 0 3px !important;
}

[dir="rtl"] .item-badge-horn,
[dir="rtl"] .RechargeClassCard_horn {
  border-width: 18px 0 0 6px !important;
  border-color: #f28a2e transparent transparent transparent !important;
}

[dir="rtl"] .item-badge-mds-icon,
[dir="rtl"] .RechargeClassCard_b_ico {
  margin-left: -4px !important;
  margin-right: 0 !important;
}

[dir="rtl"] .item-thumb-badge {
  left: 6px !important;
  right: auto !important;
}

[dir="rtl"] .item-thumb-nomin {
  right: 5px !important;
  left: auto !important;
}

/* 5. Confirmation Modal (Laza_ConfirmReward) in RTL */
[dir="rtl"] .popup-close-icon {
  left: 20px !important;
  right: auto !important;
}

[dir="rtl"] .brand-logo-row {
  text-align: right !important;
  padding-right: 20px !important;
  padding-left: 0 !important;
}

[dir="rtl"] .brand-glow-out {
  right: -60px !important;
  left: auto !important;
}

[dir="rtl"] .item-name-confirm {
  text-align: right !important;
  padding-right: 14px !important;
  padding-left: 0 !important;
}

[dir="rtl"] .section-label {
  text-align: right !important;
}

[dir="rtl"] .confirm-info-arrow {
  transform: scaleX(-1) !important;
  display: inline-block !important;
}

[dir="rtl"] .price-value {
  flex-direction: row-reverse !important;
}

/* 6. Login Modals: Eye Password Toggle & Input Alignment in RTL */

/* Google Login Fixes */
[dir="rtl"] .popup-box-login-google .close-other {
  left: 14px !important;
  right: auto !important;
}

[dir="rtl"] .header-google {
  justify-content: flex-start !important;
}

[dir="rtl"] .txt-login-google {
  text-align: right !important;
}

[dir="rtl"] .txt-login-google-desc {
  text-align: right !important;
}

[dir="rtl"] .input-box .input-label {
  right: 14px !important;
  left: auto !important;
  text-align: right !important;
}

[dir="rtl"] .input-box.focus .input-label,
[dir="rtl"] .input-box.active .input-label,
[dir="rtl"] .input-box.error .input-label {
  right: 14px !important;
  left: auto !important;
}

[dir="rtl"] .input-box .input-1 {
  text-align: right !important;
  direction: rtl !important;
  padding-right: 14px !important;
  padding-left: 14px !important;
}

[dir="rtl"] .input-box.has-eye .input-1,
[dir="rtl"] .input-box.has-eye.focus .input-1,
[dir="rtl"] .input-box.has-eye.active .input-1,
[dir="rtl"] .input-box.has-eye.error .input-1 {
  padding-left: 44px !important;
  padding-right: 14px !important;
}

[dir="rtl"] .form-group-showhide {
  left: 12px !important;
  right: auto !important;
}

[dir="rtl"] .btn-forgot-google {
  text-align: right !important;
  display: block !important;
  width: 100% !important;
}

[dir="rtl"] .btn-not-computer {
  text-align: right !important;
}

[dir="rtl"] .first-email-google,
[dir="rtl"] .first-sandi-google,
[dir="rtl"] .second-email-google,
[dir="rtl"] .second-sandi-google {
  flex-direction: row-reverse !important;
  text-align: right !important;
}

/* Twitter Login Fixes */
[dir="rtl"] .txt-login-twitter {
  text-align: right !important;
  direction: rtl !important;
  padding-right: 2px !important;
  padding-left: 0 !important;
}

[dir="rtl"] .content-box-twitter-txt {
  margin-left: 10px !important;
  margin-right: auto !important;
  text-align: right !important;
}

[dir="rtl"] .content-box-twitter-txt img {
  float: right !important;
  margin-right: 5px !important;
  margin-left: 12px !important;
}

[dir="rtl"] .content-box-twitter-txt-title {
  text-align: right !important;
  direction: rtl !important;
}

[dir="rtl"] .content-box-twitter-txt-det {
  text-align: right !important;
  direction: rtl !important;
}

[dir="rtl"] .content-box-twitter-txt-footer,
[dir="rtl"] .content-box-twitter-txt-footers,
[dir="rtl"] .content-box-twitter-txt-footer-left {
  text-align: right !important;
  direction: rtl !important;
  margin-right: 0 !important;
  margin-left: 10px !important;
}

[dir="rtl"] .form-group-sohi {
  margin-left: 0 !important;
  left: 6px !important;
  right: auto !important;
}

[dir="rtl"] .form-group-sohi img {
  margin-left: 0 !important;
}

[dir="rtl"] .form-group-twitter input {
  padding-left: 45px !important;
  padding-right: 12px !important;
  text-align: right !important;
  direction: rtl !important;
}

[dir="rtl"] .form-group-twitter label {
  right: 12px !important;
  left: auto !important;
  text-align: right !important;
}

[dir="rtl"] .alert-twitter {
  text-align: right !important;
}

/* Facebook Login Fixes */
[dir="rtl"] .form-group-sohid {
  margin-left: 0 !important;
  left: 10px !important;
  right: auto !important;
}

[dir="rtl"] .login-form-facebook input[type="password"] {
  padding-left: 42px !important;
  padding-right: 12px !important;
  text-align: right !important;
  direction: rtl !important;
}

[dir="rtl"] .login-form-facebook input[type="text"] {
  padding-left: 12px !important;
  padding-right: 12px !important;
  text-align: right !important;
  direction: rtl !important;
}

[dir="rtl"] .txt-forgotten-password,
[dir="rtl"] .txt-create-account,
[dir="rtl"] .txt-not-now {
  text-align: center !important;
}

/* Linked Email Login Fixes */
[dir="rtl"] .link-box-navbar {
  background: url(../LAZA/link-navbar-rtl.png) no-repeat center center !important;
  background-size: 100% 100% !important;
}

[dir="rtl"] .link-box-navbar img {
  float: left !important;
  margin-left: 10px !important;
  margin-right: 0 !important;
  cursor: pointer !important;
}

[dir="rtl"] .link-box-navbar-title {
  margin-right: 48px !important;
  margin-left: 0 !important;
  text-align: right !important;
}

[dir="rtl"] .link-wrapper {
  margin-right: 21px !important;
  margin-left: auto !important;
  text-align: right !important;
}

[dir="rtl"] .link-box-bg label {
  text-align: right !important;
  padding-right: 24px !important;
  padding-left: 0 !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

[dir="rtl"] .link-box-form-login {
  margin: 0 auto 10px auto !important;
  display: block !important;
  text-align: right !important;
  direction: rtl !important;
  padding: 6px 12px !important;
  width: calc(100% - 48px) !important;
  box-sizing: border-box !important;
}

[dir="rtl"] .link-box-footer button {
  width: auto !important;
  min-width: 120px !important;
  padding: 5px 24px !important;
  height: 36px !important;
}

/* 7. General Modal & Close Button Fixes in RTL */
[dir="rtl"] .account-login-close-btn {
  left: 14px !important;
  right: auto !important;
}

/* RTL Midasbuy Language Modal */
[dir="rtl"] .midas-lang-modal-header-top {
  flex-direction: row-reverse !important;
}
[dir="rtl"] .midas-lang-region-title {
  text-align: right !important;
}
[dir="rtl"] .midas-lang-card {
  flex-direction: row !important;
  text-align: right !important;
}
[dir="rtl"] .midas-lang-name {
  text-align: right !important;
}

/* 8. Transaction Details Card in RTL */
[dir="rtl"] .redemption-card-item-qty {
  left: 3px !important;
  right: auto !important;
}

[dir="rtl"] .redemption-card-item-name {
  text-align: right !important;
}


/* ==========================================================================
   TRUEID / PLAYER ID OK BUTTON & ENHANCED LOADING STATE
   ========================================================================== */
.playerid-ok-btn {
  width: 100% !important;
  margin-top: 16px !important;
  padding: 13px 16px !important;
  border: none !important;
  border-radius: 8px !important;
  background: linear-gradient(90deg, #007aff 0%, #00b4ff 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0, 122, 255, 0.35) !important;
  transition: opacity 0.2s, transform 0.1s !important;
  display: block;
}

.playerid-ok-btn:hover {
  opacity: 0.95 !important;
}

.playerid-ok-btn:active {
  transform: scale(0.99) !important;
}

.playerid-loading {
  width: 100% !important;
  margin-top: 16px !important;
  padding: 13px 16px !important;
  border-radius: 8px !important;
  background: linear-gradient(90deg, rgba(0, 122, 255, 0.35) 0%, rgba(0, 180, 255, 0.35) 100%) !important;
  border: 1px solid rgba(0, 180, 255, 0.4) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  cursor: not-allowed !important;
  user-select: none !important;
  box-shadow: 0 2px 10px rgba(0, 122, 255, 0.2) !important;
}

.playerid-spinner {
  display: inline-block !important;
  width: 16px !important;
  height: 16px !important;
  border: 2.5px solid rgba(255, 255, 255, 0.3) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: playeridSpin 0.75s linear infinite !important;
  flex-shrink: 0 !important;
}

@keyframes playeridSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-playid {
  background: rgba(233, 67, 86, 0.12) !important;
  border: 1px solid rgba(233, 67, 86, 0.35) !important;
  color: #ff6b7d !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  margin-top: 10px !important;
  text-align: center !important;
}

.success-playid {
  background: rgba(0, 210, 106, 0.12) !important;
  border: 1px solid rgba(0, 210, 106, 0.35) !important;
  color: #4dffa0 !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  font-size: 13.5px !important;
  margin-top: 10px !important;
  text-align: center !important;
}


/* ==========================================================================
   ACCOUNT LOGIN MODAL CENTER & IPHONE / MOBILE RESPONSIVENESS FIX
   ========================================================================== */
.account_login .popup-box-wrapper {
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  position: fixed !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.account_login .pop-log-box {
  width: 100% !important;
  max-width: 420px !important;
  margin: 0 auto !important;
  padding: 0 0 max(20px, env(safe-area-inset-bottom)) 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
  border-radius: 14px 14px 0 0 !important;
  background: #101424 !important;
}

.account_login .pop-log-header {
  width: 100% !important;
  height: 150px !important;
  overflow: hidden !important;
  position: relative !important;
}

.account_login .pop-log-bg {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.account_login .pop-log-body {
  width: calc(100% - 32px) !important;
  max-width: 380px !important;
  margin: -10px auto 0 auto !important;
  padding: 20px 20px 24px !important;
  position: relative !important;
  background: #14182b !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5) !important;
}

.account_login .pop-log-footer {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 14px !important;
  padding: 4px 0 !important;
}
