* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.hidden {
  display: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.error-text {
  color: red;
  display: block;
  line-height: 1.3;
  word-break: break-word;
}


html[lang="he"] .rating_profile .rating__caption.is-rtl .rating__caption_accent {
  margin-inline-start: 8px;
  margin-inline-end: 0;
}

.rating_profile .rating__caption_accent {
  display: inline-block;
  margin-inline-start: 8px;
  direction: ltr;
  unicode-bidi: plaintext;
}

.debug-block {
  display: none;
}

a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  transition: .3s;
  color: #fff;
}

a:hover {
  color: #fff;
}

img {
  vertical-align: top;
  max-width: 100%;
}

p {
  margin-bottom: 0;
}

::-webkit-scrollbar {
    width: 5px;
    background: transparent;
}

::-webkit-scrollbar-thumb {
    width: 4px;
    background-color: #04101d;
    border-radius: 2px;
}

.btn {
  line-height: 48px;
  min-width: 220px;
  width: auto;
  letter-spacing: 1px;
  border: solid 1px #2e1a55;
  background-color: #2e1a55;
  color: #d8d8d8;
  display: block;
  text-transform: uppercase;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  border-radius: 100px;
  overflow: hidden;
  cursor: pointer;
  padding: 0 20px;
  transition: .5s;
}

.btn:hover {
  color: #fff;
}

.btn.parnter-btn {
  display: block;
  margin: 40px auto 20px;
  max-width: 400px;
  white-space: normal;
}

.btn.mini {
  min-width: 65px;
  display: inline-block;
  padding: 0 10px;
  background-color: #271447;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 400;
  line-height: 40px;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
  text-transform: capitalize;
}

.btn.yellow {
  border: solid 1px #f8e71c;
  background-color: #f8e71c;
  color: #382853;
}

.btn.green {
  border: solid 1px #45cb00;
  background-color: #45cb00;
}

.btn.green:hover {
  background-color: #369c01;
  border-color: #369c01;
}

.bg2 {
  padding: 20px 0;
  margin-bottom: 10px;
  background-color: #120725;
}

.white-bg {
  background-color: #fefeff;
  color: #270a36;
}

