@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap");

:root {
  --bg: #1e202b;
  --header: #171924;
  --header-mobile: #202227;
  --panel: #151824;
  --panel-2: #141b2e;
  --panel-3: #212b46;
  --input: #141b2e;
  --input-light: #edf0f7;
  --text: #fff;
  --muted: #afb0b1;
  --blue: #0095ff;
  --green: #25d366;
  --gold: #f5d400;
  --shadow: rgba(0, 0, 0, 0.35);
  --main-radius: 7px;
  --profile-menu-bg: linear-gradient(340deg, #1e283f, rgba(20, 27, 46, 0.6) 100%);
  --profile-menu-active-bg: #242e49;
  --profile-history-row-bg: linear-gradient(110deg, rgb(30, 40, 63), rgba(28, 38, 64, 0.6) 100%);
  --profile-verification-block-bg: linear-gradient(110deg, rgb(30, 40, 63), rgba(28, 38, 64, 0.6) 100%);
  --profile-input-bg: #121829;
  --profile-menu-header-bg: #0f1422;
  --profile-menu-btn-bg: linear-gradient(70deg, #31bc69 -8%, #089e4e 96%);
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
}

html {
  scrollbar-color: #6f7485 var(--bg);
  scrollbar-width: thin;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 4px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: var(--bg);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: #6f7485;
  border-radius: 10px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  overflow-x: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button,
input,
select {
  border: 0;
  outline: 0;
}

button {
  cursor: pointer;
}

.page {
  min-height: 100vh;
  padding-top: 65px;
  padding-bottom: 0;
  font-family: var(--font-family, Roboto, Arial, sans-serif);
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: 65px;
  background: var(--header);
  color: #fff;
}

.header__content {
  height: 45px;
  margin-top: 10px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  width: 100%;
}

.header__content.mobile {
  display: none;
}

.logo {
  width: 270px;
  height: 45px;
  padding: 0 15px 0 11px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 244px;
  height: 48px;
  object-fit: contain;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  height: 43px;
  margin-left: 35px;
  min-width: 0;
}

.header__link {
  height: 43px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: #fff;
  position: relative;
}

.header__link.active {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header__link.active::after {
  content: "";
  position: absolute;
  height: 2px;
  background: #f3c641;
  left: 10px;
  right: 10px;
  bottom: -10px;
}

.header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-button--auth,
.primary-button {
  height: 33px;
  background: var(--green);
  color: #fff;
  border-radius: 7px;
  padding: 0 15px;
  font: 700 13.333px / 33px Arial, sans-serif;
}

.header__balance,
.header__user {
  height: 34px;
  background: var(--input);
  border-radius: 7px;
  display: flex;
  align-items: center;
  color: #fff;
}

.header__balance {
  width: 103px;
  padding: 2px;
  justify-content: center;
  font-weight: 700;
}

.menu_balance {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px;
  width: 99px;
  height: 37px;
}

.upd_symbol,
.upd_balance {
  line-height: 17px;
}

.chevron {
  margin-left: auto;
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header__user {
  width: 49px;
  padding: 10px;
  justify-content: space-between;
}

.lang {
  width: 34px;
  height: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
}

.content {
  padding: 20px 0 0 15px;
}

.casino {
  display: flex;
  gap: 13px;
}

.casino-menu {
  width: 265px;
  flex: 0 0 265px;
  background: var(--panel);
  border-radius: 7px;
  max-height: calc(100vh - 85px);
  overflow-y: auto;
  position: sticky;
  top: 85px;
  padding: 10px 0 18px;
  scrollbar-color: #394059 transparent;
  scrollbar-width: thin;
}

.casino-menu::-webkit-scrollbar,
.side-menu::-webkit-scrollbar,
.mobile-category-panel::-webkit-scrollbar {
  width: 4px;
}

.casino-menu::-webkit-scrollbar-thumb,
.side-menu::-webkit-scrollbar-thumb,
.mobile-category-panel::-webkit-scrollbar-thumb {
  background: #7b8295;
  border-radius: 10px;
}

.casino-menu__search-row {
  height: 40px;
  margin: 0 10px 14px;
  display: grid;
  grid-template-columns: 1fr 36px;
  gap: 6px;
}

.casino-menu__search {
  position: relative;
}

.casino-menu__search input {
  width: 100%;
  height: 30px;
  margin-top: 5px;
  background: var(--input);
  color: #fff;
  border-radius: 7px;
  padding: 3px 7px 3px 35px;
  font-size: 13.333px;
}

.casino-menu__search input::placeholder {
  color: #6e768b;
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 10px;
  color: #8290aa;
  font-size: 18px;
}

.favorites {
  width: 30px;
  height: 30px;
  margin-top: 5px;
  border-radius: 7px;
  background: var(--panel-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 23px;
}

.casino-menu__label {
  margin: 0 10px 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.casino-menu__label.providers {
  margin-top: 16px;
}

.menu-row {
  height: 41px;
  padding: 0 15px;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  column-gap: 8px;
  color: #fff;
  font-weight: 700;
}

.menu-row:hover,
.menu-row.active {
  background: rgba(255, 255, 255, 0.04);
}

.menu-row__icon {
  width: 24px;
  height: 24px;
  background: center / contain no-repeat;
  display: block;
}

.menu-row__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-row__count {
  color: #fff;
}

.casino-content {
  min-width: 0;
  flex: 1;
  padding-bottom: 30px;
}

.banners {
  width: 100%;
  height: 314px;
  overflow: hidden;
  position: relative;
  border-radius: 7px;
  margin-bottom: 13px;
}

.banners__track {
  height: 100%;
  display: flex;
  gap: 8px;
  transition: transform 0.45s ease;
}

.banner {
  min-width: 100%;
  height: 262px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--panel);
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 7px;
}

.banner-arrow {
  position: absolute;
  top: 135px;
  width: 28px;
  height: 44px;
  color: var(--blue);
  background: transparent;
  font-size: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.banner-arrow.prev {
  left: 12px;
}

.banner-arrow.next {
  right: 12px;
}

.banner-dots {
  position: absolute;
  top: 289px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.banner-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #42516d;
  cursor: pointer;
}

.banner-dot.active {
  background: var(--blue);
}

.casino-games-container {
  margin-bottom: 20px;
}

.casino-games-container__head {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.casino-games-container__title {
  height: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font: 700 22px Roboto, Arial, sans-serif;
}

.casino-games-container__title img {
  width: 24px;
  height: 24px;
}

.casino-games-container__more {
  color: var(--muted);
  font-size: 16px;
}

.casino-games-container__list {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, 149px);
  gap: 14px 15px;
  align-items: start;
}

.casino-game {
  min-width: 0;
  color: #fff;
}

.casino-game__content {
  position: relative;
  width: 100%;
  aspect-ratio: 1.333 / 1;
  border-radius: 5px;
  overflow: hidden;
  background: var(--panel);
}

.casino-game__content img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.casino-game__buttons {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 5px;
  background: rgba(6, 11, 23, 0.58);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.16s ease;
}

.casino-game:hover .casino-game__buttons,
.casino-game.touched .casino-game__buttons {
  opacity: 1;
}

.play-button,
.play_money {
  min-width: 118px;
  height: 40px;
  border-radius: 500px;
  padding: 10px 15px;
  color: #fff;
  background: var(--blue);
  font: 700 17px Roboto, Arial, sans-serif;
  display: block;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease;
}

.casino-game:hover .play_money,
.casino-game.touched .play_money,
.play_money:focus-visible {
  background: var(--blue);
  color: #fff;
}

.casino_favorite_play {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 4;
  color: #fff;
  font-size: 16px;
}

.casino-game__provider {
  height: 18px;
  margin-top: 5px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  line-height: 13px;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
}

.provider-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: url("https://reyesdelasapuestas.bet/img/casino.svg") center / contain no-repeat;
  flex: 0 0 auto;
}

.casino-game__name {
  margin-top: 2px;
  padding: 0 5px;
  text-align: center;
  font: 600 14px Roboto, Arial, sans-serif;
  line-height: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  min-height: calc(100vh - 105px);
}

.home-panel {
  background: var(--panel-2);
  border-radius: 7px;
  padding: 24px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.home-panel h2,
.provider-page h2,
.profile-page h2,
.placeholder-page h2 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.2;
}

.home-panel p,
.placeholder-page p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 15px;
}

.sports-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  color: #fff;
}

.sports-list span {
  min-height: 34px;
  display: flex;
  align-items: center;
  border-radius: 7px;
  background: var(--panel-3);
  padding: 0 12px;
  font-weight: 700;
}

.provider-note {
  margin-top: 18px;
  background: var(--panel-3);
  border-radius: 7px;
  padding: 14px;
  color: #fff;
}

.placeholder-page,
.profile-page,
.provider-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 0;
}

.placeholder-shell {
  display: grid;
  grid-template-columns: 260px 1fr 270px;
  gap: 16px;
}

.placeholder-card,
.bonus-card,
.profile-card,
.ticket-card {
  background: var(--panel-2);
  border-radius: 7px;
  padding: 16px;
}

.placeholder-card h3,
.ticket-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.sport-pill {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 7px;
  background: var(--panel-3);
  padding: 0 10px;
  margin-bottom: 8px;
  font-weight: 700;
}

.market-row {
  display: grid;
  grid-template-columns: 1fr 54px 54px 54px 70px;
  gap: 8px;
  align-items: center;
  min-height: 52px;
  padding: 8px;
  border-radius: 7px;
  background: var(--panel-3);
  margin-bottom: 8px;
}

.odd {
  background: var(--panel);
  border-radius: 4px;
  text-align: center;
  padding: 8px 4px;
  font-weight: 700;
}

.bonus-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.bonus-tabs button {
  background: var(--panel-3);
  color: #fff;
  border-radius: 7px;
  padding: 10px 16px;
  font-weight: 700;
}

.bonus-tabs button.active {
  background: var(--green);
}

.empty-state {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: var(--panel-2);
  border-radius: 7px;
}

.profile-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.profile-card {
  background: var(--profile-menu-bg);
  color: #fff;
  border-radius: var(--main-radius);
}

.profile-menu-card {
  padding: 0;
  overflow: hidden;
}

.profile-player-id {
  padding: 16px 16px 4px;
  color: var(--muted);
  font-weight: 600;
}

.profile-name {
  font-size: 20px;
  font-weight: 700;
  padding: 0 16px 16px;
  background: var(--profile-menu-header-bg);
}

.profile-menu {
  margin-top: 0;
  padding-bottom: 8px;
}

.profile-menu button {
  width: 100%;
  min-height: 44px;
  background: transparent;
  color: #fff;
  border-radius: 0;
  text-align: left;
  padding: 0 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
}

.profile-menu button:hover,
.profile-menu button.active {
  background: var(--profile-menu-active-bg);
}

.profile-menu button.active {
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--blue);
}

.profile-menu .profile-menu__logout {
  width: calc(100% - 24px);
  height: 42px;
  min-height: 42px;
  margin: 10px 12px 4px;
  border: 0;
  border-radius: var(--main-radius);
  background: var(--profile-menu-btn-bg);
  text-align: center;
  font-weight: 700;
}

.profile-content-card {
  min-width: 0;
}

.profile-stack {
  display: grid;
  gap: 18px;
}

.profile-section + .profile-section {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-section h2,
.profile-section h3 {
  margin: 0 0 15px;
  color: #fff;
}

.profile-section h2 {
  font-size: 22px;
}

.profile-section h3 {
  font-size: 18px;
}

.profile-section__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.profile-tabs {
  width: 100%;
  margin-bottom: 30px;
  border-bottom: 1px solid #272727;
}

.profile-section__head .profile-tabs {
  margin-bottom: 0;
}

.profile-tabs button {
  display: inline-block;
  min-width: 120px;
  padding: 7px 20px;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #9d9d9d;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.profile-tabs button.act {
  border-bottom-color: var(--blue);
  color: #fff;
}

.profile-all-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--blue);
  font-weight: 700;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.profile-field {
  display: block;
}

.profile-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.profile-field input,
.profile-field select {
  width: 100%;
  height: 47px;
  background: var(--profile-input-bg);
  color: #fff;
  border-radius: 11px;
  padding: 0 15px;
  font: 14px Roboto, Arial, sans-serif;
}

.profile-field select {
  appearance: none;
}

.profile-submit {
  display: block;
  min-width: 135px;
  height: 47px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: var(--main-radius);
  background: var(--profile-menu-btn-bg);
  color: #fff;
  font-weight: 700;
}

.profile-notice {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--main-radius);
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.profile-warning {
  margin-bottom: 14px;
  padding: 12px;
  border-radius: var(--main-radius);
  background: #e3e5eb;
  color: #4c4c4c;
  line-height: 1.4;
}

.profile-table {
  display: grid;
  grid-template-columns: repeat(var(--profile-cols), minmax(130px, 1fr));
  gap: 1px;
  overflow-x: auto;
  border-radius: var(--main-radius);
}

.profile-table > div {
  min-height: 44px;
  padding: 12px;
  background: var(--profile-history-row-bg);
  color: #fff;
}

.profile-table .profile-table__head {
  min-height: 40px;
  background: var(--profile-menu-header-bg);
  color: #fff;
  font-weight: 700;
}

.profile-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  color: var(--muted);
}

.profile-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-upload {
  min-height: 145px;
  padding: 16px;
  border-radius: var(--main-radius);
  background: var(--profile-verification-block-bg);
  color: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
}

.profile-upload:hover {
  outline: 1px solid var(--blue);
}

.profile-upload__icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.profile-upload strong {
  font-size: 15px;
}

.profile-upload small {
  color: var(--muted);
  line-height: 1.35;
}

.profile-selfie {
  margin-top: 18px;
}

.verification_info {
  margin-top: 15px;
}

.verification_info > div:first-child {
  font-weight: 700;
}

.verification_info > div {
  margin-top: 7px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.promo-row {
  display: flex;
  gap: 10px;
}

.promo-row input {
  flex: 1;
  height: 47px;
  min-width: 0;
  background: var(--profile-input-bg);
  color: #fff;
  border-radius: 11px;
  padding: 0 15px;
}

.promo-row button {
  width: 120px;
  border-radius: var(--main-radius);
  background: var(--profile-menu-btn-bg);
  color: #fff;
  font-weight: 700;
}

.profile-content-shell {
  padding: 20px 15px 0;
}

.profile {
  display: flex;
  gap: 20px;
  width: 100%;
  color: #fff;
}

.profile__left {
  width: 363px;
  flex: 0 0 363px;
}

.profile__menu {
  width: 363px;
  margin-bottom: 20px;
  padding: 8px;
  border-radius: 7px;
  background: var(--profile-menu-bg);
}

.profile-info {
  height: 76px;
  margin-bottom: 10px;
  padding: 15px;
  background: var(--profile-menu-header-bg);
}

.profile-info__id {
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
}

.profile-info__username {
  font-size: 18px;
  font-weight: 600;
}

.profile .profile-menu {
  width: 347px;
  margin: 0;
  padding: 0;
}

.profile .menu__row {
  width: 347px;
  height: 44px;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  text-align: left;
}

.profile .menu__row:last-child {
  margin-bottom: 0;
}

.profile .menu__row:hover,
.profile .menu__row.active {
  background: var(--profile-menu-active-bg);
}

.profile .menu__row--icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.profile .menu__row--title {
  font-size: 14px;
  font-weight: 600;
}

.promocode {
  width: 363px;
  height: 128px;
  padding: 20px 25px;
  border-radius: 7px;
  background: var(--profile-menu-bg);
}

.promocode__title {
  height: 22px;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
}

.promocode__input {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 313px;
  height: 46px;
  background: #1f2941;
}

.promocode__input input {
  width: 173px;
  height: 37px;
  padding: 10px;
  background: transparent;
  color: #fff;
}

.promocode__input button {
  width: 130px;
  height: 46px;
  padding: 15px;
  background: var(--profile-menu-btn-bg);
  color: #fff;
  font-weight: 600;
}

.profile__right {
  flex: 1 1 auto;
  min-width: 0;
}

.profile__content {
  width: 100%;
  margin-bottom: 20px;
  padding: 0 24px;
}

.profile .page {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: calc(100vh - 85px);
  padding-top: 0;
  padding-bottom: 0;
}

.profile .page__title {
  min-height: 40px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile .page__title--tabs {
  min-height: 39px;
}

.profile .page__title span {
  display: block;
  font-size: 24px;
  font-weight: 700;
}

.profile .page__content {
  margin-top: 20px;
}

.profile .page .tab_selector {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid #272727;
  font-size: 0;
}

.profile .page .tab_selector a {
  display: inline-block;
  min-width: 120px;
  padding: 7px 20px;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: #9d9d9d;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.profile .page .tab_selector a.act {
  border-bottom-color: var(--blue);
  color: #fff;
}

.profile .profile-field {
  position: relative;
  display: block;
  width: 100%;
  height: 51px;
  margin-bottom: 10px;
}

.profile .profile-field input,
.profile .profile-field select {
  width: 100%;
  height: 51px;
  padding: 20px 15px 15px;
  border-radius: 0;
  background: var(--profile-input-bg);
  color: #fff;
  font-size: 14px;
}

.profile .profile-field span {
  position: absolute;
  top: 6px;
  left: 15px;
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 400;
  pointer-events: none;
}

.profile .profile-phone-field .iti__selected-country {
  position: absolute;
  left: 1px;
  top: 1px;
  z-index: 1;
  width: 42px;
  height: 49px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  color: transparent;
}

.profile .profile-phone-field .iti__tel-input {
  padding-left: 48px;
}

.profile .profile-submit,
.profile .button {
  width: 120px;
  height: 36px;
  padding: 10px 15px;
  background: var(--profile-menu-btn-bg);
  color: #fff;
  font-weight: 700;
}

.profile .profile-notice {
  width: 100%;
  margin: 0 0 10px;
}

.profile .profile-empty {
  min-height: 40px;
  display: block;
  padding: 0;
  background: transparent;
  color: #fff;
}

.profile-bets-head {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 27px;
  color: #fff;
  font-weight: 600;
}

.bet {
  display: block;
  min-height: 57px;
  margin-bottom: 10px;
  border-radius: 7px;
  background: var(--profile-history-row-bg);
  color: #fff;
}

.bet__desktop {
  min-height: 57px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 0 15px;
}

.bet__mobile {
  display: none;
}

.history_tr {
  color: #fff;
}

.history_tr > div {
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 7px;
  background: var(--profile-history-row-bg);
}

.history_tr_flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.history_tr_amount {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.history_tr_time {
  font-size: 11px;
  font-weight: 400;
}

.history_tr_cause {
  margin-top: 5px;
  padding: 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 10px;
}

.status {
  width: 111px;
  padding: 7px 10px;
  border-radius: 7px;
  text-align: center;
}

.status_1 {
  background: var(--green);
  color: #fff;
}

.profile-pagination {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.profile-pagination button {
  padding: 10px 15px;
  background: var(--profile-menu-btn-bg);
  color: #fff;
  font-weight: 700;
}

.profile .profile-warning {
  margin-bottom: 15px;
  padding: 0;
  background: transparent;
  color: #fff;
}

.profile .file_area h3,
.profile .profile-selfie h3 {
  margin: 15px 0 10px;
  font-size: 18px;
}

.profile .profile-upload {
  min-height: 90px;
  padding: 20px;
  border-radius: 7px;
  background: var(--profile-verification-block-bg);
}

@media (max-width: 980px) {
  .profile__left {
    display: none;
  }

  .profile {
    width: calc(100% - 4px);
  }

  .profile__right {
    width: 100%;
    flex: 1 1 100%;
  }

  .profile__content {
    margin-bottom: 20px;
    padding: 0;
  }

  .profile .page {
    min-height: calc(100vh - 85px);
  }

  .profile .page__title {
    min-height: 40px;
  }

  .profile .page__title--tabs {
    min-height: 35px;
    height: 35px;
  }

  .profile .page .tab_selector {
    width: calc(100% - 30px);
    margin-left: 30px;
  }

  .profile .page .tab_selector a {
    min-width: auto;
    padding: 7px 20px;
    font-size: 14px;
  }

  .profile-bets-head {
    display: none;
  }

  .bet {
    min-height: 165px;
    padding: 20px;
  }

  .bet__desktop {
    display: none;
  }

  .bet__mobile {
    display: block;
  }

  .bet__row {
    display: flex;
    margin-bottom: 10px;
  }

  .bet__row:last-child {
    margin-bottom: 0;
  }

  .bet__row--value {
    margin-left: auto;
    text-align: right;
  }

  .history_tr_flex {
    align-items: flex-start;
  }

  .history_tr_amount {
    display: block;
  }

  .profile .profile-upload-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .profile-form-grid,
  .profile-upload-grid {
    grid-template-columns: 1fr;
  }

  .profile-section__head {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-tabs button {
    min-width: auto;
    font-size: 14px;
  }

  .promo-row {
    flex-direction: column;
  }

  .promo-row button,
  .profile-submit {
    width: 100%;
  }
}

.page.agent-route {
  min-height: 100vh;
  padding: 0;
  background: #1e202b;
  color: #fff;
}

.agent-app {
  --agent-bg: #1e202b;
  --agent-header: #171924;
  --agent-sidebar: #151824;
  --agent-panel: #141b2e;
  --agent-panel-2: #20283e;
  --agent-input: #121829;
  --agent-blue: #0095ff;
  --agent-gold: #f3c641;
  --agent-green: #089e4e;
  --agent-muted: #afb0b1;
  min-height: 100vh;
  background: var(--agent-bg);
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
}

.agent-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: radial-gradient(circle at top, rgba(0, 149, 255, 0.16), transparent 36%), #1e202b;
}

.agent-login__card {
  width: min(630px, 100%);
  padding: 42px 78px;
  border-radius: 8px;
  background: linear-gradient(340deg, #1e283f, rgba(20, 27, 46, 0.92) 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.agent-login__card img {
  display: block;
  width: 256px;
  height: 52px;
  margin: 0 auto 38px;
  object-fit: contain;
}

.agent-login__card h1 {
  margin: 0 0 34px;
  text-align: center;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 900;
}

.agent-login__card h2,
.agent-form-page h1,
.agent-section h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
}

.agent-field {
  position: relative;
  display: block;
  min-width: 0;
}

.agent-field > span {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.agent-field input,
.agent-field select {
  width: 100%;
  height: 40px;
  border: 1px solid rgba(0, 149, 255, 0.56);
  border-radius: 10px;
  background: #121829;
  color: #fff;
  padding: 0 14px;
  font: 700 13px Roboto, Arial, sans-serif;
}

.agent-field input::placeholder {
  color: #79849d;
}

.agent-field input[readonly] {
  border-color: rgba(243, 198, 65, 0.62);
  background: rgba(18, 24, 41, 0.76);
  color: #f3c641;
  cursor: not-allowed;
}

.agent-search-user {
  z-index: 4;
}

.agent-search-results {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 11110;
  width: 100%;
  max-height: 160px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 149, 255, 0.58);
  border-radius: 10px;
  background: #121829;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
  padding-top: 8px;
}

.agent-search-results::-webkit-scrollbar {
  width: 8px;
}

.agent-search-results::-webkit-scrollbar-thumb {
  border: 1px solid transparent;
  border-radius: 16px;
  background: #0095ff;
  background-clip: padding-box;
}

.agent-search-results button,
.agent-search-results p {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: #fff;
  font: 700 14px Roboto, Arial, sans-serif;
}

.agent-search-results button:hover {
  background: #0095ff;
  box-shadow: 0 5px 15px rgba(0, 149, 255, 0.42);
}

.agent-search-results small,
.agent-search-results p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.agent-password-field input {
  padding-right: 68px;
}

.agent-password-field button {
  position: absolute;
  right: 6px;
  bottom: 6px;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px;
  background: #20283e;
  color: var(--agent-blue);
  font-weight: 900;
}

.agent-primary,
.agent-secondary {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.agent-primary {
  background: linear-gradient(70deg, #008ce8 -8%, #005fc0 96%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 149, 255, 0.22);
}

.agent-secondary {
  border: 1px solid rgba(243, 198, 65, 0.72);
  background: transparent;
  color: #f3c641;
}

.agent-login__card .agent-primary,
.agent-login__card .agent-secondary {
  width: 100%;
  height: 47px;
  margin-top: 16px;
  font-size: 16px;
}

.agent-login__card .agent-field {
  margin-bottom: 16px;
}

.agent-alert {
  margin: 14px 0;
  padding: 11px 13px;
  border-radius: 7px;
  background: rgba(0, 149, 255, 0.14);
  border: 1px solid rgba(0, 149, 255, 0.45);
  color: #fff;
  font-weight: 800;
}

.agent-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 60;
  width: 280px;
  transform: translateX(-100%);
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(243, 198, 65, 0.16);
  background: #151824;
  padding: 20px;
  transition: transform 0.2s ease;
}

.agent-sidebar.open {
  transform: translateX(0);
}

.agent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(7, 10, 18, 0.45);
}

.agent-sidebar__head {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.agent-sidebar__head img {
  width: 154px;
  height: 34px;
  object-fit: contain;
}

.agent-icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #121829;
  color: #fff;
}

.agent-svg {
  width: 22px;
  height: 22px;
  display: block;
}

.agent-sidebar__scroll {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding-right: 3px;
}

.agent-app * {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 149, 255, 0.36) transparent;
}

.agent-app *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.agent-app *::-webkit-scrollbar-track {
  background: transparent;
}

.agent-app *::-webkit-scrollbar-thumb {
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(0, 149, 255, 0.34);
  background-clip: padding-box;
}

.agent-app *::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 149, 255, 0.52);
  background-clip: padding-box;
}

.agent-nav-group {
  margin-bottom: 18px;
}

.agent-nav-title {
  width: 100%;
  border: 0;
  background: transparent;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.46);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  text-align: left;
}

.agent-nav-title:hover {
  color: #fff;
}

.agent-nav-chevron {
  display: flex;
  transition: transform 0.16s ease;
}

.agent-nav-group.is-collapsed .agent-nav-chevron {
  transform: rotate(-90deg);
}

.agent-nav-items {
  display: block;
}

.agent-nav-item {
  min-height: 43px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
  padding: 0 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.agent-nav-item .agent-svg {
  width: 23px;
  color: #0095ff;
}

.agent-nav-item:hover,
.agent-nav-item.active {
  background: #242e49;
}

.agent-nav-item.active .agent-svg {
  color: #f3c641;
}

.agent-nav-item--contact {
  min-height: 44px;
  justify-content: center;
  border: 1px solid rgba(0, 149, 255, 0.38);
  background: linear-gradient(70deg, #008ce8 -8%, #005fc0 96%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 149, 255, 0.2);
}

.agent-nav-item--contact:hover,
.agent-nav-item--contact.active {
  background: linear-gradient(70deg, #0095ff -8%, #0074d8 96%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.18), 0 12px 24px rgba(0, 149, 255, 0.24);
}

.agent-nav-item--contact .agent-svg,
.agent-nav-item--contact.active .agent-svg {
  color: #fff;
}

.agent-contact-link {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 7px;
  background: linear-gradient(70deg, #008ce8 -8%, #005fc0 96%);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.agent-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #171924;
  padding: 8px;
  transition: left 0.2s ease;
}

.agent-topbar__brand img {
  width: 210px;
  height: 40px;
  object-fit: contain;
}

.agent-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agent-balance-pill,
.agent-user-pill {
  height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  background: #121829;
  color: #fff;
  padding: 0 14px;
  font-weight: 900;
}

.agent-user-pill {
  gap: 8px;
}

.agent-profile-control {
  position: relative;
}

.agent-user-pill__text {
  min-width: 0;
  display: grid;
  line-height: 1.05;
  text-align: left;
}

.agent-user-pill__text small {
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 900;
}

.agent-user-pill__text b {
  max-width: 142px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-user-pill__avatar {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3c641;
}

.agent-user-pill__avatar .agent-svg {
  width: 25px;
}

.agent-user-pill.is-open {
  background: #242e49;
}

.agent-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  width: 242px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: #101625;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.agent-profile-dropdown a,
.agent-profile-dropdown button {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  background: transparent;
  color: #fff;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
}

.agent-profile-dropdown a:hover,
.agent-profile-dropdown button:hover {
  background: #242e49;
}

.agent-profile-dropdown a:last-child,
.agent-profile-dropdown button:last-child {
  border-bottom: 0;
}

.agent-profile-dropdown .agent-svg {
  width: 21px;
  color: #0095ff;
}

.agent-main {
  min-height: 100vh;
  padding-top: 56px;
  transition: padding-left 0.2s ease;
}

.agent-shell-content {
  padding: 18px 22px 28px;
}

.agent-banner {
  position: relative;
  min-height: 150px;
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 7px;
  background: #141b2e;
}

.agent-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
}

.agent-banner span {
  position: relative;
  z-index: 1;
  padding: 22px;
  text-shadow: 0 2px 12px #000;
}

.agent-banner b,
.agent-banner small {
  display: block;
}

.agent-banner b {
  font-size: 26px;
  font-weight: 900;
}

.agent-banner small {
  margin-top: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.agent-section,
.agent-form-page {
  background: #141b2e;
  border-radius: 7px;
  padding: 18px;
}

.agent-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}

.agent-section__head > div {
  display: flex;
  gap: 8px;
}

.agent-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 15rem)) max-content min-content min-content;
  gap: 10px;
  align-items: end;
  margin: 16px 0;
}

.agent-check {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.agent-check input {
  width: 17px;
  height: 17px;
  accent-color: #0095ff;
}

.agent-filter-actions,
.agent-form-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.agent-filters .agent-filter-actions {
  display: contents;
}

.agent-filters .agent-primary,
.agent-filters .agent-secondary {
  min-height: 40px;
  white-space: nowrap;
}

.agent-stat-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  gap: 12px;
  align-items: end;
  margin: 16px 0 10px;
}

.agent-stat-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.agent-stat-tabs button {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(0, 149, 255, 0.16);
  background: #121829;
  color: #aeb7cc;
  font-size: 12px;
  font-weight: 900;
}

.agent-stat-tabs button.active {
  border-color: rgba(0, 149, 255, 0.62);
  background: linear-gradient(90deg, #0095ff, #0073d8);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 149, 255, 0.22);
}

.agent-stat-manual.active input {
  border-color: rgba(0, 149, 255, 0.84);
  box-shadow: 0 0 0 1px rgba(0, 149, 255, 0.18);
}

.agent-stat-current {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 10px;
  background: #121829;
  margin: 2px 0 0;
  padding: 0 12px;
  color: #fff;
  font-weight: 900;
}

.agent-stat-current span,
.agent-stat-current em {
  color: #aeb7cc;
  font-size: 12px;
  font-style: normal;
}

.agent-stat-current strong {
  color: #f3c641;
}

.agent-report-cards {
  display: none;
}

.agent-report-card {
  border: 1px solid rgba(0, 149, 255, 0.12);
  border-radius: 13px;
  background: #0b1020;
  padding: 13px 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 20px rgba(0, 0, 0, 0.18);
}

.agent-report-card__top,
.agent-report-card__user,
.agent-report-card__body {
  display: flex;
  min-width: 0;
}

.agent-report-card__top {
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.agent-report-card__user {
  align-items: flex-start;
  gap: 11px;
}

.agent-report-card__user .agent-svg {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  color: #f3c641;
}

.agent-report-card__user span {
  min-width: 0;
  display: block;
}

.agent-report-card__user strong {
  display: block;
  overflow: hidden;
  max-width: 172px;
  color: #fff;
  font-size: 15px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-report-card__user em {
  width: fit-content;
  display: block;
  margin-top: 6px;
  border-radius: 6px;
  background: #ffbc0f;
  color: #fff;
  padding: 4px 7px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.agent-report-card__amount,
.agent-report-card__id {
  flex: 0 0 auto;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.agent-report-card__amount.is-positive,
.agent-table .is-positive {
  color: #27d47d;
}

.agent-report-card__amount.is-negative,
.agent-table .is-negative {
  color: #ff6b7a;
}

.agent-report-card__id {
  color: #aeb7cc;
  font-size: 12px;
}

.agent-report-card__title {
  display: block;
  overflow: hidden;
  margin: 12px 0 0;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-report-card__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  margin-top: 13px;
}

.agent-report-card__field {
  min-width: 0;
  display: block;
}

.agent-report-card__field.is-wide {
  grid-column: 1 / -1;
}

.agent-report-card__field small,
.agent-report-card__field b {
  display: block;
}

.agent-report-card__field small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 900;
}

.agent-report-card__field b {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-report-card__field.is-positive b {
  color: #27d47d;
}

.agent-report-card__field.is-negative b {
  color: #ff6b7a;
}

.agent-empty-card {
  margin: 0;
  border-radius: 13px;
  background: #0b1020;
  padding: 18px;
  color: #aeb7cc;
  font-weight: 900;
  text-align: center;
}

.agent-user-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 180px));
  justify-content: end;
  gap: 10px;
  margin: 0 0 12px;
}

.agent-user-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.agent-user-action--agent {
  background: linear-gradient(70deg, #0095ff -8%, #0074d8 96%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 149, 255, 0.25);
}

.agent-user-action--player {
  border: 1px solid rgba(243, 198, 65, 0.72);
  background: rgba(243, 198, 65, 0.06);
  color: #f3c641;
  box-shadow: inset 0 0 0 1px rgba(243, 198, 65, 0.08);
}

.agent-tabs {
  height: 60px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 0;
  padding-right: 2px;
}

.agent-tabs::-webkit-scrollbar {
  height: 4px;
}

.agent-tabs a {
  flex: 1 0 0;
  min-width: max-content;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px 20px 0 0;
  border: 1px solid rgba(0, 149, 255, 0.12);
  border-bottom: 0;
  background: #121829;
  color: #aeb7cc;
  padding: 0 30px;
  font-weight: 900;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.03);
}

.agent-tabs a.active {
  border-color: rgba(0, 149, 255, 0.5);
  color: #fff;
  background: linear-gradient(180deg, #2d4269 0%, #213554 100%);
  box-shadow: inset 0 2px 0 #0095ff, 0 10px 24px rgba(0, 149, 255, 0.14);
}

.agent-table-wrap {
  overflow-x: auto;
  overflow-y: visible;
  background: #1e283f;
  border-radius: 0 10px 10px 10px;
  padding: 10px 20px 12px;
}

.agent-table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0 5px;
  color: #fff;
  text-align: left;
}

.agent-table th {
  padding: 8px 10px;
  font-size: 12px;
  text-transform: uppercase;
}

.agent-table td {
  height: 40px;
  background: #121829;
  padding: 10px;
  font-size: 14px;
  font-weight: 700;
  position: relative;
}

.agent-table td:first-child {
  border-radius: 7px 0 0 7px;
}

.agent-table td:last-child {
  border-radius: 0 7px 7px 0;
}

.agent-table button {
  height: 27px;
  min-height: 27px;
  border-radius: 7px;
  background: #0095ff;
  color: #fff;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
}

.agent-table button.link {
  background: transparent;
  color: #0095ff;
}

.agent-table-ops {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.agent-row-menu {
  position: relative;
  display: inline-flex;
  justify-content: flex-end;
}

.agent-row-menu__toggle {
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px !important;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  place-items: center;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 149, 255, 0.18);
  background: transparent !important;
  color: rgba(255, 255, 255, 0.72) !important;
  padding: 0 !important;
  line-height: 0;
}

.agent-row-menu__toggle .agent-svg {
  width: 18px;
  height: 18px;
  margin: auto;
}

.agent-row-menu.is-open .agent-row-menu__toggle,
.agent-row-menu__toggle:hover {
  background: #1e283f !important;
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(0, 149, 255, 0.14);
}

.agent-row-menu__items {
  position: absolute;
  top: 42px;
  right: 0;
  z-index: 30;
  min-width: 187px;
  max-height: 288px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #121829;
  padding: 10px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42);
}

.agent-row-menu__items button {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.62);
  padding: 0 8px;
  text-align: left;
}

.agent-row-menu__items button:hover {
  background: rgba(0, 149, 255, 0.14);
  color: #fff;
}

.agent-row-menu__items .agent-svg {
  width: 18px;
  height: 18px;
  color: #0095ff;
}

.agent-user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.agent-user-cell .agent-svg {
  width: 24px;
  height: 24px;
  color: #f3c641;
}

.agent-user-cell strong,
.agent-user-cell small {
  display: block;
}

.agent-user-cell small {
  width: fit-content;
  margin-top: 5px;
  border-radius: 5px;
  background: rgba(243, 198, 65, 0.9);
  color: #121829;
  padding: 3px 6px;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
}

.agent-empty {
  text-align: center;
  color: #afb0b1;
}

.agent-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  color: #afb0b1;
  font-weight: 900;
}

.agent-pagination div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agent-pagination button {
  min-height: 32px;
  border-radius: 7px;
  background: #121829;
  color: #fff;
  padding: 0 10px;
}

.agent-pagination button:disabled {
  opacity: 0.35;
}

.agent-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.agent-metrics.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agent-metric {
  min-height: 88px;
  border: 1px solid rgba(0, 149, 255, 0.22);
  border-radius: 7px;
  background: #1e283f;
  padding: 15px;
}

.agent-metric span,
.agent-muted {
  color: #afb0b1;
  font-weight: 800;
}

.agent-metric strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.agent-create-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: 18px;
}

