
.tos-wrapper {
    background-color: #f8fafc;
    padding: 40px 0;
}


.tos-scroll-area {
    max-width: 1400px;
    max-height: 950px;
    margin: 0 auto;
    overflow-y: auto;
    padding: 0 20px;
}

.tos-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 40px;
    color: #333;
    line-height: 1.7;
    border: 1px solid #e5e7eb;
}


.TextPage_title_2a3aa {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.TextPage_title_2a3aa::before {
    content: '';
    width: 8px;
    height: 30px;
    background-color: #22c55e;
    border-radius: 6px;
}


.tos-card em {
    color: #666;
    font-size: 14px;
}


.tos-card h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}


.tos-card p {
    font-size: 15px;
}


.tos-card strong {
    display: block;
    color: #111827;
    font-weight: 600;
    margin-bottom: 5px;
}


.tos-scroll-area::-webkit-scrollbar {
    width: 8px;
}
.tos-scroll-area::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.tos-scroll-area::-webkit-scrollbar-thumb {
    background-color: #9ca3af;
    border-radius: 10px;
}
.tos-scroll-area::-webkit-scrollbar-thumb:hover {
    background-color: #6b7280;
}


@media (max-width: 768px) {
    .tos-card {
        padding: 25px;
        font-size: 14px;
    }
    .TextPage_title_2a3aa {
        font-size: 20px;
    }
}

.margin-ind {
    margin-top: 70px;
}

.TableCard_card_1ecb4 {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-top: 30px;
    overflow-x: auto;
}

/* Заголовки таблицы */
.table-balance__names {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    font-weight: 600;
    font-size: 14px;
    color: #474959;
    padding: 12px 20px;
    border-bottom: 2px solid #f0f0f0;
    background: #f9f9fa;
    border-radius: 12px 12px 0 0;
}

/* Ячейки заголовков */
.table-balance__name {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Список элементов */
.table-balance__items {
    display: flex;
    flex-direction: column;
}

/* Каждая строка таблицы */
.table-balance__item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 16px 20px;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease, transform 0.2s ease;

    &:hover {
        background: #f5f7fa;
        transform: translateY(-2px);
    }
}

* Стиль для ячеек */
.table-balance__item-coin {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 14px;
}

.table-balance__item-total,
.table-balance__item-orders,
.table-balance__item-equivalent {
    font-size: 14px;
    font-weight: 400;
    color: #636475;
}

@media (max-width: 768px) {
    .TableCard_card_1ecb4 {
        overflow-x: auto;
    }

    .table-balance__wrapper {
        min-width: 600px; /* Таблица шире контейнера — появляется скролл */
    }
}

.table-balance {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
    overflow: hidden;
}

.table-balance__names {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    padding: 14px 20px;
    background: #f7f9fb;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 600;
    color: #555;
}

.table-balance__item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.table-balance__item:hover {
    background: #f8fafc;
}

.table-balance__item-coin {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-balance__item-coin .coin-full-name {
    font-weight: 600;
}

.table-balance__item-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.table-balance__item-actions a {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s;
}

.table-balance__item-actions a[href*="deposit"] {
    background: #28a745;
    color: #fff;
    border: 1px solid #28a745;
}

.table-balance__item-actions a[href*="deposit"]:hover {
    background: #23963d;
}

.table-balance__item-actions a[href*="withdraw"] {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
}

.table-balance__item-actions a[href*="withdraw"]:hover {
    background: #f2f2f2;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    max-width: 360px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    font-family: "Inter", "Segoe UI", sans-serif;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
    z-index: 9999;
}

/* Когда активно (показывается) */
.notification-active {
    opacity: 1;
    transform: translateX(0);
}

/* Иконка */
.notification__img {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Текст */
.notification__title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.notification__description {
    font-size: 14px;
    color: #555;
}

/* Кнопка закрытия */
.notification__close {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.notification__close:hover {
    opacity: 1;
}

/* Цвета для статусов */
.noti-success {
    border-left: 4px solid #00c853;
}
.noti-warning {
    border-left: 4px solid #ffb300;
}
.noti-error {
    border-left: 4px solid #d32f2f;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px
}

.modal-content {
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 6px;
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
    outline: 0
}

.modal-backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    background-color: #000
}


.modal-backdrop.in {
    opacity: .5
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #e5e5e5
}

.modal-header .close {
    margin-top: -2px
}

.modal-title {
    margin: 0;
    line-height: 1.42857143
}

.modal-body {
    position: relative;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5
}

.modal-footer .btn+.btn {
    margin-bottom: 0;
    margin-left: 5px
}

.modal-footer .btn-group .btn+.btn {
    margin-left: -1px
}

.modal-footer .btn-block+.btn-block {
    margin-left: 0
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll
}

@media (min-width: 768px) {
    .modal-dialog {
        width:600px;
        margin: 30px auto
    }

    .modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
        box-shadow: 0 5px 15px rgba(0,0,0,.5)
    }

    .modal-sm {
        width: 300px
    }
}

@media (min-width: 992px) {
    .modal-lg {
        width:900px
    }
}

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2
}