body {
  color: #fff;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  background-color: #190a31;
  box-sizing: border-box;
  padding-top: 110px;
  overflow-x: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

body.faq-page,
body.game-page {
  padding-top: 60px;
}

.modal_open body {
  overflow: hidden;
}

header {
  background-image: linear-gradient(270deg, #421f87 0%, #7810af 100%);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

header .hide {
  display: none;
}

header .col-5:first-child {
  display: flex;
  align-items: stretch;
}

header .col-5:last-child {
  display: flex;
  align-items: center;
}

header .col-5:last-child .auth:not(.summ),
header .col-5:last-child .btn {
    min-height: 42px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-left: 10px;
}

header .search {
  height: 60px;
  width: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header .search img,
header .home img {
  height: 17px;
  width: 17px;
}

header .search:hover,
header .home:hover {
  background-color: rgba(48, 17, 104, 0.35);
  cursor: pointer;
}

header .home {
  height: 60px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

header nav {
  display: flex;
}

header .logo img {
  max-height: 42px;
}

header .list {
  position: relative;
  cursor: pointer;
}

header .list .title {
  display: flex;
  align-items: center;
}

header .list .title img {
  margin-left: 10px;
  height: 7px;
}

header .list ul {
  display: none;
}

header .list ul.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  background: #3e187d;
  min-width: 260px;
  padding: 12px 0;
}

header .list li a {
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  padding: 0 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
}

header .list li a:hover {
  background-color: #301168;
}

header nav .link {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  padding: 0 10px;
}

header nav .link:hover {
  background-color: rgba(48, 17, 104, 0.35);
}

header .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

header .download {
  height: 37px;
  border-radius: 21px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 20px;
  max-width: 171px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-left: auto;
}

header .download:hover {
  background: rgba(0, 0, 0, 0.4);
}

header .language {
  display: flex;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  position: relative;
  height: 60px;
  margin-left: 20px;
}

header .language .lang-img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  border-radius: 50%;
}

header .language .arrow {
  height: 7px;
}

header .language .list {
  position: absolute;
  min-width: 75px;
  top: 100%;
  left: 0;
  background: #fff;
  display: none;
}

header .language .list.active {
  display: block;
}

header .language .list li {
  height: 40px;
  padding: 0 10px;
  color: #270a36;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
}

header .language .list li:hover {
  background: rgba(218, 224, 238, 0.3);
}

header .auth:not(.summ) {
  line-height: 39px;
  padding: 0 6px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
    background: #ef22af;
    border: 1px solid #ef22af;
    border-radius: 100px;
}

header .reg {
  line-height: 37px;
  padding: 0 20px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 13px;
  border: 1px solid #45cb00;
  margin-left: 5px;
  background-color: #45cb00;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
}

header .reg:hover {
  background-color: #45cb00;
}

.sub-header {
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: linear-gradient(to right, #0d1b2a, #13263f) !important;;
  
  z-index: 19;
}

.sub-header .swiper-wrapper {
  justify-content: space-between;
}

.sub-header .swiper-slide {
  width: auto;
}

.sub-header .swiper-slide a {
  display: flex;
  align-items: center;
  padding: 0 15px;
  line-height: 50px;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
}

.sub-header .swiper-slide img {
  height: 20px;
  margin-right: 10px;
}

.sub-header .swiper-slide a:hover {
  background-color: #380a73;
}

.sub-header .swiper {
  width: calc(100% - 100px);
}

.sub-header .swiper-button-next.swiper-button-disabled,
.sub-header .swiper-button-prev.swiper-button-disabled {
  display: none;
}

.sub-header .swiper-button-prev:after,
.sub-header .swiper-button-next:after {
  content: none
}

.sub-header .swiper-button-next,
.sub-header .swiper-button-prev {
  background-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
}

.sub-header .swiper-button-next {
  background-image: url(../img/arrow-right.svg);
}

.sub-header .swiper-button-prev {
  background-image: url(../img/arrow-left.svg);
}

.mobile-block-menu {
  display: none;
}

.banner {
  background-image: url(../img/banner.png);
  background-size: cover;
  text-align: center;
  padding: 15px 0;
}

.banner .text {
  margin: 5px 0 10px;
  font-size: 18px;
  font-weight: 500;
}

.banner .title {
  font-size: 38px;
  font-weight: 700;
  color: #f8e71c;
  line-height: 1.2;
  margin-bottom: 10px;
}

.banner .banner-btn {
  border: solid 1px #45cb00;
  background-color: #45cb00;
  line-height: 48px;
  min-width: 310px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  padding: 0 20px;
  border-radius: 100px;
  margin-bottom: 35px;
}

.banner .terms {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  max-width: 540px;
  margin: 0 auto;
}

.banner .terms a {
  text-decoration: underline;
  color: rgba(255, 255, 255, 0.5);
}

.banner .terms a:hover {
  text-decoration: none;
}

.nominations {
  margin-bottom: 20px;
}

.nominations .nominations-wrap {
  padding: 20px 15px;
  background-color: rgba(46, 26, 85, 0.3);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nominations .text,
.nominations .title {
  font-size: 18px;
  font-weight: 500;
}

.nominations .title {}

.nominations .text {
  color: #eedf2a;
}

.nominations .coin img {
  height: 42px;
  width: 42px;
}

.nominations .coin img+img {
  margin-left: 15px;
}

.nominations .row {
  align-items: center;
}

.nominations .medals {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: 13px;
  background-color: #321159;
  padding: 5px;
}

.nominations .medals img {
  max-width: 50px;
  margin: 0 15px;
}

.nominations .medals img.var2 {
  max-width: 80px;
}

.banners-slider {
  margin-bottom: 20px;
}

.banners-slider .swiper-slide {
  position: relative;
}

.banners-slider .swiper-slide .slide-text {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 10px;
  font-size: 14px;
  font-weight: 500;
}

.banners-slider .swiper-slide .slide-text .title {
  color: #f8e71c;
  font-weight: 700;
  font-size: 17px;
  display: block;
}

.products {
  padding-bottom: 20px;
  margin-top: 30px;
}

.main-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.main-title .text {
  color: #f8e71c;
  font-size: 17px;
  font-weight: 500;
}

.products .product {
  cursor: pointer;
  margin-bottom: 20px;
}

.products .product .preview {
  position: relative;
  overflow: hidden;
}

.products .product .preview>img {
  transition: .3s;
  width: 100%;
  object-fit: cover;
}

.products .product:hover .preview>img {
  transform: scale(1.2);
}

.products .product:hover .locked-game-slide {
    z-index: 1;
}

.products .product .status {
  display: flex;
  position: absolute;
  top: 5px;
  left: 5px;
}

.products .product .status-item {
  padding: 0 8px;
  font-size: 9px;
  color: #000;
  line-height: 15px;
  background-color: #7ed321;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 8px;
}

.products .product .status-item+.status-item {
  margin-left: 5px;
}

.products .product .status-item.hot {
  background-color: #ef23af;
  color: #fff;
}

.products .product .coin {
  display: flex;
  position: absolute;
  bottom: 5px;
  right: 5px;
}

.products .product .title {
  padding-top: 6px;
  color: #fff;
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .3px;
}

.products .product .text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: .3px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
}

.products .product .demo a:hover {
  text-decoration: underline;
}

.products .product .demo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(29, 15, 52, 0.87);
  opacity: 0;
  z-index: -1;
  transition: all .3s;
}

.products .product .demo .star {
  position: absolute;
  top: 5px;
  right: 5px;
}

.products .product:hover .demo {
  opacity: 1;
  z-index: 4;
}

.products .product .demo img {
  margin-bottom: 12px;
  transition: .5s;
}

.products .product .demo img:hover {
  transform: scale(1.05);
}

.products .product .demo .btn {
  font-size: 10px;
  min-width: 50px;
  padding: 5px 10px;
  line-height: inherit;
  margin: 10px 0;
}

.show-more {
  display: flex;
  align-items: center;
  justify-content: center;
}

.jackpot-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 23px 0;
  margin-bottom: 20px;
  border: 1px solid #f8e71c;
  border-radius: 4px;
  background-image: url(../img/jackpot.svg);
  background-position: center;
  background-repeat: no-repeat;
}

.jackpot-block .title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 25px;
  text-transform: uppercase;
}

.jackpot-block .summ {
  color: #f8e71c;
  font-size: 76px;
  font-weight: 700;
  letter-spacing: 5px;
}

.providers .providers-arrows {
  display: flex;
  width: 90px;
  justify-content: space-between;
}

.providers .swiper-button-next,
.providers .swiper-button-prev {
  position: static;
  width: 40px;
  height: 40px;
  background-image: url(../img/arrow.svg);
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #271447;
  border-radius: 50%;
  margin-top: 0;
}

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

.providers .swiper-button-next {
  transform: rotate(180deg)
}

.providers .swiper-button-next::after,
.providers .swiper-button-prev::after {
  content: none;
}

.providers .swiper-button-next::after,
.providers .swiper-button-prev::after {
  content: none;
}

.providers a {
  padding-top: 10px;
  border-radius: 4px;
  background-image: linear-gradient(180deg, #2e1553 0%, #251142 100%);
}

.providers a img {
  display: block;
  height: 30px;
  margin: 0 auto 20px;
}

.bottom-form {
  min-height: calc(100vh - 60px);
  background: linear-gradient(to top, rgba(0, 0, 0, 0), #190a31 99%), url(../img/bottom-form.png) center no-repeat;
  background-size: cover;
}

.form-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 60px);
  justify-content: center;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.form-block .title {
  text-align: center;
}

.form-block .title .text.lg {
  font-size: 38px;
  font-weight: 800;
  color: #f8e71c;
  line-height: 1.2;
  margin-bottom: 10px;
}

.form-block .title .text {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.form-block .title .text span {
  color: #f8e71c;
  font-weight: 700;
}

.form-block .title .text.sm {
  color: #f8e71c;
  font-weight: 700;
}

.form-block .title .sub-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin-bottom: 15px;
}

.form-block .title .sub-text span {
  color: #f8e71c;
  text-decoration: underline;
  cursor: pointer;
}

.form-block .title .sub-text span:hover {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.form-block .field-block {
  width: 100%;
  margin-bottom: 10px;
}

.form-block .field-block.hidden {
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-block .field-block.error {
  width: 100%;
  color: #ef23af;
}

.form-block .field-block.error .field {
  border-color: #ef23af;
  color: #ef23af;
}

.form-block .field-block .field {
  width: 100%;
  padding: 6px 18px;
  height: 50px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 400;
  box-shadow: none;
  outline: none;
  text-align: left;
  border: 1px solid transparent;
  background: #251146;
  color: rgba(255, 255, 255, 0.5);
  transition: border .2s ease;
}

.form-block .field-block .field:focus {
  border: 1px solid #f8e71c;
}

.form-block .field-block .error-text {
  margin-top: 5px;
  color: #ef23af;
  font-size: 14px;
  text-align: left;
  margin-left: 20px;
  display: none;
  line-height: 1.3;
  word-break: break-word;
}

.form-block .field-block .help-block,
.profile-details .help-block,
.profile-contacts .help-block {
  display: block;
  margin-top: 6px;
  margin-left: 20px;
  margin-right: 20px;
  line-height: 1.3;
  word-break: break-word;
}

.form-block .field-block.error .error-text {
  display: block;
}

.form-block .phone-field_with-prefix.error {
  padding-bottom: 0;
}

.form-block .check-block {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.form-block .checkbox-style {
  width: 19px;
  height: 19px;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
  border: 1px solid #382853;
  border-radius: 2px;
  position: relative;
  margin-right: 15px;
  cursor: pointer;
}

.form-block .check-input input[type="checkbox"]:checked+.checkbox-style {
  background-image: url(../img/checkmark.svg);
  background-size: 18px;
  background-position: center;
}

.form-block .check-input input[type="checkbox"] {
  height: 0;
  width: 0;
  overflow: hidden;
  position: absolute;
}

.form-block .check-block a {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  text-decoration: underline;
}

.form-block .check-block a:hover {
  text-decoration: none;
}


.form-block .btn {
  width: 100%;
}

.form-block .reg-soc {
  line-height: 1;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  padding: 10px;
  margin-top: 5px;
}

.form-block a.reg-soc {
  text-decoration: underline;
}

.form-block a.reg-soc:hover {
  text-decoration: none;
}

.form-block a.reg-soc::after,
.form-block a.reg-soc::before {
  content: none;
}

.form-block .reg-soc::after,
.form-block .reg-soc::before {
  content: '';
  display: inline-block;
  margin: 0 10px;
  width: 48px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  vertical-align: middle;
}

.footer-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

footer.bg2 {
  padding-bottom: 0;
}

footer .language {
  display: flex;
  align-items: center;
  padding: 0 10px;
  cursor: pointer;
  position: relative;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  min-width: 185px;
  width: 100%;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 400;
}

footer .language .lang-img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

footer .language .arrow {
  height: 7px;
  margin-left: auto;
}

footer .language .list {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  background: #fff;
  display: none;
  border-radius: 4px;
}

footer .language .list.active {
  display: block;
}

footer .language .list li {
  height: 40px;
  padding: 0 10px;
  color: #270a36;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
}

footer .language .list li:hover {
  background: rgba(218, 224, 238, 0.3);
}

footer nav {
  padding-bottom: 20px;
}

.footer-list li:first-child img {
  max-width: 70px;
}

.footer-list>li:nth-child(1) {
  margin-bottom: 25px;
  color: #f8e71c;
  font-size: 14px;
  line-height: 32px;
  font-weight: 700;
}

.footer-list>li a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: .5s;
  margin-bottom: 5px;
}

.footer-list>li a + a {
    margin-bottom: 0;
    margin-left: 10px;
}

.footer-list>li a:hover {
  color: #f8e71c;
}

.footer-list>li a img {
  height: 36px;
}

.footer-list>li a:hover img {
  opacity: .5;
}

.footer-list li {
  display: flex;
  justify-content: space-between;
}

.footer-links {
  padding: 40px 0;
}

.footer-links-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.footer-links-block a {
  margin: 10px 20px;
}

.footer-links-block img {
  height: 22px;
  opacity: 1;
  transition: .5s;
}

.footer-links-block a:hover img {
  opacity: .5;
}

.copyright {
  padding: 30px 0 15px;
}

.copyright .text {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3)
}

.copyright img {
  width: 60px;
}

.copyright .text img+p {
  margin-left: 10px;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  display: none;
}

.popup.active {
  display: flex;
}

.popup::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  /* background-image: linear-gradient(180deg, #210459 0%, rgba(59, 0, 90, 0.85) 100%); */
  opacity: .9;
}

.popup-block {
  border: 1px solid #f8e71c;
  background-color: #4b2587;
  margin: 0 auto;
  position: relative;
  max-width: 420px;
  padding: 20px;
}

.popup.search {
  align-items: flex-start;
  overflow: auto;
  background: #0a0e22c9;
}

.popup.search::after {
  background-image: none;
}

.popup.search .popup-block {
  margin-top: 10vh;
  border: none;
  background-color: rgba(0, 0, 0, .0);
  max-width: 820px;
}

.popup.search .search-field {
  width: 100%;
  border: 1px solid #f8e71c;
  border-radius: 30px;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  overflow: hidden;
  position: relative;
}

.popup.search .search-field input {
  height: 50px;
  width: 100%;
  background-color: rgba(0, 0, 0, .0);
  background-image: url(../img/search-yellow.svg);
  background-repeat: no-repeat;
  background-position: center left 20px;
  background-size: 20px;
  padding: 0 60px;
  color: rgba(255, 255, 255, 0.45);
  outline: none;
}

.popup.search .search-field input:hover {
  color: #fff;
}

.popup.search .search-field .close {
  position: absolute;
  height: 20px;
  top: calc(50% - 10px);
  right: 20px;
  cursor: pointer;
  opacity: 1;
}

.popup.search .search-field .close:hover {
  opacity: .7;
}

.popup.search .error-text {
  margin-top: 25px;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  color: red;
}

.popup.search .error-text.hidden {
  display: none;
}

.popup.search ul {
  background-color: #190441;
  margin-top: 15px;
  padding: 22px 0;
  max-height: 70vh;
  overflow: auto;
}

.popup.search .preview-games {
  background-color: #0E182CF0;
  margin-top: 15px;
  padding: 22px 0;
}

.popup.search .preview-games.hide {
  display: none;
}

.popup.search ul.empty {
  padding: 0;
}

.popup.search li {
  display: flex;
  align-items: center;
  padding: 8px 20px;
  cursor: pointer;
}

.popup.search li .locked-game-slide {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-left: auto;
    background: none;
}

.popup.search li .locked-game-slide svg {
    margin-bottom: 0;
    margin-left: 10px;
}

.popup.search li:hover {
  background-color: #130134;
}

.popup.search li img {
  margin-right: 15px;
  max-width: 90px;
  max-height: 90px;
}

.popup.search li .search-result-name .name {
  color: #f8e71c;
  font-size: 16px;
  font-weight: 700;
}

.popup.search li .search-result-name .provider {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
}

.popup.search li .search-result-btns {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.popup.search li .search-result-btns .play {
  border: solid 1px #00fdfc;
  color: #00fdfc;
  line-height: 33px;
  text-transform: uppercase;
  text-align: center;
  font-size: 13px;
  line-height: 35px;
  font-weight: 700;
  border-radius: 100px;
  cursor: pointer;
  padding: 0 20px;
  transition: .5s;
}

.popup.search li .search-result-btns .play:hover {
  border: solid 1px #00fdfc;
  color: #382853;
  background-color: #00fdfc;
}

.popup.search li .search-result-btns .demo {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 5px;
}

.popup.search li .search-result-btns .demo:hover {
  text-decoration: underline;
}

.reg .popup-block {
  max-width: 880px;
}

.auth .form-block {
  padding: 20px;
}

.popup .close {
  position: absolute;
  top: 0;
  right: -30px;
  opacity: .5;
  cursor: pointer;
}

.reg .popup-block .bonuses-groop {
  display: flex;
  align-items: flex-start;
}

.reg .popup-block .bonuses-groop.mobile {
  display: none;
}

.reg .popup-block .bonus {
  width: 33.33%;
  position: relative;
}

.reg .popup-block .bonus img {
  width: 100%;
}

.reg .popup-block .bonus span {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  line-height: 15px;
  font-weight: 700;
  color: #9287a5;
  white-space: nowrap;
}

.reg .popup-block .l-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.reg .popup-block .l-col.mobile {
  display: none;
}

.reg .popup-block .r-col,
.reg .popup-block .l-col {
  padding: 20px 0;
}

.reg .popup-block .l-col .title {
  font-size: 34px;
  line-height: 42px;
  font-weight: 700;
  color: #f8e71c;
  text-align: center;
  letter-spacing: 0.6px;
  width: 100%;
}

.reg .popup-block .l-col .text {
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
  margin-right: 3px;
}

.reg .popup-block .l-col .text span {
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  color: #f8e71c;
}

.popup-block .form-block {
  min-height: auto;
}

.reg .popup-block .form-block .check-block a,
.reg .popup-block .form-block .check-block {
  color: #fff;
}

.reg .popup-block .form-block .checkbox-style {
  border: 1px solid #fff;
}

.providers-dropdown {
  position: relative;
}

.providers-title {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  height: 40px;
  padding: 0 10px;
}

.providers-title.active {
  background-color: #fff;
  border-radius: 4px 4px 0 0;
  color: #382853;
}

.providers-title img {
  margin-left: 20px;
}

.providers-dropdown .icon {
  width: 13px;
  height: 2px;
  background-color: #f8e71c;
  position: relative;
  border-radius: 3px;
  margin-right: 10px;
  margin-left: 5px;
}

.providers-dropdown .icon::after {
  content: '';
  position: absolute;
  top: -5px;
  right: 0;
  width: 18px;
  height: 2px;
  background-color: #f8e71c;
  border-radius: 3px;
}

.providers-dropdown .icon::before {
  content: '';
  position: absolute;
  top: 5px;
  right: 0;
  width: 8px;
  height: 2px;
  background-color: #f8e71c;
  border-radius: 3px;
}

.providers-dropdown .providers-title.active .icon {
  background-color: #382853;
}

.providers-dropdown .providers-title.active .icon::after {
  background-color: #382853;
}

.providers-dropdown .providers-title.active .icon::before {
  background-color: #382853;
}

.providers-dropdown .arrow {
  position: relative;
  height: 7px;
  width: 13px;
  margin-left: 10px;
}

.providers-dropdown .arrow::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  transform: rotate(40deg);
  background-color: #fff;
  width: 8px;
  height: 2px;
}

.providers-dropdown .arrow::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 2px;
  transform: rotate(-40deg);
  background-color: #fff;
  width: 8px;
  height: 2px;
}

.providers-title .remove-selected {
  width: 15px;
  height: 15px;
  fill: #fff;
  cursor: pointer;
  margin-left: 10px;
}

.providers-title.active.active .remove-selected {
  fill: #000;
}

.providers-dropdown .providers-title.active .arrow::before {
  background-color: #382853;
}

.providers-dropdown .providers-title.active .arrow::after {
  background-color: #382853;
}

.providers-dropdown-block {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 1;
}

.providers-dropdown-block.active {
  display: block;
  max-height: 700px;
  overflow: auto;
}

.providers-dropdown-block .check-text__summ {
  margin-left: auto;
}

.providers-dropdown .check-text__provider {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.providers-dropdown .check-text__provider img {
  max-height: 20px;
  max-width: 20px;
  margin-right: 5px;
  vertical-align: middle !important;
}

.providers-dropdown-block {
  background-color: #fff;
  padding: 10px 0;
  min-width: 320px;
  border-radius: 0 4px 4px 4px;
}

.providers-dropdown-block .check-text,
.providers-dropdown-block .provmain-text {
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 16px;
  line-height: 30px;
  color: #1d0f34;
  font-weight: 700;
  cursor: pointer;
}

.providers-dropdown-block .check-text.active {
  background-color: #45cb00;
}

.providers-dropdown-block .checkbox-style {
  width: 19px;
  height: 19px;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
  border: 1px solid #c8cfdb;
  border-radius: 2px;
  position: relative;
  margin-right: 15px;
  cursor: pointer;
}

.providers-dropdown-block .check-input input[type="checkbox"]:checked+.checkbox-style {
  background-image: url(../img/checkmark-pink.svg);
  background-size: 18px;
  background-position: center;
}

.providers-dropdown-block .check-input input[type="checkbox"] {
  height: 0;
  width: 0;
  overflow: hidden;
  position: absolute;
}

.providers-add {
  margin-left: 20px;
  margin-right: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.provider-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.provider-item .remove-provider {
  height: 20px;
  width: 20px;
  background-color: #f8e71c;
  border-radius: 50px;
  margin-left: 10px;
  background-image: url(../img/close-dark.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 8px;
  cursor: pointer;
}

.top-pannel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  position: relative;
  margin: 20px 0;
  z-index: 3;
}

.top-pannel>span {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
  background: #4a1d8d;
  padding: 10px 20px;
  border-radius: 50px;
}

.top-pannel a {
  display: flex;
  align-items: center;
}

.top-pannel .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  margin-right: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.top-pannel .name {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.top-pannel.hide>* {
  display: none;
}

.game-modal {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border: none;
  background-color: #190a31;
  transition: padding .3s ease;
  margin: 0 auto;
  padding-top: 40.5%;
  width: 72%;
  z-index: 2;
}

.game-modal.full-screen,
.game-modal.full-sc {
  position: fixed;
  z-index: 29;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
}

.side-pannel .fullsc.block img {
  display: none;
}

.side-pannel .fullsc.block img.active {
  display: block;
}

.game-modal .game {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2d1552;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  padding: 4px;
}

.game-modal.full-sc .game {
  padding: 0;
}

.game-modal.full-sc .side-pannel {
  right: 0;
}

.game-modal iframe {
  width: 100%;
  height: 100%;
}

.game-modal .game:not(:first-child) {
  display: none;
}

.game-modal.multi .game {
  display: flex;
}

.game-modal.multi .game:first-child {
  top: 0;
  left: 0;
  right: 50%;
  bottom: 50%;
  border-right: 1px solid rgba(255, 255, 255, .5);
}

.game-modal.multi iframe {
  height: calc(100% - 26px);
}

.game-modal.multi .game:nth-child(2) {
  top: 0;
  left: 50%;
  right: 0;
  bottom: 50%;

}

.game-modal.multi .game:nth-child(3) {
  top: 50%;
  left: 0;
  right: 50%;
  bottom: 0;
  border-right: 1px solid rgba(255, 255, 255, .5);
  border-top: 1px solid rgba(255, 255, 255, .5);

}

.game-modal.multi .game:nth-child(4) {
  top: 50%;
  left: 50%;
  right: 0;
  bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, .5);
}

.game-modal .game .search {
  display: flex;
  align-items: center;
  height: 35px;
  width: calc(100% - 100px);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  border-radius: 19px;
  border: 1px solid #fff;
  background-color: #190a31;
  overflow: hidden;
  margin: 10px 0;
}

.game-modal .game .search input {
  display: flex;
  align-items: center;
  height: 100%;
  width: calc(100% - 100px);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  border: none;
  background-color: #190a31;
  background-image: url(../img/search.svg);
  background-repeat: no-repeat;
  background-size: 14px;
  background-position: left 10px center;
  width: calc(100% - 37px);
  padding-left: 40px;
}

.game-modal .game .search input::placeholder {
  color: #fff;
}

.game-modal .game .search .close {
  margin-left: auto;
  margin-right: 10px;
  width: 14px;
  opacity: .7;
  cursor: pointer;
  transition: .5s;
}

.game-modal .game .search .close:hover {
  opacity: 1;
}

.game-modal .modal-game-name {
  display: none;
}

.game-modal.multi .modal-game-name {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 0;
  height: 26px;
  overflow: hidden;
  background-color: #2d1552;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 4px 4px 0 0;
  padding: 0 10px;
}

.modal-game-name .close {
  margin-left: auto;
  cursor: pointer;
}

.side-pannel {
  position: absolute;
  top: 0;
  right: -37px;
}

.side-pannel .block {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 37px;
  height: 37px;
  margin-bottom: 2px;
  border-radius: 0 4px 4px 0;
  background-color: #4a1d8d;
  transition: background-color .3s ease, color .3s ease;
  font-weight: 400;
  cursor: pointer;
}

.side-pannel .block img {
  opacity: .7;
  width: 17px;
  height: 17px;
}

.side-pannel .screen {
  margin-top: 10px;
}

.side-pannel .block.active {
  background-color: #ef22af;
}

.side-pannel .block:hover {
  background-color: #ef22af;
}

.side-pannel .block.active img {
  opacity: 1;
}

.side-pannel .block:hover img {
  opacity: 1;
}

.side-pannel .browser-size img:not(.active) {
  display: none;
}

.button-scroll-top {
  position: fixed;
  bottom: 100px;
  right: 60px;
  height: 60px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8e71c;
  border-radius: 50%;
  cursor: pointer;
}

.game-page-width {
  max-width: 78%;
}

.summary__title {
  font-size: 18px;
}

.tab__head {
  background: #fff;
}

.payment__close {
  padding: 10px 10px 0 0;
  text-align: right;
}

.payment__close svg {
  cursor: pointer;
}

.mobile-menu__arrow {
  background: linear-gradient(to right, #0d1b2a, #13263f);;
  width: 100%;
  padding: 10px;
  cursor: pointer;
}

.deactivate-bonus {
  height: 49px;
  margin-top: 10px;
}

.main-title {
  font-size: 26px;
  font-weight: 700;
}

.faq-block {
  padding-bottom: 100px;
}

.faq-title {
  display: flex;
  align-items: center;
  padding: 15px;
  color: #270a36;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  box-shadow: 0 0 15px 0 rgb(227 233 242 / 60%);
  cursor: pointer;
}

.faq-section {
  max-height: 0px;
  overflow: hidden;
  margin-bottom: 10px;
  transition: .3s;
  padding: 0;
}

.faq-section.active {
  max-height: 2000px;
  overflow: hidden;
  margin-bottom: 10px;
  padding: 30px 0 20px;
}

.faq-title img:first-child {
  width: 17px;
  margin-right: 10px;
}

.faq-title img:last-child {
  width: 17px;
  margin-left: auto;
  transform: rotate(-180deg);
  height: 20px;
  transition: .3s;
}

.faq-title.active img:last-child {
  transform: rotate(-90deg);
}

.faq-item {
  border-top: 1px solid #e5e9f1;
  width: 100%;
  max-height: 50px;
  overflow: hidden;
  transition: .3s;
}

.faq-item.active {
  max-height: 420px;
}

.faq-item:last-child {
  border-bottom: 1px solid #e5e9f1;
}

.faq-item b {
  display: flex;
  align-items: center;
  padding: 15px;
  font-weight: 700;
  line-height: 20px;
  width: 100%;
  cursor: pointer;
}

.faq-item b::after {
  content: '+';
  margin-left: auto;
  font-weight: 400;
  font-size: 32px;
  color: #ef23af;
}

.faq-item.active b::after {
  content: '-';
  font-size: 50px;
  margin-right: 2px;
}

.faq-item p {
  line-height: 20px;
  font-weight: 400;
  padding: 0 50px 0 16px;
  margin-bottom: 15px;
}

.payments-block .tabs {
  margin: 20px 0;
  display: flex;
  align-items: center;
}

.payments-block .page-text {
  font-size: 14px;
}

.pay-tooltip {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-tooltip__number,
.pay-tooltip__input,
.pay-tooltip__system {
  display: flex;
  /* justify-content: space-between; */
}

.pay-tooltip__system label {
  text-transform: capitalize;
}

.payment-select {
  box-shadow: inset 1px 1px 2px 0 rgba(0, 0, 0, .3);
  padding: 9px 18px 8px 12px;
  width: 130px;
  border-radius: 2px;
  border: 1px solid #bababa;
  color: #968686;
  font-size: 16px;
  font-weight: 700;
}

.payments-block .tabs .tab {
  min-width: 110px;
  margin-right: 10px;
  background-color: transparent;
  border: 1px solid #f8e71c;
  border-radius: 25px;
  text-align: center;
  color: #270a36;
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  cursor: pointer;
}

.payments-block .tabs .tab.active {
  background-color: #f8e71c;
}

.payments-block .tab-conts .tab-cont {
  display: none;
}

.payments-block .tab-conts .tab-cont.active {
  display: block;
}

.payments-heading {
  display: flex;
  align-items: center;
  color: #b7c1d7;
  height: 50px;
}

.payments-heading .payments-col:nth-child(1) {
  justify-content: flex-start;
}

.payments-table {
  box-shadow: 0 0 15px rgb(227 233 242 / 60%);
  border-radius: 8px;
  margin-bottom: 30px;
}

.payments-row {
  display: flex;
  align-items: center;
  height: 55px;
}

.payments-row+.payments-row {
  border-top: solid 1px #f1f4fa;
}

.payments-col {
  font-size: 13px;
}

.payments-col:nth-child(1) {
  max-width: 190px;
  width: 14.39%;
  display: flex;
  align-items: center;
  justify-content: center;

}

.payments-col:nth-child(1) img {
  width: 65px;
}

.payments-col:nth-child(2) {
  max-width: 140px;
  width: 10.6%;
}

.payments-col:nth-child(3) {
  max-width: 370px;
  width: 28.03%;
}

.payments-col:nth-child(4) {
  max-width: 180px;
  width: 13.63%;
}

.payments-col:nth-child(5) {
  max-width: 280px;
  width: 21.21%;
}

.payments-col:nth-child(6) {
  width: 160px;
}

.payments-col:nth-child(6) .btn {
  min-width: 130px;
  max-width: 130px;
  height: 37px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin: 0 auto;
}

.popup2.popup_tabs {
  top: 10px;
  max-height: calc(100vh - 10px);
  overflow: auto;
}

.products .support-content {
  background-color: #190a31;
}

.products .support-content.user-support-block h1.page-title {
  color: #fff;
}

.products form#add-support-reply {
  background: linear-gradient(to right, #0d1b2a, #13263f);
}

.products .support-content .block-submit-btn-win {
  justify-content: flex-end;
}

.products .support-content.user-support-block form#add-support-reply textarea[name=message] {
  resize: none;
  border: 1px solid rgb(48, 94, 103);
}

.products .support-content .content-one-message {
  width: auto;
}

.products .support-content .one-message.User .content-one-message {
  width: auto;
}

.products .support-content .meta-one-message {
  justify-content: flex-start
}

.products .support-content .author-one-message {
  width: auto;
}

.products .support-content .info-one-message {
  width: auto;
  margin: 0 10px;
}

body .products {
  background: none;
}

body .white-bg {
  background: none;
  color: inherit;
}

body .faq-title {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid #fff;
  color: inherit;
}

body .faq-item,
body .faq-item p {
  color: inherit !important;
}

body .payments-block {
  color: inherit;
}

body .payments-table {
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px solid #fff;
}

body .payments-block .tabs .tab {
  color: inherit;
}

body .payments-block .tabs .tab.active {
  color: #333;
}

.mobile-menu .logo {
  max-width: 140px;
}

.mobile-menu .user-toppanel__item {
  justify-content: center;
  font-size: 18px;
}

.mobile-menu .auth {
  margin: 10px 0 5px;
}

.wager-scale {
  margin: 0 10px;
}

.wager-scale__title {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.wager-scale__wrap {
  width: 100%;
  height: 6px;
  background-color: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.wager-scale__inner {
  height: 100%;
  background: #45cb00;
}

.wager-scale__percent {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.profile .wager-scale {
  margin: 0;
  display: flex;
  align-items: center;
  max-width: 400px;
  width: 100%;
  padding: 0 25px 10px;
}

.profile .wager-scale__title,
.profile .wager-scale__percent {
  color: inherit;
  font-size: 16px;
}

.profile .wager-scale__wrap {
  height: 8px;
  margin: 0 12px;
}

.mobile-menu .wager-scale {
  display: flex;
  align-items: center;
  width: 100%;
  margin-left: 0;
  padding: 0 15px;
  margin-bottom: 10px;
}

.mobile-menu .wager-scale__wrap {
  height: 8px;
  margin: 0 12px;
}

.load-more,
.load-more-category {
  margin: 15px auto 0;
  background-color: #ef22af;
}

.game-modal .game.open-one {
  display: none;
}

.game-modal .game.open-this,
.game-modal.multi .game.open-this {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border: none;
}

.game-modal.full-sc .modal-game-name .open-fullsc {
  display: block;
}

.game-modal.multi .modal-game-name img {
  width: 17px;
  cursor: pointer;
}



/* JACKPOT CONFETTI */
#canvasConfetti {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 199;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  transition: opacity .3s, transform .3s;
}

#canvasConfetti.active {
  opacity: 1;
  transform: scale(1);
}

/* JACKPOT CONFETTI */

.popup2.jackpot-modal {
  transform: scale(0) translate(-50%, -49%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  width: 100%;
  max-width: 80%;
  text-transform: uppercase;
  font-weight: 700;
  background-color: #1e0b3f;
  box-shadow: none;
  font-size: 26px;
  overflow: hidden;
}

.popup2.jackpot-modal::after {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  right: 20px;
  left: 20px;
  border: 2px solid #f8e71c;
  pointer-events: none;
  z-index: 1;
}

.popup2.jackpot-modal::before {
  content: 'YOU WIN';
  position: absolute;
  z-index: -1;
  top: 20px;
  bottom: 20px;
  right: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5b20b2;
  opacity: .2;
  z-index: 0;
  pointer-events: none;
  font-size: 255px;
  line-height: 200px;
  font-weight: 900;
  animation-name: bg-animation;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
    text-align: center;
}

@keyframes bg-animation {
  0% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.2)
  }

  100% {
    transform: scale(1)
  }
}

.popup2.jackpot-modal.active {
  transform: scale(1) translate(-50%, -49%);
}

.jackpot-modal__summ {
  font-size: 128px;
  line-height: 145px;
  display: flex;
  align-items: flex-end;
  font-weight: 700;
  color: #f8e71c;
  position: relative;
  z-index: 2;
}

.jackpot-modal__value {
  margin-right: 10px;
}

.popup2.jackpot-modal .popup__close {
  background-color: #180932;
  box-shadow: none;
}

#canvasFireworks {
  position: absolute;
  opacity: .2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
}

.popup2.cashback-modal {
  padding: 40px 20px;
  background: linear-gradient(270deg, #421f87 0%, #7810af 100%);
  display: flex;
  align-items: center;
}

.popup2.cashback-modal svg {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.popup2.cashback-modal>span {
  position: relative;
  z-index: 4;
}

.popup2.cashback-modal::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 200px;
  top: 0;
  right: 0;
  background-image: url(../img/small-confetti.svg);
  background-size: cover;
  pointer-events: none;
  opacity: .7;
}

.popup2.cashback-modal .chasback-summ {
  margin-right: 5px;
}

.enter-pin {
  padding: 2px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.form-pin {
  display: flex;
  align-items: center;
}

.form-pin input {
  background-color: #141320;
}

.form-pin input:focus-vesible {
  outline: none;
  border: none;
}

.h-pin {
  width: 100%;
  text-align: left;
  margin-bottom: 10px;
}

.send-pin {
  padding: 16px 20px;
  margin: 0 20px;
  border-radius: 4px;
}

.the-content h1 {
  margin: 20px 0;
}

.bonus-panel {
  overflow: hidden;
    padding: 10px 5px;
}

.bonus-panel__action {
  width: auto;
  padding-top: 20px;
}

.bonus-panel__action.activated {
  display: none;
}

.bonus-panel__action.activated.active {
  display: table-cell;
}

.bonus-panel__action.deactivated {
  display: none;
}

.bonus-popup {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgb(0, 0, 0, .8);
}

.bonus-popup.active {
  display: flex;
}

.bonus-popup__title {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}

.bonus-popup__btns {
  margin-top: 12px;
  display: flex;
}

.bonus-popup__btns .btn+.btn {
  margin-left: 12px;
}

.bonus-panel__desc {
  display: flex;
  justify-content: space-between;
  height: calc(100% - 228px);
  gap: 20px;
}

#have_active_bonus.popup2 {
  position: fixed;
  z-index: 992;
  background: #202a39;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}

.bonus-panel__informer {
  font-size: 16px;
  margin-bottom: 15px;
}

.bonus-panel__title {
  margin-top: 0;
}

.main-providers {
  padding: 0 !important;
  font-size: 20px !important;
}

.main-providers .providers-title {
  padding: 0 5px;
}

/* SUPPORT */

.support-content__block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 66vh;
  background: linear-gradient(to right, #0d1b2a, #13263f);
}

.form-add-support {
  margin-top: 50px;
}

.message-history {
  display: flex;
  flex-direction: column;
  max-height: 500px;
  overflow: auto;
  background: linear-gradient(to right, #0d1b2a, #13263f);
}

.one-message {
  display: flex;
  flex-direction: column;
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
  background-color: linear-gradient(to right, #0d1b2a, #13263f);
  max-width: 300px;
  border: 1px solid #305E67;
}

.right-side-message {
  align-self: flex-end;
}

.left-side-message {
  align-self: flex-start;
}

.meta-one-message {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.author-one-message {
  display: flex;
  align-items: center;
}

.login-message {
  color: #fff;
  font-weight: bold;
}

.support-content .info-one-message {
  color: #fff;
  font-size: 12px;
}

.support-content .container-btn-more {
  display: none;
}

.text-one-message {
  color: #fff;
  font-weight: 500;
  text-align: justify;
}

.chat_textarea {
  font-size: 16px;
  padding: 20px;
  border-radius: 20px;
  background: linear-gradient(to right, #0d1b2a, #13263f);
  color: #fff;
  flex-grow: 1;
  border: none;
}

:focus-visible {
  outline: 0px;
}

.chat_textarea::placeholder {
  font-size: 16px;
  color: #fff;
}

.file_chat_left {
  height: 35px;
  max-width: 40px;
}

.file_chat_attachment {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  background: linear-gradient(to right, #0d1b2a, #13263f);
  border-radius: 20px;
}

.message_reply {
  margin-top: 30px;
}

.file_chat_attachment input {
  order: 0;
  margin-bottom: 0;
  box-shadow: none;
  pointer-events: none;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0;
}

.file_chat_attachment input:hover {
  box-shadow: none;
}

.file_chat_btn {
  font-size: 16px;
}
  
.file_chat_btn svg {
  display: none;
}

.file_chat_attachment input[type="file"]::file-selector-button {
  display: none;
}

.file_chat_attachment_icon {
  cursor: pointer;
  fill: #fff;
}

.file_chat_p {
  margin: 0 !important;
}

.popup2.jackpot-modal .popup__close svg {
  fill: white !important;
}

.bonuses-page {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bonuses-page .reg-btn {
  margin-left: 0;
}

.bonuses-page .bonus-panel__info {
  width: 100%;
}

.bonuses-page .bonus-panel__action {
  width: 100%;
  margin-left: 16px;
}

.alert-success {
  display: none;
}

.file_chat_btn {
  padding: 20px;
  border-radius: 20px;
}

/* SUPPORT */

.game-page-width+.container {
  margin-top: 35px !important;
}



/* HISTORY */

#history .tab__action-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.history__body {
  overflow: auto;
}

#history .tab__content-history {
  max-width: 900px;
  width: 100%;
}

#history .history__main {
  display: none;
}

#history .history__main.active {
  display: block;
}

#history .history__row {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
  background: #20212a;
  border-radius: 4px;
}

#history .history__row+.history__row {
  margin-top: 15px;
}

#history .history__cell {
  margin: 10px;
}

#history .history__cell span {
  color: #858585;
}

/* HISTORY */


.another-win-jackpot {
  position: fixed;
  top: -60px;
  right: 0;
  width: 100%;
  background-color: #ef21af;
  padding: 20px 30px;
  transition: top .3s;
  z-index: 9;
  text-align: right;
}

.another-win-jackpot.active {
  top: 110px;
}

.another-win-jackpot span {
  font-weight: 700;
  font-size: 17px;
}

.another-win-jackpot br {
  display: none;
}

.game-page__footer {
  display: flex;
  align-items: center;
}

.game-page__footer .btn+.btn {
  margin-left: 15px;
}

.game-preview__btn-star.star.favorite.in_favorites svg {
  fill: #ffb319;
}

.payment__select_block__item label {
    margin-bottom: 10px;
}

.payment__select_block__item .payment__select {
    background-image: url(../img/svg/arrow-down-black1.svg);
    background-repeat: no-repeat;
    background-position: center right 15px;
}

.form-pin input:focus {
     border: 1px solid #ff6032;
}

.games-block {
    display: flex;
    flex-wrap: wrap;
}


@media only screen and (min-width: 1921px) {
  .game-page-width {
    max-width: 80%;
  }
}

@media only screen and (min-width: 3400px) {
  .game-page-width {
    max-width: 60%;
  }
}

@media only screen and (min-width: 1199px) {
  header .mobile {
    display: none;
  }
}

@media only screen and (max-width: 1199px) {
  header .desctop {
    display: none;
  }

  header .mobile {
    display: flex;
    align-items: center;
  }

  header .menu {
    width: 55px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  header .menu img {
    height: 30px;
  }

  header .auth:not(.summ) {
    margin-left: auto;
  }

  .button-scroll-top {
    bottom: 45px;
    right: 15px;
  }

  header .mobile .dep,
  header .mobile .reg {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 34px;
    padding: 0 10px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
    border-radius: 100px;
    cursor: pointer;
    margin-left: 8px;
    white-space: nowrap;
    min-width: 0;
    flex: 0 1 auto;
  }

  header .mobile .dep {
    border: 1px solid #ef22af;
    background-color: #ef22af;
  }

  header .mobile .reg {
    border: 1px solid #45cb00;
    background-color: #45cb00;
  }
  .mobile-block-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    background-color: rgba(0, 0, 0, 0.7);
  }

  .mobile-block-menu.active {
    display: block;
  }

  .mobile-menu {
    background-color: #0E182CF0;
    width: 280px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    max-height: 100vh;
    overflow: auto;
  }

  .mobile-menu .buttons {
    width: 100%;
    padding: 20px 10px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #0d1b2a, #13263f);
    text-align: center;
  }

  .mobile-menu .buttons .logo {
    width: calc(100% - 20px);
    margin: 0 auto 20px;
  }

  .mobile-menu .buttons .btn {
    line-height: 40px;
    color: #fff;
    border: 1px solid #ef22af;
    background: #ef22af;
  }

  .mobile-menu .buttons .btn.green {
    border: solid 1px #45cb00;
    background: #45cb00;
  }

  .mobile-menu .buttons .btn+.btn {
    margin-top: 10px;
  }

  .mobile-menu .link {
    display: flex;
    align-items: center;
    padding: 0 15px;
    line-height: 40px;
    width: 100%;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
  }

  .mobile-menu .link:hover {
    background-color: #2e1a55;
  }

  .mobile-menu .link:last-of-type {
    margin-bottom: 20px;
  }

  .mobile-menu .link img {
    width: 20px;
    margin-right: 15px;
  }

  .mobile-menu .link.list {
    flex-direction: column;
    padding: 0;
    margin-bottom: 20px;
  }

  .mobile-menu .link.list .title {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
  }

  .mobile-menu .link.list .title img {
    height: 20px;
  }

  .mobile-menu .link.list .title .arrow {
    margin-left: auto;
    margin-right: 0;
    height: 7px;
  }

  .mobile-menu .link.list ul {
    width: 100%;
    height: 0;
    overflow: hidden;
    margin: 0;
    background-color: rgba(25, 9, 49, 0.4);
  }

  .mobile-menu .link.list ul a {
    padding-left: 50px;
  }

  .mobile-menu .link.list ul.active {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .mobile-menu .download {
    line-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 13px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
  }

  .mobile-menu .download:hover {
    background-color: #2e1a55;
  }

  .mobile-menu .download img {
    width: 20px;
    margin-right: 15px;
  }

  .mobile-menu .chat {
    line-height: 40px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    font-size: 13px;
    color: #00fdfc;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
  }

  .mobile-menu .chat:hover {
    background-color: #2e1a55;
  }

  .mobile-menu .chat img {
    width: 20px;
    margin-right: 15px;
  }

  .mobile-menu .language {
    display: flex;
    align-items: center;
    padding: 0 8px;
    cursor: pointer;
    position: relative;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    min-width: 0;
    width: calc(100% - 20px);
    max-width: 100%;
    box-sizing: border-box;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    margin: auto 10px 20px;
  }

  .mobile-menu .language .lang-img {
    width: 22px;
    height: 22px;
    margin-right: 8px;
  }
  .mobile-menu .language .arrow {
    height: 7px;
    margin-left: auto;
    transform: rotate(-90deg);
  }

  .mobile-menu .language-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: inherit;
    bottom: 0;
    background-color: #0e182c;
      width: 280px;
      overflow: auto;
  }

  .mobile-menu .language-popup.active {
    display: flex;
  }

  .mobile-menu .language-popup ul {
    width: 100%;
  }

  .mobile-menu .language-popup li {
    display: flex;
    align-items: center;
    padding: 0 20px;
    line-height: 40px;
    cursor: pointer;
  }

  .mobile-menu .language-popup li a {
    width: 100%;
  }

  .mobile-menu .language-popup li.back {
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    padding: 0 20px;
    color: #fff;
    cursor: pointer;
    line-height: 50px;
    background: linear-gradient(to right, #0d1b2a, #13263f);  
  }

  .mobile-menu .language-popup li:not(.back):hover {
    background-color: #3d1d4d;
  }

  .mobile-menu .language-popup li img {
    margin-right: 15px;
    width: 23px;
    border-radius: 50%;
    margin-top: 8px;
  }
}

@media only screen and (max-width: 991px) {

  .game-modal {
    width: 100%;
    padding-top: 56%;
  }


    .form-block {
      max-width: 100%;
    }
    
  .jackpot-modal__summ {
    font-size: 92px;
  }

  .nominations-wrap {
    flex-direction: column;
    text-align: center;
  }

  .nominations .coin {
    margin: 20px 0;
  }

  .nominations .medals {
    width: 100%;
    flex-wrap: wrap;
      padding: 10px 5px 5px;
  }

  .nominations .medals img {
      margin-bottom: 5px;
  }

  .footer-block {
    /* flex-wrap: wrap; */
    justify-content: space-around;
  }

  .footer-list {
    width: 40%;
  }

  .popup .close {
    top: 15px;
    right: 15px;
    width: 17px;
    height: 17px;
    padding: 0;
    z-index: 2;
  }

  .popup-block {
    width: calc(100% - 30px);
  }

  .popup-block .form-block {
    padding: 15px 0;
  }

  .popup-block .form-block .check-block {
    font-size: 12px;
  }

  .reg .popup-block .r-col {
    padding: 20px 15px;
    overflow-y: auto;
    max-height: 80vh;
    justify-content: flex-start;
  }

  .reg .popup-block .l-col {
    display: none;
  }

  .reg .popup-block .l-col.mobile {
    display: flex;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  .reg .popup-block .l-col.mobile .text-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .reg .popup-block .l-col.mobile .text-block .block {
    text-align: left;
  }

  .reg .popup-block .l-col.mobile img {
    width: 40%;
  }

  .reg .popup-block .l-col.mobile .text {
    font-size: 18px;
  }

  .reg .popup-block .l-col.mobile .text span {
    font-size: 26px;
  }

  .reg .popup-block .l-col.mobile .title {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 15px;
  }

  .reg .popup-block .bonuses-groop.mobile {
    display: flex;
  }

  .reg .popup-block .bonuses-groop.mobile span {
    font-size: 8px;
    bottom: 0;
  }

  .faq-item {
    max-height: 70px;
  }

  .faq-item b {
    height: 70px;
    font-size: 14px;
  }
}

@media (max-width: 828px) {

  .sub-header .swiper-button-next.swiper-button-disabled,
  .sub-header .swiper-button-prev.swiper-button-disabled {
    display: block;
  }
}

@media only screen and (max-width: 767px) {

    .pay-tooltip__number,
    .pay-tooltip__input,
    .pay-tooltip__system {
        flex-wrap: wrap;
    }
    
    .pay-tooltip__input .input__inner {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

  .another-win-jackpot br {
    display: block;
  }

  .chat_textarea {
    width: 40%;
  }

  .file_chat_left {
    margin-left: auto;
  }
  
  .file_chat_btn.btn.btn-success {
    font-size: 0;
    color: rgba(0,0,0,0);
    background: none;
    border: none;
    min-width: inherit;
    padding: 0;
    margin-right: 20px;
    line-height: normal;
    border-radius: 0;
  }
  
  .file_chat_btn svg {
    display: block;
    width: 30px;
    height: 30px;
    fill: #fff;
  }
  
  .file_chat_btn path {
    fill: #fff;
  }

  .bonus-panel__desc {
    flex-direction: column;
  }

  .bonus-popup__btns {
    flex-direction: column;
  }

  .bonus-popup__btns .btn+.btn {
    margin-left: 0;
    margin-top: 15px;
  }

  .bonus-panel__action {
    padding-right: 0;
  }

  .enter-pin {
    padding: 2px 15px;
  }

  .form-pin {
    flex-direction: column;
    width: 100%;
  }

  .form-pin input {
    width: 100%;
  }

  .reply-pin-block {
    width: 100%;
  }

  .send-pin {
    width: 100%;
    margin: 15px 0;
  }

  #canvasConfetti.active {
    opacity: 0;
  }

  .popup2.jackpot-modal.active {
    transform: scale(1) translate(0, 0);
    right: 0;
    bottom: 0;
    max-width: 100%;
    background-color: rgba(18, 7, 37, .6);
    padding: 30px;
    text-align: center;
  }

  .popup2.jackpot-modal .popup__close {
    background-color: #231143;
  }

  .popup2.jackpot-modal::before {
    opacity: .2;
    line-height: 197px;
  }

  .jackpot-modal__summ {
    font-size: 45px;
    line-height: 90px;
  }

  .profile-info__title {
    padding: 27px 74px 21px 25px;
    text-align: left;
  }

  .profile-info__action {
    top: 14px;
  }

  .profile-info__icon {
    top: 10px;
  }


  .rating__caption_value {
    display: inline-block;
    margin-inline-start: 6px;
    direction: ltr;
    unicode-bidi: plaintext;
  }

  html[lang="he"] .rating__caption.is-rtl .rating__caption_value {
    margin-inline-start: 8px;
    margin-inline-end: 0;
  }

  .popup2.popup_tabs {
    max-height: 100%;
    height: 100%;
    top: 0;
  }

  .popup.search .container {
    max-width: 100%;
  }

  .popup.search .popup-block {
    margin-top: 0;
    padding: 0;
  }

  .popup.search .popup-block {
    width: 100%;
  }

  .popup.search .search-field {
    background: #0E182CF0;
    border: 0;
    border-radius: 0;
    padding: 0 65px 0 20px;
  }

  .popup.search .search-field input {
    border: none;
    padding: 0;
    background-image: none;
    height: 60px;
  }

  .popup.search ul {
    background-color: inherit;
    margin-top: 0;
  }

  .popup.search li img {
    max-width: 60px;
    max-height: 60px;
  }

  .payments-heading {
    display: none;
  }

  .mobile-payments {
    max-width: 100%;
  }

  .payments-table {
    box-shadow: none;

  }

  .payments-row {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    box-shadow: 0 0 15px rgb(227 233 242 / 60%);
    border-radius: 8px;
    margin-bottom: 30px;
  }

  .payments-row+.payments-row {
    border-top: none;
  }

  .payments-col:nth-child(1),
  .payments-col:nth-child(2),
  .payments-col:nth-child(3),
  .payments-col:nth-child(4),
  .payments-col:nth-child(5),
  .payments-col:nth-child(6) {
    max-width: 100%;
    width: 100%;
  }

  .payments-col {
    text-align: right;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 15px;
  }

  .payments-col+.payments-col {
    border-top: solid 1px #f1f4fa;
  }

  .payments-col:nth-child(1) {
    justify-content: flex-end;
    height: 56px;
  }

  .payments-col:nth-child(1)::before,
  .payments-col:nth-child(3)::before,
  .payments-col:nth-child(4)::before,
  .payments-col:nth-child(5)::before {
    content: attr(data-title);
    margin-right: auto;
    color: #91a0b8;
    width: 45%;
    font-weight: 700;
    text-align: left;
  }

  .payments-col:nth-child(2) {
    display: none;
  }

  .payments-col:nth-child(3) {}

  .payments-col:nth-child(4) {}

  .payments-col:nth-child(5) {}

  .payments-col:nth-child(6) {
    height: 86px;
    display: flex;
    -ms-align-items: center;
    align-items: center;
  }

  .payments-col:nth-child(6) .btn {}
}

@media only screen and (max-width: 660px) {
  .statstable tbody {
    display: flex;
    justify-content: center;
  }

  .statstable tbody tr {
    flex-direction: column;
    align-items: flex-start;
  }

  .statstable th+th {
    border-left: none;
    font-size: 12px;
  }

  .statstable th {
    font-size: 12px;
  }

  .statstable td {
    flex: none;
    font-size: 12px;
  }
}

@media only screen and (max-width: 575px) {
    .jackpot-modal__summ {
        font-size: 60px;
        line-height: 65px;
        display: inline-block;
    }
    .popup2.jackpot-modal {
        padding: 0px 30px;
        text-align: center;
    }
    .payitem {
        width: calc((100% / 2) - 8px);
    }
    
  .jackpot-block .summ {
    font-size: 40px;
  }

  .footer-list {
    width: 100%;
  }

  .footer-list li {
    justify-content: flex-start;
  }

  .footer-list>li:nth-child(1) {
    line-height: 48px;
    position: relative;
  }

  .footer-list:not(:first-child):not(:last-child)>li:nth-child(1)::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 26px;
    font-weight: 300;
  }

  .footer-list:not(:first-child):not(:last-child).active>li:nth-child(1)::after {
    content: '-';
    font-size: 48px;
  }

  .footer-list:not(:first-child):not(:last-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-height: 48px;
    overflow: hidden;
    padding: 0 10px;
    margin-bottom: 0;
    transition: .5s;
  }

  .footer-list:not(:first-child):not(:last-child).active {
    max-height: 350px;
  }

  .footer-list>li a img {
    margin-right: 30px;
  }

  .providers-block {
    flex-direction: column;
    -ms-align-items: flex-start;
    align-items: flex-start;
  }

  .providers-add {
    padding-top: 20px;
  }

  .side-pannel {
    display: none;
  }

  .game-modal {
    padding-top: 56%;
    height: auto;
  }

  .chat_textarea::placeholder {
    font-size: 12px;
  }

  .file_chat_btn {
    padding: 27px 8px;
    font-size: 13px;
  }
}

@media screen and (max-width: 510px) {
  .chat_textarea {
    width: 40%;
  }

  .file_chat_attachment_icon {
    width: 24px;
  }
}

@media (max-width: 480px) {
  header .mobile .auth.summ {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    margin-left: 6px;
    min-width: 0;
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    line-height: 30px;
    flex: 0 1 auto;
  }

  header .mobile .dep,
  header .mobile .reg {
    padding: 0 8px;
    margin-left: 6px;
    font-size: 11px;
    line-height: 30px;
  }

    header a.logo img,
    header .logo img,
    a.logo img {
        height: 30px !important;
        max-height: 30px !important;
        width: auto !important;
        max-width: 140px !important;
    }
}


/* remake */

.banner-remake {
  padding: 0 12%;
}

@media (max-width: 480px) {
  .banner-remake {
    padding: 0;
  }
}


.popup__advice.js-phone-confirmation-resend-wrap {
  position: absolute;
    width: 100%;
    left: 0;
}
    
.phone-field_with-prefix .phone-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  padding: 6px 18px;
  border-radius: 25px;
  border: 1px solid transparent;
  background: #fff;
  transition: border .2s ease;
}

.phone-field_with-prefix .phone-prefix {
  flex: 0 0 auto;
  color: #8f96a3;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.form-block .phone-field_with-prefix .field.phone {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  padding: 0;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-field_with-prefix .phone-example {
  display: none;
  margin-top: 6px;
  margin-inline-start: 20px;
  color: #ef23af;
  font-size: 12px;
  line-height: 1.3;
  text-align: start;
}

.phone-field_with-prefix .error-text {
  display: none;
  margin-top: 8px;
  margin-inline-start: 20px;
  margin-inline-end: 20px;
  color: #ef23af;
  font-size: 12px;
  line-height: 1.3;
  text-align: start;
  word-break: break-word;
}

.form-block .field-block.error .phone-example,
.form-block .field-block.error .phone-field_with-prefix .error-text,
.form-block .phone-field_with-prefix.error .error-text {
  display: block;
}

.form-block .phone-field_with-prefix.error .phone-input-wrap {
  border-color: #ef23af;
}

.phone-field_with-prefix .phone-input-wrap:focus-within {
  border-color: #f8e71c;
}

@media only screen and (max-width:767px) {
  .phone-field_with-prefix .phone-input-wrap {
    gap: 8px;
    padding: 6px 14px;
  }

  .phone-field_with-prefix .phone-prefix {
    font-size: 16px;
  }
}

/* Hebrew-only cashier RTL fixes (test/staging) */
html[lang="he"] #cabinet-modal .tab__close {
  left: 26px;
  right: auto;
}

html[lang="he"] #cabinet-modal #payment-tab .payment__row-inner,
html[lang="he"] #cabinet-modal #withdraw-tab .payment__row-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  text-align: right;
}

html[lang="he"] #cabinet-modal #payment-tab .payment__item,
html[lang="he"] #cabinet-modal #withdraw-tab .payment__item {
  margin: 8px 0 8px 15px;
}