.agent-create-form .agent-toggles {
  display: grid;
  gap: 10px;
  color: #fff;
  font-weight: 800;
}

.agent-toggles input {
  accent-color: #0095ff;
}

.agent-create-form .agent-form-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
  padding-top: 16px;
}

.agent-create-form .agent-form-actions .agent-primary,
.agent-create-form .agent-form-actions .agent-create-cancel {
  min-width: 142px;
  height: 40px;
  min-height: 40px;
  border-radius: 10px;
  text-align: center;
}

.agent-create-form .agent-form-actions .agent-create-cancel {
  width: auto;
}

.agent-operation-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: start center;
  overflow-y: auto;
  padding: min(13vh, 90px) 20px 28px;
  background: rgba(0, 0, 0, 0.72);
}

.agent-operation-card {
  position: relative;
  width: min(770px, 100%);
  border: 1px solid rgba(0, 149, 255, 0.12);
  border-radius: 20px;
  background: #1e283f;
  padding: 50px 70px 75px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.48);
}

.agent-operation-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #edf0f7;
  color: #7b8190;
  font-size: 25px;
  line-height: 24px;
}

.agent-operation-card h2 {
  margin: 0;
  text-align: center;
  font-size: 30px;
  line-height: 1;
}

.agent-operation-card p {
  margin: 10px 0 42px;
  text-align: center;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.72);
}