.close:focus,.close:hover {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    opacity: .5
}

button.close {
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none
}

.modal-open {
    overflow: hidden
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0
}

.modal.fade .modal-dialog {
    -webkit-transform: translate(0,-25%);
    transform: translate(0,-25%);
    -webkit-transition: -webkit-transform .3s ease-out;
    transition: -webkit-transform .3s ease-out;
    transition: transform .3s ease-out;
    transition: transform .3s ease-out,-webkit-transform .3s ease-out
}

.modal.in .modal-dialog {
    -webkit-transform: translate(0,0);
    transform: translate(0,0)
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto
}

.modal-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: 100%;
    max-width: 600px; /* ограничение ширины */
    z-index: 1055;
}

/* Затемнение фона */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.5) !important;
    opacity: 1; !important;
}

/* Красивое оформление контента */
.modal-content.custom-modal {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    border: none;
}

.top-line__menu {
    gap: 40px;
    display: flex;
}

.table-transaction {
    width: 100%;
    font-family: "Inter", sans-serif;
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.table-transaction__container {
    padding: 20px;
}

.table-transaction__wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(57, 190, 232, 0.1);
}

/* Заголовки */
.table-transaction__names {
    display: grid;
    grid-template-columns: 100px 1fr 2fr 180px;
    padding: 14px 18px;
    font-weight: 600;
    color: #39bee8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Строки */
.table-transaction__item {
    display: grid;
    grid-template-columns: 100px 1fr 2fr 180px;
    padding: 14px 18px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.25s ease, transform 0.25s ease;
}

.table-transaction__item:hover {
    background: rgba(57, 190, 232, 0.07);
    transform: translateY(-1px);
}

/* Ячейки */
.table-transaction__item-status i {
    font-size: 16px;
}

.table-transaction__item-amount {
    font-weight: 500;
}

.table-transaction__item-address {
    word-break: break-all;
    font-size: 14px;
}

.table-transaction__item-date {
    font-size: 14px;
    text-align: right;
}

/* Нет данных */
.table-transaction__item-notFund {
    text-align: center;
    padding: 50px 20px;
    color: #7c85a1;
    font-size: 16px;
    border-radius: 12px;
}

.table-transaction__item-notFund svg {
    display: block;
    margin: 0 auto 10px;
    opacity: 0.8;
    width: 100px;
    height: auto;
}

/* Адаптив */
@media (max-width: 768px) {
    .table-transaction__names {
        display: none;
    }

    .table-transaction__item {
        grid-template-columns: 1fr 1fr;
        grid-row-gap: 8px;
        padding: 14px 10px;
    }

    .table-transaction__item > div::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        text-transform: uppercase;
        color: #39bee8;
        margin-bottom: 2px;
    }

    .table-transaction__item-date {
        text-align: left;
    }
}

.fa-spin,
.fa-spinner,
.svg-inline--fa.fa-spin,
svg.svg-inline--fa.fa-spin,
.fa-solid.svg-inline--fa.fa-spin {
    -webkit-animation: fa-spin 1s linear infinite !important;
    -moz-animation: fa-spin 1s linear infinite !important;
    animation: fa-spin 1s linear infinite !important;
    -webkit-transform-origin: 50% 50% !important;
    transform-origin: 50% 50% !important;
}

/* Keyframes */
@-webkit-keyframes fa-spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } }
@-moz-keyframes fa-spin { 0% { -moz-transform: rotate(0deg); } 100% { -moz-transform: rotate(360deg); } }
@keyframes fa-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.ProfileHeaderMenu_assets_menu_f028f {
    position: relative;
    z-index: 999 !important;
}

.button__loader svg {
    animation: rotation 0.6s linear infinite;
    width: 20px;
    height: 20px;
}