html[lang="he"] #cabinet-modal #payment-tab .payment__tooltip,
html[lang="he"] #cabinet-modal #withdraw-tab .payment__tooltip {
  margin: 4px 0 30px auto;
}

html[lang="he"] #cabinet-modal #payment-tab .payment__tooltip_inner,
html[lang="he"] #cabinet-modal #withdraw-tab .payment__tooltip_inner,
html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip {
  direction: rtl;
  text-align: right;
}

html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip:after,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip:after,
html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip.left:after,
html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip.right:after,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip.left:after,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip.right:after {
  left: 84%;
  right: auto;
  margin-left: -24px;
}

html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip__number,
html[lang="he"] #cabinet-modal #payment-tab > .pay-tooltip > .pay-tooltip__input,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip__number,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip > .pay-tooltip__input {
  text-align: right;
}

html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip__input .input__inner,
html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip__number_inner,
html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip__phone_inner,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip__input .input__inner,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip__number_inner,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip__phone_inner {
  margin-left: 0;
  margin-right: 12px;
  text-align: right;
}

html[lang="he"] #cabinet-modal #payment-tab .enter-pin {
  justify-content: flex-end;
  text-align: right;
}

html[lang="he"] #cabinet-modal #payment-tab .h-pin {
  text-align: right;
}