.agent-transfer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 10px;
}

.agent-transfer-card {
  width: 100%;
}

.agent-transfer-card__title {
  margin-bottom: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.agent-transfer-card__body {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-radius: 10px;
  background: #121829;
  padding: 10px 22px 10px 10px;
}

.agent-transfer-card__left {
  min-width: 0;
  display: flex;
  align-items: center;
}

.agent-transfer-card__icon {
  width: 24px;
  min-width: 24px;
  display: flex;
  margin-right: 20px;
  color: #f3c641;
}

.agent-transfer-card__icon .agent-svg {
  width: 24px;
  height: 24px;
}

.agent-transfer-card__info {
  min-width: 0;
  display: block;
}

.agent-transfer-card__info strong {
  display: block;
  overflow: hidden;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent-transfer-card__info em {
  width: fit-content;
  display: block;
  margin-top: 5px;
  border-radius: 5px;
  background: #ffbc0f;
  color: #fff;
  padding: 3px 6px;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
  text-transform: uppercase;
}

.agent-transfer-card__info em.is-agent {
  background: #0d9252;
}

.agent-transfer-card__balance {
  min-width: 82px;
  text-align: right;
}

.agent-transfer-card__balance span,
.agent-transfer-card__balance b {
  display: block;
}

.agent-transfer-card__balance span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  font-weight: 500;
}

.agent-transfer-card__balance b {
  margin-top: 2px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.agent-quick-amounts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 30px;
  font-weight: 700;
}

.agent-quick-amounts button {
  min-height: 40px;
  border-radius: 10px;
  background: #121829;
  color: #fff;
  padding: 10px 20px;
  font-weight: 900;
}

.agent-operation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
}

