/* Vamos colors for the original account, payment and wallet components.
 * Loaded after vamos-theme.css. These overrides change presentation only.
 */

/* Keep the header action blue when the payment component adds its styles. */
.desktop .header__row--first .balance .balance__button-container .balance__button-link,
.desktop .header__row--first .balance__button-container .balance__button-link,
.mobile .main-header .account .account__deposit-button,
.mobile .main-header .account__deposit-button {
  background-color: #0077ce !important;
  background-image: linear-gradient(180deg, #6ba3de, #0077ce) !important;
  border-color: #0077ce !important;
  color: #fff !important;
}
.desktop .header__row--first .balance__button-container .balance__button-link:hover,
.mobile .main-header .account__deposit-button:hover {
  background-color: #0064ae !important;
  background-image: linear-gradient(180deg, #5b93ce, #0064ae) !important;
}

/* The closed account drawer waits translated past the header's right edge (styles-*.css: translate(110%)), which widened every
 * desktop page by the drawer's width (a 1206 px document in a 1024 px window). Clip the header horizontally only: the drawer still
 * slides in, and the drawer and dropdowns still hang below the header. */
.desktop .angular-header-tag > .header {
  overflow-x: clip;
}

/* The account drawer sits inside the header, but uses light content colors. */
.desktop .header__row--first .account-menu__list,
.desktop .header__row--first .account-menu__list a,
.desktop .header__row--first .account-menu__list button,
.desktop .header__row--first .account-menu__list .account-menu__link,
.desktop .header__row--first .account-menu__list .account-menu__link span,
.desktop .account-menu__list,
.desktop .account-menu__link {
  color: #001b38 !important;
}
.desktop .header__row--first .account-menu__list,
.desktop .account-menu__list {
  background-color: #fff !important;
}
.desktop .header__row--first .account-menu__list .account-menu__link:hover,
.desktop .account-menu__link:hover,
.desktop .account-menu__link:focus-visible {
  background-color: #e6f0fb !important;
  color: #0077ce !important;
}
.desktop .account-menu__link:before {
  background-color: #d3d3d3 !important;
}
.desktop .account-menu__link img {
  filter: brightness(0) saturate(100%) invert(9%) sepia(34%) saturate(2871%) hue-rotate(179deg) brightness(93%) contrast(104%) !important;
}
.desktop .account-menu__list-bonuses-count,
.desktop .settings__button-bonuses-count,
.mobile .more-menu-button__notification {
  background-color: #0077ce !important;
  color: #fff !important;
}

/* Native mobile account and navigation drawers. */
.mobile .main-menu--additional,
.mobile .main-menu--additional .main-menu__nav,
.mobile .main-menu--additional .nav__item,
.mobile .main-menu--additional .nav__item-list {
  background-color: #fff !important;
  color: #001b38 !important;
}
.mobile .main-menu--additional .nav__item-text,
.mobile .main-menu--additional .nav__item-text-left,
.mobile .main-menu--additional .nav__item-item,
.mobile .main-menu--additional .nav__item-link,
.mobile .main-menu--additional .menu__button,
.mobile .main-menu--additional a,
.mobile .main-menu--additional button,
.mobile .main-menu.new-styled .icon__text__normalize .nav__item-text-left {
  color: #001b38 !important;
}
.mobile .main-menu--additional .nav__item:hover,
.mobile .main-menu--additional .nav__item-link:hover,
.mobile .main-menu--additional .menu__button:hover {
  background-color: #e6f0fb !important;
}
.mobile .main-menu--additional .nav__item-icon img,
.mobile .main-menu--additional .nav__item-icon-img {
  filter: brightness(0) saturate(100%) invert(9%) sepia(34%) saturate(2871%) hue-rotate(179deg) brightness(93%) contrast(104%) !important;
}
.mobile .main-menu--additional .nav__item-text-right-decor {
  border-color: #0077ce !important;
}
.mobile .main-menu--additional .main-menu__header,
.mobile .main-menu--additional .main-menu__header button {
  background-color: #6ba3de !important;
  color: #fff !important;
}

/* Native balance dropdown and its embedded bonus details. */
.desktop .header__row--first .account__dropdown-content,
.mobile .account__dropdown-content,
.desktop .header__row--first .account__dropdown-content .account__dropdown-left,
.desktop .header__row--first .account__dropdown-content .account__dropdown-right,
.desktop .header__row--first .account__dropdown-content .account__dropdown-right-number,
.mobile .account__dropdown-left,
.mobile .account__dropdown-right {
  background-color: #fff !important;
  color: #001b38 !important;
}
.desktop .header__row--first .account__dropdown-content .account__dropdown-button,
.mobile .account__dropdown-content .account__dropdown-button {
  background-color: #ededed !important;
  color: #001b38 !important;
  border-color: #d3d3d3 !important;
}
.desktop .header__row--first .account__dropdown-content .account__dropdown-button--green,
.mobile .account__dropdown-content .account__dropdown-button--green {
  background-color: #0077ce !important;
  color: #fff !important;
}
.desktop .header__row--first .account__dropdown-content .account__dropdown-right-number--green,
.mobile .account__dropdown-content .account__dropdown-right-number--green {
  color: #0077ce !important;
}
account-content .bonus-balance,
account-content.bonus-balance,
.account__dropdown-content .bonus-balance {
  background-color: #fff !important;
  color: #001b38 !important;
}
account-content .bonus-balance__info {
  border-color: #d3d3d3 !important;
}
account-content .bonus-balance__title,
account-content .bonus-balance__unit,
account-content .bonus-balance__count span,
account-content .bonus-balance__nom.long,
account-content .active-bonus__unit {
  color: #001b38 !important;
}
account-content .bonus-balance__title span,
account-content .active-bonus__point,
account-content .active-bonus__text {
  color: #615f63 !important;
}
account-content .bonus-balance__count,
account-content .bonus-balance__nom {
  color: #0077ce !important;
}
.desktop .header__row--first account-content .bonus-balance__refresh-button,
.desktop .header__row--first account-content .active-bonus__button,
account-content .bonus-balance__refresh-button,
account-content .active-bonus__button {
  background-color: #0077ce !important;
  color: #fff !important;
}
account-content .bonus-balance__refresh-text {
  color: #fff !important;
}
account-content .active-bonus__progressbar {
  background-color: #ededed !important;
}

/* Original Deposit / Withdraw / History pages and their provider panels. */
app-new-payment .main-payment,
app-new-payment .balance-content,
app-new-payment .balance-content__containers,
.desktop .container-payment,
.mobile .container-payment {
  background-color: #fff !important;
  color: #001b38 !important;
}
app-new-payment .main-payment-header,
.container-payment .auth__header,
app-new-payment .balance-deposit__title,
app-new-payment .balance-deposit__text,
app-new-payment .balance-deposit__manual-description,
app-new-payment .balance-deposit__manual-step-description,
app-new-payment .operator-withdraw__tax-info {
  color: #001b38 !important;
  border-color: #6ba3de !important;
}
.desktop app-new-payment .balance-content__list,
.mobile app-new-payment .balance-content__list,
.desktop .container-payment .balance-content__list,
.mobile .container-payment .balance-content__list {
  color: #001b38 !important;
  border-color: #6ba3de !important;
}
.desktop app-new-payment .balance-content__item,
.mobile app-new-payment .balance-content__item,
.desktop .container-payment .balance-content__item,
.mobile .container-payment .balance-content__item {
  background-color: #e6f0fb !important;
  color: #001b38 !important;
}
.desktop app-new-payment .balance-content__item:hover,
.mobile app-new-payment .balance-content__item:hover {
  background-color: #d6e7f9 !important;
  color: #0077ce !important;
}
.desktop app-new-payment .balance-content__item.active,
.mobile app-new-payment .balance-content__item.active,
.desktop .container-payment .balance-content__item.active,
.mobile .container-payment .balance-content__item.active {
  background-color: #0077ce !important;
  color: #fff !important;
  border-color: #0077ce !important;
}
app-new-payment .balance__menu-type {
  background-color: #ededed !important;
  color: #615f63 !important;
}
app-new-payment .balance__menu-type-radio:checked + .balance__menu-type-label {
  color: #0077ce !important;
}
app-new-payment .balance__menu-button--right:before {
  background-image: linear-gradient(to right, #ededed00, #ededed) !important;
}
.desktop app-new-payment .balance__operator-drop-down,
.mobile app-new-payment .balance__operator-drop-down {
  background-color: #fff !important;
  color: #001b38 !important;
  border-color: #d3d3d3 !important;
}
/* White provider marks retain contrast without restoring PMBet brand colors. */
.desktop app-new-payment .balance__operator-drop-down-button,
.mobile app-new-payment .balance__operator-drop-down-button {
  background-color: #001b38 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: #6ba3de !important;
}
app-new-payment .balance__operator-drop-down-button-image-instant,
app-new-payment .balance__operator-drop-down-button .balance__menu-button-decor {
  color: #fff !important;
  border-color: #fff !important;
}
app-new-payment .balance__operator-drop-down-button .balance__menu-button-decor {
  filter: brightness(0) invert(1) !important;
}
app-new-payment .balance__operator-drop-down-button img {
  filter: none !important;
}
app-new-payment .main-payment .main-payment-header {
  color: #001b38 !important;
}
.desktop app-new-payment .balance__operator-drop-down-button .balance__menu-button-decor--hellocash,
.mobile app-new-payment .balance__operator-drop-down-button .balance__menu-button-decor--hellocash {
  border-color: #fff !important;
  filter: brightness(0) invert(1) !important;
}
app-new-payment .balance__operator-drop-down-button img[src*="tigopesa"],
app-new-payment .balance__operator-drop-down-button img[src*="mixx"],
app-new-payment .balance__operator-drop-down-button img[src*="yas"] {
  background-color: #fff !important;
}
app-new-payment .balance-deposit__new-label span {
  background-color: #ededed !important;
  color: #001b38 !important;
}
app-new-payment .balance-deposit__new-label input:checked + span {
  background-color: #0077ce !important;
  color: #fff !important;
}
app-new-payment .balance-deposit__new-label span.checked {
  background-color: #0077ce !important;
  color: #fff !important;
}
app-new-payment .auth__label,
app-new-payment .deposit-register__title,
app-new-payment .deposit-register__title--name,
app-new-payment .auth__row-my-account-title {
  color: #001b38 !important;
}
app-new-payment .auth__input,
app-new-payment .deposit__input,
app-new-payment select,
app-new-payment input,
.my-account .auth__input,
.my-account select {
  background-color: #fff !important;
  color: #001b38 !important;
  border-color: #b4c9df !important;
}
app-new-payment input::placeholder,
.my-account .auth__input::placeholder,
.my-account .auth__input[disabled]::placeholder {
  color: #615f63 !important;
}
app-new-payment .auth__input:disabled,
app-new-payment .deposit__input:disabled,
.my-account .auth__input:disabled {
  background-color: #ededed !important;
  color: #615f63 !important;
}

/* Every wallet host declares these tokens locally; root aliases cannot win. */
:is(multi-wallet, wallet-select, history, deposit-cash, deposit-crypto, withdraw, withdraw-cash, withdraw-crypto, promo-code) {
  --mw-primary: #0077ce !important;
  --mw-secondary: #0077ce !important;
  --mw-primary-shadow: #b4c9df !important;
  --mw-primary-accent: #0077ce !important;
  --mw-primary-light: #dceaf8 !important;
  --mw-primary-dark: #fff !important;
  --mw-button-background-gradient: linear-gradient(180deg, #6ba3de, #0077ce) !important;
  --mw-bg-gradient: linear-gradient(180deg, #f6f9fd, #e6f0fb) !important;
  --mw-bg-gradient-dark: linear-gradient(180deg, #fff, #fff) !important;
  --mw-bg-gradient-dark2: linear-gradient(180deg, #ededed, #ededed) !important;
  --mw-primary-text-color: #001b38 !important;
  --mw-button-text-color: #fff !important;
  --mw-white-transparent: rgba(0, 27, 56, .65) !important;
  --mw-gray: #d3d3d3 !important;
  --mw-skeleton-bg: #ededed !important;
  color: #001b38 !important;
}
multi-wallet .custom-overlay,
multi-wallet .custom-overlay .p-dialog,
multi-wallet .custom-overlay .p-dialog-header,
multi-wallet .custom-overlay .p-dialog-content {
  background-color: #fff !important;
  color: #001b38 !important;
}
multi-wallet .custom-overlay .menu-title,
withdraw .menu-title,
multi-wallet .wallet-name {
  color: #001b38 !important;
}
multi-wallet .custom-overlay .mw-btn,
deposit-cash .mw-btn,
deposit-crypto .mw-btn,
withdraw-cash .mw-btn,
withdraw-crypto .mw-btn,
promo-code .mw-btn {
  color: #fff !important;
}
multi-wallet .custom-overlay .mw-btn i {
  color: #fff !important;
}
multi-wallet .custom-overlay .mw-btn-dark,
multi-wallet .custom-overlay .mw-btn-dark i,
multi-wallet .custom-overlay .mw-btn-back,
multi-wallet .custom-overlay .mw-btn-back i {
  color: #0077ce !important;
}
multi-wallet input,
multi-wallet .p-dropdown,
multi-wallet .p-dropdown-panel,
multi-wallet .p-inputtext {
  background-color: #fff !important;
  color: #001b38 !important;
  border-color: #b4c9df !important;
}
multi-wallet .p-dropdown-item {
  color: #001b38 !important;
}
multi-wallet .p-dropdown-item.p-highlight {
  background-color: #e6f0fb !important;
  color: #0077ce !important;
}

/* Account destinations use the same light cards and blue actions. */
.desktop .my-account,
.mobile .my-account,
.desktop .container-user,
.mobile .container-user {
  background-color: #fff !important;
  color: #001b38 !important;
}
.my-account .auth__header,
.container-user .auth__header,
.my-account .my-account__column-title,
.my-account .auth__row-my-account-title,
.my-account .auth__row-my-account-phone-number-description {
  color: #001b38 !important;
}
.my-account .my-account__phone-information {
  color: #615f63 !important;
}
.my-account .auth__button,
app-new-payment .auth__button,
app-new-payment .deposit-register__button {
  background-color: #0077ce !important;
  background-image: linear-gradient(180deg, #6ba3de, #0077ce) !important;
  color: #fff !important;
}
.transaction-history__details-container {
  background-color: #fff !important;
  color: #001b38 !important;
  box-shadow: 0 0 2px 2px #b4c9df !important;
}
.transaction-history__details-table {
  color: #001b38 !important;
}
.transaction-history__details-table-cell--pending,
.transaction-history__details-table-cell--pending:after {
  color: #946200 !important;
}
.transaction-history__details-table-cell--success,
.transaction-history__details-table-cell--success:after {
  color: #147d50 !important;
}
.container-payment .token {
  color: #0077ce !important;
}

/* Results filter bar: at narrower desktop widths (1024 px) its fields and buttons are wider than the column, and the buttons
 * pushed the page sideways (a 1097 px document). They wrap below the fields instead. */
.desktop results-filter .filter {
  flex-wrap: wrap;
  row-gap: 8px;
}

/* Results page at 768–1100 px desktop widths: the competition list and the statistics panel are flex columns that never shrank
 * below their content (the longest league name held the list at 618 px), so the statistics panel was pushed past the window (a
 * 1009 px document at 1000 px, 949 px at 900 px). In this range the two columns share the row and long league names end in "…";
 * a result row's team names shrink the same way (their own ellipsis) instead of pushing its score and "More info" out of the
 * list; and the filter fields keep their own row and wrap only when they do not fit it (the date range moves under the selects at
 * 768 px) instead of running past the window. Wider screens keep the original layout. */
@media (min-width: 768px) and (max-width: 1100px) {
  .results-section > .results-section-wrapper,
  .results-section .content-section > .item.event_teams {
    min-width: 0;
  }
  .desktop results-filter .filter-items-container {
    flex-basis: 100%;
    flex-wrap: wrap;
    row-gap: 8px;
  }
}
