
.wallet-balance{
    padding-top: 0.375rem;
    padding-bottom: 0.625rem;
}

.wallet-balance-title {
    font-size: 0.875rem;
    color: rgba(177, 180, 185, 1);
    position: relative;
    top: 0.4375rem;
    font-weight: 500;
}

.wallet-balance-currency {
    font-size: 2.375rem;
    color: rgba(177, 180, 185, 1);
    font-weight: 600;
}

.wallet-balance-value {
    font-size: 2.375rem;
    color: rgba(220, 221, 224, 1);
    font-weight: 600;
    position: relative;
    left: -0.25rem;
}

.wallet-balance-value-0 {
    font-size: 1.5rem;
    color: rgba(177, 180, 185, 1);
    font-weight: 600;
    position: relative;
    left: -0.5rem;
}

.wallet-pending-intent {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    margin-bottom: 0.875rem;
    border-radius: 1.5rem;
    background: #1C1F24;
    background: linear-gradient(90deg, rgba(28, 31, 36, 1) 25%, rgba(46, 48, 54, 1) 100%);
}

.wallet-pending-intent__icon {
    flex: 0 0 auto;
    width: 2.625rem;
    height: 2.625rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(50, 130, 215, 0.16);
    color: #3282d7;
    font-size: 1.1875rem;
}

.wallet-pending-intent__text {
    flex: 1 1 auto;
    min-width: 0;
}

.wallet-pending-intent__title {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(177, 180, 185, 1);
    margin-bottom: 0.1875rem;
}

.wallet-pending-intent__subtitle {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(220, 221, 224, 1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wallet-pending-intent__cancel {
    flex: 0 0 auto;
    width: 1.875rem;
    height: 1.875rem;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(177, 180, 185, 1);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 160ms ease;
}

.wallet-pending-intent__cancel:active {
    background: rgba(255, 255, 255, 0.14);
}

#wallet-add-balance-count-money.wallet-amount-locked {
    opacity: 0.9;
}

.wallet-add-withdraw-block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem;

    border-radius: 1.5rem;

    background: #1C1F24;
    background: linear-gradient(90deg,rgba(28, 31, 36, 1) 25%, rgba(46, 48, 54, 1) 100%);

}

.wallet-add-withdraw-block-item{
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
}

.wallet-add-withdraw-block-item-title{
    font-size: 0.875rem;
    color: rgba(220, 221, 224, 1);
}

.wallet-add-button{
    border-radius: 1.5rem;
    padding-top: 0.625rem;

    padding-bottom: 0.75rem;

    background: rgba(0, 122, 255, 1);
    cursor: pointer;
    text-align: center;
    font-weight: 600;
}

.wallet-withdraw-button{
    border-radius: 1.5rem;
    padding-top: 0.625rem;

    padding-bottom: 0.75rem;

    background: rgba(0, 123, 255, 0);

    border: 0.0625rem solid rgba(85, 85, 85, 1);
    text-align: center;
    font-weight: 600;

    cursor: pointer;
}

.wallet-add-button-icon{
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    top: -0.0625rem;
}

.scx{
    padding-left: 0px;
    padding-right: 0.375rem;
}

.scx2{
    padding-left: 0.375rem;
    padding-right: 0px;
}

.banner-referral{
    position: relative;
    margin-top: 0.75rem;
    gap: 1.125rem;
    border-radius: 1.5rem;
    padding: 1.25rem;
    background-color: rgba(31, 170, 71, 1);
}

.banner-referral-label{
    border-radius: 0.5rem;
    padding-top: 0.25rem;
    padding-right: 0.5rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    background: #FFFFFF;
    color:#121417;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 0.625rem;
}
.banner-referral-block-item-text{
    position: relative;
    font-weight: 600;
    font-size: 1.1875rem;
    line-height: 100%;
    letter-spacing: -0.0175rem;
    color: #FFFFFF;
    z-index: 1;
}
.m-top-10{
    margin-top: 0.625rem;
}
.banner-referral-block-item-image{
    max-width: 6.9375rem;
    position: absolute;
    top: 0.25rem;
    right: 0px;
}