.agent-operation-card.is-withdraw .agent-operation-grid {
  display: flex;
  justify-content: center;
}

.agent-operation-input-block {
  width: 100%;
}

.agent-operation-card.is-withdraw .agent-operation-input-block {
  max-width: 300px;
}

.agent-operation-input-title {
  margin-bottom: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.16;
}

.agent-operation-grid .agent-field:only-child {
  max-width: 300px;
}

.agent-operation-card .agent-field > span {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 500;
}

.agent-operation-card .agent-field > span:first-child {
  display: flex;
  min-height: 20px;
  align-items: center;
}

.agent-operation-card .agent-field input {
  height: 40px;
}

.agent-amount-field__control {
  position: relative;
  display: block;
}

.agent-amount-field__control input {
  padding-right: 14px;
}

.agent-operation-card.is-withdraw .agent-amount-field__control input {
  padding-right: 88px;
}

.agent-amount-field__control b {
  position: absolute;
  top: 50%;
  right: 58px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  pointer-events: none;
}

.agent-amount-field__control button {
  position: absolute;
  top: 5px;
  right: 8px;
  height: 30px;
  border-radius: 7px;
  background: #0095ff;
  color: #fff;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: none;
}

.agent-percent-field__control {
  position: relative;
  display: block;
}

.agent-bonus-label {
  display: flex !important;
  min-height: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.agent-bonus-label > span {
  min-width: 0;
  white-space: nowrap;
}

.agent-bonus-switch {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 20px;
  flex: 0 0 36px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.agent-bonus-switch span {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #8a94a8;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.26);
  transform: translateX(3px);
  transition: transform 0.18s ease, background 0.18s ease;
}

.agent-bonus-switch.is-on {
  border-color: rgba(0, 149, 255, 0.72);
  background: #0095ff;
  box-shadow: 0 0 14px rgba(0, 149, 255, 0.38);
}

.agent-bonus-switch.is-on span {
  background: #fff;
  transform: translateX(17px);
}

.agent-percent-field__control input {
  padding-right: 42px;
}

.agent-percent-field__control b {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  pointer-events: none;
}

.agent-percent-field.is-disabled .agent-percent-field__control {
  opacity: 0.66;
}

.agent-percent-field.is-disabled .agent-percent-field__control input {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(7, 12, 25, 0.72);
  color: rgba(255, 255, 255, 0.56);
  cursor: not-allowed;
}

.agent-percent-field.is-disabled .agent-percent-field__control b {
  color: rgba(255, 255, 255, 0.44);
}

.agent-operation-card .agent-form-actions {
  display: grid;
  grid-template-columns: repeat(2, 142px);
  margin-top: 30px;
  justify-content: flex-end;
  gap: 8px;
}

.agent-operation-card .agent-form-actions button {
  min-width: 142px;
  width: 100%;
  height: 36px;
  min-height: 36px;
}

.agent-operation-card .agent-form-actions button[type="button"] {
  border: 1px solid rgba(243, 198, 65, 0.62);
  border-radius: 10px;
  background: rgba(18, 24, 41, 0.92);
  color: #f3c641;
  font-size: 12px;
  font-weight: 900;
}

.agent-operation-card .agent-form-actions .agent-primary {
  border-radius: 10px;
}

@media (min-width: 1280px) {
  .agent-app--sidebar-open .agent-sidebar {
    transform: translateX(0);
  }

  .agent-app--sidebar-open .agent-topbar__menu {
    display: none;
  }

  .agent-app--sidebar-open .agent-topbar {
    left: 280px;
  }

  .agent-app--sidebar-open .agent-main {
    padding-left: 280px;
  }
}

@media (max-width: 980px) {
  .agent-login {
    padding: 16px;
  }

  .agent-login__card {
    padding: 32px 22px;
  }

  .agent-login__card img {
    width: 220px;
  }

  .agent-login__card h1 {
    font-size: 32px;
  }

  .agent-topbar {
    height: 67px;
    padding: 11px;
  }

  .agent-topbar__brand img {
    width: 148px;
    height: 32px;
  }

  .agent-topbar__actions {
    gap: 6px;
  }

  .agent-topbar__actions .agent-icon-btn:first-child,
  .agent-topbar__actions > .agent-icon-btn:last-child {
    display: none;
  }

  .agent-balance-pill {
    height: 40px;
    padding: 0 10px;
  }

  .agent-user-pill {
    width: 145px;
    height: 40px;
    padding: 0 8px;
    gap: 6px;
  }

  .agent-user-pill__text b {
    max-width: 72px;
    font-size: 12px;
  }

  .agent-user-pill__text small {
    font-size: 10px;
  }

  .agent-user-pill__avatar {
    width: 23px;
    height: 23px;
  }

  .agent-user-pill__avatar .agent-svg {
    width: 22px;
  }

  .agent-profile-dropdown {
    position: fixed;
    top: 61px;
    right: 9px;
    width: min(242px, calc(100vw - 18px));
  }

  .agent-main {
    padding-top: 67px;
  }

  .agent-shell-content {
    padding: 14px 11px 92px;
  }

  .agent-users-section {
    padding-right: 6px;
    padding-left: 6px;
  }

  .agent-sidebar {
    width: min(82vw, 317px);
    padding: 21px;
  }

  .agent-sidebar__head {
    height: 104px;
    flex-direction: column;
    align-items: flex-start;
  }

  .agent-sidebar__head img {
    align-self: center;
    width: 212px;
    height: 45px;
  }

  .agent-nav-title {
    font-size: 16px;
  }

  .agent-nav-item {
    min-height: 47px;
    font-size: 15px;
  }

  .agent-banner {
    min-height: 116px;
  }

  .agent-banner b {
    font-size: 20px;
  }

  .agent-section,
  .agent-form-page {
    padding: 14px;
  }

  .agent-section__head {
    display: grid;
  }

  .agent-section__head > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .agent-filters,
  .agent-create-form,
  .agent-transfer-grid,
  .agent-metrics,
  .agent-metrics.two {
    grid-template-columns: 1fr;
  }

  .agent-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-filters .agent-search-user,
  .agent-filters .agent-check,
  .agent-filters .agent-filter-actions {
    grid-column: 1 / -1;
  }

  .agent-filter-date--from {
    grid-column: 1;
  }

  .agent-filter-date--to {
    grid-column: 2;
  }

  .agent-filter-actions,
  .agent-form-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .agent-filters .agent-filter-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .agent-stat-controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .agent-stat-tabs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }

  .agent-stat-tabs button {
    min-height: 38px;
    padding: 0 4px;
    font-size: 11px;
  }

  .agent-stat-current {
    width: 100%;
    justify-content: space-between;
  }

  .agent-user-actions {
    grid-template-columns: 1fr 1fr;
    justify-content: stretch;
    margin-top: 2px;
    margin-bottom: 10px;
  }

  .agent-user-action {
    min-height: 40px;
    padding: 0 10px;
  }

  .agent-tabs {
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
  }

  .agent-tabs a {
    min-width: 0;
    width: 100%;
    padding: 0 6px;
    font-size: 12px;
    line-height: 1.12;
    text-align: center;
    white-space: normal;
  }

  .agent-table-wrap {
    padding: 6px 0;
    border-radius: 7px;
    overflow: visible;
    background: transparent;
  }

  .agent-report-section .agent-table-wrap {
    display: none;
  }

  .agent-report-cards {
    display: grid;
    gap: 7px;
    margin-top: 10px;
  }

  .agent-report-card {
    min-height: 112px;
    padding: 13px 14px;
  }

  .agent-report-card__body {
    gap: 9px 10px;
  }

  .agent-report-card__field b {
    font-size: 12px;
  }

  .agent-table {
    display: block;
    min-width: 0;
    border-spacing: 0;
  }

  .agent-table thead {
    display: none;
  }

  .agent-table tbody {
    display: grid;
    gap: 5px;
  }

  .agent-table tr {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 88px 24px;
    grid-template-rows: 48px 42px;
    column-gap: 8px;
    border: 1px solid rgba(0, 149, 255, 0.12);
    border-radius: 13px;
    background: #0b1020;
    padding: 14px 16px 13px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 8px 20px rgba(0, 0, 0, 0.18);
  }

  .agent-table td {
    width: 100%;
    height: auto;
    min-height: 0;
    display: block;
    border-top: 0;
    border-radius: 0 !important;
    background: transparent;
    padding: 0;
    font-size: 12px;
    line-height: 1.12;
  }

  .agent-table td::before {
    display: none;
  }

  .agent-table td:first-child {
    border-top: 0;
  }

  .agent-table td[data-label="Usuario"] {
    grid-column: 1 / 3;
    grid-row: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .agent-table td[data-label="Saldo"] {
    grid-column: 1 / 2;
    grid-row: 2;
    align-self: end;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.08;
  }

  .agent-table td[data-label="Saldo"]::before {
    content: "Saldo:";
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
    font-weight: 900;
  }

  .agent-table td[data-label="Operaciones"] {
    grid-column: 2 / 5;
    grid-row: 2;
    align-self: end;
    display: flex;
    justify-content: flex-end;
  }

  .agent-table td[data-label="Fecha"] {
    grid-column: 3;
    grid-row: 1;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.12;
  }

  .agent-table td[data-label="Fecha"]::before {
    content: "Fecha";
    display: block;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
  }

  .agent-table td[data-label="Comisión"] {
    display: none;
  }

  .agent-table td[data-label="Acciones"] {
    grid-column: 4;
    grid-row: 1;
    display: flex;
    justify-content: center;
  }

  .agent-table button {
    height: 30px;
    min-height: 30px;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 12px;
  }

  .agent-user-cell {
    width: 100%;
    gap: 13px;
  }

  .agent-user-cell .agent-svg {
    width: 34px;
    height: 34px;
    margin-top: 2px;
  }

  .agent-user-cell strong {
    overflow: hidden;
    max-width: 135px;
    color: #fff;
    font-size: 16px;
    line-height: 1.08;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .agent-user-cell > span:last-child {
    display: block;
    min-width: 0;
  }

  .agent-user-cell small {
    margin-top: 7px;
    border-radius: 7px;
    padding: 5px 8px;
    background: #ffbc0f;
    color: #fff;
    font-size: 12px;
    line-height: 1;
  }

  .agent-table-ops {
    justify-content: flex-end;
    display: grid;
    grid-template-columns: 104px 66px;
    gap: 12px;
  }

  .agent-table-ops button:first-child {
    width: 104px;
    background: linear-gradient(90deg, #0095ff, #0073d8);
    box-shadow: 0 7px 15px rgba(0, 149, 255, 0.33);
  }

  .agent-table-ops button.link {
    width: 66px;
    background: transparent;
    color: #0095ff;
    padding: 0;
    box-shadow: none;
  }

  .agent-row-menu {
    width: 100%;
    justify-content: flex-end;
  }

  .agent-row-menu__items {
    top: 31px;
    right: 0;
    min-width: 184px;
  }

  .agent-row-menu__toggle {
    width: 24px;
    min-width: 24px;
    height: 38px;
    min-height: 38px !important;
    border: 0;
    background: transparent !important;
    color: #fff !important;
    box-shadow: none !important;
  }

  .agent-empty::before {
    display: none;
  }

  .agent-pagination {
    align-items: flex-start;
  }

  .agent-quick-amounts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
    margin-bottom: 16px;
  }

  .agent-quick-amounts button {
    min-height: 34px;
    padding: 0 4px;
    font-size: 11px;
  }

  .agent-operation-modal {
    padding: 56px 15px 22px;
  }

  .agent-operation-card {
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    border-radius: 18px;
    padding: 28px 20px 24px;
  }

  .agent-operation-close {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
  }

  .agent-operation-card h2 {
    font-size: 25px;
  }

  .agent-operation-card p {
    margin-bottom: 18px;
  }

  .agent-transfer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .agent-transfer-card__title {
    font-size: 13px;
  }

  .agent-transfer-card__body {
    min-height: 58px;
    gap: 4px;
    padding: 7px;
  }

  .agent-transfer-card__icon {
    width: 18px;
    min-width: 18px;
    margin-right: 5px;
  }

  .agent-transfer-card__icon .agent-svg {
    width: 18px;
    height: 18px;
  }

  .agent-transfer-card__info strong {
    font-size: 10px;
  }

  .agent-transfer-card__info em {
    margin-top: 3px;
    padding: 2px 5px;
    font-size: 9px;
  }

  .agent-transfer-card__balance {
    min-width: 45px;
  }

  .agent-transfer-card__balance span {
    font-size: 10px;
  }

  .agent-transfer-card__balance b {
    font-size: 10px;
  }

  .agent-operation-grid {
    gap: 10px;
  }

  .agent-operation-card.is-deposit .agent-operation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-operation-card.is-withdraw .agent-operation-grid {
    display: flex;
  }

  .agent-operation-input-title {
    margin-bottom: 7px;
    font-size: 14px;
  }

  .agent-operation-card .agent-field input {
    height: 38px;
  }

  .agent-operation-card .agent-form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agent-operation-card .agent-form-actions button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .agent-topbar {
    justify-content: flex-start;
    gap: 8px;
  }

  .agent-topbar__brand {
    display: none;
  }

  .agent-topbar__actions {
    margin-left: auto;
  }

  .agent-balance-pill {
    max-width: 84px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.page.superadmin-route {
  min-height: 100vh;
  padding: 0;
  background: #090f1e;
  color: #fff;
}

body:has(.superadmin-app) {
  background: #090f1e;
}

.superadmin-app {
  min-height: 100vh;
  background: #090f1e;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
}

.superadmin-app * {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 149, 255, 0.42) transparent;
}

.superadmin-app *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.superadmin-app *::-webkit-scrollbar-track {
  background: transparent;
}

.superadmin-app *::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(0, 149, 255, 0.42);
}

.superadmin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #090f1e;
  font-family: Roboto, Arial, sans-serif;
}

.superadmin-login__form {
  width: 290px;
  display: grid;
  gap: 7px;
  justify-items: center;
}

.superadmin-login__logo {
  width: 156px;
  max-height: 76px;
  object-fit: contain;
  margin-bottom: 10px;
}

.superadmin-login__form h1 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.superadmin-login__subtitle {
  margin: 0 0 10px;
  color: #8fa1bb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 16px;
  text-align: center;
}

.superadmin-login__form input {
  width: 290px;
  height: 31px;
  border-radius: 3px;
  background: #253255;
  color: #fff;
  padding: 0 10px;
  font: 400 14px Roboto, Arial, sans-serif;
}

.superadmin-login__form input::placeholder {
  color: #93a1ba;
}

.superadmin-login__form button {
  width: 290px;
  height: 38px;
  margin-top: 3px;
  border-radius: 3px;
  background: #0095ff;
  color: #fff;
  font: 400 16px Roboto, Arial, sans-serif;
}

.superadmin-alert {
  margin: 0 0 6px;
  border-radius: 5px;
  background: rgba(0, 149, 255, 0.16);
  color: #fff;
  padding: 8px 10px;
  font-size: 13px;
}

.superadmin-alert--content {
  width: calc(100% - 70px);
  margin: 10px 35px 0;
}

.superadmin-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  width: 100%;
  height: 55px;
  display: block;
  background: #101628;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.superadmin-head__logo,
.superadmin-head__menu,
.superadmin-head__logout {
  position: absolute;
  top: 10px;
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0095ff;
  background: transparent;
}

.superadmin-head__menu {
  left: 15px;
}

.superadmin-head__logo {
  left: 50%;
  width: 38px;
  transform: translateX(-50%);
}

.superadmin-head__logout {
  right: 15px;
}

.superadmin-head .agent-svg {
  width: 35px;
  height: 35px;
}

.superadmin-head__logo img,
.superadmin-sidebar__logo img {
  width: 38px;
  height: 35px;
  display: block;
  object-fit: contain;
}

.superadmin-rail {
  display: none;
}

.superadmin-sidebar__logo {
  width: 183px;
  height: 38px;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.superadmin-sidebar {
  position: fixed;
  inset: 55px auto 0 0;
  z-index: 100;
  width: 227px;
  min-height: calc(100vh - 55px);
  background: #101628;
  overflow-y: auto;
  color: #fff;
  transition: transform 0.18s ease;
}

.superadmin-app:not(.superadmin-app--menu-open) .superadmin-sidebar {
  transform: translateX(-227px);
}

.superadmin-sidebar__inner {
  position: sticky;
  top: 0;
  min-height: calc(100vh - 55px);
  padding: 35px 20px 20px;
}

.superadmin-nav-title {
  width: 183px;
  height: 13px;
  margin: 0 0 0;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 13px;
  text-transform: uppercase;
}

.superadmin-nav-group + .superadmin-nav-group {
  margin-top: 25px;
}

.superadmin-sidebar a {
  width: 183px;
  height: 41px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #7994a7;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.superadmin-sidebar a.menu_active {
  color: #fff;
}

.superadmin-sidebar a:hover {
  color: #fff;
}

.superadmin-sidebar .agent-svg {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.superadmin-nav-footer {
  padding-bottom: 22px;
}

.superadmin-nav-footer span {
  width: 183px;
  min-height: 24px;
  display: block;
  color: #7994a7;
  font-size: 13px;
  line-height: 18px;
}

.superadmin-content {
  min-height: 100vh;
  margin-left: 227px;
  padding-top: 75px;
  padding-bottom: 40px;
  background: #090f1e;
  overflow: hidden;
  transition: margin-left 0.18s ease;
}

.superadmin-app:not(.superadmin-app--menu-open) .superadmin-content {
  margin-left: 0;
}

.superadmin-title {
  width: calc(100vw - 271px);
  min-height: 25px;
  display: flex;
  align-items: center;
  margin: 0;
  color: #fff;
  font-size: 21px;
  font-weight: 300;
  line-height: 25px;
}

.superadmin-title span {
  display: block;
}

.superadmin-stat-filter {
  width: calc(100% - 70px);
  height: 49px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 35px 35px 0;
  border-radius: 5px;
  background: #161d30;
  padding: 10px;
}

.superadmin-stat-filter button {
  height: 27px;
  min-width: 45px;
  border-radius: 5px;
  background: transparent;
  color: #fff;
  padding: 0 12px;
  font-size: 14px;
}

.superadmin-stat-filter button.active {
  background: #0095ff;
}

.superadmin-date-range {
  width: 198px;
  height: 29px;
  margin-left: auto;
  border-radius: 5px;
  background: #1d2742;
  color: #fff;
  padding: 0 10px;
  font: 400 14px Roboto, Arial, sans-serif;
}

.superadmin-date-range::placeholder,
.superadmin-filter input::placeholder,
.superadmin-settings-form input::placeholder,
.superadmin-settings-form textarea::placeholder {
  color: #8fa1bb;
}

.superadmin-stats {
  width: calc(100% - 70px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 10px 35px 0;
}

.superadmin-stat-card {
  height: 89px;
  grid-column: span 2;
  border-radius: 5px;
  background: #1d2742;
  overflow: hidden;
  padding: 16px 18px 12px;
  box-shadow: inset 0 -3px 0 rgba(0, 149, 255, 0.8);
}

.superadmin-stat-card--wide {
  height: 84px;
  grid-column: span 3;
}

.superadmin-stat-card__name {
  color: #0095ff;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 18px;
}

.superadmin-stat-card__value {
  margin-top: 14px;
  color: #fff;
  font-size: 14px;
  line-height: 18px;
}

.superadmin-stat-card__empty {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.superadmin-stat-card__count {
  margin-top: 3px;
  color: #fff;
  font-size: 14px;
}

.superadmin-chart-card {
  width: calc(100% - 70px);
  min-height: 318px;
  margin: 20px 35px 0;
  border-radius: 5px;
  background: #101628;
  padding: 12px 10px 10px;
}

.superadmin-chart-card h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.superadmin-chart {
  height: 270px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  border-radius: 5px;
  background:
    repeating-linear-gradient(to top, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px),
    #0d1425;
  padding: 18px 24px;
}

.superadmin-chart i {
  flex: 1;
  min-width: 28px;
  border-radius: 5px 5px 0 0;
  background: #0095ff;
}

.superadmin-chart--loading {
  align-items: center;
  justify-content: center;
}

.superadmin-chart--loading span {
  width: 38px;
  height: 38px;
  border: 4px solid rgba(255, 255, 255, 0.14);
  border-top-color: #0095ff;
  border-radius: 50%;
  animation: superadmin-spin 0.9s linear infinite;
}

@keyframes superadmin-spin {
  to {
    transform: rotate(360deg);
  }
}

.superadmin-filter {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0 4px;
  margin: 45px 35px 0 45px;
}

.superadmin-filter input,
.superadmin-filter select,
.superadmin-filter button,
.superadmin-add-btn {
  height: 31px;
  border-radius: 3px;
  font-family: Roboto, Arial, sans-serif;
}

.superadmin-filter .inpsearch,
.superadmin-filter .inpsearchText,
.superadmin-settings-form .inpLkst {
  background: #253255;
  color: #fff;
  padding: 0 10px;
  font-size: 14px;
}

.superadmin-filter--users .inpsearch[name="search"] {
  width: 175px;
  height: 29px;
}

.superadmin-filter--users select[name="type"] {
  width: 126px;
}

.superadmin-filter--users select[name="sort"] {
  width: 221px;
}

.superadmin-filter--finance select[name="finance_type"] {
  width: 256px;
}

.superadmin-filter--finance input[name="id"],
.superadmin-filter--finance input[name="method_id"] {
  width: 150px;
}

.superadmin-filter--finance select[name="payment_id"] {
  width: 78px;
}

.superadmin-filter--finance input[type="date"] {
  width: 146px;
}

.superadmin-filter--casino input {
  width: 240px;
  height: 29px;
}

.superadmin-filter .btnsearch,
.superadmin-settings-actions .btnsearch,
.superadmin-add-btn {
  min-width: 70px;
  height: 29px;
  border-radius: 3px;
  background: #0095ff;
  color: #fff;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 400;
}

.superadmin-filter--users .btnsearch {
  width: 70px;
  margin-left: 4px;
}

.superadmin-add-btn {
  margin-left: 8px;
  min-width: 116px;
}

.superadmin-table-wrap {
  width: calc(100% - 70px);
  margin: 20px 35px 0;
  overflow-x: auto;
  border-radius: 5px;
}

.superadmin-table-wrap:has(.superadmin-dots-menu.is-open) {
  overflow: visible;
}

.superadmin-table {
  width: 100%;
  min-width: 1011px;
  border-collapse: collapse;
  border-spacing: 0;
  color: #fff;
  font-size: 14px;
}

.superadmin-table td {
  min-height: 37px;
  border: 1px solid rgba(9, 15, 30, 0.78);
  background: #101628;
  padding: 9px 10px;
  vertical-align: middle;
}

.superadmin-table .tdZags {
  height: 37px;
  background: #1d2742;
  color: #fff;
  font-weight: 500;
}

.superadmin-table .blockpab td {
  height: 75px;
  background: #111a2d;
}

.superadmin-table td small,
.superadmin-table td strong {
  display: block;
}

.superadmin-table td small {
  color: #7994a7;
}

.superadmin-user-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.superadmin-user-cell .superadmin-dots-menu {
  margin-left: auto;
}

.superadmin-user-meta {
  min-width: 0;
  display: block;
}

.superadmin-user-avatar {
  width: 55px;
  height: 55px;
  flex: 0 0 55px;
  border-radius: 50%;
  background: #0095ff;
  color: transparent;
  overflow: hidden;
}

.superadmin-user-id,
.superadmin-user-name {
  display: block;
  width: 100%;
  max-width: 110px;
  text-align: left;
  background: transparent;
  color: #fff;
  padding: 0;
}

.superadmin-user-id {
  color: #7a7a7a;
  font-size: 11px;
  line-height: 13px;
}

.superadmin-user-id b,
.superadmin-user-id small {
  display: inline;
  font-weight: 400;
}

.superadmin-user-name {
  margin-top: 2px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 700;
  white-space: normal;
  word-break: break-word;
}

.superadmin-order-cell {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  cursor: grab;
}

.superadmin-order-cell small {
  color: #0095ff;
  font-size: 10px;
  font-weight: 700;
}

.superadmin-table .blockpab.is-draggable {
  cursor: grab;
}

.superadmin-table .blockpab.is-draggable:active {
  cursor: grabbing;
}

.superadmin-table .blockpab.is-dragging {
  opacity: 0.55;
  outline: 1px solid #0095ff;
  outline-offset: -1px;
}

.superadmin-status {
  display: inline-flex;
  min-width: 78px;
  height: 25px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

.superadmin-status.is-active {
  background: rgba(0, 149, 255, 0.25);
  color: #fff;
}

.superadmin-status.is-disabled {
  background: rgba(255, 255, 255, 0.11);
  color: #9aa6bb;
}

.superadmin-casino-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.superadmin-row-action.is-marked {
  background: #0095ff;
}

.superadmin-row-action,
.superadmin-pill {
  min-width: 35px;
  height: 29px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  background: #253255;
  color: #fff;
  padding: 0 9px;
}

.superadmin-row-action .agent-svg {
  width: 18px;
  height: 18px;
}

.superadmin-dots-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.superadmin-dots-menu__items {
  position: absolute;
  top: 34px;
  right: 0;
  z-index: 40;
  min-width: 176px;
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid rgba(0, 149, 255, 0.24);
  border-radius: 5px;
  background: #101628;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}

.superadmin-dots-menu__items button {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 3px;
  background: transparent;
  color: #fff;
  padding: 0 8px;
  text-align: left;
  font-size: 13px;
}

.superadmin-dots-menu__items button:hover {
  background: rgba(0, 149, 255, 0.18);
}

.superadmin-dots-menu__items button.is-selected {
  background: rgba(0, 149, 255, 0.24);
  color: #fff;
}

.superadmin-dots-menu__items .agent-svg {
  width: 16px;
  height: 16px;
  color: #0095ff;
}

.superadmin-dots-menu__group {
  display: grid;
  gap: 5px;
  padding: 4px 2px 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.superadmin-dots-menu__label {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  padding: 0 6px;
  font-size: 13px;
  font-weight: 700;
}

.superadmin-dots-menu__category-list {
  max-height: 156px;
  overflow-y: auto;
  display: grid;
  gap: 2px;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 149, 255, 0.46) transparent;
}

.superadmin-dots-menu__category-list::-webkit-scrollbar {
  width: 5px;
}

.superadmin-dots-menu__category-list::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: rgba(0, 149, 255, 0.46);
}

.superadmin-dots-menu__category-list small {
  color: #7994a7;
  padding: 4px 8px;
}

.superadmin-pill.is-paid {
  background: rgba(0, 149, 255, 0.26);
  color: #fff;
}

.superadmin-thumb {
  width: 42px;
  height: 42px;
  border-radius: 5px;
  object-fit: cover;
  background: #253255;
}

.superadmin-banner-thumb {
  width: 180px;
  height: 58px;
  object-fit: cover;
  border-radius: 5px;
}

.superadmin-banner-url {
  max-width: 360px;
  display: block;
  overflow: hidden;
  color: #7994a7;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.superadmin-tabs {
  width: calc(100% - 70px);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 40px 35px 0;
}

.superadmin-tabs button {
  height: 31px;
  border-radius: 3px;
  background: #253255;
  color: #fff;
  padding: 0 12px;
  font-size: 14px;
}

.superadmin-tabs button.active {
  background: #0095ff;
}

.superadmin-settings-form,
.superadmin-generic-card {
  width: calc(100% - 70px);
  margin: 30px 35px 0;
}

.superadmin-settings-row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  min-height: 64px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.superadmin-settings-row.is-heading {
  min-height: 23px;
  color: #fff;
  font-weight: 500;
}

.superadmin-settings-row label {
  color: #fff;
}

.superadmin-settings-row .inpLkst {
  width: min(520px, 100%);
  height: 33px;
  border-radius: 5px;
}

.superadmin-settings-row textarea.inpLkst {
  height: 96px;
  padding-top: 9px;
}

.superadmin-settings-row input.radio {
  width: 17px;
  height: 17px;
  margin-right: 6px;
  accent-color: #0095ff;
}

.superadmin-settings-row > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.superadmin-design-file {
  width: min(520px, 100%);
  min-height: 78px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 5px;
  background: #101628;
  padding: 10px;
}

.superadmin-design-file__preview {
  width: 88px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #090f1e;
  overflow: hidden;
}

.superadmin-design-file__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.superadmin-design-file__body {
  min-width: 0;
  display: grid;
  gap: 5px;
  color: #fff;
}

.superadmin-design-file__body span {
  font-size: 13px;
  font-weight: 700;
}

.superadmin-design-file__body small {
  color: #7994a7;
  font-size: 12px;
}

.superadmin-design-file__body input[type="file"] {
  width: min(320px, 100%);
  height: auto;
  background: transparent;
  color: #7994a7;
  padding: 0;
  font-size: 12px;
}

.superadmin-design-file__body input[type="file"]::file-selector-button {
  height: 30px;
  margin-right: 9px;
  border: 0;
  border-radius: 5px;
  background: #0095ff;
  color: #fff;
  padding: 0 12px;
  font-weight: 700;
}

.superadmin-settings-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
}

.superadmin-config-note {
  max-width: 760px;
  margin: 18px 0 0;
  color: #7994a7;
  font-size: 13px;
  line-height: 1.45;
}

.superadmin-design-grid {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 4px;
}

.superadmin-design-color {
  min-height: 84px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 10px;
  align-items: center;
  border-radius: 5px;
  background: #101628;
  padding: 10px;
}

.superadmin-design-color span {
  grid-column: 1 / -1;
  color: #fff;
  font-size: 13px;
}

.superadmin-design-color input {
  width: 42px;
  height: 34px;
  border-radius: 5px;
  background: transparent;
  padding: 0;
}

.superadmin-design-color b {
  color: #7994a7;
  font-size: 12px;
  font-weight: 500;
}

.superadmin-design-preview {
  width: min(760px, 100%);
  margin-top: 20px;
  border-radius: 5px;
  background: var(--bg);
  overflow: hidden;
}

.superadmin-design-preview__header {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header);
  padding: 8px 14px;
}

.superadmin-design-preview__header img {
  width: 184px;
  height: 38px;
  object-fit: contain;
}

.superadmin-design-preview button {
  min-height: 32px;
  border-radius: 5px;
  background: var(--green);
  color: var(--text);
  padding: 0 16px;
  font-weight: 700;
}

.superadmin-design-preview__body {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--panel);
}

.superadmin-design-preview__body span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.superadmin-design-preview__body b {
  color: var(--text);
  font-size: 20px;
}

.superadmin-design-preview__body button {
  width: 96px;
  background: var(--blue);
}

.superadmin-terms-form .superadmin-settings-row textarea.inpLkst {
  width: min(760px, 100%);
  min-height: 142px;
  line-height: 1.45;
  resize: vertical;
}

.superadmin-pages-head,
.superadmin-page-row {
  width: min(1040px, 100%);
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.9fr 110px 120px 110px;
  gap: 6px;
  align-items: center;
}

.superadmin-pages-head {
  margin-bottom: 8px;
  color: #7994a7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.superadmin-pages-list {
  display: grid;
  gap: 7px;
}

.superadmin-page-row {
  border-radius: 5px;
  background: #101628;
  padding: 8px;
}

.superadmin-page-row .inpLkst,
.superadmin-pages-new .inpLkst {
  width: 100%;
}

.superadmin-pages-new {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: 140px repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
  margin-top: 18px;
}

.superadmin-pages-new strong {
  color: #fff;
}

.superadmin-ip-layout {
  width: calc(100% - 70px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 22px 35px 0;
}

.superadmin-ip-tabs {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.superadmin-ip-tabs button {
  min-height: 38px;
  border: 1px solid #253255;
  border-radius: 5px;
  background: #101628;
  color: #a9bbd0;
  padding: 0 16px;
  font-weight: 800;
}

.superadmin-ip-tabs button.active {
  border-color: #0095ff;
  background: #07345b;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(0, 149, 255, 0.3), 0 0 16px rgba(0, 149, 255, 0.18);
}

.superadmin-ip-tabs span {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
  margin-left: 7px;
  font-size: 12px;
}

.superadmin-ip-panel {
  min-width: 0;
  border: 1px solid #253255;
  border-radius: 5px;
  background: #101628;
  color: #fff;
  padding: 18px 20px 20px;
}

.superadmin-ip-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #253255;
  padding-bottom: 10px;
}

.superadmin-ip-panel h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.superadmin-ip-panel__head strong {
  display: block;
  color: #a9bbd0;
  font-size: 15px;
  font-weight: 800;
}

.superadmin-ip-filter,
.superadmin-ip-add {
  display: flex;
  align-items: center;
  gap: 8px;
}

.superadmin-ip-filter {
  justify-content: space-between;
  margin: 10px 0 6px;
}

.superadmin-ip-filter label,
.superadmin-ip-filter span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c9d8e8;
  font-size: 14px;
  font-weight: 800;
}

.superadmin-ip-filter select.inpLkst {
  width: 74px;
}

.superadmin-ip-filter span {
  justify-content: flex-end;
}

.superadmin-ip-add {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.superadmin-ip-filter .inpLkst,
.superadmin-ip-add .inpLkst {
  width: 245px;
  height: 31px;
  border: 1px solid #34466f;
  border-radius: 5px;
  background: #17233e;
  color: #fff;
  padding: 0 10px;
  font-weight: 600;
}

.superadmin-ip-add .inpLkst {
  width: 175px;
}

.superadmin-ip-filter button,
.superadmin-ip-add button,
.superadmin-ip-actions button {
  min-height: 31px;
  border: 1px solid #34466f;
  border-radius: 5px;
  background: #17233e;
  color: #fff;
  padding: 0 12px;
  font-weight: 700;
}

.superadmin-ip-add .btnsearch {
  min-width: 86px;
  border-color: #007d62;
  background: #008764;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.superadmin-ip-add .agent-svg {
  width: 15px;
  height: 15px;
}

.superadmin-ip-filter .btnsearch {
  border-color: #0872bb;
  background: #0095ff;
  color: #fff;
}

.superadmin-ip-table-wrap {
  width: 100%;
  overflow-x: auto;
  scrollbar-color: rgba(0, 149, 255, 0.55) rgba(16, 22, 40, 0.6);
}

.superadmin-ip-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #fff;
  font-size: 14px;
  table-layout: fixed;
}

.superadmin-ip-table th,
.superadmin-ip-table td {
  border: 1px solid #253255;
  padding: 9px 12px;
  text-align: center;
  vertical-align: middle;
}

.superadmin-ip-table th {
  background: #151d34;
  color: #c9d8e8;
  font-weight: 800;
}

.superadmin-ip-table td {
  background: #111a30;
  color: #fff;
  font-weight: 700;
}

.superadmin-ip-table td b,
.superadmin-ip-table td small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.superadmin-ip-table td small {
  margin-top: 4px;
  color: #7994a7;
  font-size: 12px;
}

.superadmin-ip-no-data {
  height: 28px;
  color: #a9bbd0;
  font-weight: 800;
}

.superadmin-ip-actions {
  display: inline-flex;
  justify-content: center;
  gap: 6px;
}

.superadmin-ip-actions button:first-child {
  border-color: #0095ff;
  color: #58bdff;
}

.superadmin-ip-actions button:last-child {
  border-color: #ef4444;
  color: #ff7f7f;
}

.superadmin-ip-total {
  margin-top: 12px;
  color: #c9d8e8;
  font-weight: 800;
}

.superadmin-generic-card {
  border-radius: 5px;
  background: #101628;
  padding: 18px 0 20px;
}

.superadmin-generic-card p {
  margin: 0 20px 18px;
  color: #7994a7;
}

.superadmin-generic-card .superadmin-table-wrap {
  width: calc(100% - 40px);
  margin: 0 20px;
}

.is-positive {
  color: #23d57d;
}

.is-negative {
  color: #ff6978;
}

.superadmin-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 15, 30, 0.74);
  padding: 20px;
}

.superadmin-modal__card {
  position: relative;
  width: min(460px, 100%);
  border-radius: 5px;
  background: #101628;
  color: #fff;
  padding: 24px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.46);
}

.superadmin-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background: #253255;
  color: #fff;
  font-size: 20px;
}

