/* app/static/css/wallets.css */

/* ========================= */
/* ОБЩИЕ СТИЛИ ВКЛАДКИ WALLETS */
/* ========================= */

.generated-wallet-box {
    background: rgba(0, 0, 0, 1);
    border: 2px solid #037d9c !important;
    border-radius: 8px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 8px;
    position: relative;
    z-index: 12;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    overflow: visible;
}

/* ========================= */
/* ВСЕГДА ОТКРЫТЫЙ PAXOR WALLET */
/* ========================= */

.paxor-wallet-main {
    border: 2px solid #06abd4 !important;
    border-radius: 8px;
    overflow: hidden;
}

.wallet-header {
    display: flex;
    align-items: center;
    padding: 12px;
    transition: background 0.3s ease;
    position: relative;
    pointer-events: auto;
}

.paxor-wallet-header-static {
    background: #037d9c !important;
    border: none !important;
    cursor: default !important;
    pointer-events: none;
    justify-content: center;
    min-height: 54px;
    padding: 10px 20px;
}

.paxor-wallet-header-static:hover {
    background: #037d9c !important;
}

.wallet-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.wallet-logo {
    width: 24px !important;
    height: 24px !important;
    margin-right: 8px;
    object-fit: contain;
    max-width: 24px !important;
    max-height: 24px !important;
}

.wallet-logo[src=""] {
    display: none;
}

.paxor-wallet-header-static .wallet-logo {
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    margin-right: 0;
    object-fit: contain;
}

.wallet-title {
    font-size: 24px;
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    flex-grow: 1;
}

.paxor-wallet-header-static .wallet-title {
    flex-grow: 0;
    text-align: center;
    font-size: 24px;
    color: #ffffff;
}

.arrow-icon {
    display: none !important;
}

/* ========================= */
/* КОНТЕНТ КОШЕЛЬКА */
/* ========================= */

.wallet-content {
    display: block !important;
    padding: 0 12px 12px;
    transition: max-height 0.3s ease;
    outline: none !important;
}

.paxor-wallet-main .wallet-content {
    display: block !important;
    padding: 0 12px 12px;
    outline: none !important;
}

.wallets-container > .paxor-wallet-main,
.wallets-container > .generated-wallet-box {
    margin-top: 0 !important;
}

/* ========================= */
/* TOTAL BALANCE */
/* ========================= */

.total-balance {
    background: rgba(50, 50, 50, 0.8);
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.total-balance span[data-i18n="Total Balance:"] {
    margin-right: 8px;
    flex-shrink: 0;
}

.total-balance .balance-amount {
    margin: 0 4px;
    font-weight: 600;
}

.total-balance .currency-toggle {
    margin: 0 4px;
    flex-shrink: 0;
}

.total-balance .refresh-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(50, 50, 50, 0.8);
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: border 0.3s ease;
    z-index: 300;
    pointer-events: auto;
}

.total-balance .refresh-btn:hover {
    border: 2px solid #ffffff;
}

.total-balance .refresh-btn.spinning {
    animation: none;
}

.total-balance .refresh-btn.spinning .icon-logo {
    animation: spin 1.6s linear infinite;
    transform-origin: center;
}

.total-balance .icon-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* ========================= */
/* КНОПКИ ДЕЙСТВИЙ */
/* ========================= */

.wallet-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 6px 0;
    padding-top: 4px;
    padding-bottom: 10px;
    align-items: center;
    position: relative;
    z-index: 300;
}

.wallet-action-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 8px 16px 8px 48px;
    background: #323232 !important;
    color: #ffffff !important;
    border: 1px solid rgba(150, 150, 150, 0.1);
    font-size: 14px;
    border-radius: 4px;
    transition: background 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    text-align: left;
    width: auto;
    height: 40px;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 100;
    pointer-events: auto;
}

.wallet-action-item:hover {
    background: #037d9c !important;
    color: #ffffff !important;
    border-color: rgba(150, 150, 150, 0.1);
}

.wallet-action-item:before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(35, 35, 35, 0.9);
    border-radius: 50%;
    transition: background 0.3s ease;
    z-index: 1;
}

.wallet-action-item:hover:before {
    background: #069ec4 !important;
}

.wallet-action-item i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    color: #ffffff;
    font-size: 1em;
    transition: color 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wallet-action-item:hover i {
    color: #ffffff;
}

/* ========================= */
/* WALLET ACTION: REMOVE WALLET */
/* ========================= */

.remove-wallet-btn {
    border-color: rgba(255, 70, 70, 0.55);
    color: #ff7777;
}

.remove-wallet-btn:hover {
    background: rgba(255, 70, 70, 0.15);
    border-color: rgba(255, 70, 70, 0.9);
    color: #ffffff;
}

/* ========================= */
/* АДРЕС КОШЕЛЬКА */
/* ========================= */

.wallet-address-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    text-align: center;
    margin: 10px 0;
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(50, 50, 50, 0.5);
    border-radius: 4px;
    padding: 8px;
}

.wallet-address-content {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#generated-wallet-address {
    color: #cccccc;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    text-align: center;
    display: inline-block;
    width: calc(100% - 50px);
    max-width: 100%;
}

.copy-address-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    font-size: 14px;
    transition: color 0.3s ease;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    padding: 5px;
    z-index: 150;
    pointer-events: auto;
}

.copy-address-btn:hover {
    color: #1E90FF;
}

.generated-wallet-box.connected .copy-address-btn {
    display: inline-block;
}

/* ========================= */
/* ВЫБОР СЕТИ */
/* ========================= */

.network-selector {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    z-index: 2000;
}

.network-toggle {
    cursor: pointer;
    color: #ffffff;
    font-size: 16px;
    padding: 8px 12px;
    background: rgba(50, 50, 50, 0.8);
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2000;
    pointer-events: auto;
}

.network-toggle:hover {
    border-color: #1E90FF;
}

.network-toggle i {
    font-size: 12px;
}

.network-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #1E90FF;
    border-radius: 4px;
    min-width: 200px;
    z-index: 2000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 5px 0;
}

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

.network-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #ffffff;
    cursor: pointer;
}

.network-option:hover {
    background: rgba(50, 50, 50, 0.8);
}

.network-logo {
    width: 24px !important;
    height: 24px !important;
    margin-right: 8px;
    object-fit: contain;
    max-width: 24px !important;
    max-height: 24px !important;
}

.network-logo[src=""] {
    display: none;
}

/* ========================= */
/* АКТИВЫ */
/* ========================= */

.assets-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.wallet-loading-assets,
.wallet-loading-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    color: #36a866;

    font-size: 14px;
    font-weight: 700;
}

.wallet-loading-assets {
    min-height: 48px;
}

.wallet-loading-assets > i {
    color: #36a866;
}