html[lang="he"] #cabinet-modal .cash-support-links1 {
  justify-content: center;
}
html[lang="he"] #cabinet-modal .payment__select_block__item .payment__select {
  background-position: center left 15px;
  padding-left: 40px;
  padding-right: 12px;
}


@media only screen and (max-width:767px) {
  html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip:after,
  html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip:after,
  html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip.left:after,
  html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip.right:after,
  html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip.left:after,
  html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip.right:after {
    left: 82%;
    right: auto;
    margin-left: -18px;
  }
}

/* Hebrew-only cashier RTL layout refinement (test/staging) */
html[lang="he"] #cabinet-modal > .tab > .tab__action {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-start;
}

html[lang="he"] #cabinet-modal .tab_style_button > .tab__action {
  display: flex;
  justify-content: flex-end;
}

html[lang="he"] #cabinet-modal #payment-tab .payment__tooltip_inner,
html[lang="he"] #cabinet-modal #withdraw-tab .payment__tooltip_inner {
  display: flex;
  justify-content: flex-end;
}

html[lang="he"] #cabinet-modal #payment-tab .pay-tooltip,
html[lang="he"] #cabinet-modal #withdraw-tab .pay-tooltip {
  margin-left: auto;
  margin-right: 0;
}

.payitem__bonus-badge {
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin: 6px auto 4px 0;
    margin-left: 0;
    margin-right: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: #3fcf4c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

html[lang="he"] #cabinet-modal .payitem__bonus-badge {
    text-transform: none;
}