.superadmin-modal__card h2 {
  margin: 0 0 18px;
  font-size: 21px;
  font-weight: 300;
}

.superadmin-modal__body dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px 12px;
  margin: 0;
}

.superadmin-modal__body dt {
  color: #7994a7;
}

.superadmin-modal__body dd {
  margin: 0;
}

.superadmin-user-summary {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 10px;
  border-radius: 5px;
  background: #1d2742;
}

.superadmin-user-summary__avatar {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0095ff;
  color: #fff;
  font-weight: 800;
}

.superadmin-user-summary__meta,
.superadmin-user-summary__balance {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.superadmin-user-summary__meta strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.superadmin-user-summary small {
  color: #7994a7;
  font-size: 11px;
}

.superadmin-user-summary__balance {
  text-align: right;
}

.superadmin-modal-field {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.superadmin-modal-field input,
.superadmin-modal-field select {
  height: 33px;
  border-radius: 5px;
  background: #253255;
  color: #fff;
  padding: 0 10px;
}

.superadmin-user-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.superadmin-user-tools__actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.superadmin-user-tools__actions button {
  flex: 1;
  min-height: 33px;
  border-radius: 3px;
  background: #253255;
  color: #fff;
  font-weight: 700;
}

.superadmin-user-tools__actions .btnsearch {
  background: #0095ff;
}

.superadmin-user-tools__actions--single .btnsearch {
  min-height: 36px;
}

.superadmin-user-tools--password,
.superadmin-user-edit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.superadmin-user-edit-grid .superadmin-modal-field:first-child {
  grid-column: 1 / -1;
}

.superadmin-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 22px;
}

.superadmin-modal__actions button {
  min-width: 110px;
  height: 31px;
  border-radius: 3px;
  background: #253255;
  color: #fff;
}

.superadmin-modal__actions .btnsearch {
  background: #0095ff;
}

.superadmin-backdrop {
  display: none;
}

@media (max-width: 980px) {
  .superadmin-app {
    overflow-x: hidden;
  }

  .superadmin-head {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100001;
    width: 100%;
    height: 55px;
    display: block;
    background: #101628;
  }

  .superadmin-head__logo,
  .superadmin-head__menu,
  .superadmin-head__logout {
    position: absolute;
    top: 10px;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0095ff;
    background: transparent;
  }

  .superadmin-head__logo {
    left: 50%;
    width: 38px;
    transform: translateX(-50%);
  }

  .superadmin-head__menu {
    left: 15px;
  }

  .superadmin-head__logout {
    right: 15px;
  }

  .superadmin-rail {
    display: none;
  }

  .superadmin-sidebar {
    inset: 55px auto 0 0;
    z-index: 99999;
    width: 254px;
    transform: translateX(-251px);
    transition: transform 0.18s ease;
  }

  .superadmin-app:not(.superadmin-app--menu-open) .superadmin-sidebar {
    transform: translateX(-251px);
  }

  .superadmin-app--menu-open .superadmin-sidebar {
    transform: translateX(0);
  }

  .superadmin-sidebar__inner {
    width: 213px;
    padding: 35px 20px 20px 35px;
  }

  .superadmin-nav-title,
  .superadmin-sidebar a {
    width: 169px;
  }

  .superadmin-backdrop {
    position: fixed;
    inset: 55px 0 0 0;
    z-index: 99998;
    display: block;
    background: rgba(9, 15, 30, 0.42);
  }

  .superadmin-content {
    width: 100%;
    margin-left: 0;
    padding-top: 75px;
  }

  .superadmin-app:not(.superadmin-app--menu-open) .superadmin-content {
    margin-left: 0;
  }

  .superadmin-title {
    width: calc(100% - 40px);
    margin: 0;
  }

  .superadmin-title span {
    margin-left: 20px;
  }

  .superadmin-alert--content {
    width: calc(100% - 50px);
    margin: 10px 25px 0;
  }

  .superadmin-stat-filter {
    width: calc(100% - 50px);
    height: 81px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 35px 25px 0;
    padding: 10px;
  }

  .superadmin-stat-filter button[data-superadmin-period="before"],
  .superadmin-stat-filter button[data-superadmin-period="month"] {
    display: none;
  }

  .superadmin-date-range {
    margin: 0 auto;
  }

  .superadmin-stats {
    width: calc(100% - 50px);
    grid-template-columns: 1fr;
    margin: 10px 25px 0;
  }

  .superadmin-stat-card,
  .superadmin-stat-card--wide {
    height: auto;
    min-height: 89px;
    grid-column: auto;
  }

  .superadmin-chart-card {
    width: calc(100% - 50px);
    min-height: 260px;
    margin: 18px 25px 0;
  }

  .superadmin-chart {
    height: 210px;
    gap: 8px;
    padding: 14px;
  }

  .superadmin-filter {
    width: 320px;
    margin: 45px 0 0 35px;
  }

  .superadmin-filter--users {
    display: grid;
    grid-template-columns: 175px 126px;
    gap: 0 3px;
  }

  .superadmin-filter--users select[name="sort"] {
    grid-column: 1;
    grid-row: 2;
  }

  .superadmin-filter--users .btnsearch {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-left: 51px;
  }

  .superadmin-filter--finance {
    display: grid;
    grid-template-columns: 150px 78px 68px;
    gap: 0 3px;
  }

  .superadmin-filter--finance select[name="finance_type"] {
    grid-column: 1 / 3;
    width: 256px;
  }

  .superadmin-filter--finance input[name="id"] {
    grid-column: 1;
    grid-row: 2;
  }

  .superadmin-filter--finance select[name="payment_id"] {
    grid-column: 2;
    grid-row: 2;
  }

  .superadmin-filter--finance input[name="method_id"] {
    grid-column: 1;
    grid-row: 3;
  }

  .superadmin-filter--finance input[name="date_min"] {
    grid-column: 2 / 4;
    grid-row: 3;
    width: 146px;
  }

  .superadmin-filter--finance input[name="date_max"] {
    grid-column: 1;
    grid-row: 4;
  }

  .superadmin-filter--finance .btnsearch {
    grid-column: 2;
    grid-row: 4;
    width: 70px;
  }

  .superadmin-filter--casino {
    gap: 4px;
  }

  .superadmin-add-btn {
    margin-left: 0;
  }

  .superadmin-table-wrap {
    width: calc(100% - 50px);
    margin: 28px 25px 0;
    overflow: visible;
  }

  .superadmin-filter--finance + .superadmin-table-wrap {
    margin-top: 20px;
  }

  .superadmin-table {
    width: 100%;
    min-width: 0;
    display: block;
    border-collapse: separate;
  }

  .superadmin-table--users {
    width: 100%;
    min-width: 0;
  }

  .superadmin-filter--finance + .superadmin-table-wrap .superadmin-table {
    min-width: 0;
  }

  .superadmin-table tbody,
  .superadmin-table tr {
    display: block;
  }

  .superadmin-table tr:first-child {
    display: none;
  }

  .superadmin-table .blockpab {
    width: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 10px;
    border-radius: 5px;
    background: #1a233a;
    overflow: visible;
  }

  .superadmin-table .blockpab:nth-child(odd) {
    background: #222d4c;
  }

  .superadmin-table .blockpab td {
    width: auto;
    min-height: 54px;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 4px;
    border: 0;
    border-bottom: 1px solid rgba(9, 15, 30, 0.62);
    background: transparent;
    padding: 8px 10px;
    word-break: break-word;
  }

  .superadmin-table .blockpab td::before {
    content: attr(data-label);
    color: #8fa1bb;
    font-size: 11px;
    font-weight: 700;
    line-height: 13px;
  }

  .superadmin-table .blockpab td:last-child {
    border-bottom: 0;
  }

  .superadmin-table--casino .blockpab td:last-child {
    grid-column: 1 / -1;
  }

  .superadmin-table--users .blockpab td:first-child {
    grid-column: 1 / -1;
    min-height: 75px;
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 14px;
    padding: 10px 7px;
  }

  .superadmin-table--users .blockpab td:first-child::before {
    display: none;
  }

  .superadmin-table--users .blockpab td:nth-child(3) {
    grid-column: 1 / -1;
  }

  .superadmin-user-cell {
    width: 100%;
  }

  .superadmin-user-name,
  .superadmin-user-id {
    max-width: none;
  }

  .superadmin-casino-actions {
    justify-content: flex-start;
  }

  .superadmin-settings-form,
  .superadmin-generic-card {
    width: 336px;
    margin: 35px 0 0 25px;
  }

  .superadmin-design-grid,
  .superadmin-design-preview,
  .superadmin-config-note,
  .superadmin-terms-form .superadmin-settings-row textarea.inpLkst {
    width: 322px;
    max-width: 322px;
  }

  .superadmin-design-grid {
    grid-template-columns: 1fr 1fr;
  }

  .superadmin-design-color {
    min-height: 78px;
    padding: 9px;
  }

  .superadmin-design-file {
    width: 322px;
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .superadmin-modal-field .superadmin-design-file {
    width: 100%;
  }

  .superadmin-design-file__preview {
    width: 78px;
    height: 48px;
  }

  .superadmin-design-preview__header img {
    width: 176px;
  }

  .superadmin-banner-url {
    max-width: 100%;
    white-space: normal;
    word-break: break-all;
  }

  .superadmin-pages-head {
    display: none;
  }

  .superadmin-page-row,
  .superadmin-pages-new {
    width: 322px;
    grid-template-columns: 1fr;
  }

  .superadmin-pages-list {
    gap: 10px;
  }

  .superadmin-ip-layout {
    width: calc(100% - 50px);
    grid-template-columns: 1fr;
    margin: 35px 25px 0;
  }

  .superadmin-ip-tabs {
    width: 322px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .superadmin-ip-tabs button {
    justify-content: center;
  }

  .superadmin-ip-filter,
  .superadmin-ip-add,
  .superadmin-ip-panel__head {
    align-items: stretch;
    flex-direction: column;
  }

  .superadmin-ip-filter label,
  .superadmin-ip-filter span,
  .superadmin-ip-add {
    justify-content: flex-start;
  }

  .superadmin-ip-filter span {
    flex-wrap: wrap;
  }

  .superadmin-ip-filter .inpLkst,
  .superadmin-ip-add .inpLkst {
    width: min(100%, 322px);
  }

  .superadmin-ip-table {
    min-width: 650px;
  }

  .superadmin-settings-row {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: 64px;
    padding: 2px 7px;
  }

  .superadmin-settings-row.is-heading {
    min-height: 23px;
    padding: 0 2px;
  }

  .superadmin-settings-row .inpLkst {
    width: 322px;
  }

  .superadmin-tabs {
    width: calc(100% - 50px);
    margin: 35px 25px 0;
  }

  .superadmin-banner-thumb {
    width: 120px;
    height: 44px;
  }

  .superadmin-modal__card {
    padding: 22px 18px;
  }

  .superadmin-user-summary {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .superadmin-user-summary__balance {
    grid-column: 1 / -1;
    text-align: left;
    padding-left: 54px;
  }

  .superadmin-user-tools,
  .superadmin-user-tools--password,
  .superadmin-user-edit-grid {
    grid-template-columns: 1fr;
  }

  .superadmin-user-edit-grid .superadmin-modal-field:first-child {
    grid-column: auto;
  }
}

.footer {
  padding: 24px 15px 34px;
  color: var(--muted);
  text-align: center;
}

.footer__links {
  margin-bottom: 12px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 0 0 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 149, 255, 0.28);
  border-radius: 50%;
  background: #141b2e;
  color: #fff;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.footer-social a:hover {
  border-color: rgba(0, 149, 255, 0.65);
  background: #0095ff;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.chat-tab {
  position: fixed;
  right: 0;
  top: 31%;
  width: 40px;
  height: 283px;
  z-index: 120;
  background: linear-gradient(180deg, #ffb45b, #ffd100);
  color: #fff;
  border-radius: 8px 0 0 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: none;
  align-items: center;
  justify-content: center;
  font: 700 14px Arial, sans-serif;
}

.whatsapp {
  position: fixed;
  right: 15px;
  bottom: 75px;
  width: 50px;
  height: 50px;
  z-index: 999;
  background: #25d366;
  color: #afb0b1;
  border-radius: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  box-shadow: none;
  margin: 0;
}

.whatsapp svg {
  width: 29px;
  height: 29px;
  display: block;
  fill: #fff;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 16, 31, 0.7);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal {
  width: 389px;
  background: #fff;
  color: #000;
  border-radius: 7px;
  padding: 20px;
  position: relative;
}

.modal.wide {
  width: 500px;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 25px;
  height: 25px;
  background: #edf0f7;
  color: #9aa0aa;
  font-size: 28px;
  line-height: 21px;
}

.modal__title {
  height: 25px;
  margin-bottom: 15px;
  font: 700 20px Roboto, Arial, sans-serif;
}

.modal__notice {
  margin: -4px 0 12px;
  padding: 9px 11px;
  border-radius: 6px;
  background: #fff4d7;
  color: #755408;
  font: 700 12px Arial, sans-serif;
}

.modal__tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.modal__tabs button {
  height: 34px;
  padding: 0 12px;
  color: #000;
  background: #edf0f7;
  border-radius: 0;
}

.modal__tabs button.active {
  color: #fff;
  background: #141b2e;
}

.input-block {
  position: relative;
  width: 100%;
  height: 51px;
  margin-bottom: 10px;
}

.input-block input {
  width: 100%;
  height: 51px;
  background: var(--input-light);
  color: #495055;
  padding: 20px 15px 15px;
  font: 14px Arial, sans-serif;
}

.input-block label {
  position: absolute;
  left: 15px;
  top: 17px;
  color: #6f747d;
  pointer-events: none;
}

.input-block input:focus + label,
.input-block input:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 11px;
}

.modal__link-row {
  height: 35px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.modal_link {
  color: #9ea6b7;
  font-size: 12px;
  font-weight: 700;
  background: none;
}

.modal__submit {
  height: 47px;
  width: 100%;
  color: #fff;
  background: var(--green);
  font: 700 15px Arial, sans-serif;
  padding: 15px;
}

.modal__foot {
  margin-top: 12px;
  text-align: center;
}

.balance-row {
  height: 61px;
  background: var(--input-light);
  border-radius: 7px;
  padding: 12px 15px;
  margin-top: 14px;
}

.balance-label {
  color: #7c8493;
  font-weight: 700;
  margin-bottom: 6px;
}

.balance-value {
  font-weight: 700;
  font-size: 16px;
}

.modal-overlay--balance {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: none;
}

#balance.balance-modal {
  max-width: 500px;
  width: 90%;
  padding: 15px 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px #000;
  background: #fff;
  color: #000;
}

#balance .modal_head {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
}

#balance .balance-modal__close {
  position: static;
  width: 25px;
  height: 25px;
  background: #edf0f7;
  color: #9aa0aa;
  font-size: 28px;
  line-height: 21px;
}

#balance .modal_content {
  padding-top: 4px;
}