.wallet-loading-dots {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wallet-loading-dots i {
    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #36a866;

    animation: wallet-loading-dot-pulse 1s ease-in-out infinite;
}

.wallet-loading-dots i:nth-child(2) {
    animation-delay: 0.16s;
}

.wallet-loading-dots i:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes wallet-loading-dot-pulse {
    0%,
    70%,
    100% {
        opacity: 0.32;
        transform: translateY(0);
    }

    35% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* ========================= */
/* NETWORK BOX */
/* ========================= */
.network-box {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(50, 50, 50, 0.5);
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform 0.3s ease, background 0.3s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.network-box:hover {
    transform: translateY(-3px);
    background: rgba(50, 50, 50, 0.8);
}

/* ========================= */
/* NETWORK CARD */
/* ========================= */
.network-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    box-sizing: border-box;
}

.network-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    text-align: left;
    padding-left: 4px;
    margin-bottom: 12px;
}

.network-card-title {
    font-size: 18px;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
}

.network-logo {
    width: 24px !important;
    height: 24px !important;
    object-fit: contain;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0;
}

.network-logo[src=""] {
    display: none;
}

.network-card-labels {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.6fr 0.7fr;
    align-items: center;
    column-gap: 12px;
    width: 100%;
    margin-top: 0;
}

.network-card-label {
    font-size: 14px;
    color: #cccccc;
    text-align: center;
    line-height: 1.2;
}

.network-card-values {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 1.6fr 0.7fr;
    align-items: center;
    column-gap: 12px;
    width: 100%;
}

.network-card-value {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    text-align: center;
}

.balance-value {
    gap: 6px;
    white-space: nowrap;
}

.usd-value,
.nft-value {
    white-space: nowrap;
}

.tokens-value {
    min-width: 0;
}

.balance-amount,
.value-usd-amount,
.nft-count {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.2;
}

.currency-symbol {
    font-size: 16px;
    color: #cccccc;
    margin-left: 2px;
}

/* ========================= */
/* TOKENS / USDT */
/* ========================= */

.tokens-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.token-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 6px 10px;
    border-radius: 6px;
    background: rgba(55, 55, 55, 0.45);
    box-sizing: border-box;
    flex-wrap: nowrap;
}

.token-row-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-shrink: 0;
}

.token-row-right {
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: right;
    flex-shrink: 1;
    min-width: 0;
    margin-left: auto;
}

.token-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.token-symbol {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.token-balance {
    color: #ffffff;
    font-size: 14px;
    white-space: nowrap;
}

.token-usd {
    color: #bfbfbf;
    font-size: 13px;
    white-space: nowrap;
}

.token-empty {
    color: #9f9f9f;
    font-size: 13px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    width: 100%;
}

.tokens-value {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tokens-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

/* ========================= */
/* ПЕРЕКЛЮЧАТЕЛЬ ВАЛЮТЫ */
/* ========================= */

.currency-toggle {
    cursor: pointer;
    color: #ffffff;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: color 0.3s ease;
    z-index: 2000;
    pointer-events: auto;
    padding: 0;
    line-height: 1;
}

.currency-toggle:hover {
    color: #1E90FF;
}

.currency-toggle::after {
    content: '▼';
    font-size: 10px;
    position: static;
    transform: none;
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.currency-toggle.active::after {
    transform: rotate(180deg);
}

.currency-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #1E90FF;
    border-radius: 4px;
    min-width: 70px;
    z-index: 2500;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 5px 0;
}

.currency-toggle.active .currency-menu,
.currency-menu.active {
    display: block;
}

.currency-option {
    padding: 6px 10px;
    color: #ffffff;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}

.currency-option:hover {
    background: rgba(50, 50, 50, 0.8);
}

/* ========================= */
/* ФОРМЫ И INPUT ДЛЯ МОДАЛОК */
/* ========================= */

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-group label {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 4px;
    background: rgba(30, 30, 30, 0.8);
    color: #ffffff;
    font-size: 14px;
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.amount-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.amount-usd {
    font-size: 0.9em;
    color: #cccccc;
}

#gas-cost,
#gas-cost-usd {
    font-size: 0.9em;
    color: #cccccc;
    margin-left: 10px;
}

#import-private-key,
#restore-private-key {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 4px;
    background: rgba(30, 30, 30, 0.8);
    color: #ffffff;
    font-size: 14px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#import-private-key:focus,
#restore-private-key:focus,
#restore-method:focus,
#restore-mnemonic-length:focus,
.mnemonic-word-input:focus {
    border-color: #1E90FF;
    outline: none;
}

#restore-method,
#restore-mnemonic-length {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 4px;
    background: rgba(30, 30, 30, 0.8);
    color: #ffffff;
    font-size: 14px;
}

#restore-mnemonic-container,
#restore-private-key {
    margin-bottom: 15px;
}

#restore-mnemonic-words {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 10px 0;
}

.mnemonic-word-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.mnemonic-word-input {
    padding: 8px;
    border: 1px solid rgba(150, 150, 150, 0.3);
    border-radius: 4px;
    background: rgba(30, 30, 30, 0.8);
    color: #ffffff;
    font-size: 14px;
    width: 100%;
}

#balance-chart {
    max-width: 100%;
    margin: 20px auto;
}

/* ========================= */
/* СВЕТЛАЯ ТЕМА */
/* ========================= */

.light-theme .generated-wallet-box {
    background: rgba(255, 255, 255, 1);
    border: 2px solid #037d9c !important;
}

.light-theme .wallet-header.active {
    background: #1E90FF;
    color: white;
    border: 2px solid #1E90FF;
}

.light-theme .wallet-title {
    color: #333333;
}

.light-theme #generated-wallet-address {
    color: #666666;
    font-family: 'Inter', sans-serif;
}

.light-theme .total-balance {
    background: rgba(240, 240, 240, 0.8);
    border: 1px solid rgba(150, 150, 150, 0.5);
    color: #333333;
}

.light-theme .total-balance .refresh-btn {
    background: rgba(200, 200, 200, 0.8);
    border: 1px solid rgba(150, 150, 150, 0.3);
}

.light-theme .total-balance .refresh-btn:hover {
    border: 2px solid #333333;
}

.light-theme .wallet-action-item {
    background: #f0f0f0 !important;
    color: #000000 !important;
    border: 1px solid rgba(150, 150, 150, 0.1);
}

.light-theme .wallet-action-item:hover {
    background: #037d9c !important;
    color: #ffffff !important;
}

.light-theme .wallet-action-item:before {
    background: #d8d8d8;
}

.light-theme .wallet-action-item:hover:before {
    background: #037d9c !important;
}

.light-theme .wallet-action-item i {
    color: #000000;
    text-shadow: none;
}

