/* front-fixes-v7: ONLY provider icons WG/CP/Popular + site header logo size.
   Do NOT touch global theme tokens or unrelated .good-img rules. */

/* WP leftover → WG mark. Do not change theme width/height of cards/sidebar. */
.type-img.front-wg-logo,
.platform-item-icon.front-wg-logo,
.platform-icon.front-wg-logo,
.type-icon.front-wg-logo {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background-image: url(/uploads/wg.png?v=9) !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: transparent !important;
}

.tabbar-tabs-inicio-components-GameWrapper-Head-Head1-index .logo-icon.front-wg-logo,
.game-head .logo-icon.front-wg-logo,
i.front-wg-logo:not(.type-img):not(.platform-item-icon):not(.platform-icon) {
  width: 2.25rem;
  height: 2.25rem;
  margin-right: .5rem;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background: url(/uploads/wg.png?v=9) center / contain no-repeat !important;
  overflow: hidden !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

/* Category/home provider icons: avoid sprite crop (800% 400%) on custom logos */
.platform-item-icon[style*="uploads/wg"],
.platform-item-icon[style*="uploads/cp"],
.platform-item-icon[style*="ONE_API_HOT-2"],
.type-img[style*="uploads/wg"],
.type-img[style*="uploads/cp"],
.type-img[style*="ONE_API_HOT-2"],
.img-box .type-img[style*="uploads/wg"],
.img-box .type-img[style*="uploads/cp"] {
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-color: transparent !important;
}

/* Slot side tab WG only — same 2.375rem used by theme ion-icon / ion-img */
.category-container .container .side ion-segment-button ion-img[src*="wg.png"],
.category-container .container .side ion-segment-button img.front-wg-logo {
  width: 2.375rem !important;
  height: 2.375rem !important;
  max-width: 2.375rem !important;
  max-height: 2.375rem !important;
  object-fit: contain !important;
}

/* Details tab: hide empty first-deposit line when it equals the total */
.referral-rewards-new-detail .amount-item p:empty {
  display: none !important;
}

/* Site header logo (.logo.good-img) — was fixed at 1.75rem and looked tiny after upload */
html .logo-wrap .logo.good-img,
#tabbar-tabs-inicio-components-HeaderBar-components-logo-index .logo-wrap .logo.good-img {
  width: auto !important;
  height: 2.5rem !important;
  max-width: 10.5rem !important;
  max-height: 2.75rem !important;
  object-fit: contain !important;
}

.btn-wrap,
.amount-item {
  position: relative;
}
.front-dep-bonus-tag {
  position: absolute;
  top: 1px;
  right: 4px;
  color: #ff3b30;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 0 2px rgba(0, 0, 0, .45);
}