#balance .tab_selector {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  width: 100%;
  margin-bottom: 15px;
  border-bottom: 1px solid #cfcfcf;
}

#balance .tab_selector button {
  flex: 1;
  padding: 7px 20px;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #9d9d9d;
  font-weight: 600;
  text-align: center;
}

#balance .tab_selector button.act {
  border-bottom-color: #0855c4;
  color: #000;
}

#balance .balance-hidden-tab {
  display: none !important;
}

#balance .balance_available {
  display: none;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 7px;
  background: #f3f29c;
  color: #000;
  text-align: center;
}

#balance .balance_available--visible {
  display: block;
}

#balance .balance_available span {
  font-weight: 700;
}

#balance .balance__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  border-radius: 12px;
  background-color: #edf0f7;
}

#balance .balance__row:not(:last-child) {
  margin-bottom: 15px;
}

#balance .balance__row .balance__row--left div:first-child {
  margin-bottom: 5px;
  color: rgba(7, 12, 25, 0.5);
  font-size: 14px;
  font-weight: 600;
}

#balance .balance__row .balance__row--left div:last-child {
  font-size: 16px;
  font-weight: 600;
}

@media (max-width: 650px) {
  #balance.balance-modal {
    width: calc(100vw - 40px);
    padding: 15px 18px;
  }

  #balance .tab_selector button {
    min-width: auto;
    padding: 7px 12px;
    font-size: 14px;
  }
}