html[lang="he"] #cabinet-modal .pay-limits {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.payitem_static {
  cursor: default;
}

.payitem_static .payitem__img img {
  max-width: calc(100% - 20px);
  max-height: 72px;
  object-fit: contain;
}

.payitem__placeholder {
  display: inline-block;
  color: #0f6f93;
  font-size: 32px;
  line-height: .92;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  .payitem__placeholder {
    font-size: 24px;
  }
}

.payitem__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb14b 0%, #ff6b2c 100%);
  color: #fff;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  margin-top: 4px;
}
html[lang="he"] #cabinet-modal .payitem__badge {
  direction: rtl;
  unicode-bidi: plaintext;
  text-align: right;
}

@media only screen and (max-width: 767px) {
  .payitem__badge {
    display: flex;
    width: 100%;
    font-size: 10px;
    padding: 4px 8px;
  }
}

.pay-tooltip__summ_exchange {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 620px;
}

.pay-tooltip__exchange {
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(160px, auto);
  gap: 10px 14px;
  align-items: center;
}

.pay-tooltip__exchange-field {
  display: contents;
  margin: 0;
}

.pay-tooltip__exchange-field .pay-tooltip__title {
  max-width: 320px;
  color: #4a4a4a;
  font-size: 13px;
  line-height: 1.3;
}

.pay-tooltip__exchange-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.pay-tooltip__exchange-field .input__inner {
  width: 136px;
  min-width: 136px;
}

.pay-tooltip__currency-note {
  color: #777;
  font-size: 12px;
  line-height: 1.2;
}

.pay-tooltip__currency-text {
  color: black;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.pay-tooltip__exchange-note {
  max-width: 560px;
  color: #666;
  font-size: 12px;
  line-height: 1.35;
}

@media only screen and (max-width: 767px) {
  .pay-tooltip__summ_exchange {
    max-width: 100%;
    width: 100%;
  }

  .pay-tooltip__exchange {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .pay-tooltip__exchange-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
  }

  .pay-tooltip__exchange-field .pay-tooltip__title,
  .pay-tooltip__exchange-note {
    max-width: 100%;
  }

  .pay-tooltip__exchange-input {
    width: 100%;
    flex-wrap: wrap;
    margin: 0;
  }

  .pay-tooltip__exchange-field .input__inner {
    width: 100%;
    min-width: 0;
  }
}



.pay-in-button {
  position: static!important;
  margin: 0 auto;
}

@media only screen and (max-width: 575px) {
  #cabinet-modal .payment__row-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  #cabinet-modal .payment__item.payitem {
    width: auto;
    margin: 0;
    min-width: 0;
  }

  #cabinet-modal .payment__item.payitem .payitem__img {
    height: 86px;
  }

  #cabinet-modal .payment__item.payitem .payitem__footer {
    padding: 8px 6px 7px;
  }

  #cabinet-modal .payment__item.payitem .payitem__note {
    font-size: 10px;
    line-height: 12px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  #cabinet-modal .payment__item.payitem .payitem__note_small {
    font-size: 11px;
    line-height: 13px;
  }

  #cabinet-modal .payment__item.payitem .payitem__badge {
    font-size: 8px;
    padding: 3px 5px;
    line-height: 1.05;
    white-space: normal;
  }
}
@media only screen and (max-width: 575px) {
  #cabinet-modal .payment__row-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  #cabinet-modal .payment__item.payitem {
    width: auto;
    margin: 0;
    min-width: 0;
  }

  #cabinet-modal .payment__item.payitem .payitem__img {
    height: 86px;
  }

  #cabinet-modal .payment__item.payitem .payitem__footer {
    padding: 8px 6px 7px;
  }

  #cabinet-modal .payment__item.payitem .payitem__note {
    font-size: 10px;
    line-height: 12px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  #cabinet-modal .payment__item.payitem .payitem__note_small {
    font-size: 11px;
    line-height: 13px;
  }

  #cabinet-modal .payment__item.payitem .payitem__badge {
    font-size: 8px;
    padding: 3px 5px;
    line-height: 1.05;
    white-space: normal;
  }
}

/* Cabinet redesign bridge: keep production payment data and handlers, replace legacy card presentation. */
#cabinet-modal .tab-remake__content,
#cabinet-modal .tab-remake__items {
  box-sizing: border-box !important;
  width: 100% !important;
}

#cabinet-modal .tab-remake__items {
  max-width: 315px !important;
}

#cabinet-modal .payment__gallery,
#cabinet-modal .payment-form,
#cabinet-modal .payment__row,
#cabinet-modal .payment__row-inner {
  width: 100% !important;
  max-width: 315px !important;
  box-sizing: border-box !important;
}

#cabinet-modal .payment__row-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 auto !important;
}

#cabinet-modal .payment__item.payitem {
  position: relative !important;
  display: flex !important;
  flex: 0 0 50px !important;
  align-items: stretch !important;
  width: min(100%, 315px) !important;
  height: 50px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #305e67 !important;
  border-radius: 20px !important;
  background: linear-gradient(249deg, rgba(43, 95, 123, .2) -18.83%, rgba(25, 56, 69, .2) 50.82%, rgba(33, 94, 109, .2) 120.31%) !important;
  box-shadow: none !important;
}

#cabinet-modal .payment__item.payitem:hover,
#cabinet-modal .payment__item.payitem.active {
  border-color: #fff !important;
}

#cabinet-modal .payment__item.payitem > svg {
  display: none !important;
}

#cabinet-modal .payment__item.payitem .payitem__img {
  display: flex !important;
  flex: 0 0 108px !important;
  align-items: center !important;
  justify-content: center !important;
  width: 108px !important;
  height: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

#cabinet-modal .payment__item.payitem .payitem__img_inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

#cabinet-modal .payment__item.payitem .payitem__img img {
  width: auto !important;
  max-width: 92px !important;
  height: auto !important;
  max-height: 38px !important;
  object-fit: contain !important;
}

#cabinet-modal .payment__item.payitem .payitem__footer {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 3px 10px !important;
  border-left: 2px solid rgba(111, 173, 214, .36) !important;
  background: transparent !important;
  box-shadow: none !important;
}

#cabinet-modal .payment__item.payitem .payitem__note {
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 15px !important;
  text-align: left !important;
  text-shadow: none !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

#cabinet-modal .payment__item.payitem .payitem__note_small {
  color: var(--text-grey-color, #a9b9c6) !important;
  font-size: 11px !important;
  line-height: 12px !important;
}

#cabinet-modal .payment__item.payitem .payitem__bonus-badge,
#cabinet-modal .payment__item.payitem .payitem__badge {
  max-width: 100% !important;
  margin: 2px 0 0 !important;
  padding: 1px 7px !important;
  border-radius: 999px !important;
  font-size: 9px !important;
  line-height: 12px !important;
  white-space: nowrap !important;
}

#cabinet-modal .payment__item.payitem .payitem__placeholder {
  max-width: 100% !important;
  color: #1680a5 !important;
  font-size: 28px !important;
  line-height: .84 !important;
}

#cabinet-modal .enter-pin {
  width: 100% !important;
  max-width: 315px !important;
  margin: 12px auto 0 !important;
}

#cabinet-modal .enter-pin .h-pin {
  display: block !important;
  margin: 0 0 4px 5px !important;
  color: var(--text-grey-color, #a9b9c6) !important;
  font-size: 14px !important;
  text-align: left !important;
}

#cabinet-modal .enter-pin .form-pin {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  width: 100% !important;
}

#cabinet-modal .enter-pin #form-pin {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 40px !important;
  border: 1px solid #305e67 !important;
  border-radius: 20px !important;
  background: rgba(43, 95, 123, .2) !important;
}

#cabinet-modal .enter-pin .send-pin {
  flex: 0 0 112px !important;
  min-width: 0 !important;
  height: 40px !important;
  padding: 10px 8px !important;
  border-radius: 20px !important;
  background: linear-gradient(83deg, #174242 -29.6%, #1e3257 130.73%) !important;
  color: #fff !important;
  text-align: center !important;
}

#cabinet-modal .cash-support-links1 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 315px !important;
  margin: 21px auto 0 !important;
}

@media (max-width: 575px) {
  #cabinet-modal .tab-remake__items,
  #cabinet-modal .payment__gallery,
  #cabinet-modal .payment-form,
  #cabinet-modal .payment__row,
  #cabinet-modal .payment__row-inner,
  #cabinet-modal .enter-pin,
  #cabinet-modal .cash-support-links1 {
    max-width: min(315px, calc(100vw - 32px)) !important;
  }

  #cabinet-modal .payment__item.payitem {
    width: 100% !important;
  }

  #cabinet-modal .payment__item.payitem .payitem__img {
    flex-basis: 108px !important;
  }

  #cabinet-modal .payment__item.payitem .payitem__note {
    font-size: 15px !important;
    line-height: 17px !important;
  }
}

/* Cabinet redesign shell: keep the production DOM and handlers inside the main-branch geometry. */
#cabinet-modal.popup_tabs {
  box-sizing: border-box !important;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 220 !important;
  width: min(480px, calc(100vw - 24px)) !important;
  max-width: none !important;
  height: auto !important;
  max-height: calc(100vh - 24px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  transform: translate(-50%, -50%) !important;
  border-radius: 18px !important;
  background: #0a0e22 !important;
}

#cabinet-modal > .tab.tab-remake {
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 0 16px 24px !important;
  background: #0a0e22 !important;
}

#cabinet-modal > .tab.tab-remake > .tab__content {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
}

#cabinet-modal .tab-remake__action {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 3px !important;
  border: 2px solid rgba(111, 173, 214, .36) !important;
  border-radius: 22px !important;
  background: #0d1b2a !important;
  box-shadow: inset 0 1px 0 rgba(61, 68, 75, .35) !important;
}

#cabinet-modal > .tab.tab-remake > .tab-remake__action {
  width: min(450px, 100%) !important;
}

#cabinet-modal .tab-remake__item {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 0 !important;
  height: 42px !important;
  padding: 0 18px !important;
  border: 2px solid transparent !important;
  border-radius: 18px !important;
  color: #a9b9c6 !important;
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

#cabinet-modal .tab-remake__item_active_blue-gradient,
#cabinet-modal .tab-remake__item.tab__item_active {
  color: #fff !important;
  background: linear-gradient(90deg, #3c79a0, #6fadd6) !important;
  border-color: rgba(111, 173, 214, .36) !important;
}

#cabinet-modal .tab-remake__action_small {
  width: fit-content !important;
  margin: 17px auto 0 !important;
}

#cabinet-modal .tab-remake__action_small .tab-remake__item {
  height: 34px !important;
  padding: 0 14px !important;
  font-size: 13px !important;
}

#cabinet-modal .tab-remake-cashier,
#cabinet-modal .tab-remake-cashier__content,
#cabinet-modal .tab_style_button,
#cabinet-modal .tab_style_button > .tab__content {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
}

#cabinet-modal .tab-remake-cashier .tab-remake {
  position: static !important;
}

#cabinet-modal .tab-remake__logo-container {
  display: block !important;
  max-width: 101px !important;
  margin: 14px auto 18px !important;
}

#cabinet-modal .tab-remake__logo-container img,
#cabinet-modal .tab-remake__logo-container svg {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 52px !important;
  object-fit: contain !important;
}

#cabinet-modal .tab-remake__close {
  position: absolute !important;
  top: 18px !important;
  right: 18px !important;
  z-index: 5 !important;
  width: 18px !important;
  height: 18px !important;
  margin: 0 !important;
  cursor: pointer !important;
}

