

/* Стили для элемента выбора способа оплаты */
.wallet-balance{
    padding-top: 6px;
    padding-bottom: 10px;
}

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

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

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

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

.wallet-add-withdraw-block{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    /* background-color: #272729; */
    border-radius: 24px;

    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: 14px;
    color: rgba(220, 221, 224, 1);
}

.wallet-add-button{
    border-radius: 24px;
    padding-top: 10px;
    /* padding-right: 20px; */
    padding-bottom: 12px;
    /* padding-left: 20px; */
    background: rgba(0, 122, 255, 1);
    cursor: pointer;
    text-align: center;
    font-weight: 600;
}

.wallet-withdraw-button{
    border-radius: 24px;
    padding-top: 10px;
    /* padding-right: 20px; */
    padding-bottom: 12px;
    /* padding-left: 20px; */
    background: rgba(0, 123, 255, 0);

    border: 1px solid rgba(85, 85, 85, 1);
    text-align: center;
    font-weight: 600;
    
    cursor: pointer;
}

.wallet-add-button-icon{
    width: 20px;
    height: 20px;
    position: relative;
    top: -1px;
}

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

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

.banner-referral{
    position: relative;
    margin-top: 12px;
    gap: 18px;
    border-radius: 24px;
    padding: 20px;
    background-color: rgba(31, 170, 71, 1);
}

.banner-referral-label{
    border-radius: 8px;
    padding-top: 4px;
    padding-right: 8px;
    padding-bottom: 4px;
    padding-left: 8px;
    background: #FFFFFF;
    color:#121417;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}
.banner-referral-block-item-text{
    position: relative;
    font-weight: 600;
    font-size: 19px;
    line-height: 100%;
    letter-spacing: -0.28px;
    color: #FFFFFF;
    z-index: 1;
}
.m-top-10{
    margin-top: 10px;
}
.banner-referral-block-item-image{
    max-width: 111px;
    position: absolute;
    top: 4px;
    right: 0px;
}

/* =================== СТИЛИ ДЛЯ ТРАНЗАКЦИЙ =================== */

/* Контейнер для истории операций */
.history-operations {
    padding: 0;
    margin-top: 20px;
    padding-bottom: 50px;
}

/* Заголовок даты */
.date_letter {
    font-size: 20px;
    font-weight: 600;
    color: rgba(220, 221, 224, 1);
    margin-bottom: 0px;
    /* padding: 0 4px; */
}

/* Основная строка транзакции */
.main_t {
    display: flex;
    align-items: center;
    padding: 16px 0px 16px 0;
    border-bottom: 1px solid rgba(39, 39, 41, 0.5);
    margin: 0;
}

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

/* Блок с иконкой */
.img_block_t {
    max-width: 60px;
    width: 40px;
    /* flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center; */
    margin-right: 0px;
    padding: 0px;
    width: 40px;
    height: 40px;
}

/* Иконки сервисов */
.img_block_t .out {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    border-radius: 8px;
    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 {
    /* width: 32px;
    height: 32px; */
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    border-radius: 8px;
    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 .refund {
    background: linear-gradient(135deg, #4f8cff, #6aa7ff);
    border-radius: 8px;
    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: 8px;
    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: 24px;
    height: 24px;
    opacity: 0.8;
}

.transactions-empty-state {
    padding-top: 50px;
    padding-right: 0;
}

.transactions-empty-image {
    max-width: 150px;
}

/* Название сервиса */
.inf_t .f-w-500 {
    font-size: 16px;
    font-weight: 600;
    color: rgba(220, 221, 224, 1);
    margin-bottom: 4px;
    line-height: 1.2;
}

/* Описание транзакции */
.inf_t .f-w-100 {
    font-size: 14px;
    font-weight: 400;
    color: rgba(177, 180, 185, 1);
    line-height: 1.2;
}

/* Блок с суммой */
.money_t {
    font-weight: 600;
    font-size: 17px;
    text-align: right;
    padding: 0;
    max-width: 100px;
}

/* Сумма транзакции */
.money_t .f-w-500 {
    font-size: 16px;
    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(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Индикатор загрузки для бесконечной прокрутки */
.loading-indicator {
    text-align: center;
    padding: 20px;
    color: rgba(177, 180, 185, 1);
    font-size: 14px;
}

.loading-indicator .spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px 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: 8px;
}

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

/* Скрытие индикатора загрузки по умолчанию */
.loading-indicator {
    display: none;
}

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

.wallet-bottom-panel__list{
    padding: 24px;
}

.wallet-panel-category{
    font-size: 13px;
    font-weight: 600;
    color: #B1B4B9;
    padding: 12px 0px 8px 0px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.wallet-panel-item{

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

    border-radius: 24px;
    padding: 12px;
    background: #262930;
    margin-bottom: 8px;
    cursor: pointer;

}

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

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

.payment-method-item-logo{
    width: 40px;
    max-width: 40px;
    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: 24px;
    padding: 20px;
    background: #1D2025;
}
.payment-method-item-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #B1B4B9;
}
.payment-method-item-selected{
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    padding-top: 8px;
}
.wallet-d-btn{
    opacity: 0.8;
    max-width: 46px;
    padding-top: 6px;
}

.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: 10px !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: 15px;
}

/* Wallet top-up block styles moved from wallet.php */
.wallet-select-count-money {
    margin-top: 16px;
    border-radius: 24px;
    padding: 20px 20px 25px;
    background: #1d2025;
    position: relative;
}

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

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

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

.wallet-input-currency {
    font-weight: 600;
    font-size: 34px;
    color: #b1b4b9;
    padding-left: 0;
    padding-right: 2px;
    text-align: right;
    max-width: 21px;
    margin-right: 8px;
}

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

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

.wallet-select-value {
    padding: 0;
    margin-top: 9px;
}

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

.wallet-select-value .toggle-switch {
    margin-top: 5px;
}

.wallet-select-value .toggle-switch__btn {
    padding: 8px 6px !important;
    font-size: 14px !important;
}

.wallet-quick-values-toggle {
    margin-bottom: 18px;
}

.tsb14 {
    padding-left: 14px !important;
    padding-right: 14px !important;
}

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