.light-theme .wallet-action-item:hover i {
    color: #ffffff;
}

.light-theme .wallet-address-wrapper {
    background: rgba(240, 240, 240, 0.8);
    border: 1px solid rgba(150, 150, 150, 0.5);
}

.light-theme .network-box {
    background: rgba(240, 240, 240, 0.8);
    border: 1px solid rgba(150, 150, 150, 0.5);
}

.light-theme .network-box:hover {
    background: rgba(200, 200, 200, 0.8);
}

.light-theme .network-info {
    color: #666666;
}

.light-theme .network-title {
    color: #333333;
}

.light-theme .balance-amount,
.light-theme .value-usd-amount,
.light-theme .nft-count,
.light-theme .token-symbol,
.light-theme .token-balance {
    color: #333333;
}

.light-theme .currency-symbol,
.light-theme .balance-label,
.light-theme .value-usd-label,
.light-theme .nft-label,
.light-theme .tokens-label,
.light-theme .token-usd,
.light-theme .token-empty {
    color: #666666;
}

.light-theme .network-toggle {
    color: #333333;
    background: rgba(200, 200, 200, 0.8);
    border: 1px solid rgba(150, 150, 150, 0.3);
}

.light-theme .network-toggle:hover {
    border-color: #1E90FF;
}

.light-theme .network-menu {
    background: rgba(240, 240, 240, 0.9);
    border: 1px solid #1E90FF;
}

.light-theme .network-option {
    color: #333333;
}

.light-theme .network-option:hover {
    background: rgba(200, 200, 200, 0.8);
}

.light-theme .currency-toggle {
    color: #333333;
}

.light-theme .currency-toggle:hover {
    color: #1E90FF;
}

.light-theme .currency-menu {
    background: rgba(240, 240, 240, 0.9);
    border: 1px solid #1E90FF;
}

.light-theme .currency-option {
    color: #333333;
}

.light-theme .currency-option:hover {
    background: rgba(200, 200, 200, 0.8);
}

.light-theme .token-row {
    background: rgba(210, 210, 210, 0.6);
}

.light-theme .form-group label {
    color: #333333;
}

.light-theme .form-group input,
.light-theme .form-group select,
.light-theme #import-private-key,
.light-theme #restore-private-key,
.light-theme #restore-method,
.light-theme #restore-mnemonic-length,
.light-theme .mnemonic-word-input {
    background: rgba(240, 240, 240, 0.8);
    border: 1px solid rgba(150, 150, 150, 0.5);
    color: #333333;
}

.light-theme .amount-usd,
.light-theme #gas-cost,
.light-theme #gas-cost-usd {
    color: #666666;
}

/* ========================= */
/* АНИМАЦИЯ */
/* ========================= */

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================= */
/* АДАПТИВ */
/* ========================= */

@media (max-width: 1024px) {
    .network-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .network-title {
        min-width: unset;
        width: 100%;
        justify-content: center;
        margin-right: 0;
    }

    .divider {
        display: none;
    }

    .balance-container,
    .value-usd-container,
    .tokens-container,
    .nft-container {
        min-width: 220px;
    }
}

@media (max-width: 640px) {
    .wallet-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .wallet-action-item {
        width: 100%;
        justify-content: center;
        padding-left: 48px;
    }

    .total-balance {
        flex-wrap: wrap;
        justify-content: center;
        padding-right: 46px;
    }

    .token-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .token-row-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ========================= */
/* NFT TOGGLE + DETAILS */
/* ========================= */
.nft-value {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nft-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.nft-toggle-btn:hover {
    color: #06abd4;
}

.nft-toggle-arrow {
    font-size: 12px;
    line-height: 1;
}

.nft-count-static {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.2;
}

.nft-details {
    width: 100%;
    margin-top: 0;
    padding: 12px 16px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
    display: none;
}

.nft-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nft-item:last-child {
    border-bottom: none;
}

.nft-item-image-wrap {
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(55, 55, 55, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nft-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nft-image-placeholder {
    color: #9f9f9f;
    font-size: 12px;
    text-align: center;
    padding: 8px;
}

.nft-item-meta {
    flex: 1;
    min-width: 0;
}

.nft-item-row {
    margin-bottom: 6px;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.35;
    word-break: break-word;
}

.nft-item-row strong {
    color: #ffffff;
    margin-right: 6px;
}

.nft-contract-address {
    display: inline;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.nft-metadata-link {
    color: #27dcff;
    font-weight: 700;
    text-decoration: none;
}

.nft-metadata-link:hover {
    color: #8feeff;
    text-decoration: underline;
}

.light-theme .nft-metadata-link {
    color: #037d9c;
}

.nft-empty {
    color: #9f9f9f;
    font-size: 13px;
    text-align: left;
    padding: 6px 0;
}

/* ========================= */
/* LIGHT THEME: WALLET TEXT FIX */
/* ========================= */

/* Главный заголовок Paxor Wallet в синей шапке оставляем белым */
.light-theme .paxor-wallet-header-static .wallet-title {
    color: #ffffff !important;
}

/* Название сети внутри карточки */
.light-theme .network-card-title {
    color: #222222 !important;
}

/* Подписи Balance / Value USD / Tokens / NFTs */
.light-theme .network-card-label {
    color: #555555 !important;
}

/* Основные значения в карточках */
.light-theme .network-card-value,
.light-theme .balance-amount,
.light-theme .value-usd-amount,
.light-theme .nft-count,
.light-theme .nft-count-static,
.light-theme .token-symbol,
.light-theme .token-balance {
    color: #222222 !important;
}

/* Символ валюты и второстепенный текст */
.light-theme .currency-symbol,
.light-theme .token-usd,
.light-theme .token-empty {
    color: #666666 !important;
}

/* NFT кнопка: NFTs: 2 + стрелка */
.light-theme .nft-toggle-btn {
    color: #222222 !important;
}

.light-theme .nft-toggle-btn:hover {
    color: #037d9c !important;
}

.light-theme .nft-toggle-arrow {
    color: inherit !important;
}

/* Блок деталей NFT */
.light-theme .nft-details {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* Строки NFT информации */
.light-theme .nft-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}

.light-theme .nft-item-row {
    color: #555555 !important;
}

.light-theme .nft-item-row strong {
    color: #222222 !important;
}

/* Пустой текст NFT */
.light-theme .nft-empty {
    color: #666666 !important;
}

/* Placeholder, если у NFT нет картинки */
.light-theme .nft-image-placeholder {
    color: #666666 !important;
}

/* Фон картинки NFT в светлой теме */
.light-theme .nft-item-image-wrap {
    background: rgba(210, 210, 210, 0.8);
}

/* Адрес кошелька */
.light-theme #generated-wallet-address {
    color: #333333 !important;
}

/* Кнопка копирования адреса */
.light-theme .copy-address-btn {
    color: #333333 !important;
}

.light-theme .copy-address-btn:hover {
    color: #037d9c !important;
}

/* ========================= */
/* IMPORT WALLET: CONNECTING ANIMATION */
/* ========================= */

.import-wallet-loading {
    width: 100%;
    max-width: 520px;
    margin: 18px auto 0;
    padding: 16px 18px 18px;
    border: 1px solid rgba(6, 171, 212, 0.35);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.96);
    box-shadow: 0 0 16px rgba(6, 171, 212, 0.18);
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.import-wallet-loading-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
}

.import-loading-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(6, 171, 212, 0.14);
    border: 1px solid rgba(6, 171, 212, 0.45);
    color: #06d9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: importWalletPulse 1.4s ease-in-out infinite;
}

.import-loading-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.import-loading-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #06d9ff;
    opacity: 0.35;
    animation: importWalletDot 1.2s ease-in-out infinite;
}

.import-loading-dots span:nth-child(2) {
    animation-delay: 0.18s;
}

.import-loading-dots span:nth-child(3) {
    animation-delay: 0.36s;
}

.import-wallet-loading-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}

