.wmx-coin-menu__wallet-panel {
    margin: 10px 9px 12px;
    padding: 10px 10px 4px;
    border: 1px solid #e6ebef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(31, 55, 72, .06);
}

.wmx-wallet-panel__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 4px;
    padding: 0 1px 8px;
    border-bottom: 1px solid #e6ebef;
}

.wmx-wallet-panel__header h4 {
    margin: 0;
    color: #253b4c;
    font-size: 13px;
    font-weight: 700;
}

.wmx-wallet-panel__header > span {
    color: #748493;
    font-size: 9px;
    white-space: nowrap;
}

.wmx-wallet-panel__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wmx-wallet-panel__row {
    min-width: 0;
    padding: 7px 0;
    border-bottom: 1px solid #edf0f2;
}

.wmx-wallet-panel__row:last-child {
    border-bottom: 0;
}

.wmx-wallet-panel__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
}

.wmx-wallet-panel__icon {
    display: inline-flex;
    width: 17px;
    height: 15px;
    flex: 0 0 17px;
    align-items: center;
    justify-content: center;
    color: #356da2;
}

.wmx-wallet-panel__icon svg {
    display: block;
    width: 17px;
    height: 15px;
}

.wmx-wallet-panel__name {
    overflow: hidden;
    color: #304555;
    font-size: 11px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wmx-wallet-panel__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.wmx-wallet-panel__button {
    display: flex;
    min-width: 0;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 5px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-size: 9px;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
}

.wmx-wallet-panel__button:hover {
    text-decoration: none;
}

.wmx-wallet-panel__button strong {
    flex: 0 0 auto;
    font-size: 9px;
    font-weight: 800;
}

.wmx-wallet-panel__button span,
.wmx-wallet-panel__button small {
    min-width: 0;
    overflow: hidden;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wmx-wallet-panel__button--buy {
    border-color: #d9e9dd;
    background: #eff8f1;
    color: #377653;
}

.wmx-wallet-panel__button--sell {
    border-color: #f0dede;
    background: #fcf0f0;
    color: #a55055;
}

.wmx-wallet-panel__button.is-disabled {
    opacity: .92;
    cursor: not-allowed;
}

.wmx-wallet-panel__button:focus-visible {
    outline: 2px solid #297d66;
    outline-offset: 2px;
}

@media (max-width: 991px) {
    body.xn-customer-ui #xn-trading-catalog .wmx-coin-menu__wallet-panel {
        margin: 0;
        padding: 10px 11px 5px;
        border-radius: 14px;
    }

    body.xn-customer-ui #xn-trading-catalog .wmx-wallet-panel__row {
        padding: 7px 0;
    }
}


/* XN_WALLET_BRAND_LOGOS_V1 */
.wmx-wallet-panel__icon { position: relative; width: 22px; height: 22px; flex-basis: 22px; }
.wmx-wallet-panel__brand { position: absolute; z-index: 1; display: block; width: 22px; height: 22px; padding: 2px; border-radius: 5px; background: #fff; object-fit: contain; }