.history-operations {
    padding: 0;
    margin-top: 1.25rem;
    padding-bottom: 3.125rem;
}

.date_letter {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(220, 221, 224, 1);
    margin-bottom: 0px;

}

.main_t {
    display: flex;
    align-items: center;
    padding: 1rem 0px 1rem 0;
    border-bottom: 0.0625rem solid rgba(39, 39, 41, 0.5);
    margin: 0;
}

.main_t:last-child {
    border-bottom: none;
}

.img_block_t {
    max-width: 3.75rem;
    width: 2.5rem;

    margin-right: 0px;
    padding: 0px;
    width: 2.5rem;
    height: 2.5rem;
}

.img_block_t .out {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../../../img/svg/arrow-circle-up.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
}

.img_block_t .d_s {

    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../../../img/svg/referal.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60% 60%;
}

.img_block_t .ref_d {
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../../../img/svg/circle-dollar.svg');
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: 76% 76%, cover;
}

.img_block_t .ref_withdraw {
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46, 117, 222, 0.32), rgba(46, 117, 222, 0.16));
    color: #9cc4f0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1;
}

.img_block_t .ref_withdraw::before {
    content: '₽';
}

.img_block_t .refund {
    background: linear-gradient(135deg, #4f8cff, #6aa7ff);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../../../img/svg/arrow-circle-down.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 62% 62%;
}

.img_block_t .wallet_topup {
    background: linear-gradient(135deg, #21a24b, #2fc45f);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../../../img/svg/wallet-add.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 62% 62%;
}

.inf_t {

    padding: 0;
}

.wallet-payment-method-logo-img {
    width: 1.5rem;
    height: 1.5rem;
    opacity: 0.8;
}

.transactions-empty-state {
    padding-top: 3.125rem;
    padding-right: 0;
}

.transactions-empty-image {
    display: none;
}

.inf_t .f-w-500 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(220, 221, 224, 1);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.inf_t .f-w-100 {
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(177, 180, 185, 1);
    line-height: 1.2;
}

.money_t {
    font-weight: 600;
    font-size: 1.0625rem;
    text-align: right;
    padding: 0;
    max-width: 6.25rem;
}

.money_t .f-w-500 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(220, 221, 224, 1);
    line-height: 1.2;
}

.t_m_class_c {
    color: rgba(31, 170, 71, 1) !important;
}

.history-operations {
    animation: walletFadeIn 0.3s ease-in-out;
}

@keyframes walletFadeIn {
    from {
        opacity: 0;
        transform: translateY(0.625rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-indicator {
    text-align: center;
    padding: 1.25rem;
    color: rgba(177, 180, 185, 1);
    font-size: 0.875rem;
}

.loading-indicator .spinner {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    border: 0.125rem solid rgba(177, 180, 185, 0.3);
    border-radius: 50%;
    border-top-color: rgba(177, 180, 185, 1);
    animation: walletSpin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes walletSpin {
    to {
        transform: rotate(360deg);
    }
}

.loading-indicator {
    display: none;
}

.loading-indicator.show {
    display: block;
}

.wallet-bottom-panel__list{
    padding: 1.5rem;
}

.wallet-panel-category{
    font-size: 0.8125rem;
    font-weight: 600;
    color: #B1B4B9;
    padding: 0.75rem 0px 0.5rem 0px;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
}

.wallet-panel-category:first-child{
    padding-top: 0px;
}

.wallet-panel-item{

    margin-left: 0px;
    margin-right: 0px;

    border-radius: 1.5rem;
    padding: 0.75rem;
    background: #262930;
    margin-bottom: 0.5rem;
    cursor: pointer;

}

.wallet-panel-item__icon{
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 2.75rem;
    padding-left: 0px;
    padding-right: 0px;
    height: 2.75rem;
    margin-right: 0.625rem;
}

.wallet-panel-item__icon img{
    width: 2.625rem;
    height: 2.625rem;
}
.wallet-panel-item__info{
    padding: 0px;
}
.wallet-panel-item__title{
    color: #fff;
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}
.wallet-panel-item__subtitle{
    color: #999;
    font-weight: 500;
    font-size: 0.875rem;
}

.payment-method-item-logo{
    width: 2.5rem;
    max-width: 2.5rem;
    padding:0px;
}
.payment-method-item-logo img{
    border-radius: 100%;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    opacity: 1 !important;
}

.wallet-add-balance-select-payment-method {
    border-radius: 1.5rem;
    padding: 1.25rem;
    background: #1D2025;
}
.payment-method-item-title {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 100%;
    color: #B1B4B9;
}
.payment-method-item-selected{
    font-weight: 600;
    font-size: 1rem;
    line-height: 100%;
    padding-top: 0.5rem;
}
.wallet-d-btn{
    opacity: 0.8;
    max-width: 2.875rem;
    padding-top: 0.375rem;
}

.wallet-add-balance-select-payment-method {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.wallet-add-balance-select-payment-method:hover {
    background-color: #1d202557;
}
.wallet-add-balance-select-payment-method-item{
    margin-left: 0px;
}

#w-other-bal-value{
    font-size: 0.625rem !important;
}

.heleket{
    background-image: url(../../../img/payment/heleket.svg);
}
.kassa{
    background-image: url(../../../img/payment/kassa.svg);
}
.tgstars{
    background-image: url(../../../img/payment/telegram.svg);
}
.lava{
    background-image: url(../../../img/payment/lava.svg);
}
.antilopay{
    background-image: url(../../../img/payment/antilopay.png);
}

.payment-method-item-arrow {
    margin-right: 0.9375rem;
}

.wallet-select-count-money {
    margin-top: 1rem;
    border-radius: 1.5rem;
    padding: 1.25rem 1.25rem 1.5625rem;
    background: #1d2025;
    position: relative;
}

.wallet-select-count-money-item {
    position: relative;
}

.wallet-select-count-money-item-title {
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 100%;
    letter-spacing: -0.0175rem;
    color: #b1b4b9;
}

.wallet-select-count-money-item-input {
    margin: 0;
}

.wallet-input-currency {
    font-weight: 600;
    font-size: 2.125rem;
    color: #b1b4b9;
    padding-left: 0;
    padding-right: 0.125rem;
    text-align: right;
    max-width: 1.3125rem;
    margin-right: 0.5rem;
}

#wallet-add-balance-count-money {
    font-weight: 600;
    font-size: 2.125rem;
    color: #fff;
    background: unset;
    border: none;
    outline: none;
    padding: 0;
}

#wallet-value-error-letter {
    color: red;
    font-size: 0.875rem;
    font-weight: 600;
    width: 100%;
    padding: 0;
    position: absolute;
    top: 3.5625rem;
    opacity: 0;
}

.wallet-select-value {
    padding: 0;
    margin-top: 0.5625rem;
}

.wallet-select-value > .toggle-switch > .toggle-switch__bg {
    background: #16181c;
}

.wallet-select-value .toggle-switch {
    margin-top: 0.3125rem;
}

.wallet-select-value .toggle-switch__btn {
    padding: 0.5rem 0.375rem !important;
    font-size: 0.875rem !important;
}

.wallet-quick-values-toggle {
    margin-bottom: 1.125rem;
}

.tsb14 {
    padding-left: 0.875rem !important;
    padding-right: 0.875rem !important;
}

.wallet-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.625rem;
}

/* История операций тянется на тысячи пикселей, а баланс с пополнением — на
   полтысячи. В две колонки это значило, что почти всю прокрутку левая половина
   пустая, а баланс остался далеко вверху. Липкая колонка едет вместе со
   страницей и держит баланс на виду, пока пользователь листает историю.
   Работает потому, что ячейка сетки под колонкой высотой во всю строку —
   отсюда и запас хода. */
body.web-desktop .wallet-split__pay {
    position: sticky;
    top: 0;
}