.import-wallet-loading-text {
    color: #bfbfbf;
    font-size: 13px;
    line-height: 1.4;
}

.import-wallet-loading-line {
    position: relative;
    width: 100%;
    height: 2px;
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.import-wallet-loading-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -45%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        #06d9ff,
        transparent
    );
    animation: importWalletLine 1.15s linear infinite;
}

/* Кнопка Import во время подключения */
.action-btn.import-loading {
    pointer-events: none;
    opacity: 0.85;
}

.action-btn.import-loading i {
    animation: importWalletButtonSpin 1.1s linear infinite;
}

/* Блокировка Cancel во время импорта */
.action-btn.import-disabled {
    pointer-events: none;
    opacity: 0.45;
}

/* Блокировка полей во время импорта */
.import-field-disabled {
    pointer-events: none;
    opacity: 0.65;
}

/* ========================= */
/* LIGHT THEME: IMPORT WALLET CONNECTING ANIMATION */
/* ========================= */

.light-theme .import-wallet-loading {
    background: rgba(245, 245, 245, 0.98);
    border: 1px solid rgba(3, 125, 156, 0.35);
    box-shadow: 0 0 14px rgba(3, 125, 156, 0.14);
}

.light-theme .import-loading-icon {
    background: rgba(3, 125, 156, 0.10);
    border: 1px solid rgba(3, 125, 156, 0.45);
    color: #037d9c;
}

.light-theme .import-loading-dots span {
    background: #037d9c;
}

.light-theme .import-wallet-loading-title {
    color: #222222;
}

.light-theme .import-wallet-loading-text {
    color: #555555;
}

.light-theme .import-wallet-loading-line {
    background: rgba(0, 0, 0, 0.10);
}

.light-theme .import-wallet-loading-line::before {
    background: linear-gradient(
        90deg,
        transparent,
        #037d9c,
        transparent
    );
}

/* ========================= */
/* IMPORT WALLET: ANIMATION KEYFRAMES */
/* ========================= */

@keyframes importWalletPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(6, 171, 212, 0);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 0 12px rgba(6, 171, 212, 0.45);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 rgba(6, 171, 212, 0);
    }
}

@keyframes importWalletDot {
    0% {
        opacity: 0.25;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-3px);
    }

    100% {
        opacity: 0.25;
        transform: translateY(0);
    }
}

@keyframes importWalletLine {
    from {
        left: -45%;
    }

    to {
        left: 100%;
    }
}

@keyframes importWalletButtonSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ========================= */
/* UNLOCK WALLET: CONNECTING ANIMATION */
/* ========================= */

.unlock-wallet-loading {
    width: 100%;
    max-width: 520px;
    margin: 18px auto 0;
    padding: 16px 18px 18px;
    border: 1px solid rgba(6, 171, 212, 0.35);
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.96);
    box-shadow: 0 0 16px rgba(6, 171, 212, 0.18);
    box-sizing: border-box;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.unlock-wallet-loading-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 10px;
}

.unlock-loading-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(6, 171, 212, 0.14);
    border: 1px solid rgba(6, 171, 212, 0.45);
    color: #06d9ff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: importWalletPulse 1.4s ease-in-out infinite;
}

.unlock-loading-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.unlock-loading-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #06d9ff;
    opacity: 0.35;
    animation: importWalletDot 1.2s ease-in-out infinite;
}

.unlock-loading-dots span:nth-child(2) {
    animation-delay: 0.18s;
}

.unlock-loading-dots span:nth-child(3) {
    animation-delay: 0.36s;
}

.unlock-wallet-loading-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}

.unlock-wallet-loading-text {
    color: #bfbfbf;
    font-size: 13px;
    line-height: 1.4;
}

.unlock-wallet-loading-line {
    position: relative;
    width: 100%;
    height: 2px;
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.unlock-wallet-loading-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -45%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        #06d9ff,
        transparent
    );
    animation: importWalletLine 1.15s linear infinite;
}

/* Кнопка Unlock во время подключения */
.action-btn.unlock-loading {
    pointer-events: none;
    opacity: 0.85;
}

.action-btn.unlock-loading i {
    animation: importWalletButtonSpin 1.1s linear infinite;
}

/* Блокировка Cancel во время Unlock */
.action-btn.unlock-disabled {
    pointer-events: none;
    opacity: 0.45;
}

/* Блокировка поля пароля во время Unlock */
.unlock-field-disabled {
    pointer-events: none;
    opacity: 0.65;
}

/* Поднимаем Unlock modal при появлении анимации */
#restore-wallet-modal.unlock-in-progress .modal-content {
    transform: translateY(-25px);
}

/* ========================= */
/* LIGHT THEME: UNLOCK WALLET CONNECTING ANIMATION */
/* ========================= */

.light-theme .unlock-wallet-loading {
    background: rgba(245, 245, 245, 0.98);
    border: 1px solid rgba(3, 125, 156, 0.35);
    box-shadow: 0 0 14px rgba(3, 125, 156, 0.14);
}

.light-theme .unlock-loading-icon {
    background: rgba(3, 125, 156, 0.10);
    border: 1px solid rgba(3, 125, 156, 0.45);
    color: #037d9c;
}

.light-theme .unlock-loading-dots span {
    background: #037d9c;
}

.light-theme .unlock-wallet-loading-title {
    color: #222222;
}

.light-theme .unlock-wallet-loading-text {
    color: #555555;
}

.light-theme .unlock-wallet-loading-line {
    background: rgba(0, 0, 0, 0.10);
}

.light-theme .unlock-wallet-loading-line::before {
    background: linear-gradient(
        90deg,
        transparent,
        #037d9c,
        transparent
    );
}