@keyframes rotation {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.deposit-step-enter-all {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    color: #6C63FF !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: 0.2s
    ease !important;
    margin-right: 53px;
    font-size: 15.9px;
    line-height: 19px;
    color: #7044EE;
    position: absolute;
    right: 0px;
    cursor: pointer;
    z-index: 10;
}

.step__enter-fee {
    width: 55px !important;
    height: 52px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0px;
    background-color: #55ab4c;
    color: #FFFFFF;
}

.step__available {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.text-balance {
    color: #474959;
    font-size: .8125rem;
}

.swal2-confirm {
    background: #74cf6a;
    padding: .5625rem 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: .25rem;
    border: 1px solid transparent;
    cursor: pointer;
    font-family: Inter Medium, sans-serif;
    color: #fff;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.authentication__step-code {
    display: flex;
    justify-content: center;
    width: 100%;
}

.code-authentication {
    display: flex;
    gap: 12px;
}

.code__input {
    width: 48px;
    height: 58px;

    border-radius: 12px;
    border: 2px solid #E0E0E0;

    text-align: center;
    font-size: 24px;
    font-weight: 600;

    outline: none;
    transition: all 0.2s ease;

    background: #F9FAFB;
    color: #2A353D;

    -moz-appearance: textfield;
}

/* Убираем стрелки в Chrome */
.code__input::-webkit-inner-spin-button,
.code__input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ховер */
.code__input:hover {
    border-color: #BEBBFF;
}

/* Активное поле */
.code__input:focus {
    border-color: #6C63FF;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.15);
}

/* Когда введено значение */
.code__input.filled {
    border-color: #6C63FF;
    background: #F3F1FF;
}

/* Для меньших экранов */
@media (max-width: 480px) {
    .code__input {
        width: 42px;
        height: 52px;
        font-size: 20px;
    }
}

@media (max-width: 700px) {
    .coin-full-name {
        display: none;
    }
    
}

.Card_card_8d699 .SwapCrypto_input_wrapper_0b2c8 {
    display: flex !important;
    gap: 12px !important;
    width: 100% !important;
    align-items: center !important;
}

/* Input */
.Card_card_8d699 .Input_input_wrapper_450ea input,
.Card_card_8d699 .nput_input_5759f,
.Card_card_8d699 .Input_input_5759f {
    height: 52px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
    border: 1px solid #dcdcdc !important;
    font-size: 16px !important;
}

/* "All" */
.Card_card_8d699 .step__enter-all {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
}

/* Selects */
.Card_card_8d699 select.coins-exchange,
.Card_card_8d699 select.to-exchange {
    height: 52px !important;
    padding: 0 16px !important;
    border-radius: 10px !important;
    border: 1px solid #dcdcdc !important;
    font-size: 16px !important;
    width: 160px !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

/* Второй SELECT (который в wrapper) */
.Card_card_8d699 .SwapCrypto_select_container_e6e1b select {
    height: 52px !important;
    width: 160px !important;
}

/* Мобильная адаптация */
@media (max-width: 768px) {

    .Card_card_8d699 .SwapCrypto_input_wrapper_0b2c8 {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .Card_card_8d699 select.coins-exchange,
    .Card_card_8d699 select.to-exchange,
    .Card_card_8d699 .SwapCrypto_select_container_e6e1b select {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    /* Выравниваем сам input */
    .Card_card_8d699 .Input_input_wrapper_450ea input,
    .Card_card_8d699 .Input_input_5759f,
    .Card_card_8d699 .nput_input_5759f {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        height: 52px !important;
        padding: 0 16px !important;
    }

    /* === ВАЖНО: выравниваем контейнер селекта === */
    .Card_card_8d699 .Select_select_wrapper_2c7bb,
    .Card_card_8d699 .Select_select_2c7bb {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    .szh-menu-container {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
    }

    .szh-menu {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        transform: none !important;
    }
}

.szh-menu {
    transform: none !important;
}

/* Отключаем autoFlip для подменю */
.szh-menu__submenu {
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    transform: none !important;
}

@media (max-width: 768px) {
    /* Основное меню — растянуть под аватар */
    .szh-menu-container,
    .szh-menu {
        width: calc(100vw - 20px) !important;
        left: 0 !important;
        right: 0 !important;
        top: 100% !important;
        transform: none !important;
    }

    /* Подменю фиксировано справа от пункта */
    .szh-menu__submenu {
        top: 0 !important;
        left: 100% !important;
        transform: none !important;
    }
}

.pie-chart {
    width: 100px;        /* или 200px если нужно меньше */
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.pie-chart svg {
    width: 100%;
    height: auto;
    display: block;
}

.pie-legend {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.select2-container {
    width: 100% !important;
}

