/* 钱包弹窗样式 */
#wallet-select-modal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.wallet-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wallet-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.wallet-option:hover {
    border-color: #0d6efd;
    background: #f0f6ff;
    transform: translateX(3px);
}

.wallet-option-preferred {
    border-color: rgba(13, 110, 253, 0.32);
    background: linear-gradient(135deg, #f0f6ff 0%, #ffffff 100%);
}

.wallet-section-title {
    margin: 6px 2px 2px;
    color: #6c757d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.walletconnect-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    background: #eaf2ff;
    font-size: 20px;
}

.walletconnect-qr-box {
    min-width: 236px;
    min-height: 236px;
}

.walletconnect-qr-box img {
    display: block;
}

.wallet-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.wallet-name {
    font-weight: 600;
    font-size: 15px;
}

.wallet-desc {
    font-size: 12px;
}

.wallet-option-main {
    min-width: 0;
}

.wallet-status {
    flex: 0 0 auto;
    max-width: 120px;
    text-align: right;
}

/* 钱包按钮 */
#wallet-connect-btn {
    font-size: 13px;
    transition: all 0.2s ease;
}

#wallet-connect-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

#wallet-btn-container .dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid #e9ecef;
}

#wallet-btn-container .dropdown-menu code {
    font-size: 11px;
    padding: 6px 8px;
    border-radius: 6px;
    display: block;
}

@media (max-width: 767px) {
    #wallet-connect-btn span {
        display: none;
    }
}

/* 状态提示 */
#wallet-status-toast {
    animation: walletToastIn 0.3s ease;
}

@keyframes walletToastIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