/* ========================= */
/* ACCOUNT WALLETS: PAXOR MODAL STYLE */
/* ========================= */

.wallets-container {
    margin: 0;
    width: 100%;
    text-align: left;
}

.wallets-container .generated-wallet-box.paxor-wallet-main {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(6, 171, 212, 0.44) !important;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(180deg, rgba(6, 171, 212, 0.14), rgba(0, 0, 0, 0.10)),
        rgba(15, 18, 22, 0.98);
    box-shadow:
        0 0 24px rgba(6, 171, 212, 0.22),
        0 18px 50px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.wallets-container .paxor-wallet-header-static {
    position: relative;
    min-height: 72px;
    margin: 0;
    padding: 12px 24px;
    overflow: hidden;
    border: 2px solid #037d9c !important;
    border-radius: 15px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.14) 48%, rgba(0, 0, 0, 0.04)),
        radial-gradient(circle at 78% 48%, rgba(3, 125, 156, 0.42), transparent 38%),
        linear-gradient(180deg, rgba(3, 125, 156, 0.38), rgba(4, 22, 32, 0.84)) !important;
    box-shadow:
        0 0 16px rgba(3, 125, 156, 0.48),
        0 10px 24px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    box-sizing: border-box;
}

.wallets-container .paxor-wallet-header-static::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%),
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.12), transparent 32%);
    pointer-events: none;
}

.wallets-container .wallet-header-center {
    position: relative;
    z-index: 2;
    gap: 14px;
}

.wallets-container .paxor-wallet-header-static .wallet-logo {
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    filter: drop-shadow(0 0 12px rgba(6, 217, 255, 0.24));
}

.wallets-container .paxor-wallet-header-static .wallet-title {
    color: #ffffff !important;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.48);
}

.wallets-container .paxor-wallet-main .wallet-content {
    padding: 18px 20px 20px;
}

.wallets-container .wallet-actions {
    gap: 10px;
    margin: 0 0 14px;
    padding: 0;
    flex-wrap: wrap;
}

.wallets-container .wallet-action-item {
    min-height: 40px;
    padding: 0 16px 0 42px;
    border: 1px solid rgba(6, 217, 255, 0.54);
    border-radius: 11px;
    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.26), rgba(0, 255, 204, 0.10)),
        rgba(6, 171, 212, 0.12) !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    box-shadow:
        0 0 14px rgba(6, 171, 212, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.wallets-container .wallet-action-item:hover {
    border-color: rgba(6, 217, 255, 0.78);
    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.34), rgba(0, 255, 204, 0.14)),
        rgba(6, 171, 212, 0.18) !important;
    box-shadow:
        0 0 16px rgba(6, 171, 212, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.wallets-container .wallet-action-item::before {
    display: none;
}

.wallets-container .wallet-action-item i {
    left: 14px;
    width: 18px;
    height: 18px;
    color: #00ccff;
}

.wallets-container .wallet-action-item:hover i {
    color: #e8fbff;
}

.wallets-container .wallet-action-item.remove-wallet-btn {
    border-color: rgba(255, 107, 107, 0.58);
    background: rgba(255, 107, 107, 0.12) !important;
    color: #ffb3b3 !important;
}

.wallets-container .wallet-action-item.remove-wallet-btn:hover {
    border-color: rgba(255, 107, 107, 0.78);
    background: rgba(255, 107, 107, 0.20) !important;
}

.wallets-container .total-balance,
.wallets-container .wallet-address-wrapper,
.wallets-container .network-box {
    border: 1px solid rgba(6, 171, 212, 0.28);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
        rgba(8, 12, 16, 0.92);
    color: #ffffff;
    box-shadow:
        0 0 18px rgba(6, 171, 212, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.wallets-container .total-balance {
    min-height: 54px;
    margin: 0 0 12px;
    padding: 12px 52px 12px 16px;
    font-size: 18px;
    font-weight: 800;
}

.wallets-container .total-balance .balance-amount {
    color: #ffffff;
    font-size: 24px;
    font-weight: 850;
}

.wallets-container .total-balance .currency-toggle {
    color: #e8fbff;
    font-size: 15px;
    font-weight: 800;
}

.wallets-container .total-balance .refresh-btn {
    right: 12px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(6, 171, 212, 0.50);
    background: rgba(6, 171, 212, 0.15);
}

.wallets-container .total-balance .refresh-btn:hover {
    border: 1px solid rgba(6, 217, 255, 0.72);
    background: rgba(6, 171, 212, 0.24);
}

.wallets-container .wallet-address-wrapper {
    min-height: 48px;
    margin: 0 0 14px;
    padding: 10px 44px 10px 16px;
}

.wallets-container #generated-wallet-address {
    color: #cfefff;
    font-size: 15px;
    font-weight: 700;
}

.wallets-container .copy-address-btn {
    right: 14px;
    color: #9ee7ff;
    font-size: 15px;
}

.wallets-container .copy-address-btn:hover {
    color: #ffffff;
}

.wallets-container .selected-network-info {
    color: #cfefff;
}

.wallets-container .assets-container {
    gap: 12px;
    margin: 12px 0 0;
}

.wallets-container .network-box {
    max-width: none;
    overflow: hidden;
}

.wallets-container .network-box:hover {
    background:
        linear-gradient(90deg, rgba(6, 171, 212, 0.12), rgba(0, 255, 204, 0.04)),
        rgba(8, 12, 16, 0.96);
    transform: translateY(-2px);
}

.wallets-container .network-card-title,
.wallets-container .balance-amount,
.wallets-container .value-usd-amount,
.wallets-container .nft-count,
.wallets-container .token-symbol,
.wallets-container .token-balance {
    color: #ffffff;
}

.wallets-container .network-card-label,
.wallets-container .currency-symbol,
.wallets-container .token-usd,
.wallets-container .token-empty {
    color: #cfefff;
}

.wallets-container .token-row {
    border: 1px solid rgba(6, 171, 212, 0.18);
    border-radius: 10px;
    background: rgba(15, 18, 22, 0.72);
}

.wallets-container .currency-menu {
    border: 1px solid rgba(6, 217, 255, 0.50);
    border-radius: 10px;
    background: rgba(8, 12, 16, 0.96);
}

body.light-theme .wallets-container .generated-wallet-box.paxor-wallet-main,
body.light-theme .wallets-container .total-balance,
body.light-theme .wallets-container .wallet-address-wrapper,
body.light-theme .wallets-container .network-box {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
        linear-gradient(180deg, rgba(6, 171, 212, 0.14), rgba(0, 0, 0, 0.10)),
        rgba(15, 18, 22, 0.98);
    color: #ffffff;
}

body.light-theme .wallets-container .paxor-wallet-header-static .wallet-title,
body.light-theme .wallets-container .wallet-title,
body.light-theme .wallets-container #generated-wallet-address,
body.light-theme .wallets-container .network-card-title,
body.light-theme .wallets-container .balance-amount,
body.light-theme .wallets-container .value-usd-amount,
body.light-theme .wallets-container .nft-count,
body.light-theme .wallets-container .token-symbol,
body.light-theme .wallets-container .token-balance {
    color: #ffffff !important;
}

body.light-theme .wallets-container .network-card-label,
body.light-theme .wallets-container .currency-symbol,
body.light-theme .wallets-container .token-usd,
body.light-theme .wallets-container .token-empty {
    color: #cfefff !important;
}

@media (max-width: 640px) {
    .wallets-container .paxor-wallet-header-static {
        min-height: 68px;
        padding: 12px 16px;
    }

    .wallets-container .paxor-wallet-header-static .wallet-logo {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
    }

    .wallets-container .paxor-wallet-header-static .wallet-title {
        font-size: 24px;
    }

    .wallets-container .paxor-wallet-main .wallet-content {
        padding: 14px;
    }
}
/* =========================================================
   PAXOR WALLET — COMPACT ACTIONS, ADDRESS BAR, LINKED WALLETS
   ========================================================= */

.wallet-actions.wallet-actions-compact {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
    width: 100%;
    margin: 8px 0 10px;
    padding: 0;
}

.wallet-actions-compact .wallet-action-item {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 34px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
}

.wallet-actions-compact .wallet-action-item::before {
    display: none !important;
}

.wallet-actions-compact .wallet-action-item i {
    position: static;
    width: auto;
    height: auto;
    transform: none;
    font-size: 12px;
    flex: 0 0 auto;
}

.wallet-actions-compact .wallet-action-item span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wallet-actions-compact .remove-wallet-btn {
    color: #ffaaaa !important;
}

/* Верхняя строка с адресом кошелька */

#wallet-account-address-bar.wallet-address-wrapper {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    margin: 10px 0 12px;
    padding: 8px 10px;
    border: 1px solid rgba(3, 125, 156, 0.45);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(3, 125, 156, 0.14), rgba(24, 24, 24, 0.96));
    box-sizing: border-box;
    text-align: left;
}