#cabinet-modal .tab-remake__close::before,
#cabinet-modal .tab-remake__close::after {
  background: #a9b9c6 !important;
}

@media (max-width: 575px) {
  #cabinet-modal.popup_tabs {
    top: 8px !important;
    bottom: 8px !important;
    width: calc(100vw - 16px) !important;
    max-height: none !important;
    transform: translateX(-50%) !important;
    border-radius: 14px !important;
  }

  #cabinet-modal > .tab.tab-remake {
    padding-right: 10px !important;
    padding-left: 10px !important;
  }

  #cabinet-modal .tab-remake__item {
    padding-right: 12px !important;
    padding-left: 12px !important;
    font-size: 14px !important;
  }
}

/* Keep the existing tab controller in charge of cashier/profile/history visibility. */
#cabinet-modal > .tab > .tab__content > #cashier {
  height: 0 !important;
  overflow: hidden !important;
}

#cabinet-modal > .tab > .tab__content > #cashier.active {
  height: auto !important;
  overflow: visible !important;
}

#cabinet-modal > .tab > .tab__content > #profile,
#cabinet-modal > .tab > .tab__content > #history {
  overflow: auto !important;
}

#cabinet-modal > .tab > .tab__content > #profile:not(.active),
#cabinet-modal > .tab > .tab__content > #history:not(.active) {
  height: 0 !important;
  overflow: hidden !important;
}

/* Keep outer cabinet tabs mutually exclusive. */
#cabinet-modal > .tab > .tab__content > #cashier:not(.active),
#cabinet-modal > .tab > .tab__content > #profile:not(.active),
#cabinet-modal > .tab > .tab__content > #history:not(.active) {
  display: none !important;
}

#cabinet-modal > .tab > .tab__content > #cashier.active,
#cabinet-modal > .tab > .tab__content > #profile.active,
#cabinet-modal > .tab > .tab__content > #history.active {
  display: block !important;
  height: auto !important;
  overflow: visible !important;
}

/* Final cashier alignment: neutralize legacy RTL offsets without changing handlers. */
#cabinet-modal .payment__row,
#cabinet-modal .payment__row-inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 315px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

#cabinet-modal .payment__row-inner {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
}

#cabinet-modal .payment__item.payitem {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 315px !important;
  margin: 0 !important;
}

@media (max-width: 575px) {
  #cabinet-modal .payment__row,
  #cabinet-modal .payment__row-inner,
  #cabinet-modal .payment__item.payitem {
    max-width: min(315px, calc(100vw - 32px)) !important;
  }
}

/* Figma tab geometry: fixed design size with responsive mobile cap. */
#cabinet-modal .tab-remake__action:not(.tab-remake__action_small) {
  box-sizing: border-box !important;
  display: flex !important;
  width: 315px !important;
  max-width: 100% !important;
  height: 45px !important;
  padding: 3px !important;
  border: 2px solid rgba(111, 173, 214, .36) !important;
  border-radius: 22px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.68%, rgba(25, 56, 69, .2) 50.66%, rgba(33, 94, 109, .2) 118.85%) !important;
}

#cabinet-modal .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item {
  flex: 1 1 0 !important;
  width: auto !important;
  height: 37px !important;
  padding: 0 8px !important;
  border: 1px solid transparent !important;
  border-radius: 18px !important;
}

#cabinet-modal .tab-remake__action_small {
  box-sizing: border-box !important;
  display: flex !important;
  width: 185px !important;
  max-width: 100% !important;
  height: 40px !important;
  padding: 3px !important;
  border: 2px solid rgba(111, 173, 214, .36) !important;
  border-radius: 20px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, .2) -17.68%, rgba(25, 56, 69, .2) 50.66%, rgba(33, 94, 109, .2) 118.85%) !important;
}

#cabinet-modal .tab-remake__action_small > .tab-remake__item {
  flex: 1 1 0 !important;
  width: auto !important;
  height: 32px !important;
  padding: 0 8px !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
}

#cabinet-modal .tab-remake__action .tab-remake__item_active,
#cabinet-modal .tab-remake__action .tab-remake__item_active_blue-gradient {
  border-color: rgba(111, 173, 214, .36) !important;
}

@media (max-width: 575px) {
  #cabinet-modal .tab-remake__action:not(.tab-remake__action_small) {
    width: min(315px, calc(100vw - 32px)) !important;
  }

  #cabinet-modal .tab-remake__action_small {
    width: min(185px, calc(100vw - 80px)) !important;
  }
}

/* Figma lower switch: stable common track and active item colors. */
#cabinet-modal #cashier .tab_style_button > .tab__action,
#cabinet-modal #cashier .tab_style_button > .tab__action.tab-remake__action_small {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 185px !important;
  min-width: 185px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 3px !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 2px solid rgba(111, 173, 214, 0.36) !important;
  border-radius: 20px !important;
  background: linear-gradient(248.82deg, rgba(43, 95, 123, 0.2) -17.68%, rgba(25, 56, 69, 0.2) 50.66%, rgba(33, 94, 109, 0.2) 118.85%) !important;
  box-shadow: none !important;
}
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item {
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 88px !important;
  height: 31px !important;
  min-height: 31px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item.active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item.tab__item_active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item.active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item.tab-remake__item_active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item.tab__item_active {
  background: #15263e !important;
  border: 1px solid rgba(111, 173, 214, 0.36) !important;
  box-shadow: none !important;
  outline: none !important;
}
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item::before,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item::after,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item::before,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item::after {
  content: none !important;
  display: none !important;
}

/* Keep both cashier panes in one stable flow and use icon-only support links. */
#cabinet-modal .tab-remake-cashier__content {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 420px !important;
  padding: 0 24px 24px !important;
  gap: 18px !important;
}

#cabinet-modal .tab_style_button {
  flex: 0 0 auto !important;
  height: 40px !important;
  min-height: 40px !important;
}

#cabinet-modal .tab-remake__content {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: start !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 330px !important;
}

#cabinet-modal .tab-remake__content > .payment {
  grid-area: 1 / 1 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 330px !important;
  padding: 0 !important;
  margin: 0 !important;
}

#cabinet-modal .cash-support-links1 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 16px !important;
  min-height: 24px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

#cabinet-modal .cash-support-link1 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  text-decoration: none !important;
}

#cabinet-modal .cash-support-link1 svg {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
}

#cabinet-modal .cash-support-link1 span {
  display: none !important;
}

#cabinet-modal .tab-remake__content > #withdraw-tab > br {
  display: none !important;
}

@media (max-width: 575px) {
  #cabinet-modal .tab-remake-cashier__content {
    min-height: 390px !important;
    padding: 0 16px 18px !important;
  }

  #cabinet-modal .tab-remake__content,
  #cabinet-modal .tab-remake__content > .payment {
    min-height: 300px !important;
  }
}

/* Only the selected cashier pane may render; the shared grid reserves its space. */
#cabinet-modal #cashier .tab-remake__content > .payment {
  display: none !important;
  visibility: hidden !important;
}

#cabinet-modal #cashier .tab-remake__content > .payment.active {
  display: block !important;
  visibility: visible !important;
}
/* VPS test: keep the active payment flow centered and prevent legacy pane clipping. */
#cabinet-modal #cashier .tab-remake__content,
#cabinet-modal #cashier .tab-remake__content > .payment.active,
#cabinet-modal #cashier .payment__gallery,
#cabinet-modal #cashier .payment-form,
#cabinet-modal #cashier .payment__row,
#cabinet-modal #cashier .payment__row-inner {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 315px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  overflow: visible !important;
  direction: ltr !important;
}

#cabinet-modal #cashier .tab-remake__content > .payment.active {
  position: relative !important;
  inset: auto !important;
  transform: none !important;
}

#cabinet-modal #cashier .payment__row-inner {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

#cabinet-modal #cashier .payment__item.payitem {
  flex: 0 0 auto !important;
  width: 100% !important;
  max-width: 315px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

#cabinet-modal #cashier .payment__item.payitem img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

html[lang=he] #cabinet-modal #cashier .payitem__footer {
  direction: rtl !important;
  text-align: right !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier .tab-remake__content,
  #cabinet-modal #cashier .tab-remake__content > .payment.active,
  #cabinet-modal #cashier .payment__gallery,
  #cabinet-modal #cashier .payment-form,
  #cabinet-modal #cashier .payment__row,
  #cabinet-modal #cashier .payment__row-inner,
  #cabinet-modal #cashier .payment__item.payitem {
    max-width: min(315px, calc(100vw - 32px)) !important;
  }
}

/* VPS test: define one stable 315px cashier content column. */
#cabinet-modal #cashier > .tab-remake-cashier__content {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: min(315px, calc(100vw - 32px)) !important;
  max-width: 315px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  padding: 0 0 24px !important;
  gap: 18px !important;
}

#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake,
#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content,
#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content > .payment,
#cabinet-modal #cashier .tab-remake__content > .payment.active,
#cabinet-modal #cashier .payment__gallery,
#cabinet-modal #cashier .payment-form,
#cabinet-modal #cashier .payment__row,
#cabinet-modal #cashier .payment__row-inner,
#cabinet-modal #cashier .enter-pin {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

#cabinet-modal #cashier .payment__row-inner {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 8px !important;
}

#cabinet-modal #cashier .payment__item.payitem {
  box-sizing: border-box !important;
  flex: 0 0 50px !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#cabinet-modal #cashier .enter-pin {
  flex: 0 0 auto !important;
}

#cabinet-modal #cashier .enter-pin .form-pin,
#cabinet-modal #cashier .enter-pin input,
#cabinet-modal #cashier .enter-pin .send-pin {
  box-sizing: border-box !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier > .tab-remake-cashier__content {
    width: calc(100vw - 32px) !important;
    max-width: 315px !important;
  }
}

/* VPS test: keep the cashier cards and promo field at the design width. */
#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake,
#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content,
#cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content > .payment,
#cabinet-modal #cashier .payment__gallery,
#cabinet-modal #cashier .payment__row,
#cabinet-modal #cashier .payment__row-inner,
#cabinet-modal #cashier .enter-pin {
  box-sizing: border-box !important;
  width: 315px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

#cabinet-modal #cashier .payment__row-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
}

#cabinet-modal #cashier .payment__item.payitem {
  box-sizing: border-box !important;
  flex: 0 0 50px !important;
  width: 315px !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 50px !important;
  min-height: 50px !important;
  margin: 0 !important;
}

#cabinet-modal #cashier .enter-pin {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding: 0 !important;
}

#cabinet-modal #cashier .enter-pin .h-pin {
  margin: 0 !important;
}

#cabinet-modal #cashier .enter-pin .form-pin {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 0 !important;
}

#cabinet-modal #cashier .enter-pin #form-pin {
  box-sizing: border-box !important;
  flex: 0 0 58px !important;
  width: 315px !important;
  max-width: 100% !important;
  height: 58px !important;
}

#cabinet-modal #cashier .enter-pin .send-pin {
  box-sizing: border-box !important;
  flex: 0 0 40px !important;
  width: 150px !important;
  height: 40px !important;
  margin: 0 auto !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake,
  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content,
  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content > .payment,
  #cabinet-modal #cashier .payment__gallery,
  #cabinet-modal #cashier .payment__row,
  #cabinet-modal #cashier .payment__row-inner,
  #cabinet-modal #cashier .enter-pin {
    width: min(315px, calc(100vw - 32px)) !important;
  }

  #cabinet-modal #cashier .payment__item.payitem,
  #cabinet-modal #cashier .enter-pin #form-pin {
    width: min(315px, calc(100vw - 32px)) !important;
  }
}

/* VPS test: override the legacy 450px rule for the top cashier tabs. */
#cabinet-modal > .tab.tab-remake > .tab__action.tab-remake__action:not(.tab-remake__action_small) {
  box-sizing: border-box !important;
  width: 315px !important;
  min-width: 315px !important;
  max-width: 315px !important;
  height: 45px !important;
  min-height: 45px !important;
  max-height: 45px !important;
  margin-inline: auto !important;
}

/* VPS test: force the payment row to the Figma width without flex shrink. */
#cabinet-modal #cashier .payment__row,
#cabinet-modal #cashier .payment__row-inner {
  box-sizing: border-box !important;
  flex: 0 0 315px !important;
  width: 315px !important;
  min-width: 315px !important;
  max-width: 315px !important;
  margin-inline: auto !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier .payment__row,
  #cabinet-modal #cashier .payment__row-inner {
    flex: 0 1 min(315px, calc(100vw - 32px)) !important;
    width: min(315px, calc(100vw - 32px)) !important;
    min-width: 0 !important;
    max-width: min(315px, calc(100vw - 32px)) !important;
  }
}

/* VPS test: payment card content must wrap instead of being clipped or scrolled. */
#cabinet-modal #cashier .payment__item.payitem {
  height: auto !important;
  min-height: 50px !important;
  overflow: hidden !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__img,
#cabinet-modal #cashier .payment__item.payitem .payitem__img_inner {
  align-self: stretch !important;
  height: auto !important;
  min-height: 50px !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  height: auto !important;
  min-height: 50px !important;
  overflow: hidden !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__note {
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 16px !important;
  text-align: left !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* VPS test: only the selected cashier tab may use active styling. */
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):not(.tab-remake__item_active_blue-gradient),
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):not(.tab-remake__item_active_blue-gradient) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

#cabinet-modal > .tab.tab-remake > .tab__action:not(.tab-remake__action_small) > .tab__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):not(.tab-remake__item_active_blue-gradient),
#cabinet-modal > .tab.tab-remake > .tab__action:not(.tab-remake__action_small) > .tab-remake__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):not(.tab-remake__item_active_blue-gradient) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* VPS test: only the selected lower cashier tab may use active styling. */
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.active):not(.tab__item_active):not(.tab-remake__item_active):active {
  background: transparent !important;
  border: 1px solid transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* VPS test: match the Figma promo field and confirmation button layout. */
#cabinet-modal #cashier .enter-pin {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 10px !important;
  width: 315px !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  box-sizing: border-box !important;
}

#cabinet-modal #cashier .enter-pin .form-pin {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

#cabinet-modal #cashier .enter-pin #form-pin,
#cabinet-modal #cashier .enter-pin .send-pin {
  display: block !important;
  box-sizing: border-box !important;
  width: 315px !important;
  max-width: 315px !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

#cabinet-modal #cashier .enter-pin #form-pin {
  height: 35px !important;
  min-height: 35px !important;
  max-height: 35px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 35px !important;
  border-radius: 18px !important;
}

#cabinet-modal #cashier .enter-pin .send-pin {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 150px !important;
  max-width: 150px !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin-top: 0 !important;
  margin-inline: auto !important;
  padding: 0 18px !important;
  border-radius: 20px !important;
  line-height: 1 !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier .enter-pin,
  #cabinet-modal #cashier .enter-pin .form-pin {
    width: min(315px, calc(100vw - 32px)) !important;
  }

  #cabinet-modal #cashier .enter-pin #form-pin,
  #cabinet-modal #cashier .enter-pin .send-pin {
    width: 100% !important;
    max-width: 315px !important;
  }
}