.game-frame {
  width: min(960px, calc(100vw - 40px));
  height: min(620px, calc(100vh - 40px));
  background: #10131e;
  color: #fff;
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-frame__top {
  height: 52px;
  background: #171924;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
  font-weight: 700;
}

.game-frame__top button {
  margin-left: auto;
  background: #edf0f7;
  color: #9aa0aa;
  width: 25px;
  height: 25px;
}

.game-frame__body {
  flex: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, #25345d 0, #10131e 65%);
}

.game-frame__body img {
  width: 220px;
  max-width: 55%;
  border-radius: 7px;
}

.page.game {
  padding: 0;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
}

.game-launcher-page {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #000;
  color: #fff;
}

.game-launcher-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.game-launcher-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  background: #000;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.game-launcher-placeholder img {
  width: min(220px, 48vw);
  aspect-ratio: 1.333 / 1;
  object-fit: cover;
  border-radius: 5px;
}

.game-launcher-placeholder strong,
.game-launcher-placeholder span {
  display: block;
  font-family: Roboto, Arial, sans-serif;
}

.game-launcher-placeholder strong {
  font-size: 17px;
  line-height: 1.25;
}

.game-launcher-placeholder span {
  margin-top: 4px;
  color: #afb0b1;
  font-size: 13px;
}