#wallet-account-address-bar.has-wallet-address {
    border-color: rgba(35, 184, 217, 0.62);
    box-shadow: inset 0 0 0 1px rgba(3, 125, 156, 0.08);
}

#wallet-account-address-bar.is-primary-address {
    background:
        linear-gradient(135deg, rgba(3, 125, 156, 0.22), rgba(24, 24, 24, 0.96));
}

.wallet-address-brand {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(3, 125, 156, 0.18);
    border: 1px solid rgba(53, 202, 235, 0.26);
}

.wallet-address-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

#wallet-account-address-bar .wallet-address-content {
    min-width: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    text-align: left;
}

.wallet-address-label {
    color: rgba(255, 255, 255, 0.54);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.1;
}

#wallet-account-address-bar #generated-wallet-address {
    width: 100%;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    line-height: 1.25;
}

.wallet-address-meta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}

.wallet-address-source,
.wallet-address-primary-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.wallet-address-source {
    color: #7eddf3;
    background: rgba(3, 125, 156, 0.17);
    border: 1px solid rgba(70, 207, 238, 0.22);
}

.wallet-address-primary-badge {
    color: #77e7ba;
    background: rgba(36, 187, 126, 0.13);
    border: 1px solid rgba(64, 218, 157, 0.22);
}

.wallet-address-source[hidden],
.wallet-address-primary-badge[hidden] {
    display: none !important;
}

#wallet-account-address-bar .copy-address-btn {
    position: static;
    right: auto;
    top: auto;
    transform: none;
    width: 30px;
    height: 30px;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.76);
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

#wallet-account-address-bar .copy-address-btn:hover {
    color: #ffffff;
    border-color: rgba(59, 202, 234, 0.40);
    background: rgba(3, 125, 156, 0.16);
}

#wallet-account-address-bar .copy-address-btn.is-copied {
    color: #78e5b7;
    border-color: rgba(84, 221, 176, 0.46);
    background: rgba(37, 184, 127, 0.14);
    transform: scale(1.04);
}

/* Привязанные кошельки */

.linked-wallets-panel {
    width: 100%;
    margin: 14px auto 28px;
    overflow: hidden;
    border: 1px solid rgba(3, 125, 156, 0.46);
    border-radius: 10px;
    background: #0d0f12;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.26);
}

.linked-wallets-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(135deg, rgba(3, 125, 156, 0.22), rgba(10, 13, 17, 0.96));
}

.linked-wallets-head-copy {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.linked-wallets-head-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(3, 125, 156, 0.22);
    border: 1px solid rgba(71, 210, 240, 0.26);
    color: #64d8f0;
    font-size: 17px;
}

.linked-wallets-head-text {
    min-width: 0;
}

.linked-wallets-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.linked-wallets-title-row h3 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.linked-wallets-head p {
    max-width: 720px;
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 12px;
    line-height: 1.45;
}

.linked-wallets-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(38, 190, 132, 0.12);
    border: 1px solid rgba(69, 221, 163, 0.20);
    color: #75e2b5;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.linked-wallets-head-side {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.linked-wallets-count-label {
    color: rgba(255, 255, 255, 0.48);
    font-size: 11px;
}

.linked-wallets-count {
    min-width: 30px;
    height: 30px;
    padding: 0 9px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(3, 125, 156, 0.20);
    border: 1px solid rgba(66, 204, 235, 0.24);
    color: #72dff5;
    font-size: 13px;
    font-weight: 800;
}

.linked-wallets-list {
    display: grid;
    gap: 8px;
    padding: 12px 14px 14px;
}

.linked-wallet-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.025);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.linked-wallet-row:hover {
    border-color: rgba(64, 198, 228, 0.25);
    background: rgba(3, 125, 156, 0.06);
}

.linked-wallet-row.is-primary {
    border-color: rgba(52, 202, 235, 0.36);
    background:
        linear-gradient(135deg, rgba(3, 125, 156, 0.12), rgba(255, 255, 255, 0.02));
}

.linked-wallet-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(3, 125, 156, 0.16);
    border: 1px solid rgba(70, 205, 235, 0.18);
}