/* Narrow mobile cashier fix: keep the layout stable below 375px. */
@media (max-width: 374px) {
  #cabinet-modal #cashier > .tab-remake-cashier__content {
    width: calc(100vw - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    padding: 0 8px 18px !important;
    gap: 14px !important;
  }

  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake,
  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content,
  #cabinet-modal #cashier > .tab-remake-cashier__content > .tab-remake > .tab-remake__content > .payment,
  #cabinet-modal #cashier .payment__gallery,
  #cabinet-modal #cashier .payment__row,
  #cabinet-modal #cashier .payment__row-inner,
  #cabinet-modal #cashier .enter-pin {
    width: 100% !important;
    max-width: none !important;
  }

  #cabinet-modal #cashier .payment__row-inner {
    gap: 6px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem {
    height: auto !important;
    min-height: 46px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__img {
    flex: 0 0 92px !important;
    width: 92px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__img img {
    max-width: 72px !important;
    max-height: 32px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__footer {
    padding: 2px 8px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__note {
    font-size: 12px !important;
    line-height: 13px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__note_small {
    font-size: 10px !important;
    line-height: 11px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__bonus-badge,
  #cabinet-modal #cashier .payment__item.payitem .payitem__badge {
    font-size: 8px !important;
    line-height: 10px !important;
    padding: 1px 5px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem .payitem__placeholder {
    font-size: 22px !important;
  }

  #cabinet-modal #cashier .enter-pin {
    gap: 8px !important;
  }

  #cabinet-modal #cashier .enter-pin .form-pin {
    gap: 10px !important;
  }

  #cabinet-modal #cashier .enter-pin #form-pin,
  #cabinet-modal #cashier .enter-pin .send-pin {
    width: 100% !important;
    max-width: none !important;
  }

  #cabinet-modal #cashier .tab_style_button > .tab__action,
  #cabinet-modal #cashier .tab_style_button > .tab__action.tab-remake__action_small {
    width: min(185px, calc(100vw - 24px)) !important;
    min-width: 0 !important;
  }
}

/* Keep the cabinet shell fixed while switching between Cash and Profile. */
#cabinet-modal.popup_tabs {
  height: min(820px, calc(100vh - 24px)) !important;
  max-height: calc(100vh - 24px) !important;
  overflow: hidden !important;
}

#cabinet-modal > .tab.tab-remake {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  min-height: 0 !important;
}

#cabinet-modal > .tab.tab-remake > .tab__content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

@media (max-width: 575px) {
  #cabinet-modal.popup_tabs {
    top: 50% !important;
    bottom: auto !important;
    height: calc(100vh - 16px) !important;
    max-height: calc(100vh - 16px) !important;
    transform: translate(-50%, -50%) !important;
  }
}
/* VPS test: lower cashier switch follows the JS-selected tab only. */
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.tab__item_active),
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.tab__item_active) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item.tab__item_active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item.tab__item_active {
  background: #15263e !important;
  border: 1px solid rgba(111, 173, 214, 0.36) !important;
  box-shadow: none !important;
  outline: none !important;
}

#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.tab__item_active):hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.tab__item_active):focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab__item:not(.tab__item_active):active,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.tab__item_active):hover,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.tab__item_active):focus,
#cabinet-modal #cashier .tab_style_button > .tab__action > .tab-remake__item:not(.tab__item_active):active {
  background: transparent !important;
  border-color: transparent !important;
}

/* VPS test: clear the stale top-tab state after switching away from Cash. */
#cabinet-modal > .tab.tab-remake:has(.tab__content > #cashier:not(.active)) > .tab__action.tab-remake__action:not(.tab-remake__action_small) > .tab__item:not(.tab__item_active),
#cabinet-modal > .tab.tab-remake:has(.tab__content > #cashier:not(.active)) > .tab__action.tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item:not(.tab__item_active) {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Test cashier alignment: keep deposit and withdraw card stacks anchored to the same top edge. */
#cabinet-modal #cashier #payment-tab .payment__row-inner,
#cabinet-modal #cashier #withdraw-tab .payment__row-inner {
  align-items: stretch !important;
  justify-content: flex-start !important;
}


/* Narrow mobile static cashier cards: keep support text on one line. */
@media (max-width: 374px) {
  #cabinet-modal #cashier .payitem_static .payitem__footer {
    padding: 2px 8px !important;
    gap: 0 !important;
  }

  #cabinet-modal #cashier .payitem_static .payitem__note {
    font-size: 11px !important;
    line-height: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #cabinet-modal #cashier .payitem_static .payitem__note_small {
    font-size: 9px !important;
    line-height: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}


/* Strong override for static cashier cards on very small screens. */
@media (max-width: 374px) {
  #cabinet-modal #cashier .payment__item.payitem.payitem_static .payitem__footer {
    gap: 0 !important;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
  }

  #cabinet-modal #cashier .payment__item.payitem.payitem_static .payitem__note {
    font-size: 11px !important;
    line-height: 12px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  #cabinet-modal #cashier .payment__item.payitem.payitem_static .payitem__note_small {
    font-size: 9px !important;
    line-height: 10px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}


/* Deposit method detail view: replace the popup with a responsive subtab. */
#cabinet-modal #cashier.payment-detail-open .tab-remake__action,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) .tab-remake__action,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) .tab-remake__action,
#cabinet-modal #cashier.payment-detail-open .tab_style_button,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) .tab_style_button,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) .tab_style_button,
#cabinet-modal #cashier.payment-detail-open .tab-remake__action_small,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) .tab-remake__action_small,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) .tab-remake__action_small {
  display: none !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__row,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .payment__row,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .payment__row,