.game-launcher-page.has-provider-src .game-launcher-placeholder {
  display: none;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: #000;
  z-index: 420;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  border-radius: 20px 0 0 20px;
  overflow-y: auto;
  color: #fff;
}

.side-menu.open {
  transform: translateX(0);
}

.side-menu__user {
  background: #141b2e;
  padding: 15px 15px 5px 23px;
  min-height: 258px;
}

.side-menu .menu_balance {
  width: 262px;
  height: 37px;
  background: #212b46;
  border-radius: 7px;
}

.side-menu a,
.side-menu button {
  height: 32px;
  display: block;
  width: 100%;
  padding: 7px 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font-size: 15px;
}

.side-menu .active {
  font-weight: 700;
  text-decoration: underline;
}

.side-menu__links {
  padding: 5px 15px 5px 23px;
}

.side-lang {
  position: absolute;
  right: 18px;
  bottom: 20px;
  height: 28px;
  border-radius: 6px;
  background: #11172d;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  font-weight: 700;
}

.mobile-bottom,
.casino-mobile-nav,
.mobile-category-trigger,
.mobile-search {
  display: none;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 410;
  background: rgba(7, 10, 18, 0.55);
  backdrop-filter: blur(4px);
}

.mobile-category-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 430;
  width: 254px;
  height: 100vh;
  overflow-y: auto;
  background: var(--panel);
  border-radius: 0 20px 20px 0;
  padding: 34px 0 20px;
}

.mobile-category-panel .casino-menu__label {
  margin-left: 24px;
}

.mobile-category-panel .menu-row {
  padding: 0 24px;
  grid-template-columns: 30px 1fr auto;
}

@media (max-width: 980px) {
  html,
  body {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .page {
    padding-top: 65px;
    padding-bottom: 70px;
  }

  .header {
    background: var(--header-mobile);
  }

  .header__content.desktop {
    display: none;
  }

  .header__content.mobile {
    display: flex;
    padding: 0 8px;
  }

  .logo {
    width: 153px;
    height: 45px;
    padding: 0 15px 0 11px;
  }

  .logo img {
    width: 127px;
    height: 25px;
  }

  .header__actions {
    gap: 10px;
  }

  .header__balance {
    width: 103px;
    transform: translateX(0);
  }

  .content {
    padding: 20px 15px 0;
  }

  .casino {
    display: block;
  }

  .casino-menu {
    display: none;
  }

  .casino-content {
    width: 100%;
  }

  .banners {
    height: 116px;
    margin: 15px 0 13px;
  }

  .banner {
    height: 96px;
    min-width: 100%;
  }

  .banner-arrow {
    display: none;
  }

  .banner-dots {
    top: 92px;
  }

  .casino-mobile-nav {
    display: block;
    width: calc(100% - 4px);
    height: 75px;
    margin: 0 0 15px;
  }

  .mobile-category-bar {
    width: 100%;
    height: 35px;
    padding: 7px;
    border-radius: 7px;
    background: #141b2e;
    color: var(--blue);
    display: flex;
    align-items: center;
  }

  .mobile-category-trigger {
    width: 301px;
    height: 19px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font: 700 14px Roboto, sans-serif;
    text-align: left;
  }

  .mobile-category-icon {
    width: 19px;
    height: 19px;
    margin-right: 10px;
    display: block;
  }

  .mobile-category-icon svg {
    width: 19px;
    height: 19px;
    display: block;
  }

  .mobile-category-favorite {
    width: 21px;
    height: 21px;
    margin-left: 20px;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-category-favorite img {
    width: 21px;
    height: 21px;
    display: block;
  }

  .mobile-search {
    display: block;
    width: 100%;
    height: 30px;
    margin: 0;
  }

  .mobile-search .casino-menu__search-row {
    display: block;
    width: 100%;
    height: 30px;
    margin: 10px 0 0;
  }

  .mobile-search .casino-menu__search {
    width: 100%;
    height: 30px;
    margin: 0;
    display: flex;
    align-items: center;
  }

  .mobile-search .casino-menu__search::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 6.5px;
    width: 17px;
    height: 17px;
    background: url("https://reyesdelasapuestas.bet/img/search.svg") center / contain no-repeat;
  }

  .mobile-search .search-icon,
  .mobile-search .favorites {
    display: none;
  }

  .mobile-search .casino-menu__search input {
    width: 100%;
    height: 30px;
    margin: 0;
    color: var(--blue);
  }

  .casino-games-container__title {
    font-size: 19px;
  }

  .casino-games-container__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .casino-game__provider {
    font-size: 11px;
    margin-top: 5px;
  }

  .mobile-bottom {
    position: fixed;
    left: 0;
    right: auto;
    bottom: -1px;
    width: calc(100% - 4px);
    height: 70px;
    padding: 0 0 11px;
    background: rgb(32, 34, 39);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 99991;
    color: #fff;
    border-top: 0;
  }

  .mobile-bottom button,
  .mobile-bottom a {
    background: transparent;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 45px;
    padding: 0;
    font: 300 12.5px Roboto, sans-serif;
    line-height: normal;
    min-width: 0;
    text-align: center;
  }

  .mobile-bottom .active {
    text-decoration: underline;
    font-weight: 300;
  }

  .bottom-icon {
    height: 23px;
    display: block;
    flex: 0 0 auto;
    font-size: 0;
  }

  .bottom-icon img,
  .bottom-icon svg {
    display: block;
  }

  .bottom-label {
    display: block;
    margin-top: 7px;
    height: 15px;
    line-height: normal;
    white-space: nowrap;
  }

  .bottom-item--sport {
    flex: 0 0 35.2331606%;
    width: auto;
  }

  .bottom-item--casino {
    flex: 0 0 16.1917098%;
    width: auto;
  }

  .bottom-item--deposit {
    flex: 0 0 16.1917098%;
    width: auto;
    margin-left: 0;
  }

  .bottom-item--lobby {
    flex: 0 0 16.1917098%;
    width: auto;
    height: 46px;
    margin-left: 0;
  }

  .bottom-item--menu {
    flex: 0 0 16.1917098%;
    width: auto;
  }

  .bottom-icon--line {
    width: 20.125px;
  }

  .bottom-icon--casino {
    width: 43.641px;
  }

  .bottom-icon--casino svg {
    width: 43.641px;
    height: 23px;
    fill: #fff;
  }

  .bottom-icon--deposit {
    width: 23px;
  }

  .bottom-icon--home {
    width: 24px;
    height: 24px;
  }

  .bottom-icon--menu {
    width: 21px;
  }

  .side-menu {
    width: 254px;
  }

  .side-menu .menu_balance {
    width: 216px;
  }

  .chat-tab {
    display: none;
  }

  .whatsapp {
    width: 50px;
    height: 50px;
    right: 19px;
    bottom: 82px;
  }

  .home-grid,
  .placeholder-shell,
  .profile-layout {
    grid-template-columns: 1fr;
  }

  .home-panel {
    min-height: auto;
    padding: 16px;
  }

  .sports-list {
    grid-template-columns: 1fr;
  }

  .placeholder-page,
  .profile-page,
  .provider-page {
    padding: 12px 0;
  }

  .modal {
    width: min(389px, calc(100vw - 30px));
  }
}

@media (max-width: 380px) {
  .header__content.mobile {
    padding: 0 9px;
  }

  .logo {
    width: 145px;
    padding-left: 8px;
  }

  .header__balance {
    width: 96px;
  }

  .casino-games-container__list {
    gap: 12px;
  }
}
:root {