.linked-wallet-logo {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.linked-wallet-info {
    min-width: 0;
}

.linked-wallet-title-line {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    flex-wrap: wrap;
}

.linked-wallet-title-line strong {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.linked-wallet-primary-badge,
.linked-wallet-proof {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.linked-wallet-primary-badge {
    background: rgba(3, 125, 156, 0.18);
    border: 1px solid rgba(75, 211, 240, 0.20);
    color: #67dff6;
}

.linked-wallet-proof {
    background: rgba(38, 190, 132, 0.10);
    border: 1px solid rgba(67, 218, 159, 0.16);
    color: #6fddaF;
}

.linked-wallet-address-line {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    margin: 5px 0 6px;
}

.linked-wallet-address-line code {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.76);
    font-family: "Inter", monospace;
    font-size: 12px;
}

.linked-wallet-copy {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.62);
    cursor: pointer;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.linked-wallet-copy:hover {
    color: #ffffff;
    border-color: rgba(72, 208, 238, 0.34);
    background: rgba(3, 125, 156, 0.14);
}

.linked-wallet-copy.is-copied {
    color: #74e1b2;
    border-color: rgba(77, 220, 164, 0.38);
    background: rgba(39, 181, 125, 0.12);
    transform: scale(1.05);
}

.linked-wallet-meta-line {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.linked-wallet-source,
.linked-wallet-security {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 10px;
}

.linked-wallet-security {
    color: rgba(110, 221, 178, 0.72);
}

.linked-wallet-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
}

.linked-wallet-action {
    min-height: 30px;
    padding: 6px 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.03);
    color: #e9f8fc;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.linked-wallet-action:hover {
    border-color: rgba(74, 207, 236, 0.34);
    background: rgba(3, 125, 156, 0.12);
}

.linked-wallet-action:disabled {
    cursor: default;
    opacity: 0.72;
}

.linked-wallet-action-current {
    color: #72dfb1;
    border-color: rgba(71, 213, 157, 0.20);
    background: rgba(38, 180, 124, 0.08);
}

.linked-wallet-remove {
    color: #ffaaaa;
}

.linked-wallet-remove:hover {
    color: #ffffff;
    border-color: rgba(255, 102, 102, 0.32);
    background: rgba(203, 63, 63, 0.12);
}

.linked-wallets-state,
.linked-wallets-empty {
    padding: 22px 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.56);
}

.linked-wallets-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.linked-wallets-state[hidden] {
    display: none !important;
}

.linked-wallets-empty {
    display: grid;
    justify-items: center;
    gap: 6px;
}

.linked-wallets-empty[hidden] {
    display: none !important;
}

.linked-wallets-empty > i {
    color: #5ed3ec;
    font-size: 20px;
}

.linked-wallets-empty strong {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.linked-wallets-empty span {
    max-width: 620px;
    font-size: 11px;
    line-height: 1.5;
}

.linked-wallets-error {
    margin: 12px 14px 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 91, 91, 0.27);
    border-radius: 8px;
    color: #ffb1b1;
    background: rgba(255, 60, 60, 0.07);
    font-size: 12px;
}

.linked-wallets-error[hidden] {
    display: none !important;
}

.linked-wallets-retry {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    cursor: pointer;
}

.linked-wallets-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.44);
    font-size: 10px;
    text-align: center;
}

.linked-wallets-footer-note i {
    color: rgba(92, 220, 170, 0.72);
}

@media (max-width: 980px) {
    .wallet-actions.wallet-actions-compact {
        gap: 4px;
    }

    .wallet-actions-compact .wallet-action-item {
        padding: 0 5px;
        font-size: 10px;
    }

    .wallet-actions-compact .wallet-action-item i {
        font-size: 10px;
    }

    .wallet-address-source {
        display: none;
    }
}

@media (max-width: 760px) {
    .wallet-actions.wallet-actions-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wallet-actions-compact .wallet-action-item {
        font-size: 11px;
    }

    #wallet-account-address-bar.wallet-address-wrapper {
        grid-template-columns: 34px minmax(0, 1fr) auto;
    }

    .wallet-address-primary-badge {
        display: none;
    }

    .linked-wallets-head {
        align-items: flex-start;
    }

    .linked-wallets-head-side {
        flex-direction: column;
        gap: 3px;
    }

    .linked-wallet-row {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .linked-wallet-actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-left: 52px;
    }
}

@media (max-width: 520px) {
    #wallet-account-address-bar.wallet-address-wrapper {
        grid-template-columns: 32px minmax(0, 1fr) 30px;
        gap: 7px;
    }

    .wallet-address-source,
    .wallet-address-primary-badge {
        display: none !important;
    }

    .linked-wallets-head {
        padding: 14px;
    }

    .linked-wallets-proof-badge {
        display: none;
    }

    .linked-wallets-list {
        padding: 10px;
    }

    .linked-wallet-row {
        padding: 10px;
    }

    .linked-wallet-proof {
        display: none;
    }

    .linked-wallet-actions {
        padding-left: 0;
    }
}

/* PAXOR WALLET SCREENSHOT FIX — 2026-07-18 */

/* =========================================================
   Карточка профиля: кнопка больше не перекрывает баланс
   ========================================================= */

.account-bank-card .account-profile-balance {
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 8px !important;
    min-width: 0 !important;
    padding: 8px 10px !important;
}

.account-bank-card .account-profile-balance-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
}

.account-bank-card .account-profile-balance-copy {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 2px !important;
}

.account-bank-card .account-profile-balance-main-line {
    display: flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    white-space: nowrap !important;
}

.account-bank-card .account-profile-balance-main-line span {
    font-size: 11px !important;
}