#cabinet-modal #cashier.payment-detail-open #payment-tab .enter-pin,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .enter-pin,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .enter-pin,
#cabinet-modal #cashier.payment-detail-open #payment-tab .cash-support-links1,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .cash-support-links1,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .cash-support-links1,
#cabinet-modal #cashier.payment-detail-open #payment-tab .tabErrorMessage,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .tabErrorMessage,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .tabErrorMessage {
  display: none !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__tooltip,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .payment__tooltip,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .payment__tooltip {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__tooltip_inner,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .payment__tooltip_inner,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .payment__tooltip_inner {
  width: 100% !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-panel,
#cabinet-modal #cashier:has(#payment-tab.payment__detail-open) #payment-tab .payment__detail-panel,
#cabinet-modal #cashier:has(#payment-tab .payment__detail-panel.payment__tooltip_open) #payment-tab .payment__detail-panel {
  display: flex !important;
  justify-content: center;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-shell {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 2px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 10px 0 7px;
  border: 1px solid #305e67;
  border-radius: 999px;
  background: rgba(43, 95, 123, 0.12);
  color: #adc0c6;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-back svg {
  flex: 0 0 auto;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-user {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #adc0c6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-user-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #305e67;
  border-radius: 50%;
  color: #adc0c6;
  flex: 0 0 auto;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-user-name {
  text-transform: uppercase;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-balance {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-balance-value {
  color: #25d366;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-title {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #adc0c6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-title-prefix {
  color: #adc0c6;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .js-payment-method-title {
  color: #fff;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-logo img {
  display: block;
  max-width: 150px;
  max-height: 56px;
  object-fit: contain;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-label {
  color: #adc1c6;
  font-size: 11px;
  line-height: 1.2;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-input-wrap {
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #305e67;
  border-radius: 20px;
  background-image: linear-gradient(198.14092953143455deg, rgba(43, 95, 123, 0.2) 18.829%, rgba(25, 56, 69, 0.2) 50.822%, rgba(33, 94, 109, 0.2) 120.31%);
  overflow: hidden;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-input-wrap_iconless {
  padding-left: 0;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-icon {
  width: 34px;
  height: 34px;
  margin-left: 10px;
  border: 1px solid rgba(48, 94, 103, 0.95);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #adc0c6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-icon_svg {
  font-size: 0;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-input {
  width: 100%;
  min-width: 0;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0;
  padding: 0 14px 0 10px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 40px !important;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-input::placeholder {
  color: #646768;
  opacity: 1;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-input_readonly {
  cursor: default;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 40px;
  margin: 12px auto 0;
  padding: 0 18px;
  border-radius: 27px;
  font-size: 12px;
  line-height: 1;
}

#cabinet-modal #cashier.payment-detail-open #payment-tab .pay-tooltip__note {
  margin: 0 0 2px;
}

#cabinet-modal #cashier.payment-method-open .tab-remake__action,
#cabinet-modal #cashier.payment-method-open .tab-remake__action_small {
  display: none !important;
}

#cabinet-modal #cashier .payment-method-view {
  display: none;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__row,
#cabinet-modal #cashier.payment-method-open #payment-tab .enter-pin,
#cabinet-modal #cashier.payment-method-open #payment-tab .cash-support-links1,
#cabinet-modal #cashier.payment-method-open #payment-tab .tabErrorMessage {
  display: none !important;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment-method-view {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment-method-view__inner {
  width: 100% !important;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-shell {
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 2px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 10px 0 7px;
  border: 1px solid #305e67;
  border-radius: 999px;
  background: rgba(43, 95, 123, 0.12);
  color: #adc0c6;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-user {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #adc0c6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-user-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid #305e67;
  border-radius: 50%;
  color: #adc0c6;
  flex: 0 0 auto;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-user-name {
  text-transform: uppercase;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-balance {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-balance-value {
  color: #25d366;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-title {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #adc0c6;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-title-prefix {
  color: #adc0c6;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .js-payment-method-title {
  color: #fff;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 56px;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-logo img {
  display: block;
  max-width: 150px;
  max-height: 56px;
  object-fit: contain;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-label {
  color: #adc1c6;
  font-size: 11px;
  line-height: 1.2;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-input-wrap {
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid #305e67;
  border-radius: 20px;
  background-image: linear-gradient(198.14092953143455deg, rgba(43, 95, 123, 0.2) 18.829%, rgba(25, 56, 69, 0.2) 50.822%, rgba(33, 94, 109, 0.2) 120.31%);
  overflow: hidden;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-input-wrap_iconless {
  padding-left: 0;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-icon {
  width: 34px;
  height: 34px;
  margin-left: 10px;
  border: 1px solid rgba(48, 94, 103, 0.95);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #adc0c6;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  flex: 0 0 auto;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-icon_svg {
  font-size: 0;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-input {
  width: 100%;
  min-width: 0;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  margin: 0;
  padding: 0 14px 0 10px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 40px !important;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-input::placeholder {
  color: #646768;
  opacity: 1;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-input_readonly {
  cursor: default;
}

#cabinet-modal #cashier.payment-method-open #payment-tab .payment__detail-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 40px;
  margin: 12px auto 0;
  padding: 0 18px;
  border-radius: 27px;
  font-size: 12px;
  line-height: 1;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-shell {
    width: calc(100vw - 24px);
  }

  #cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-grid {
    gap: 10px;
  }
}

@media (max-width: 374px) {
  #cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-shell {
    width: calc(100vw - 18px);
  }

  #cabinet-modal #cashier.payment-detail-open #payment-tab .payment__detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Payment detail subtab: keep the existing payment flow, match the redesign geometry. */
#cabinet-modal:has(#cashier.payment-method-open) > .tab.tab-remake > .tab-remake__action,
#cabinet-modal #cashier.payment-method-open .tab_style_button > .tab__action {
  display: none !important;
}

#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container {
  width: 136px !important;
  max-width: 136px !important;
  margin: 20px auto 24px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container img,
#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container svg {
  max-height: 54px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
  width: min(492px, calc(100vw - 80px)) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content {
  padding: 0 0 32px !important;
  gap: 0 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button {
  height: auto !important;
  min-height: 0 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-method-view,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-method-view__inner {
  width: 100% !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-shell {
  width: 100% !important;
  padding: 0 !important;
  gap: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-back {
  height: 33px !important;
  padding: 0 14px 0 10px !important;
  gap: 7px !important;
  border-color: #2e6974 !important;
  border-radius: 18px !important;
  background: rgba(15, 35, 54, .72) !important;
  color: #b7c6d0 !important;
  font-size: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user {
  gap: 10px !important;
  color: #bac7d0 !important;
  font-size: 20px !important;
  line-height: 1.1 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user-icon {
  width: 30px !important;
  height: 30px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-balance {
  font-size: 20px !important;
  line-height: 1.15 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-title {
  margin-top: 10px !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-logo {
  min-height: 56px !important;
  margin: -4px 0 2px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-logo img {
  max-width: 150px !important;
  max-height: 56px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields {
  gap: 14px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-field {
  gap: 8px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-label {
  font-size: 16px !important;
  line-height: 1.1 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input-wrap {
  min-height: 64px !important;
  border: 2px solid #2e6974 !important;
  border-radius: 32px !important;
  background: linear-gradient(101deg, #0f2532 0%, #0d1d31 100%) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon {
  width: 34px !important;
  height: 34px !important;
  margin-left: 14px !important;
  border-color: #2e6974 !important;
  font-size: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input {
  height: 60px !important;
  min-height: 60px !important;
  max-height: 60px !important;
  padding: 0 20px 0 14px !important;
  font-size: 20px !important;
  line-height: 60px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid {
  gap: 20px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-submit {
  width: 236px !important;
  height: 63px !important;
  margin: 28px auto 0 !important;
  border: 1px solid rgba(111, 173, 214, .7) !important;
  border-radius: 32px !important;
  background: linear-gradient(90deg, #1b555d 0%, #213e63 100%) !important;
  color: #fff !important;
  font-size: 18px !important;
  font-weight: 400 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .cash-support-links1 {
  display: flex !important;
  width: 100% !important;
  margin: 32px 0 0 !important;
  justify-content: flex-end !important;
}

@media (max-width: 420px) {
  #cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
    width: calc(100vw - 40px) !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid {
    gap: 12px !important;
  }
}

@media (max-width: 420px) {
  #cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container {
    width: 112px !important;
    max-width: 112px !important;
    margin: 14px auto 18px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-shell {
    gap: 11px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-back {
    height: 29px !important;
    font-size: 13px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-balance,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-title {
    font-size: 16px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields {
    gap: 10px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-label {
    font-size: 13px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input-wrap {
    min-height: 50px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input {
    height: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    font-size: 16px !important;
    line-height: 46px !important;
  }

  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-submit {
    width: 180px !important;
    height: 50px !important;
    margin-top: 18px !important;
    font-size: 15px !important;
  }
}

/* Exact payment-detail controls from the cashier redesign. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
  width: min(315px, calc(100vw - 40px)) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-shell {
  gap: 12px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-back {
  width: 66px !important;
  height: 20px !important;
  min-height: 20px !important;
  padding: 0 !important;
  justify-content: center !important;
  gap: 5px !important;
  border: 1px solid #305e67 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: #b7c6d0 !important;
  font-size: 11px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields {
  gap: 12px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-field {
  gap: 5px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-label {
  color: #adc0c6 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input-wrap {
  width: 100% !important;
  min-height: 40px !important;
  height: 40px !important;
  border: 1px solid #305e67 !important;
  border-radius: 20px !important;
  background: linear-gradient(100deg, #0d1c2e 0%, #101d31 100%) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon {
  width: 30px !important;
  height: 30px !important;
  margin-left: 10px !important;
  border-color: #305e67 !important;
  color: #305e67 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon_svg {
  font-size: 0 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon svg {
  display: block !important;
  color: #305e67 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input {
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  padding: 0 14px 0 10px !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 38px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input::placeholder {
  color: #777a7f !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid {
  grid-template-columns: repeat(2, minmax(0, 150px)) !important;
  gap: 15px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid .payment__detail-input-wrap {
  height: 31.91px !important;
  min-height: 31.91px !important;
  border-radius: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid .payment__detail-input {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  line-height: 30px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-submit {
  width: 150px !important;
  height: 40px !important;
}

/* Payment detail: adaptive proportions from the redesign frame. */
#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container {
  width: 120px !important;
  max-width: 120px !important;
  margin: 18px auto 20px !important;
  transform: none !important;
}

#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container img,
#cabinet-modal:has(#cashier.payment-method-open) .tab-remake__logo-container svg {
  width: 120px !important;
  max-width: 120px !important;
  height: auto !important;
  max-height: none !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
  width: min(432px, calc(100vw - 72px)) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-shell {
  gap: 14px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-back {
  width: 90px !important;
  height: 29px !important;
  min-height: 29px !important;
  border-radius: 15px !important;
  font-size: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user {
  gap: 8px !important;
  font-size: 18px !important;
  font-weight: 500 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user-icon {
  width: 27px !important;
  height: 27px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-balance {
  font-size: 18px !important;
  font-weight: 500 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-title {
  margin-top: 8px !important;
  gap: 3px !important;
  color: #b7c6d0 !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-title-prefix,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .js-payment-method-title {
  font-weight: 400 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-logo {
  min-height: 55px !important;
  margin: -4px 0 0 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields {
  gap: 11px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-field {
  gap: 6px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-label {
  font-size: 14px !important;
  font-weight: 400 !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input-wrap {
  height: 54px !important;
  min-height: 54px !important;
  border: 1px solid #305e67 !important;
  border-radius: 27px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-icon {
  width: 30px !important;
  height: 30px !important;
  margin-left: 14px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input {
  height: 52px !important;
  min-height: 52px !important;
  max-height: 52px !important;
  font-size: 18px !important;
  line-height: 52px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid .payment__detail-input-wrap {
  height: 42px !important;
  min-height: 42px !important;
  border-radius: 21px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid .payment__detail-input {
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  font-size: 18px !important;
  line-height: 40px !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-submit {
  width: 205px !important;
  height: 56px !important;
  min-height: 56px !important;
  margin-top: 20px !important;
  border-radius: 28px !important;
  font-size: 16px !important;
}

@media (max-width: 460px) {
  #cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
    width: calc(100vw - 40px) !important;
  }

}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid .payment__detail-icon {
  width: 25px !important;
  height: 26px !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* The email SVG also contains its own outline. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields > .payment__detail-field:nth-child(3) .payment__detail-icon {
  width: 23px !important;
  height: 23px !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* The account SVG contains its own 19px ring. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-user-icon {
  width: 19px !important;
  height: 19px !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* The transformed modal is the fixed containing block for support messengers. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier .cash-support-links1 {
  position: fixed !important;
  right: 32px !important;
  bottom: 28px !important;
  z-index: 2 !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  gap: 16px !important;
}

@media (max-width: 460px) {
  #cabinet-modal:has(#cashier.payment-method-open) #cashier .cash-support-links1 {
    right: 20px !important;
    bottom: 20px !important;
  }
}

/* Match the redesign's larger dollar glyph without changing the input ring. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields > .payment__detail-field:nth-child(-n+2) .payment__detail-icon svg {
  width: 12px !important;
  height: 20px !important;
  max-width: none !important;
}

/* The payment gateway collects only amount data; account fields are not part of this step. */
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-fields > .payment__detail-field:nth-child(3),
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-grid {
  display: none !important;
}

/* Let payment-card text shrink and wrap inside the available footer width. */
#cabinet-modal #cashier .payment__item.payitem,
#cabinet-modal #cashier .payment__item.payitem .payitem__footer,
#cabinet-modal #cashier .payment__item.payitem .payitem__note {
  min-width: 0 !important;
}

#cabinet-modal #cashier .payment__item.payitem {
  flex: 0 0 auto !important;
  height: auto !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__footer {
  flex: 1 1 0 !important;
  width: 0 !important;
  max-width: none !important;
  overflow: visible !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__note {
  width: 100% !important;
  box-sizing: border-box !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* Responsive cashier layer: preserve the 315px design frame without fixed overflow. */
#cabinet-modal.popup_tabs {
  --cashier-frame: min(100%, 315px);
  --cashier-card-height: clamp(50px, 15vw, 58px);
  --cashier-control-height: clamp(35px, 11vw, 58px);
}

#cabinet-modal > .tab.tab-remake > .tab__action.tab-remake__action:not(.tab-remake__action_small),
#cabinet-modal #cashier > .tab-remake-cashier__content,
#cabinet-modal #cashier .payment__row,
#cabinet-modal #cashier .payment__row-inner,
#cabinet-modal #cashier .payment__gallery,
#cabinet-modal #cashier .payment-form,
#cabinet-modal #cashier .enter-pin {
  width: var(--cashier-frame) !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

#cabinet-modal > .tab.tab-remake > .tab__action.tab-remake__action:not(.tab-remake__action_small) {
  height: clamp(40px, 12vw, 45px) !important;
  min-height: 0 !important;
  max-height: none !important;
}

#cabinet-modal #cashier .payment__item.payitem {
  display: grid !important;
  grid-template-columns: clamp(82px, 34%, 110px) minmax(0, 1fr) !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: var(--cashier-card-height) !important;
  height: auto !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__img,
#cabinet-modal #cashier .payment__item.payitem .payitem__img_inner {
  width: auto !important;
  min-width: 0 !important;
  min-height: var(--cashier-card-height) !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__footer {
  width: auto !important;
  min-width: 0 !important;
  min-height: var(--cashier-card-height) !important;
  padding-inline: clamp(8px, 3vw, 12px) !important;
}

#cabinet-modal #cashier .enter-pin #form-pin {
  flex: 0 0 auto !important;
  width: 100% !important;
  height: var(--cashier-control-height) !important;
  min-height: var(--cashier-control-height) !important;
}

#cabinet-modal #cashier .enter-pin .send-pin {
  flex: 0 0 auto !important;
  width: clamp(150px, 52%, 205px) !important;
  max-width: 100% !important;
  height: clamp(40px, 11vw, 56px) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier > .tab-remake-cashier__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab_style_button,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .tab-remake__content,
#cabinet-modal:has(#cashier.payment-method-open) #cashier #payment-tab,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__gallery,
#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment-form {
  width: min(100%, 432px) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input-wrap {
  height: clamp(40px, 11vw, 54px) !important;
  min-height: clamp(40px, 11vw, 54px) !important;
  border-radius: clamp(20px, 5.5vw, 27px) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-input {
  height: calc(clamp(40px, 11vw, 54px) - 2px) !important;
  min-height: calc(clamp(40px, 11vw, 54px) - 2px) !important;
  max-height: none !important;
  line-height: calc(clamp(40px, 11vw, 54px) - 2px) !important;
  font-size: clamp(16px, 4vw, 18px) !important;
}

#cabinet-modal:has(#cashier.payment-method-open) #cashier .payment__detail-submit {
  width: clamp(150px, 48%, 205px) !important;
  height: clamp(40px, 11vw, 56px) !important;
  min-height: clamp(40px, 11vw, 56px) !important;
  border-radius: clamp(20px, 5.5vw, 28px) !important;
}

/* Promo code is a compact control in every responsive layout. */
#cabinet-modal #cashier .enter-pin #form-pin {
  flex-basis: 35px !important;
  height: 35px !important;
  min-height: 35px !important;
  max-height: 35px !important;
}

/* Card divider is an inset rail, not a border connected to the card outline. */
#cabinet-modal #cashier .payment__item.payitem .payitem__footer {
  position: relative !important;
  border-left: 0 !important;
}

#cabinet-modal #cashier .payment__item.payitem .payitem__footer::before {
  content: "" !important;
  position: absolute !important;
  inset-inline-start: 0 !important;
  top: clamp(8px, 18%, 12px) !important;
  bottom: clamp(8px, 18%, 12px) !important;
  width: 2px !important;
  border-radius: 2px !important;
  background: #305e67 !important;
}

/* Top cabinet tabs use one JS-controlled active state and no legacy separators. */
#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  text-shadow: none !important;
}

#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item::before,
#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item::after {
  content: none !important;
  display: none !important;
}

#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item.tab__item_active {
  color: #fff !important;
  background: linear-gradient(90deg, #3c79a0, #6fadd6) !important;
  border: 0 !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}

/* Keep the selected top tab inside the track padding at every viewport size. */
#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item {
  align-self: stretch !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
}

/* Top tab rail follows the reference: 45px track, 37px items, 3px inset. */
#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) {
  height: 45px !important;
  min-height: 45px !important;
  max-height: 45px !important;
  padding: 3px !important;
}

#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) > .tab-remake__item {
  align-self: center !important;
  height: 37px !important;
  min-height: 37px !important;
  max-height: 37px !important;
  margin: 0 !important;
}

/* Profile/history content must never shrink the 315 x 45 top tab track. */
#cabinet-modal > .tab.tab-remake > .tab-remake__action:not(.tab-remake__action_small) {
  flex: 0 0 45px !important;
  flex-shrink: 0 !important;
}

/* Withdrawal uses the same in-cabinet detail screen as deposit without replacing form fields. */

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier > .tab-remake-cashier__content,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__gallery,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdrawForm,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__row {
  width: min(100%, 432px) !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: auto !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__row-inner {
  display: none !important;
}

#cabinet-modal #cashier:not(.withdraw-method-open) #withdraw-tab .payment__tooltip {
  display: none !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__tooltip.withdraw-method-view_open {
  display: block !important;
  position: static !important;
  inset: auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__tooltip_inner,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 11px !important;
  background: transparent !important;
  box-shadow: none !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__tooltip .tab__head,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__head {
  display: none !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .withdraw-method-view__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-back {
  width: 90px !important;
  height: 29px !important;
  min-height: 29px !important;
  padding: 0 !important;
  justify-content: center !important;
  gap: 5px !important;
  border: 1px solid #305e67 !important;
  border-radius: 15px !important;
  background: transparent !important;
  color: #b7c6d0 !important;
  font-size: 16px !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-user,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-balance,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-title {
  color: #b7c6d0 !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-user-name {
  font-weight: 500 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-balance-value {
  color: #00d36f !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-title-prefix {
  font-weight: 400 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 55px !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__detail-logo img {
  display: block !important;
  max-width: 150px !important;
  max-height: 55px !important;
  object-fit: contain !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__head-sub,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-limits-wrapper,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__select_block__label {
  color: #adc0c6 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__number,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip > .pay-tooltip__input {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
  margin: 0 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__number > .pay-tooltip__input {
  display: block !important;
  width: 100% !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__title {
  color: #adc0c6 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip input.input__inner,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__number_inner,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__select {
  box-sizing: border-box !important;
  width: 100% !important;
  height: clamp(40px, 11vw, 54px) !important;
  min-height: clamp(40px, 11vw, 54px) !important;
  padding: 0 16px !important;
  border: 1px solid #305e67 !important;
  border-radius: 27px !important;
  background: linear-gradient(100deg, #0d1c2e 0%, #101d31 100%) !important;
  color: #fff !important;
  font-size: clamp(16px, 4vw, 18px) !important;
  line-height: normal !important;
  box-shadow: none !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__select_block {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 100% !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .pay-tooltip__button_withdraw {
  align-self: center !important;
  width: clamp(150px, 48%, 205px) !important;
  height: clamp(40px, 11vw, 56px) !important;
  min-height: clamp(40px, 11vw, 56px) !important;
  margin: 12px auto 0 !important;
  border: 1px solid #598aaa !important;
  border-radius: 28px !important;
  background: linear-gradient(100deg, #1d555c 0%, #203f68 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

/* Detail view must override the shared inactive-pane rule for withdrawal. */
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier .tab-remake__content > #withdraw-tab {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__gallery,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdrawForm,
#cabinet-modal:has(#cashier.withdraw-method-open) #cashier #withdraw-tab .payment__row {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* The withdrawal detail view must not inherit hidden legacy popup geometry. */
#cabinet-modal #cashier.withdraw-method-open .tab-remake__content > #withdraw-tab {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__tooltip.withdraw-method-view_open {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__tooltip_inner,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .pay-tooltip {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
}
/* Withdrawal detail reuses the proven deposit detail structure. */
#cabinet-modal:has(#cashier.withdraw-method-open) > .tab.tab-remake > .tab-remake__action,
#cabinet-modal #cashier.withdraw-method-open .tab_style_button > .tab__action {
  display: none !important;
}

#cabinet-modal #cashier.withdraw-method-open > .tab-remake-cashier__content,
#cabinet-modal #cashier.withdraw-method-open .tab-remake__content,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__gallery,
#cabinet-modal #cashier.withdraw-method-open #withdrawForm,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__row {
  display: block !important;
  visibility: visible !important;
  width: min(432px, calc(100vw - 72px)) !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin-inline: auto !important;
  overflow: visible !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__row-inner {
  display: none !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdraw-payment-method-view.payment-method-view_open {
  display: flex !important;
  visibility: visible !important;
  position: static !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  transform: none !important;
  background: transparent !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment-method-view__inner,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdraw-payment-method-view__shell {
  display: flex !important;
  position: static !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 14px !important;
  color: #b7c6d0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdraw-payment-method-view__shell::after,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__tooltip .tab__head,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .pay-tooltip__head {
  display: none !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdraw-method-view__header {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  width: 100% !important;
  gap: 12px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-user {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-user-icon {
  display: inline-flex !important;
  width: 19px !important;
  height: 19px !important;
  border: 0 !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-user,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-balance,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-title {
  font-size: clamp(16px, 4vw, 18px) !important;
  line-height: 1.2 !important;
  color: #b7c6d0 !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-balance-value {
  color: #00d36f !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 55px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-logo img {
  display: block !important;
  max-width: 150px !important;
  max-height: 55px !important;
  object-fit: contain !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-field {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  gap: 6px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-label,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .withdraw-payment-method-view__fee,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .pay-limits-wrapper,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__select_block__label {
  font-size: 14px !important;
  line-height: 1.2 !important;
  color: #adc0c6 !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-input,
#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__select {
  box-sizing: border-box !important;
  width: 100% !important;
  height: clamp(40px, 11vw, 54px) !important;
  min-height: clamp(40px, 11vw, 54px) !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid #305e67 !important;
  border-radius: 27px !important;
  background: linear-gradient(100deg, #0d1c2e 0%, #101d31 100%) !important;
  color: #fff !important;
  font-size: clamp(16px, 4vw, 18px) !important;
  box-shadow: none !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__select_block {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  gap: 6px !important;
}

#cabinet-modal #cashier.withdraw-method-open #withdraw-tab .payment__detail-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: clamp(150px, 48%, 205px) !important;
  height: clamp(40px, 11vw, 56px) !important;
  min-height: clamp(40px, 11vw, 56px) !important;
  margin: 12px auto 0 !important;
  padding: 0 18px !important;
  border: 1px solid #598aaa !important;
  border-radius: 28px !important;
  background: linear-gradient(100deg, #1d555c 0%, #203f68 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

@media (max-width: 575px) {
  #cabinet-modal #cashier.withdraw-method-open > .tab-remake-cashier__content,
  #cabinet-modal #cashier.withdraw-method-open .tab-remake__content,
  #cabinet-modal #cashier.withdraw-method-open #withdraw-tab,
  #cabinet-modal #cashier.withdraw-method-open #withdrawForm {
    width: calc(100vw - 40px) !important;
  }
}