.account-bank-card .account-profile-balance-main-line strong {
    font-size: 20px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.account-bank-card .account-profile-balance-copy small {
    overflow: hidden !important;
    margin-top: 3px !important;
    font-size: 9px !important;
    line-height: 1.2 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

.account-bank-card .account-profile-connect-wallet-btn,
.account-bank-card .account-profile-disconnect-wallet-btn {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    justify-self: end !important;
    width: auto !important;
    max-width: 132px !important;
    min-width: 0 !important;
    min-height: 27px !important;
    height: 27px !important;
    margin: 0 !important;
    padding: 0 7px !important;
    border-radius: 7px !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.account-bank-card .account-profile-connect-wallet-btn[hidden],
.account-bank-card .account-profile-disconnect-wallet-btn[hidden] {
    display: none !important;
}

.account-bank-card .account-profile-connect-wallet-btn i,
.account-bank-card .account-profile-disconnect-wallet-btn i {
    position: static !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    font-size: 9px !important;
    flex: 0 0 auto !important;
}

.account-bank-card .account-profile-connect-wallet-btn span,
.account-bank-card .account-profile-disconnect-wallet-btn span {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* =========================================================
   Верхние кнопки Paxor Wallet:
   украинский текст помещается и иконки остаются по центру
   ========================================================= */

.wallet-actions.wallet-actions-compact {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)) !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
}

.wallet-actions-compact .wallet-action-item {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 6px !important;
    font-size: 10px !important;
    font-weight: 650 !important;
    line-height: 1 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.wallet-actions-compact .wallet-action-item::before {
    display: none !important;
}

.wallet-actions-compact .wallet-action-item i {
    position: static !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    transform: none !important;
    font-size: 10px !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
}

.wallet-actions-compact .wallet-action-item span {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-align: center !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* =========================================================
   Заглавная шапка раздела «Привязанные кошельки»
   ========================================================= */

.linked-wallets-panel {
    border-color: rgba(6, 171, 212, 0.72) !important;
}

.linked-wallets-head {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 82px !important;
    padding: 11px 78px 11px 18px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
    background:
        linear-gradient(180deg, rgba(6, 171, 212, 0.96), rgba(3, 125, 156, 0.96)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 4px 14px rgba(3, 125, 156, 0.22) !important;
    color: #ffffff !important;
    text-align: center !important;
}

.linked-wallets-head-copy {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

.linked-wallets-head-icon {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.16) !important;
    color: #ffffff !important;
    font-size: 16px !important;
}

.linked-wallets-head-text {
    min-width: 0 !important;
    text-align: left !important;
}

.linked-wallets-title-row {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.linked-wallets-title-row h3 {
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 750 !important;
    line-height: 1.1 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.32) !important;
}

.linked-wallets-proof-badge {
    border-color: rgba(255, 255, 255, 0.24) !important;
    background: rgba(0, 0, 0, 0.16) !important;
    color: #ffffff !important;
    font-size: 10px !important;
}

.linked-wallets-head p {
    max-width: 760px !important;
    margin: 5px 0 0 !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

.linked-wallets-head-side {
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    transform: translateY(-50%) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 3px !important;
}

.linked-wallets-count-label {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 9px !important;
}

.linked-wallets-count {
    min-width: 29px !important;
    height: 29px !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    background: rgba(0, 0, 0, 0.18) !important;
    color: #ffffff !important;
}

/* Небольшие экраны */

@media (max-width: 900px) {
    .wallet-actions.wallet-actions-compact {
        grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)) !important;
    }

    .wallet-actions-compact .wallet-action-item {
        font-size: 9px !important;
    }

    .wallet-actions-compact .wallet-action-item i {
        font-size: 9px !important;
    }
}

@media (max-width: 720px) {
    .account-bank-card .account-profile-balance {
        grid-template-columns: 32px minmax(0, 1fr) !important;
    }

    .account-bank-card .account-profile-connect-wallet-btn,
    .account-bank-card .account-profile-disconnect-wallet-btn {
        grid-column: 1 / -1 !important;
        justify-self: center !important;
        max-width: none !important;
        width: 100% !important;
        margin-top: 5px !important;
    }

    .wallet-actions.wallet-actions-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .linked-wallets-head {
        justify-content: flex-start !important;
        padding-right: 62px !important;
        text-align: left !important;
    }
}

@media (max-width: 520px) {
    .linked-wallets-head-icon {
        display: none !important;
    }

    .linked-wallets-title-row h3 {
        font-size: 17px !important;
    }

    .linked-wallets-head p {
        font-size: 10px !important;
    }
}

/* PAXOR MATCHED WALLET HEADERS — 2026-07-18 */

/*
   Одинаковый цвет и градиент для:
   1. Paxor Wallet
   2. Привязанные кошельки
*/
.paxor-wallet-header-static,
.linked-wallets-head {
    background:
        radial-gradient(
            circle at 50% -55%,
            rgba(255, 255, 255, 0.16),
            transparent 58%
        ),
        linear-gradient(
            180deg,
            rgba(39, 83, 95, 0.98) 0%,
            rgba(17, 57, 68, 0.98) 52%,
            rgba(7, 37, 47, 0.99) 100%
        ) !important;
    border-color: rgba(6, 171, 212, 0.80) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.30),
        0 5px 16px rgba(3, 125, 156, 0.18) !important;
}

/* Шапка Paxor Wallet */
.paxor-wallet-header-static {
    border-bottom: 1px solid rgba(6, 171, 212, 0.72) !important;
}

.paxor-wallet-header-static:hover {
    background:
        radial-gradient(
            circle at 50% -55%,
            rgba(255, 255, 255, 0.16),
            transparent 58%
        ),
        linear-gradient(
            180deg,
            rgba(39, 83, 95, 0.98) 0%,
            rgba(17, 57, 68, 0.98) 52%,
            rgba(7, 37, 47, 0.99) 100%
        ) !important;
}

/* Шапка привязанных кошельков */
.linked-wallets-head {
    min-height: 76px !important;
    padding: 10px 72px 10px 16px !important;
    border-bottom: 1px solid rgba(6, 171, 212, 0.72) !important;
    color: #ffffff !important;
}

.linked-wallets-head-icon {
    border-color: rgba(255, 255, 255, 0.18) !important;
    background: rgba(0, 0, 0, 0.18) !important;
    color: #ffffff !important;
}

.linked-wallets-title-row h3 {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42) !important;
}

.linked-wallets-proof-badge {
    border-color: rgba(255, 255, 255, 0.19) !important;
    background: rgba(0, 0, 0, 0.18) !important;
    color: #dffaff !important;
}

.linked-wallets-head p {
    color: rgba(235, 251, 255, 0.82) !important;
}

.linked-wallets-count {
    border-color: rgba(255, 255, 255, 0.20) !important;
    background: rgba(0, 0, 0, 0.20) !important;
    color: #ffffff !important;
}

/* PAXOR LINKED WALLETS GREEN ACCENTS — 2026-07-18 */

/*
   Градиент шапки остаётся таким же, как у Paxor Wallet.
   Возвращаем зелёные акценты подтверждения и безопасности.
*/

.linked-wallets-head-icon {
    border-color: rgba(79, 222, 164, 0.34) !important;
    background: rgba(28, 167, 111, 0.14) !important;
    color: #76e3b4 !important;
    box-shadow:
        0 0 12px rgba(48, 205, 143, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.linked-wallets-head-icon i {
    color: #76e3b4 !important;
    text-shadow: 0 0 9px rgba(63, 220, 155, 0.34) !important;
}

.linked-wallets-proof-badge {
    border-color: rgba(74, 222, 163, 0.34) !important;
    background: rgba(27, 174, 112, 0.15) !important;
    color: #7ce8ba !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 0 10px rgba(48, 205, 143, 0.10) !important;
}

.linked-wallets-proof-badge i {
    color: #7ce8ba !important;
}

.linked-wallets-head p {
    color: rgba(225, 247, 239, 0.82) !important;
}

.linked-wallets-count-label {
    color: rgba(222, 247, 238, 0.72) !important;
}

.linked-wallets-footer-note i,
.linked-wallet-security i,
.linked-wallet-proof i {
    color: #72dfb1 !important;
}
